Searched refs:bin_attr (Results 1 - 69 of 69) sorted by relevance

/linux-4.4.14/drivers/w1/slaves/
H A Dw1_ds2408.c76 struct bin_attribute *bin_attr, char *buf, loff_t off, state_read()
81 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); state_read()
88 struct bin_attribute *bin_attr, char *buf, output_read()
93 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); output_read()
101 struct bin_attribute *bin_attr, char *buf, activity_read()
106 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); activity_read()
114 struct bin_attribute *bin_attr, char *buf, cond_search_mask_read()
119 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); cond_search_mask_read()
128 struct bin_attribute *bin_attr, cond_search_polarity_read()
138 struct bin_attribute *bin_attr, char *buf, status_control_read()
148 struct bin_attribute *bin_attr, char *buf, output_write()
219 struct bin_attribute *bin_attr, char *buf, activity_write()
249 struct bin_attribute *bin_attr, char *buf, status_control_write()
75 state_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) state_read() argument
87 output_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) output_read() argument
100 activity_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) activity_read() argument
113 cond_search_mask_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) cond_search_mask_read() argument
126 cond_search_polarity_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) cond_search_polarity_read() argument
137 status_control_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) status_control_read() argument
147 output_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) output_write() argument
218 activity_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) activity_write() argument
248 status_control_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) status_control_write() argument
H A Dw1_ds2413.c34 struct bin_attribute *bin_attr, char *buf, loff_t off, state_read()
40 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); state_read()
71 struct bin_attribute *bin_attr, char *buf, output_write()
33 state_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) state_read() argument
70 output_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) output_write() argument
H A Dw1_ds2406.c33 struct bin_attribute *bin_attr, w1_f12_read_state()
70 struct bin_attribute *bin_attr, w1_f12_write_output()
31 w1_f12_read_state( struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) w1_f12_read_state() argument
68 w1_f12_write_output( struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) w1_f12_write_output() argument
H A Dw1_ds28e04.c122 struct bin_attribute *bin_attr, char *buf, eeprom_read()
230 struct bin_attribute *bin_attr, char *buf, eeprom_write()
286 struct bin_attribute *bin_attr, char *buf, loff_t off, pio_read()
305 struct bin_attribute *bin_attr, char *buf, loff_t off, pio_write()
121 eeprom_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) eeprom_read() argument
229 eeprom_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) eeprom_write() argument
285 pio_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) pio_read() argument
304 pio_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) pio_write() argument
H A Dw1_ds2780.c93 struct bin_attribute *bin_attr, char *buf, w1_slave_read()
92 w1_slave_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) w1_slave_read() argument
H A Dw1_ds2781.c91 struct bin_attribute *bin_attr, char *buf, w1_slave_read()
90 w1_slave_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) w1_slave_read() argument
H A Dw1_ds2431.c100 struct bin_attribute *bin_attr, char *buf, eeprom_read()
206 struct bin_attribute *bin_attr, char *buf, eeprom_write()
99 eeprom_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) eeprom_read() argument
205 eeprom_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) eeprom_write() argument
H A Dw1_ds2433.c97 struct bin_attribute *bin_attr, char *buf, eeprom_read()
211 struct bin_attribute *bin_attr, char *buf, eeprom_write()
96 eeprom_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) eeprom_read() argument
210 eeprom_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) eeprom_write() argument
H A Dw1_ds2760.c101 struct bin_attribute *bin_attr, char *buf, w1_slave_read()
100 w1_slave_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) w1_slave_read() argument
/linux-4.4.14/fs/sysfs/
H A Dgroup.c25 struct bin_attribute *const *bin_attr; remove_files() local
31 for (bin_attr = grp->bin_attrs; *bin_attr; bin_attr++) remove_files()
32 kernfs_remove_by_name(parent, (*bin_attr)->attr.name); remove_files()
39 struct bin_attribute *const *bin_attr; create_files() local
76 for (i = 0, bin_attr = grp->bin_attrs; *bin_attr; i++, bin_attr++) { create_files()
77 umode_t mode = (*bin_attr)->attr.mode; create_files()
81 (*bin_attr)->attr.name); create_files()
83 mode = grp->is_bin_visible(kobj, *bin_attr, i); create_files()
90 (*bin_attr)->attr.name, mode); create_files()
94 &(*bin_attr)->attr, true, create_files()
/linux-4.4.14/arch/powerpc/platforms/powernv/
H A Dopal-msglog.c35 struct bin_attribute *bin_attr, char *to, opal_msglog_read()
38 struct memcons *mc = bin_attr->private; opal_msglog_read()
34 opal_msglog_read(struct file *file, struct kobject *kobj, struct bin_attribute *bin_attr, char *to, loff_t pos, size_t count) opal_msglog_read() argument
H A Dopal.c583 struct bin_attribute *bin_attr, symbol_map_read()
586 return memory_read_from_buffer(buf, count, &off, bin_attr->private, symbol_map_read()
587 bin_attr->size); symbol_map_read()
582 symbol_map_read(struct file *fp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) symbol_map_read() argument
H A Dopal-elog.c157 struct bin_attribute *bin_attr, raw_attr_read()
156 raw_attr_read(struct file *filep, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) raw_attr_read() argument
H A Dopal-dump.c284 struct bin_attribute *bin_attr, dump_attr_read()
283 dump_attr_read(struct file *filep, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) dump_attr_read() argument
H A Dopal-flash.c465 struct bin_attribute *bin_attr, image_data_write()
464 image_data_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) image_data_write() argument
/linux-4.4.14/drivers/pci/
H A Dpci-sysfs.c630 struct bin_attribute *bin_attr, char *buf, pci_read_config()
707 struct bin_attribute *bin_attr, char *buf, pci_write_config()
769 struct bin_attribute *bin_attr, char *buf, read_vpd_attr()
775 if (off > bin_attr->size) read_vpd_attr()
777 else if (count > bin_attr->size - off) read_vpd_attr()
778 count = bin_attr->size - off; read_vpd_attr()
784 struct bin_attribute *bin_attr, char *buf, write_vpd_attr()
790 if (off > bin_attr->size) write_vpd_attr()
792 else if (count > bin_attr->size - off) write_vpd_attr()
793 count = bin_attr->size - off; write_vpd_attr()
803 * @bin_attr: struct bin_attribute for this file
812 struct bin_attribute *bin_attr, char *buf, pci_read_legacy_io()
829 * @bin_attr: struct bin_attribute for this file
838 struct bin_attribute *bin_attr, char *buf, pci_write_legacy_io()
1217 * @bin_attr: struct bin_attribute for this file pci_remove_resource_files()
1225 struct bin_attribute *bin_attr, char *buf, pci_write_rom()
1242 * @bin_attr: struct bin_attribute for this file
1251 struct bin_attribute *bin_attr, char *buf, pci_read_rom()
629 pci_read_config(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) pci_read_config() argument
706 pci_write_config(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) pci_write_config() argument
768 read_vpd_attr(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) read_vpd_attr() argument
783 write_vpd_attr(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) write_vpd_attr() argument
811 pci_read_legacy_io(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) pci_read_legacy_io() argument
837 pci_write_legacy_io(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) pci_write_legacy_io() argument
1224 pci_write_rom(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) pci_write_rom() argument
1250 pci_read_rom(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) pci_read_rom() argument
/linux-4.4.14/drivers/zorro/
H A Dzorro-sysfs.c65 struct bin_attribute *bin_attr, zorro_read_config()
64 zorro_read_config(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) zorro_read_config() argument
/linux-4.4.14/arch/mips/txx9/generic/
H A Dsetup.c895 struct bin_attribute *bin_attr, txx9_sram_read()
898 struct txx9_sramc_dev *dev = bin_attr->private; txx9_sram_read()
899 size_t ramsize = bin_attr->size; txx9_sram_read()
910 struct bin_attribute *bin_attr, txx9_sram_write()
913 struct txx9_sramc_dev *dev = bin_attr->private; txx9_sram_write()
914 size_t ramsize = bin_attr->size; txx9_sram_write()
894 txx9_sram_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) txx9_sram_read() argument
909 txx9_sram_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) txx9_sram_write() argument
/linux-4.4.14/drivers/firmware/google/
H A Dmemconsole.c49 struct bin_attribute *bin_attr, char *buf, memconsole_read()
48 memconsole_read(struct file *filp, struct kobject *kobp, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t count) memconsole_read() argument
H A Dgsmi.c470 struct bin_attribute *bin_attr, eventlog_write()
469 eventlog_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t count) eventlog_write() argument
/linux-4.4.14/drivers/scsi/qla2xxx/
H A Dqla_attr.c21 struct bin_attribute *bin_attr, qla2x00_sysfs_read_fw_dump()
54 struct bin_attribute *bin_attr, qla2x00_sysfs_write_fw_dump()
151 struct bin_attribute *bin_attr, qla2x00_sysfs_read_fw_dump_template()
169 struct bin_attribute *bin_attr, qla2x00_sysfs_write_fw_dump_template()
237 struct bin_attribute *bin_attr, qla2x00_sysfs_read_nvram()
256 struct bin_attribute *bin_attr, qla2x00_sysfs_write_nvram()
324 struct bin_attribute *bin_attr, qla2x00_sysfs_read_optrom()
345 struct bin_attribute *bin_attr, qla2x00_sysfs_write_optrom()
378 struct bin_attribute *bin_attr, qla2x00_sysfs_write_optrom_ctl()
559 struct bin_attribute *bin_attr, qla2x00_sysfs_read_vpd()
580 struct bin_attribute *bin_attr, qla2x00_sysfs_write_vpd()
633 struct bin_attribute *bin_attr, qla2x00_sysfs_read_sfp()
694 struct bin_attribute *bin_attr, qla2x00_sysfs_write_reset()
828 struct bin_attribute *bin_attr, qla2x00_sysfs_read_xgmac_stats()
880 struct bin_attribute *bin_attr, qla2x00_sysfs_read_dcbx_tlv()
20 qla2x00_sysfs_read_fw_dump(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) qla2x00_sysfs_read_fw_dump() argument
53 qla2x00_sysfs_write_fw_dump(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) qla2x00_sysfs_write_fw_dump() argument
150 qla2x00_sysfs_read_fw_dump_template(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) qla2x00_sysfs_read_fw_dump_template() argument
168 qla2x00_sysfs_write_fw_dump_template(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) qla2x00_sysfs_write_fw_dump_template() argument
236 qla2x00_sysfs_read_nvram(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) qla2x00_sysfs_read_nvram() argument
255 qla2x00_sysfs_write_nvram(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) qla2x00_sysfs_write_nvram() argument
323 qla2x00_sysfs_read_optrom(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) qla2x00_sysfs_read_optrom() argument
344 qla2x00_sysfs_write_optrom(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) qla2x00_sysfs_write_optrom() argument
377 qla2x00_sysfs_write_optrom_ctl(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) qla2x00_sysfs_write_optrom_ctl() argument
558 qla2x00_sysfs_read_vpd(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) qla2x00_sysfs_read_vpd() argument
579 qla2x00_sysfs_write_vpd(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) qla2x00_sysfs_write_vpd() argument
632 qla2x00_sysfs_read_sfp(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) qla2x00_sysfs_read_sfp() argument
693 qla2x00_sysfs_write_reset(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) qla2x00_sysfs_write_reset() argument
827 qla2x00_sysfs_read_xgmac_stats(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) qla2x00_sysfs_read_xgmac_stats() argument
879 qla2x00_sysfs_read_dcbx_tlv(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) qla2x00_sysfs_read_dcbx_tlv() argument
/linux-4.4.14/drivers/rapidio/
H A Drio-sysfs.c125 struct bin_attribute *bin_attr, rio_read_config()
197 struct bin_attribute *bin_attr, rio_write_config()
124 rio_read_config(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) rio_read_config() argument
196 rio_write_config(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) rio_write_config() argument
/linux-4.4.14/drivers/rtc/
H A Drtc-ds1742.c128 struct bin_attribute *bin_attr, ds1742_nvram_read()
143 struct bin_attribute *bin_attr, ds1742_nvram_write()
127 ds1742_nvram_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) ds1742_nvram_read() argument
142 ds1742_nvram_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) ds1742_nvram_write() argument
H A Drtc-rp5c01.c164 struct bin_attribute *bin_attr, rp5c01_nvram_read()
194 struct bin_attribute *bin_attr, rp5c01_nvram_write()
163 rp5c01_nvram_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) rp5c01_nvram_read() argument
193 rp5c01_nvram_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) rp5c01_nvram_write() argument
H A Drtc-tx4939.c193 struct bin_attribute *bin_attr, tx4939_rtc_nvram_read()
211 struct bin_attribute *bin_attr, tx4939_rtc_nvram_write()
192 tx4939_rtc_nvram_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) tx4939_rtc_nvram_read() argument
210 tx4939_rtc_nvram_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) tx4939_rtc_nvram_write() argument
H A Drtc-ds1553.c239 struct bin_attribute *bin_attr, ds1553_nvram_read()
254 struct bin_attribute *bin_attr, ds1553_nvram_write()
238 ds1553_nvram_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) ds1553_nvram_read() argument
253 ds1553_nvram_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) ds1553_nvram_write() argument
H A Drtc-m48t59.c338 struct bin_attribute *bin_attr, m48t59_nvram_read()
359 struct bin_attribute *bin_attr, m48t59_nvram_write()
337 m48t59_nvram_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) m48t59_nvram_read() argument
358 m48t59_nvram_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) m48t59_nvram_write() argument
H A Drtc-ds1511.c419 struct bin_attribute *bin_attr, ds1511_nvram_write()
418 ds1511_nvram_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) ds1511_nvram_write() argument
H A Drtc-ds1685.c932 * @bin_attr: pointer to bin_attribute structure.
939 struct bin_attribute *bin_attr, char *buf, ds1685_rtc_sysfs_nvram_read()
1012 * @bin_attr: pointer to bin_attribute structure.
1019 struct bin_attribute *bin_attr, char *buf, ds1685_rtc_sysfs_nvram_write()
938 ds1685_rtc_sysfs_nvram_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) ds1685_rtc_sysfs_nvram_read() argument
1018 ds1685_rtc_sysfs_nvram_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t size) ds1685_rtc_sysfs_nvram_write() argument
/linux-4.4.14/drivers/sfi/
H A Dsfi_acpi.c176 struct bin_attribute *bin_attr, char *buf, sfi_acpi_table_show()
180 container_of(bin_attr, struct sfi_table_attr, attr); sfi_acpi_table_show()
175 sfi_acpi_table_show(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t offset, size_t count) sfi_acpi_table_show() argument
H A Dsfi_core.c390 struct bin_attribute *bin_attr, char *buf, sfi_table_show()
394 container_of(bin_attr, struct sfi_table_attr, attr); sfi_table_show()
389 sfi_table_show(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t offset, size_t count) sfi_table_show() argument
/linux-4.4.14/drivers/misc/eeprom/
H A Deeprom_93xx46.c38 struct bin_attribute *bin_attr, eeprom_93xx46_bin_read()
186 struct bin_attribute *bin_attr, eeprom_93xx46_bin_write()
37 eeprom_93xx46_bin_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) eeprom_93xx46_bin_read() argument
185 eeprom_93xx46_bin_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) eeprom_93xx46_bin_write() argument
H A Dmax6875.c110 struct bin_attribute *bin_attr, max6875_read()
109 max6875_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) max6875_read() argument
H A Dat25.c136 struct bin_attribute *bin_attr, at25_bin_read()
270 struct bin_attribute *bin_attr, at25_bin_write()
135 at25_bin_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) at25_bin_read() argument
269 at25_bin_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) at25_bin_write() argument
H A Deeprom.c84 struct bin_attribute *bin_attr, eeprom_read()
83 eeprom_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) eeprom_read() argument
/linux-4.4.14/drivers/net/phy/
H A Dspi_ks8995.c213 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ks8995_registers_read()
225 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ks8995_registers_write()
212 ks8995_registers_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ks8995_registers_read() argument
224 ks8995_registers_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ks8995_registers_write() argument
/linux-4.4.14/drivers/base/
H A Ddevcoredump.c89 struct bin_attribute *bin_attr, devcd_data_read()
99 struct bin_attribute *bin_attr, devcd_data_write()
88 devcd_data_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t offset, size_t count) devcd_data_read() argument
98 devcd_data_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t offset, size_t count) devcd_data_write() argument
H A Dfirmware_class.c719 struct bin_attribute *bin_attr, firmware_data_read()
805 * @bin_attr: bin_attr structure
814 struct bin_attribute *bin_attr, firmware_data_write()
718 firmware_data_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t offset, size_t count) firmware_data_read() argument
813 firmware_data_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t offset, size_t count) firmware_data_write() argument
/linux-4.4.14/arch/x86/kernel/
H A Dksysfs.c32 struct bin_attribute *bin_attr, boot_params_data_read()
141 struct bin_attribute *bin_attr, setup_data_data_read()
31 boot_params_data_read(struct file *fp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) boot_params_data_read() argument
139 setup_data_data_read(struct file *fp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) setup_data_data_read() argument
/linux-4.4.14/drivers/fmc/
H A Dfmc-core.c82 struct bin_attribute *bin_attr, fmc_read_eeprom()
103 struct bin_attribute *bin_attr, fmc_write_eeprom()
81 fmc_read_eeprom(struct file *file, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) fmc_read_eeprom() argument
102 fmc_write_eeprom(struct file *file, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) fmc_write_eeprom() argument
/linux-4.4.14/drivers/firmware/
H A Ddell_rbu.c526 struct bin_attribute *bin_attr, read_rbu_data()
580 struct bin_attribute *bin_attr, read_rbu_image_type()
590 struct bin_attribute *bin_attr, write_rbu_image_type()
651 struct bin_attribute *bin_attr, read_rbu_packet_size()
664 struct bin_attribute *bin_attr, write_rbu_packet_size()
525 read_rbu_data(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) read_rbu_data() argument
579 read_rbu_image_type(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) read_rbu_image_type() argument
589 write_rbu_image_type(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) write_rbu_image_type() argument
650 read_rbu_packet_size(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) read_rbu_packet_size() argument
663 write_rbu_packet_size(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) write_rbu_packet_size() argument
H A Ddcdbas.c153 struct bin_attribute *bin_attr, smi_data_read()
166 struct bin_attribute *bin_attr, smi_data_write()
152 smi_data_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t count) smi_data_read() argument
165 smi_data_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t count) smi_data_write() argument
H A Ddmi-sysfs.c429 struct bin_attribute *bin_attr, dmi_sel_raw_read()
535 struct bin_attribute *bin_attr, dmi_entry_raw_read()
428 dmi_sel_raw_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t count) dmi_sel_raw_read() argument
533 dmi_entry_raw_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t count) dmi_entry_raw_read() argument
/linux-4.4.14/drivers/pci/hotplug/
H A Dacpiphp_ibm.c101 struct bin_attribute *bin_attr,
344 * @bin_attr: struct bin_attribute for this file
357 struct bin_attribute *bin_attr, ibm_read_apci_table()
356 ibm_read_apci_table(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t size) ibm_read_apci_table() argument
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
H A Dsysfs.c110 struct bin_attribute *bin_attr, wl1271_sysfs_read_fwlog()
109 wl1271_sysfs_read_fwlog(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) wl1271_sysfs_read_fwlog() argument
/linux-4.4.14/drivers/power/
H A Dds2780_battery.c633 struct bin_attribute *bin_attr, ds2780_read_param_eeprom_bin()
646 struct bin_attribute *bin_attr, ds2780_write_param_eeprom_bin()
678 struct bin_attribute *bin_attr, ds2780_read_user_eeprom_bin()
691 struct bin_attribute *bin_attr, ds2780_write_user_eeprom_bin()
631 ds2780_read_param_eeprom_bin(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ds2780_read_param_eeprom_bin() argument
644 ds2780_write_param_eeprom_bin(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ds2780_write_param_eeprom_bin() argument
676 ds2780_read_user_eeprom_bin(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ds2780_read_user_eeprom_bin() argument
689 ds2780_write_user_eeprom_bin(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ds2780_write_user_eeprom_bin() argument
H A Dds2781_battery.c635 struct bin_attribute *bin_attr, ds2781_read_param_eeprom_bin()
648 struct bin_attribute *bin_attr, ds2781_write_param_eeprom_bin()
680 struct bin_attribute *bin_attr, ds2781_read_user_eeprom_bin()
694 struct bin_attribute *bin_attr, ds2781_write_user_eeprom_bin()
633 ds2781_read_param_eeprom_bin(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ds2781_read_param_eeprom_bin() argument
646 ds2781_write_param_eeprom_bin(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ds2781_write_param_eeprom_bin() argument
678 ds2781_read_user_eeprom_bin(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ds2781_read_user_eeprom_bin() argument
692 ds2781_write_user_eeprom_bin(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ds2781_write_user_eeprom_bin() argument
/linux-4.4.14/kernel/
H A Dksysfs.c172 struct bin_attribute *bin_attr, notes_read()
171 notes_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) notes_read() argument
H A Dmodule.c1566 struct bin_attribute *bin_attr, module_notes_read()
1572 memcpy(buf, bin_attr->private + pos, count); module_notes_read()
1565 module_notes_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t count) module_notes_read() argument
/linux-4.4.14/drivers/misc/cxl/
H A Dsysfs.c386 struct bin_attribute *bin_attr, char *buf, afu_eb_read()
466 struct bin_attribute *bin_attr, char *buf, afu_read_config()
385 afu_eb_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) afu_eb_read() argument
465 afu_read_config(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) afu_read_config() argument
/linux-4.4.14/include/linux/
H A Dsysfs.h177 #define sysfs_bin_attr_init(bin_attr) sysfs_attr_init(&(bin_attr)->attr)
/linux-4.4.14/arch/tile/kernel/
H A Dsysfs.c129 struct bin_attribute *bin_attr, hvconfig_bin_read()
128 hvconfig_bin_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) hvconfig_bin_read() argument
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Dsysfs.c65 struct bin_attribute *bin_attr, read_cc_table_bin()
118 struct bin_attribute *bin_attr, read_cc_setting_bin()
64 read_cc_table_bin(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t count) read_cc_table_bin() argument
117 read_cc_setting_bin(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t count) read_cc_setting_bin() argument
/linux-4.4.14/drivers/s390/cio/
H A Dchp.c134 struct bin_attribute *bin_attr, chp_measurement_chars_read()
181 struct bin_attribute *bin_attr, chp_measurement_read()
132 chp_measurement_chars_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) chp_measurement_chars_read() argument
180 chp_measurement_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) chp_measurement_read() argument
/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_sysfs.c212 struct bin_attribute *bin_attr, read_cc_table_bin()
262 struct bin_attribute *bin_attr, read_cc_setting_bin()
211 read_cc_table_bin(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t count) read_cc_table_bin() argument
261 read_cc_setting_bin(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t count) read_cc_setting_bin() argument
/linux-4.4.14/drivers/acpi/
H A Dsysfs.c325 struct bin_attribute *bin_attr, char *buf, acpi_table_show()
329 container_of(bin_attr, struct acpi_table_attr, attr); acpi_table_show()
324 acpi_table_show(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t offset, size_t count) acpi_table_show() argument
/linux-4.4.14/drivers/firmware/efi/
H A Defivars.c415 struct bin_attribute *bin_attr, efivar_create()
485 struct bin_attribute *bin_attr, efivar_delete()
414 efivar_create(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t count) efivar_create() argument
484 efivar_delete(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t pos, size_t count) efivar_delete() argument
/linux-4.4.14/drivers/scsi/
H A Dscsi_sysfs.c758 struct bin_attribute *bin_attr, \
779 struct bin_attribute *bin_attr, show_inquiry()
778 show_inquiry(struct file *filep, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) show_inquiry() argument
H A D3w-sas.c102 struct bin_attribute *bin_attr, twl_sysfs_aen_read()
133 struct bin_attribute *bin_attr, twl_sysfs_compat_info()
101 twl_sysfs_aen_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *outbuf, loff_t offset, size_t count) twl_sysfs_aen_read() argument
132 twl_sysfs_compat_info(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *outbuf, loff_t offset, size_t count) twl_sysfs_compat_info() argument
H A Dipr.c3341 * @bin_attr: bin_attribute struct
3350 struct bin_attribute *bin_attr, ipr_read_trace()
4110 * @bin_attr: bin_attribute struct
4119 struct bin_attribute *bin_attr, ipr_read_dump()
4297 * @bin_attr: bin_attribute struct
4306 struct bin_attribute *bin_attr, ipr_write_dump()
3349 ipr_read_trace(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ipr_read_trace() argument
4118 ipr_read_dump(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ipr_read_dump() argument
4305 ipr_write_dump(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ipr_write_dump() argument
/linux-4.4.14/drivers/pcmcia/
H A Dcistpl.c1544 struct bin_attribute *bin_attr, pccard_show_cis()
1575 struct bin_attribute *bin_attr, pccard_store_cis()
1543 pccard_show_cis(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) pccard_show_cis() argument
1574 pccard_store_cis(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) pccard_store_cis() argument
/linux-4.4.14/drivers/w1/
H A Dw1.c134 struct bin_attribute *bin_attr, char *buf, loff_t off, rw_write()
153 struct bin_attribute *bin_attr, char *buf, loff_t off, rw_read()
133 rw_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) rw_write() argument
152 rw_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) rw_read() argument
/linux-4.4.14/drivers/scsi/lpfc/
H A Dlpfc_attr.c3598 * @bin_attr: Attribute object
3609 struct bin_attribute *bin_attr, sysfs_drvr_stat_data_read()
4907 * @bin_attr: kernel attributes passed to us.
4924 struct bin_attribute *bin_attr, sysfs_ctlreg_write()
4967 * @bin_attr: kernel attributes passed to us.
4983 struct bin_attribute *bin_attr, sysfs_ctlreg_read()
5033 * @bin_attr: kernel attributes passed to us.
5047 struct bin_attribute *bin_attr, sysfs_mbox_write()
5057 * @bin_attr: kernel attributes passed to us.
5071 struct bin_attribute *bin_attr, sysfs_mbox_read()
3608 sysfs_drvr_stat_data_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) sysfs_drvr_stat_data_read() argument
4923 sysfs_ctlreg_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) sysfs_ctlreg_write() argument
4982 sysfs_ctlreg_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) sysfs_ctlreg_read() argument
5046 sysfs_mbox_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) sysfs_mbox_write() argument
5070 sysfs_mbox_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) sysfs_mbox_read() argument
/linux-4.4.14/net/bridge/
H A Dbr_sysfs_br.c814 struct bin_attribute *bin_attr, brforward_read()
813 brforward_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) brforward_read() argument
/linux-4.4.14/drivers/of/
H A Dfdt.c1153 struct bin_attribute *bin_attr, of_fdt_raw_read()
1152 of_fdt_raw_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) of_fdt_raw_read() argument
H A Dbase.c108 struct bin_attribute *bin_attr, char *buf, of_node_property_read()
111 struct property *pp = container_of(bin_attr, struct property, attr); of_node_property_read()
107 of_node_property_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t offset, size_t count) of_node_property_read() argument
/linux-4.4.14/arch/powerpc/perf/
H A Dhv-24x7.c902 struct bin_attribute *bin_attr, char *buf, catalog_read()
901 catalog_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t offset, size_t count) catalog_read() argument
/linux-4.4.14/drivers/video/fbdev/aty/
H A Dradeon_base.c2221 struct bin_attribute *bin_attr, radeon_show_edid1()
2234 struct bin_attribute *bin_attr, radeon_show_edid2()
2220 radeon_show_edid1(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) radeon_show_edid1() argument
2233 radeon_show_edid2(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) radeon_show_edid2() argument
/linux-4.4.14/drivers/scsi/ibmvscsi/
H A Dibmvfc.c3024 * @bin_attr: bin_attribute struct
3033 struct bin_attribute *bin_attr, ibmvfc_read_trace()
3032 ibmvfc_read_trace(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ibmvfc_read_trace() argument

Completed in 3353 milliseconds