/Linux-v4.19/include/linux/ |
D | sysfs.h | 27 struct bin_attribute; 89 struct bin_attribute *, int); 91 struct bin_attribute **bin_attrs; 161 struct bin_attribute { struct 165 ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *, argument 167 ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *, argument 169 int (*mmap)(struct file *, struct kobject *, struct bin_attribute *attr, argument 205 struct bin_attribute bin_attr_##_name = __BIN_ATTR(_name, _mode, _read, \ 209 struct bin_attribute bin_attr_##_name = __BIN_ATTR_RO(_name, _size) 212 struct bin_attribute bin_attr_##_name = __BIN_ATTR_RW(_name, _size) [all …]
|
/Linux-v4.19/drivers/w1/slaves/ |
D | w1_ds2408.c | 70 struct bin_attribute *bin_attr, char *buf, loff_t off, in state_read() 82 struct bin_attribute *bin_attr, char *buf, in output_read() 95 struct bin_attribute *bin_attr, char *buf, in activity_read() 108 struct bin_attribute *bin_attr, char *buf, in cond_search_mask_read() 122 struct bin_attribute *bin_attr, in cond_search_polarity_read() 132 struct bin_attribute *bin_attr, char *buf, in status_control_read() 142 struct bin_attribute *bin_attr, char *buf, in output_write() 213 struct bin_attribute *bin_attr, char *buf, in activity_write() 243 struct bin_attribute *bin_attr, char *buf, in status_control_write() 320 static struct bin_attribute *w1_f29_bin_attrs[] = {
|
D | w1_ds2438.c | 239 struct bin_attribute *bin_attr, char *buf, in iad_write() 261 struct bin_attribute *bin_attr, char *buf, in page0_read() 287 struct bin_attribute *bin_attr, char *buf, in temperature_read() 310 struct bin_attribute *bin_attr, char *buf, in vad_read() 333 struct bin_attribute *bin_attr, char *buf, in vdd_read() 361 static struct bin_attribute *w1_ds2438_bin_attrs[] = {
|
D | w1_ds2413.c | 29 struct bin_attribute *bin_attr, char *buf, loff_t off, in state_read() 66 struct bin_attribute *bin_attr, char *buf, in output_write() 110 static struct bin_attribute *w1_f3a_bin_attrs[] = {
|
D | w1_ds2406.c | 29 struct bin_attribute *bin_attr, in w1_f12_read_state() 66 struct bin_attribute *bin_attr, in w1_f12_write_output() 100 static struct bin_attribute w1_f12_sysfs_bin_files[NB_SYSFS_BIN_FILES] = {
|
D | w1_ds28e04.c | 117 struct bin_attribute *bin_attr, char *buf, in eeprom_read() 225 struct bin_attribute *bin_attr, char *buf, in eeprom_write() 281 struct bin_attribute *bin_attr, char *buf, loff_t off, in pio_read() 300 struct bin_attribute *bin_attr, char *buf, loff_t off, in pio_write() 379 static struct bin_attribute *w1_f1C_bin_attrs[] = {
|
/Linux-v4.19/drivers/hid/ |
D | hid-roccat-common.h | 52 struct kobject *kobj, struct bin_attribute *attr, char *buf, \ 61 struct kobject *kobj, struct bin_attribute *attr, char *buf, \ 74 static struct bin_attribute bin_attr_ ## thingy = { \ 83 static struct bin_attribute bin_attr_ ## thingy = { \ 91 static struct bin_attribute bin_attr_ ## thingy = { \
|
D | hid-roccat-pyra.c | 138 struct kobject *kobj, struct bin_attribute *attr, char *buf, \ 147 struct kobject *kobj, struct bin_attribute *attr, char *buf, \ 160 static struct bin_attribute bin_attr_##thingy = { \ 169 static struct bin_attribute bin_attr_##thingy = { \ 177 static struct bin_attribute bin_attr_##thingy = { \ 189 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_read_profilex_settings() 207 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_read_profilex_buttons() 225 static struct bin_attribute bin_attr_profile##number##_settings = { \ 231 static struct bin_attribute bin_attr_profile##number##_buttons = { \ 244 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_write_settings() [all …]
|
D | hid-roccat-koneplus.c | 136 struct kobject *kobj, struct bin_attribute *attr, char *buf, \ 145 struct kobject *kobj, struct bin_attribute *attr, char *buf, \ 158 static struct bin_attribute bin_attr_##thingy = { \ 167 static struct bin_attribute bin_attr_##thingy = { \ 175 static struct bin_attribute bin_attr_##thingy = { \ 191 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_read_profilex_settings() 209 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_read_profilex_buttons() 227 static struct bin_attribute bin_attr_profile##number##_settings = { \ 233 static struct bin_attribute bin_attr_profile##number##_buttons = { \ 329 static struct bin_attribute *koneplus_bin_attributes[] = {
|
D | hid-roccat-kovaplus.c | 179 struct kobject *kobj, struct bin_attribute *attr, char *buf, \ 188 struct kobject *kobj, struct bin_attribute *attr, char *buf, \ 201 static struct bin_attribute bin_attr_##thingy = { \ 210 static struct bin_attribute bin_attr_##thingy = { \ 221 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_settings() 239 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_buttons() 257 static struct bin_attribute bin_attr_profile##number##_settings = { \ 263 static struct bin_attribute bin_attr_profile##number##_buttons = { \ 387 static struct bin_attribute *kovaplus_bin_attributes[] = {
|
D | hid-roccat-isku.c | 164 struct bin_attribute *attr, char *buf, \ 173 struct bin_attribute *attr, char *buf, \ 186 static struct bin_attribute bin_attr_##thingy = { \ 195 static struct bin_attribute bin_attr_##thingy = { \ 203 static struct bin_attribute bin_attr_##thingy = { \ 225 static struct bin_attribute *isku_bin_attributes[] = {
|
/Linux-v4.19/drivers/platform/chrome/ |
D | cros_ec_vbc.c | 28 struct bin_attribute *att, char *buf, in vboot_context_read() 68 struct bin_attribute *attr, char *buf, in vboot_context_write() 109 struct bin_attribute *a, int n) in cros_ec_vbc_is_visible() 125 static struct bin_attribute *cros_ec_vbc_bin_attrs[] = {
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sysfs.c | 269 struct bin_attribute *attr, char *buf, in qlcnic_sysfs_read_crb() 286 struct bin_attribute *attr, char *buf, in qlcnic_sysfs_write_crb() 315 struct bin_attribute *attr, char *buf, in qlcnic_sysfs_read_mem() 337 struct bin_attribute *attr, char *buf, in qlcnic_sysfs_write_mem() 401 struct bin_attribute *attr, in qlcnic_sysfs_write_pm_config() 451 struct bin_attribute *attr, in qlcnic_sysfs_read_pm_config() 544 struct bin_attribute *attr, in qlcnic_sysfs_write_esw_config() 628 struct bin_attribute *attr, in qlcnic_sysfs_read_esw_config() 680 struct bin_attribute *attr, in qlcnic_sysfs_write_npar_config() 727 struct bin_attribute *attr, in qlcnic_sysfs_read_npar_config() [all …]
|
/Linux-v4.19/arch/x86/kernel/ |
D | ksysfs.c | 32 struct bin_attribute *bin_attr, in boot_params_data_read() 39 static struct bin_attribute boot_params_data_attr = { 53 static struct bin_attribute *boot_params_data_attrs[] = { 141 struct bin_attribute *bin_attr, in setup_data_data_read() 187 static struct bin_attribute data_attr __ro_after_init = { 200 static struct bin_attribute *setup_data_data_attrs[] = {
|
/Linux-v4.19/mm/ |
D | page_idle.c | 122 struct bin_attribute *attr, char *buf, in page_idle_bitmap_read() 167 struct bin_attribute *attr, char *buf, in page_idle_bitmap_write() 203 static struct bin_attribute page_idle_bitmap_attr = 207 static struct bin_attribute *page_idle_bin_attrs[] = {
|
/Linux-v4.19/arch/alpha/kernel/ |
D | pci-sysfs.c | 65 struct bin_attribute *attr, in pci_mmap_resource() 94 struct bin_attribute *attr, in pci_mmap_resource_sparse() 101 struct bin_attribute *attr, in pci_mmap_resource_dense() 119 struct bin_attribute *res_attr; in pci_remove_resource_files() 155 char *suffix, struct bin_attribute *res_attr, in pci_create_one_attr() 175 struct bin_attribute *attr; in pci_create_attr()
|
/Linux-v4.19/drivers/rtc/ |
D | nvmem.c | 25 struct bin_attribute *attr, in rtc_nvram_read() 37 struct bin_attribute *attr, in rtc_nvram_write() 52 sizeof(struct bin_attribute), in rtc_nvram_register()
|
/Linux-v4.19/drivers/zorro/ |
D | zorro-sysfs.c | 84 struct bin_attribute *bin_attr, in zorro_read_config() 101 static struct bin_attribute zorro_config_attr = { 110 static struct bin_attribute *zorro_device_bin_attrs[] = {
|
/Linux-v4.19/drivers/firmware/google/ |
D | memconsole.c | 28 struct bin_attribute *bin_attr, char *buf, in memconsole_read() 36 static struct bin_attribute memconsole_bin_attr = {
|
D | vpd.c | 52 struct bin_attribute bin_attr; /* vpd/name_raw bin_attribute */ 59 struct bin_attribute bin_attr; 67 struct bin_attribute *bin_attr, char *buf, in vpd_attrib_read() 167 struct bin_attribute *bin_attr, char *buf, in vpd_section_read()
|
/Linux-v4.19/drivers/firmware/ |
D | dell_rbu.c | 526 struct bin_attribute *bin_attr, in read_rbu_data() 580 struct bin_attribute *bin_attr, in read_rbu_image_type() 590 struct bin_attribute *bin_attr, in write_rbu_image_type() 651 struct bin_attribute *bin_attr, in read_rbu_packet_size() 664 struct bin_attribute *bin_attr, in write_rbu_packet_size() 678 static struct bin_attribute rbu_data_attr = { 683 static struct bin_attribute rbu_image_type_attr = { 689 static struct bin_attribute rbu_packet_size_attr = {
|
/Linux-v4.19/drivers/pci/ |
D | pci-sysfs.c | 824 struct bin_attribute *bin_attr, char *buf, in pci_read_config() 900 struct bin_attribute *bin_attr, char *buf, in pci_write_config() 974 struct bin_attribute *bin_attr, char *buf, in pci_read_legacy_io() 999 struct bin_attribute *bin_attr, char *buf, in pci_write_legacy_io() 1023 struct bin_attribute *attr, in pci_mmap_legacy_mem() 1043 struct bin_attribute *attr, in pci_mmap_legacy_io() 1078 b->legacy_io = kcalloc(2, sizeof(struct bin_attribute), in pci_create_legacy_files() 1162 static int pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr, in pci_mmap_resource() 1182 struct bin_attribute *attr, in pci_mmap_resource_uc() 1189 struct bin_attribute *attr, in pci_mmap_resource_wc() [all …]
|
/Linux-v4.19/drivers/scsi/arcmsr/ |
D | arcmsr_attr.c | 65 struct bin_attribute *bin, in arcmsr_sysfs_iop_message_read() 112 struct bin_attribute *bin, in arcmsr_sysfs_iop_message_write() 160 struct bin_attribute *bin, in arcmsr_sysfs_iop_message_clear() 193 static const struct bin_attribute arcmsr_sysfs_message_read_attr = { 202 static const struct bin_attribute arcmsr_sysfs_message_write_attr = { 211 static const struct bin_attribute arcmsr_sysfs_message_clear_attr = {
|
/Linux-v4.19/arch/s390/pci/ |
D | pci_sysfs.c | 72 struct bin_attribute *attr, char *buf, in util_string_read() 85 struct bin_attribute *attr, char *buf, in report_error_write() 103 static struct bin_attribute *zpci_bin_attrs[] = {
|
/Linux-v4.19/drivers/i2c/ |
D | i2c-slave-eeprom.c | 26 struct bin_attribute bin; 78 struct bin_attribute *attr, char *buf, loff_t off, size_t count) in i2c_slave_eeprom_bin_read() 93 struct bin_attribute *attr, char *buf, loff_t off, size_t count) in i2c_slave_eeprom_bin_write()
|