/drivers/staging/usbip/userspace/src/ |
D | usbip_unbind.c | 50 char attr_name[] = "bConfigurationValue"; in unbind_device() local 104 busid, attr_name); in unbind_device() 109 err("could not open %s/%s: %s", busid, attr_name, in unbind_device() 134 err("could not open %s/%s: %s", busid, attr_name, in unbind_device()
|
D | utils.c | 31 char attr_name[] = "match_busid"; in modify_match_busid() local 51 SYSFS_DRIVERS_NAME, USBIP_HOST_DRV_NAME, attr_name); in modify_match_busid()
|
D | usbip_bind.c | 52 char attr_name[] = "bind"; in bind_usbip() local 71 USBIP_HOST_DRV_NAME, attr_name); in bind_usbip()
|
/drivers/char/mwave/ |
D | mwavedd.c | 497 #define mwave_show_function(attr_name, format_string, field) \ 498 static ssize_t mwave_show_##attr_name(struct device *dev, struct device_attribute *attr, char *buf)… 506 #define mwave_dev_rd_attr(attr_name, format_string, field) \ 507 mwave_show_function(attr_name, format_string, field) \ 508 static DEVICE_ATTR(attr_name, S_IRUGO, mwave_show_##attr_name, NULL)
|
/drivers/leds/ |
D | leds-bd2802.c | 476 #define BD2802_CONTROL_ATTR(attr_name, name_str) \ argument 477 static ssize_t bd2802_show_##attr_name(struct device *dev, \ 483 ret = sprintf(buf, "0x%02x\n", led->attr_name); \ 487 static ssize_t bd2802_store_##attr_name(struct device *dev, \ 499 led->attr_name = val; \ 503 static struct device_attribute bd2802_##attr_name##_attr = { \ 508 .show = bd2802_show_##attr_name, \ 509 .store = bd2802_store_##attr_name, \
|
/drivers/media/video/pvrusb2/ |
D | pvrusb2-sysfs.c | 64 struct device_attribute attr_name; member 93 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_name); in show_name() 327 sysfs_attr_init(&cip->attr_name.attr); in pvr2_sysfs_add_control() 328 cip->attr_name.attr.name = "name"; in pvr2_sysfs_add_control() 329 cip->attr_name.attr.mode = S_IRUGO; in pvr2_sysfs_add_control() 330 cip->attr_name.show = show_name; in pvr2_sysfs_add_control() 376 cip->attr_gen[acnt++] = &cip->attr_name.attr; in pvr2_sysfs_add_control()
|
/drivers/base/ |
D | memory.c | 363 #define mem_create_simple_file(mem, attr_name) \ argument 364 device_create_file(&mem->dev, &dev_attr_##attr_name) 365 #define mem_remove_simple_file(mem, attr_name) \ argument 366 device_remove_file(&mem->dev, &dev_attr_##attr_name)
|
D | bus.c | 467 for (i = 0; attr_name(bus->dev_attrs[i]); i++) { in device_add_attrs() 483 for (i = 0; attr_name(bus->dev_attrs[i]); i++) in device_remove_attrs() 597 for (i = 0; attr_name(bus->drv_attrs[i]); i++) { in driver_add_attrs() 617 for (i = 0; attr_name(bus->drv_attrs[i]); i++) in driver_remove_attrs() 865 for (i = 0; attr_name(bus->bus_attrs[i]); i++) { in bus_add_attrs() 884 for (i = 0; attr_name(bus->bus_attrs[i]); i++) in bus_remove_attrs()
|
D | class.c | 138 for (i = 0; attr_name(cls->class_attrs[i]); i++) { in add_class_attrs() 157 for (i = 0; attr_name(cls->class_attrs[i]); i++) in remove_class_attrs()
|
D | core.c | 375 for (i = 0; attr_name(attrs[i]); i++) { in device_add_attributes() 393 for (i = 0; attr_name(attrs[i]); i++) in device_remove_attributes() 404 for (i = 0; attr_name(attrs[i]); i++) { in device_add_bin_attributes() 422 for (i = 0; attr_name(attrs[i]); i++) in device_remove_bin_attributes()
|
/drivers/staging/usbip/userspace/libsrc/ |
D | usbip_host_driver.c | 337 char attr_name[] = "usbip_sockfd"; in usbip_host_export_device() local 361 edev->udev.bConfigurationValue, 0, attr_name); in usbip_host_export_device()
|
/drivers/hwmon/ |
D | coretemp.c | 96 char attr_name[TOTAL_ATTRS][CORETEMP_NAME_LENGTH]; member 353 snprintf(tdata->attr_name[i], CORETEMP_NAME_LENGTH, names[i], in create_core_attrs() 356 tdata->sd_attrs[i].dev_attr.attr.name = tdata->attr_name[i]; in create_core_attrs()
|
/drivers/thermal/ |
D | thermal_sys.c | 50 char attr_name[THERMAL_NAME_LENGTH]; member 796 sprintf(dev->attr_name, "cdev%d_trip_point", dev->id); in thermal_zone_bind_cooling_device() 798 dev->attr.attr.name = dev->attr_name; in thermal_zone_bind_cooling_device()
|
/drivers/cpuidle/ |
D | sysfs.c | 288 &attr_name.attr,
|
/drivers/net/ethernet/sun/ |
D | niu.c | 9491 for (i = 0; attr_name(niu_parent_attributes[i]); i++) { in niu_new_parent()
|