/drivers/tty/serial/8250/ |
H A D | 8250_core.c | 2912 up->port.attr_group = &serial8250_dev_attr_group;
|
/drivers/tty/serial/ |
H A D | serial_core.c | 2615 if (uport->attr_group) 2625 if (uport->attr_group) 2626 uport->tty_groups[1] = uport->attr_group;
|
/drivers/s390/cio/ |
H A D | cmf.c | 127 struct attribute_group *attr_group; member in struct:cmb_operations 773 .attr_group = &cmf_attr_group, 1040 .attr_group = &cmf_attr_group_ext, 1232 ret = sysfs_create_group(&cdev->dev.kobj, cmbops->attr_group); 1257 sysfs_remove_group(&cdev->dev.kobj, cmbops->attr_group);
|
/drivers/scsi/ |
H A D | iscsi_boot_sysfs.c | 306 struct attribute_group *attr_group, 330 if (sysfs_create_group(&boot_kobj->kobj, attr_group)) { 341 boot_kobj->attr_group = attr_group; 352 sysfs_remove_group(&boot_kobj->kobj, boot_kobj->attr_group); 305 iscsi_boot_create_kobj(struct iscsi_boot_kset *boot_kset, struct attribute_group *attr_group, const char *name, int index, void *data, ssize_t (*show) (void *data, int type, char *buf), umode_t (*is_visible) (void *data, int type), void (*release) (void *data)) argument
|
/drivers/misc/mic/host/ |
H A D | mic_device.h | 63 * @attr_group: Pointer to list of sysfs attribute groups. 102 const struct attribute_group **attr_group; member in struct:mic_device
|
H A D | mic_main.c | 370 mdev->attr_group, "mic%d", mdev->id);
|
H A D | mic_sysfs.c | 458 mdev->attr_group = mic_default_groups;
|
/drivers/mtd/ |
H A D | sm_ftl.c | 59 struct attribute_group *attr_group; local 92 attr_group = kzalloc(sizeof(struct attribute_group), GFP_KERNEL); 93 if (!attr_group) 95 attr_group->attrs = attributes; 96 return attr_group;
|
/drivers/regulator/ |
H A D | userspace-consumer.c | 104 static const struct attribute_group attr_group = { variable in typeref:struct:attribute_group 137 ret = sysfs_create_group(&pdev->dev.kobj, &attr_group); 157 sysfs_remove_group(&pdev->dev.kobj, &attr_group); 166 sysfs_remove_group(&pdev->dev.kobj, &attr_group);
|
/drivers/rtc/ |
H A D | rtc-m41t80.c | 327 static struct attribute_group attr_group = { variable in typeref:struct:attribute_group 333 return sysfs_create_group(&dev->kobj, &attr_group);
|
/drivers/hwmon/ |
H A D | coretemp.c | 98 struct attribute_group attr_group; member in struct:temp_data 415 tdata->attr_group.attrs = tdata->attrs; 416 return sysfs_create_group(&dev->kobj, &tdata->attr_group); 561 sysfs_remove_group(&pdata->hwmon_dev->kobj, &tdata->attr_group);
|
H A D | iio_hwmon.c | 26 * @attr_group: the group of attributes 33 struct attribute_group attr_group; member in struct:iio_hwmon_state 140 st->attr_group.attrs = st->attrs; 141 st->groups[0] = &st->attr_group;
|
/drivers/memstick/core/ |
H A D | ms_block.h | 156 struct attribute_group attr_group; member in struct:msb_data
|
H A D | mspro_block.c | 170 struct attribute_group attr_group; member in struct:mspro_block_data 1026 msb->attr_group.attrs = kcalloc(attr_count + 1, 1027 sizeof(*msb->attr_group.attrs), 1029 if (!msb->attr_group.attrs) { 1033 msb->attr_group.name = "media_attributes"; 1049 msb->attr_group.attrs[cnt] = &s_attr->dev_attr.attr; 1195 for (rc = 0; msb->attr_group.attrs[rc]; ++rc) { 1196 s_attr = mspro_from_sysfs_attr(msb->attr_group.attrs[rc]); 1276 if (msb->attr_group.attrs) { 1277 for (cnt = 0; msb->attr_group [all...] |
/drivers/acpi/ |
H A D | power.c | 381 struct attribute_group *attr_group) 392 attr_group->name, 395 sysfs_remove_group(&adev->dev.kobj, attr_group); 400 struct attribute_group *attr_group) 408 ret = sysfs_create_group(&adev->dev.kobj, attr_group); 416 attr_group->name, 420 acpi_power_hide_list(adev, resources, attr_group); 428 struct attribute_group *attr_group, 432 acpi_power_expose_list(adev, resources, attr_group); 434 acpi_power_hide_list(adev, resources, attr_group); 379 acpi_power_hide_list(struct acpi_device *adev, struct list_head *resources, struct attribute_group *attr_group) argument 398 acpi_power_expose_list(struct acpi_device *adev, struct list_head *resources, struct attribute_group *attr_group) argument 426 acpi_power_expose_hide(struct acpi_device *adev, struct list_head *resources, struct attribute_group *attr_group, bool expose) argument [all...] |
/drivers/block/aoe/ |
H A D | aoeblk.c | 180 static const struct attribute_group attr_group = { variable in typeref:struct:attribute_group 225 return sysfs_create_group(&disk_to_dev(d->gd)->kobj, &attr_group); 230 sysfs_remove_group(&disk_to_dev(d->gd)->kobj, &attr_group);
|