/linux-2.6.39/drivers/regulator/ |
D | userspace-consumer.c | 103 static const struct attribute_group attr_group = { variable 134 ret = sysfs_create_group(&pdev->dev.kobj, &attr_group); in regulator_userspace_consumer_probe() 154 sysfs_remove_group(&pdev->dev.kobj, &attr_group); in regulator_userspace_consumer_probe() 168 sysfs_remove_group(&pdev->dev.kobj, &attr_group); in regulator_userspace_consumer_remove()
|
/linux-2.6.39/arch/powerpc/platforms/pseries/ |
D | power.c | 63 static struct attribute_group attr_group = { variable 72 return sysfs_create_group(power_kobj, &attr_group); in pm_init()
|
/linux-2.6.39/drivers/memstick/core/ |
D | mspro_block.c | 169 struct attribute_group attr_group; member 1027 msb->attr_group.attrs = kzalloc((attr_count + 1) in mspro_block_read_attributes() 1030 if (!msb->attr_group.attrs) { in mspro_block_read_attributes() 1034 msb->attr_group.name = "media_attributes"; in mspro_block_read_attributes() 1050 msb->attr_group.attrs[cnt] = &s_attr->dev_attr.attr; in mspro_block_read_attributes() 1196 for (rc = 0; msb->attr_group.attrs[rc]; ++rc) { in mspro_block_init_disk() 1197 s_attr = mspro_from_sysfs_attr(msb->attr_group.attrs[rc]); in mspro_block_init_disk() 1288 if (msb->attr_group.attrs) { in mspro_block_data_clear() 1289 for (cnt = 0; msb->attr_group.attrs[cnt]; ++cnt) { in mspro_block_data_clear() 1290 s_attr = mspro_from_sysfs_attr(msb->attr_group in mspro_block_data_clear() [all …]
|
/linux-2.6.39/samples/kobject/ |
D | kobject-example.c | 98 static struct attribute_group attr_group = { variable 122 retval = sysfs_create_group(example_kobj, &attr_group); in example_init()
|
/linux-2.6.39/drivers/scsi/ |
D | iscsi_boot_sysfs.c | 305 struct attribute_group *attr_group, in iscsi_boot_create_kobj() argument 327 if (sysfs_create_group(&boot_kobj->kobj, attr_group)) { in iscsi_boot_create_kobj() 338 boot_kobj->attr_group = attr_group; in iscsi_boot_create_kobj() 349 sysfs_remove_group(&boot_kobj->kobj, boot_kobj->attr_group); in iscsi_boot_remove_kobj()
|
/linux-2.6.39/drivers/block/aoe/ |
D | aoeblk.c | 110 static const struct attribute_group attr_group = { variable 117 return sysfs_create_group(&disk_to_dev(d->gd)->kobj, &attr_group); in aoedisk_add_sysfs() 122 sysfs_remove_group(&disk_to_dev(d->gd)->kobj, &attr_group); in aoedisk_rm_sysfs()
|
/linux-2.6.39/kernel/power/ |
D | main.c | 316 static struct attribute_group attr_group = { variable 343 return sysfs_create_group(power_kobj, &attr_group); in pm_init()
|
D | hibernate.c | 993 static struct attribute_group attr_group = { variable 1000 return sysfs_create_group(power_kobj, &attr_group); in pm_disk_init()
|
/linux-2.6.39/include/linux/ |
D | iscsi_boot_sysfs.h | 70 struct attribute_group *attr_group; member
|
/linux-2.6.39/drivers/input/touchscreen/ |
D | ads7846.c | 101 struct attribute_group *attr_group; member 528 ts->attr_group = &ads7846_attr_group; in ads784x_hwmon_register() 531 ts->attr_group = &ads7845_attr_group; in ads784x_hwmon_register() 534 ts->attr_group = &ads7843_attr_group; in ads784x_hwmon_register() 541 err = sysfs_create_group(&spi->dev.kobj, ts->attr_group); in ads784x_hwmon_register() 547 sysfs_remove_group(&spi->dev.kobj, ts->attr_group); in ads784x_hwmon_register() 559 sysfs_remove_group(&spi->dev.kobj, ts->attr_group); in ads784x_hwmon_unregister()
|
/linux-2.6.39/drivers/mtd/ |
D | sm_ftl.c | 59 struct attribute_group *attr_group; in sm_create_sysfs_attributes() local 95 attr_group = kzalloc(sizeof(struct attribute_group), GFP_KERNEL); in sm_create_sysfs_attributes() 96 if (!attr_group) in sm_create_sysfs_attributes() 98 attr_group->attrs = attributes; in sm_create_sysfs_attributes() 99 return attr_group; in sm_create_sysfs_attributes()
|
/linux-2.6.39/drivers/s390/cio/ |
D | cmf.c | 129 struct attribute_group *attr_group; member 775 .attr_group = &cmf_attr_group, 1042 .attr_group = &cmf_attr_group_ext, 1234 ret = sysfs_create_group(&cdev->dev.kobj, cmbops->attr_group); in enable_cmf() 1259 sysfs_remove_group(&cdev->dev.kobj, cmbops->attr_group); in disable_cmf()
|
/linux-2.6.39/fs/ecryptfs/ |
D | main.c | 802 static struct attribute_group attr_group = { variable 816 rc = sysfs_create_group(ecryptfs_kobj, &attr_group); in do_sysfs_registration() 828 sysfs_remove_group(ecryptfs_kobj, &attr_group); in do_sysfs_unregistration()
|
/linux-2.6.39/drivers/char/tpm/ |
D | tpm_atmel.c | 151 .attr_group = &atmel_attr_grp,
|
D | tpm.h | 80 struct attribute_group *attr_group; member
|
D | tpm_nsc.c | 262 .attr_group = &nsc_attr_grp,
|
D | tpm.c | 1089 sysfs_remove_group(&dev->kobj, chip->vendor.attr_group); in tpm_remove_hardware() 1245 if (sysfs_create_group(&dev->kobj, chip->vendor.attr_group)) { in tpm_register_hardware()
|
D | tpm_infineon.c | 405 .attr_group = &inf_attr_grp,
|
D | tpm_tis.c | 403 .attr_group = &tis_attr_grp,
|
/linux-2.6.39/drivers/rtc/ |
D | rtc-m41t80.c | 459 static struct attribute_group attr_group = { variable 465 return sysfs_create_group(&dev->kobj, &attr_group); in m41t80_sysfs_register()
|