/drivers/firmware/google/ |
D | vpd.c | 52 struct bin_attribute bin_attr; /* vpd/name_raw bin_attribute */ member 59 struct bin_attribute bin_attr; member 67 struct bin_attribute *bin_attr, char *buf, in vpd_attrib_read() argument 70 struct vpd_attrib_info *info = bin_attr->private; in vpd_attrib_read() 73 info->bin_attr.size); in vpd_attrib_read() 128 sysfs_bin_attr_init(&info->bin_attr); in vpd_section_attrib_add() 129 info->bin_attr.attr.name = info->key; in vpd_section_attrib_add() 130 info->bin_attr.attr.mode = 0444; in vpd_section_attrib_add() 131 info->bin_attr.size = value_len; in vpd_section_attrib_add() 132 info->bin_attr.read = vpd_attrib_read; in vpd_section_attrib_add() [all …]
|
D | memconsole.c | 28 struct bin_attribute *bin_attr, char *buf, in memconsole_read() argument
|
/drivers/w1/slaves/ |
D | w1_ds2408.c | 70 struct bin_attribute *bin_attr, char *buf, loff_t off, in state_read() argument 75 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in state_read() 82 struct bin_attribute *bin_attr, char *buf, in output_read() argument 87 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in output_read() 95 struct bin_attribute *bin_attr, char *buf, in activity_read() argument 100 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in activity_read() 108 struct bin_attribute *bin_attr, char *buf, in cond_search_mask_read() argument 113 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in cond_search_mask_read() 122 struct bin_attribute *bin_attr, in cond_search_polarity_read() argument 132 struct bin_attribute *bin_attr, char *buf, in status_control_read() argument [all …]
|
D | w1_ds2438.c | 258 struct bin_attribute *bin_attr, char *buf, in iad_write() argument 280 struct bin_attribute *bin_attr, char *buf, in iad_read() argument 301 struct bin_attribute *bin_attr, char *buf, in page0_read() argument 331 struct bin_attribute *bin_attr, char *buf, in temperature_read() argument 352 struct bin_attribute *bin_attr, char *buf, in vad_read() argument 373 struct bin_attribute *bin_attr, char *buf, in vdd_read() argument
|
D | w1_ds2413.c | 29 struct bin_attribute *bin_attr, char *buf, loff_t off, in state_read() argument 35 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in state_read() 66 struct bin_attribute *bin_attr, char *buf, in output_write() argument
|
D | w1_ds28e04.c | 117 struct bin_attribute *bin_attr, char *buf, in eeprom_read() argument 225 struct bin_attribute *bin_attr, char *buf, in eeprom_write() argument 281 struct bin_attribute *bin_attr, char *buf, loff_t off, in pio_read() argument 300 struct bin_attribute *bin_attr, char *buf, loff_t off, in pio_write() argument
|
D | w1_ds2406.c | 29 struct bin_attribute *bin_attr, in w1_f12_read_state() argument 66 struct bin_attribute *bin_attr, in w1_f12_write_output() argument
|
D | w1_ds2805.c | 97 struct bin_attribute *bin_attr, in w1_f0d_read_bin() argument 205 struct bin_attribute *bin_attr, in w1_f0d_write_bin() argument
|
D | w1_ds2431.c | 100 struct bin_attribute *bin_attr, char *buf, in eeprom_read() argument 206 struct bin_attribute *bin_attr, char *buf, in eeprom_write() argument
|
D | w1_ds2433.c | 92 struct bin_attribute *bin_attr, char *buf, in eeprom_read() argument 206 struct bin_attribute *bin_attr, char *buf, in eeprom_write() argument
|
/drivers/pci/ |
D | pci-sysfs.c | 811 struct bin_attribute *bin_attr, char *buf, in pci_read_config() argument 887 struct bin_attribute *bin_attr, char *buf, in pci_write_config() argument 948 struct bin_attribute *bin_attr, char *buf, in read_vpd_attr() argument 953 if (bin_attr->size > 0) { in read_vpd_attr() 954 if (off > bin_attr->size) in read_vpd_attr() 956 else if (count > bin_attr->size - off) in read_vpd_attr() 957 count = bin_attr->size - off; in read_vpd_attr() 964 struct bin_attribute *bin_attr, char *buf, in write_vpd_attr() argument 969 if (bin_attr->size > 0) { in write_vpd_attr() 970 if (off > bin_attr->size) in write_vpd_attr() [all …]
|
/drivers/firmware/ |
D | dell_rbu.c | 534 struct bin_attribute *bin_attr, in read_rbu_data() argument 588 struct bin_attribute *bin_attr, in read_rbu_image_type() argument 598 struct bin_attribute *bin_attr, in write_rbu_image_type() argument 659 struct bin_attribute *bin_attr, in read_rbu_packet_size() argument 672 struct bin_attribute *bin_attr, in write_rbu_packet_size() argument
|
/drivers/sfi/ |
D | sfi_acpi.c | 176 struct bin_attribute *bin_attr, char *buf, in sfi_acpi_table_show() argument 180 container_of(bin_attr, struct sfi_table_attr, attr); in sfi_acpi_table_show()
|
D | sfi_core.c | 391 struct bin_attribute *bin_attr, char *buf, in sfi_table_show() argument 395 container_of(bin_attr, struct sfi_table_attr, attr); in sfi_table_show()
|
/drivers/scsi/qla2xxx/ |
D | qla_attr.c | 21 struct bin_attribute *bin_attr, in qla2x00_sysfs_read_fw_dump() argument 54 struct bin_attribute *bin_attr, in qla2x00_sysfs_write_fw_dump() argument 151 struct bin_attribute *bin_attr, in qla2x00_sysfs_read_nvram() argument 170 struct bin_attribute *bin_attr, in qla2x00_sysfs_write_nvram() argument 238 struct bin_attribute *bin_attr, in qla2x00_sysfs_read_optrom() argument 262 struct bin_attribute *bin_attr, in qla2x00_sysfs_write_optrom() argument 300 struct bin_attribute *bin_attr, in qla2x00_sysfs_write_optrom_ctl() argument 481 struct bin_attribute *bin_attr, in qla2x00_sysfs_read_vpd() argument 510 struct bin_attribute *bin_attr, in qla2x00_sysfs_write_vpd() argument 563 struct bin_attribute *bin_attr, in qla2x00_sysfs_read_sfp() argument [all …]
|
/drivers/power/supply/ |
D | ds2780_battery.c | 633 struct bin_attribute *bin_attr, in ds2780_read_param_eeprom_bin() argument 646 struct bin_attribute *bin_attr, in ds2780_write_param_eeprom_bin() argument 678 struct bin_attribute *bin_attr, in ds2780_read_user_eeprom_bin() argument 691 struct bin_attribute *bin_attr, in ds2780_write_user_eeprom_bin() argument
|
D | ds2781_battery.c | 635 struct bin_attribute *bin_attr, in ds2781_read_param_eeprom_bin() argument 648 struct bin_attribute *bin_attr, in ds2781_write_param_eeprom_bin() argument 680 struct bin_attribute *bin_attr, in ds2781_read_user_eeprom_bin() argument 694 struct bin_attribute *bin_attr, in ds2781_write_user_eeprom_bin() argument
|
/drivers/base/ |
D | devcoredump.c | 90 struct bin_attribute *bin_attr, in devcd_data_read() argument 100 struct bin_attribute *bin_attr, in devcd_data_write() argument
|
/drivers/rtc/ |
D | rtc-ds1742.c | 126 struct bin_attribute *bin_attr, in ds1742_nvram_read() argument 141 struct bin_attribute *bin_attr, in ds1742_nvram_write() argument
|
D | rtc-rp5c01.c | 164 struct bin_attribute *bin_attr, in rp5c01_nvram_read() argument 194 struct bin_attribute *bin_attr, in rp5c01_nvram_write() argument
|
D | rtc-tx4939.c | 195 struct bin_attribute *bin_attr, in tx4939_rtc_nvram_read() argument 213 struct bin_attribute *bin_attr, in tx4939_rtc_nvram_write() argument
|
/drivers/rapidio/ |
D | rio-sysfs.c | 121 struct bin_attribute *bin_attr, in rio_read_config() argument 192 struct bin_attribute *bin_attr, in rio_write_config() argument
|
/drivers/pci/hotplug/ |
D | acpiphp_ibm.c | 101 struct bin_attribute *bin_attr, 370 struct bin_attribute *bin_attr, in ibm_read_apci_table() argument
|
/drivers/fmc/ |
D | fmc-core.c | 85 struct bin_attribute *bin_attr, in fmc_read_eeprom() argument 106 struct bin_attribute *bin_attr, in fmc_write_eeprom() argument
|
/drivers/acpi/ |
D | sysfs.c | 341 struct bin_attribute *bin_attr, char *buf, in acpi_table_show() argument 345 container_of(bin_attr, struct acpi_table_attr, attr); in acpi_table_show() 436 struct bin_attribute *bin_attr, char *buf, in acpi_data_show() argument 443 data_attr = container_of(bin_attr, struct acpi_data_attr, attr); in acpi_data_show()
|