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

/linux-4.1.27/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.1.27/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 (bin_attr = grp->bin_attrs; *bin_attr; bin_attr++) { create_files()
79 (*bin_attr)->attr.name); create_files()
81 &(*bin_attr)->attr, true, create_files()
82 (*bin_attr)->attr.mode, NULL); create_files()
/linux-4.1.27/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.c636 struct bin_attribute *bin_attr, symbol_map_read()
639 return memory_read_from_buffer(buf, count, &off, bin_attr->private, symbol_map_read()
640 bin_attr->size); symbol_map_read()
635 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.c156 struct bin_attribute *bin_attr, raw_attr_read()
155 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.c283 struct bin_attribute *bin_attr, dump_attr_read()
282 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.1.27/drivers/pci/
H A Dpci-sysfs.c627 struct bin_attribute *bin_attr, char *buf, pci_read_config()
704 struct bin_attribute *bin_attr, char *buf, pci_write_config()
766 struct bin_attribute *bin_attr, char *buf, read_vpd_attr()
772 if (off > bin_attr->size) read_vpd_attr()
774 else if (count > bin_attr->size - off) read_vpd_attr()
775 count = bin_attr->size - off; read_vpd_attr()
781 struct bin_attribute *bin_attr, char *buf, write_vpd_attr()
787 if (off > bin_attr->size) write_vpd_attr()
789 else if (count > bin_attr->size - off) write_vpd_attr()
790 count = bin_attr->size - off; write_vpd_attr()
800 * @bin_attr: struct bin_attribute for this file
809 struct bin_attribute *bin_attr, char *buf, pci_read_legacy_io()
826 * @bin_attr: struct bin_attribute for this file
835 struct bin_attribute *bin_attr, char *buf, pci_write_legacy_io()
1214 * @bin_attr: struct bin_attribute for this file pci_remove_resource_files()
1222 struct bin_attribute *bin_attr, char *buf, pci_write_rom()
1239 * @bin_attr: struct bin_attribute for this file
1248 struct bin_attribute *bin_attr, char *buf, pci_read_rom()
626 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
703 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
765 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
780 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
808 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
834 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
1221 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
1247 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.1.27/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.1.27/arch/mips/txx9/generic/
H A Dsetup.c911 struct bin_attribute *bin_attr, txx9_sram_read()
914 struct txx9_sramc_dev *dev = bin_attr->private; txx9_sram_read()
915 size_t ramsize = bin_attr->size; txx9_sram_read()
926 struct bin_attribute *bin_attr, txx9_sram_write()
929 struct txx9_sramc_dev *dev = bin_attr->private; txx9_sram_write()
930 size_t ramsize = bin_attr->size; txx9_sram_write()
910 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
925 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.1.27/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.1.27/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.1.27/drivers/net/phy/
H A Dspi_ks8995.c215 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ks8995_registers_read()
237 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) ks8995_registers_write()
214 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
236 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.1.27/drivers/misc/eeprom/
H A Deeprom_93xx46.c38 struct bin_attribute *bin_attr, eeprom_93xx46_bin_read()
193 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
192 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.1.27/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.1.27/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.1.27/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()
212 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
211 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()
358 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
357 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.c435 struct bin_attribute *bin_attr, ds1511_nvram_write()
434 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.1.27/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.1.27/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.1.27/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.c700 struct bin_attribute *bin_attr, firmware_data_read()
786 * @bin_attr: bin_attr structure
795 struct bin_attribute *bin_attr, firmware_data_write()
699 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
794 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.1.27/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.1.27/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.1.27/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.1.27/drivers/power/
H A Dds2780_battery.c633 struct bin_attribute *bin_attr, ds2780_read_param_eeprom_bin()
650 struct bin_attribute *bin_attr, ds2780_write_param_eeprom_bin()
686 struct bin_attribute *bin_attr, ds2780_read_user_eeprom_bin()
703 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
648 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
684 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
701 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()
650 struct bin_attribute *bin_attr, ds2781_write_param_eeprom_bin()
684 struct bin_attribute *bin_attr, ds2781_read_user_eeprom_bin()
700 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
648 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
682 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
698 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.1.27/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.c1403 struct bin_attribute *bin_attr, module_notes_read()
1409 memcpy(buf, bin_attr->private + pos, count); module_notes_read()
1402 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.1.27/drivers/acpi/
H A Dsysfs.c262 struct bin_attribute *bin_attr, char *buf, acpi_table_show()
266 container_of(bin_attr, struct acpi_table_attr, attr); acpi_table_show()
261 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.1.27/include/linux/
H A Dsysfs.h167 #define sysfs_bin_attr_init(bin_attr) sysfs_attr_init(&(bin_attr)->attr)
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/misc/cxl/
H A Dsysfs.c430 struct bin_attribute *bin_attr, char *buf, afu_read_config()
429 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.1.27/drivers/pcmcia/
H A Dcistpl.c1556 struct bin_attribute *bin_attr, pccard_show_cis()
1587 struct bin_attribute *bin_attr, pccard_store_cis()
1555 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
1586 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.1.27/drivers/w1/
H A Dw1.c130 struct bin_attribute *bin_attr, char *buf, loff_t off, rw_write()
149 struct bin_attribute *bin_attr, char *buf, loff_t off, rw_read()
129 rw_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) rw_write() argument
148 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.1.27/drivers/scsi/lpfc/
H A Dlpfc_attr.c3599 * @bin_attr: Attribute object
3610 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()
3609 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.1.27/net/bridge/
H A Dbr_sysfs_br.c807 struct bin_attribute *bin_attr, brforward_read()
806 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.1.27/drivers/scsi/
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 Dscsi_sysfs.c756 struct bin_attribute *bin_attr, \
H A Dipr.c3340 * @bin_attr: bin_attribute struct
3349 struct bin_attribute *bin_attr, ipr_read_trace()
4105 * @bin_attr: bin_attribute struct
4114 struct bin_attribute *bin_attr, ipr_read_dump()
4292 * @bin_attr: bin_attribute struct
4301 struct bin_attribute *bin_attr, ipr_write_dump()
3348 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
4113 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
4300 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.1.27/drivers/of/
H A Dfdt.c1121 struct bin_attribute *bin_attr, of_fdt_raw_read()
1120 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.1.27/arch/powerpc/perf/
H A Dhv-24x7.c891 struct bin_attribute *bin_attr, char *buf, catalog_read()
890 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.1.27/drivers/video/fbdev/aty/
H A Dradeon_base.c2098 struct bin_attribute *bin_attr, radeon_show_edid1()
2111 struct bin_attribute *bin_attr, radeon_show_edid2()
2097 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
2110 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.1.27/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 1503 milliseconds