Home
last modified time | relevance | path

Searched refs:bin_attribute (Results 1 – 25 of 152) sorted by relevance

1234567

/linux/include/linux/
A Dsysfs.h27 struct bin_attribute;
89 struct bin_attribute *, int);
91 struct bin_attribute **bin_attrs;
175 struct bin_attribute { struct
230 struct bin_attribute bin_attr_##_name = __BIN_ATTR_RO(_name, _size)
233 struct bin_attribute bin_attr_##_name = __BIN_ATTR_WO(_name, _size)
236 struct bin_attribute bin_attr_##_name = __BIN_ATTR_RW(_name, _size)
273 const struct bin_attribute *attr);
275 const struct bin_attribute *attr);
428 const struct bin_attribute *attr) in sysfs_create_bin_file()
[all …]
/linux/drivers/w1/slaves/
A Dw1_ds2408.c68 struct bin_attribute *bin_attr, char *buf, loff_t off, in state_read()
80 struct bin_attribute *bin_attr, char *buf, in output_read()
93 struct bin_attribute *bin_attr, char *buf, in activity_read()
106 struct bin_attribute *bin_attr, char *buf, in cond_search_mask_read()
120 struct bin_attribute *bin_attr, in cond_search_polarity_read()
130 struct bin_attribute *bin_attr, char *buf, in status_control_read()
163 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[] = {
A Dw1_ds2438.c293 struct bin_attribute *bin_attr, char *buf, in iad_write()
315 struct bin_attribute *bin_attr, char *buf, in iad_read()
336 struct bin_attribute *bin_attr, char *buf, in page0_read()
366 struct bin_attribute *bin_attr, char *buf, in page1_read()
396 struct bin_attribute *bin_attr, char *buf, in offset_write()
415 struct bin_attribute *bin_attr, char *buf, in temperature_read()
436 struct bin_attribute *bin_attr, char *buf, in vad_read()
457 struct bin_attribute *bin_attr, char *buf, in vdd_read()
485 static struct bin_attribute *w1_ds2438_bin_attrs[] = {
A Dw1_ds2406.c27 struct bin_attribute *bin_attr, in w1_f12_read_state()
64 struct bin_attribute *bin_attr, in w1_f12_write_output()
98 static struct bin_attribute w1_f12_sysfs_bin_files[NB_SYSFS_BIN_FILES] = {
A Dw1_ds2413.c28 struct bin_attribute *bin_attr, char *buf, loff_t off, in state_read()
84 struct bin_attribute *bin_attr, char *buf, in output_write()
131 static struct bin_attribute *w1_f3a_bin_attrs[] = {
A Dw1_ds28e04.c115 struct bin_attribute *bin_attr, char *buf, in eeprom_read()
223 struct bin_attribute *bin_attr, char *buf, in eeprom_write()
279 struct bin_attribute *bin_attr, char *buf, loff_t off, in pio_read()
298 struct bin_attribute *bin_attr, char *buf, loff_t off, in pio_write()
377 static struct bin_attribute *w1_f1C_bin_attrs[] = {
/linux/drivers/hid/
A Dhid-roccat-common.h49 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
58 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
71 static struct bin_attribute bin_attr_ ## thingy = { \
80 static struct bin_attribute bin_attr_ ## thingy = { \
88 static struct bin_attribute bin_attr_ ## thingy = { \
A Dhid-roccat-pyra.c135 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
144 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
157 static struct bin_attribute bin_attr_##thingy = { \
166 static struct bin_attribute bin_attr_##thingy = { \
174 static struct bin_attribute bin_attr_##thingy = { \
186 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_read_profilex_settings()
204 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_read_profilex_buttons()
228 static struct bin_attribute bin_attr_profile##number##_buttons = { \
241 struct kobject *kobj, struct bin_attribute *attr, char *buf, in pyra_sysfs_write_settings()
279 static struct bin_attribute bin_attr_settings =
[all …]
A Dhid-roccat-koneplus.c133 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
142 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
155 static struct bin_attribute bin_attr_##thingy = { \
164 static struct bin_attribute bin_attr_##thingy = { \
172 static struct bin_attribute bin_attr_##thingy = { \
188 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_read_profilex_settings()
206 struct kobject *kobj, struct bin_attribute *attr, char *buf, in koneplus_sysfs_read_profilex_buttons()
224 static struct bin_attribute bin_attr_profile##number##_settings = { \
230 static struct bin_attribute bin_attr_profile##number##_buttons = { \
326 static struct bin_attribute *koneplus_bin_attributes[] = {
A Dhid-roccat-kovaplus.c176 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
185 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
198 static struct bin_attribute bin_attr_##thingy = { \
207 static struct bin_attribute bin_attr_##thingy = { \
218 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_settings()
236 struct kobject *kobj, struct bin_attribute *attr, char *buf, in kovaplus_sysfs_read_profilex_buttons()
254 static struct bin_attribute bin_attr_profile##number##_settings = { \
260 static struct bin_attribute bin_attr_profile##number##_buttons = { \
384 static struct bin_attribute *kovaplus_bin_attributes[] = {
A Dhid-roccat-isku.c161 struct bin_attribute *attr, char *buf, \
170 struct bin_attribute *attr, char *buf, \
183 static struct bin_attribute bin_attr_##thingy = { \
192 static struct bin_attribute bin_attr_##thingy = { \
200 static struct bin_attribute bin_attr_##thingy = { \
222 static struct bin_attribute *isku_bin_attributes[] = {
/linux/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_sysfs.c400 struct bin_attribute *attr, in qlcnic_sysfs_write_pm_config()
450 struct bin_attribute *attr, in qlcnic_sysfs_read_pm_config()
543 struct bin_attribute *attr, in qlcnic_sysfs_write_esw_config()
627 struct bin_attribute *attr, in qlcnic_sysfs_read_esw_config()
726 struct bin_attribute *attr, in qlcnic_sysfs_read_npar_config()
773 struct bin_attribute *attr, in qlcnic_sysfs_get_port_stats()
808 struct bin_attribute *attr, in qlcnic_sysfs_get_esw_stats()
843 struct bin_attribute *attr, in qlcnic_sysfs_clear_esw_stats()
872 struct bin_attribute *attr, in qlcnic_sysfs_clear_port_stats()
902 struct bin_attribute *attr, in qlcnic_sysfs_read_pci_config()
[all …]
/linux/tools/testing/selftests/bpf/progs/
A Dtest_module_attach.c59 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
70 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
82 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len, in BPF_PROG()
107 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
/linux/arch/powerpc/kernel/
A Dsecvar-sysfs.c61 struct bin_attribute *attr, char *buf, loff_t off, in data_read()
93 struct bin_attribute *attr, char *buf, loff_t off, in update_write()
112 static struct bin_attribute data_attr = __BIN_ATTR_RO(data, 0);
114 static struct bin_attribute update_attr = __BIN_ATTR_WO(update, 0);
116 static struct bin_attribute *secvar_bin_attrs[] = {
/linux/drivers/pci/
A Dpci-sysfs.c770 struct bin_attribute *bin_attr, char *buf, in pci_write_config()
842 struct bin_attribute *a, int n) in pci_dev_config_attr_is_visible()
921 struct bin_attribute *attr, in pci_mmap_legacy_mem()
941 struct bin_attribute *attr, in pci_mmap_legacy_io()
1089 struct bin_attribute *attr, in pci_mmap_resource_uc()
1096 struct bin_attribute *attr, in pci_mmap_resource_wc()
1142 struct bin_attribute *attr, char *buf, in pci_read_resource_io()
1149 struct bin_attribute *attr, char *buf, in pci_write_resource_io()
1173 struct bin_attribute *res_attr; in pci_remove_resource_files()
1193 struct bin_attribute *res_attr; in pci_create_attr()
[all …]
/linux/arch/x86/kernel/
A Dksysfs.c31 struct bin_attribute *bin_attr, in boot_params_data_read()
38 static struct bin_attribute boot_params_data_attr = {
52 static struct bin_attribute *boot_params_data_attrs[] = {
148 struct bin_attribute *bin_attr, in setup_data_data_read()
203 static struct bin_attribute data_attr __ro_after_init = {
216 static struct bin_attribute *setup_data_data_attrs[] = {
/linux/mm/
A Dpage_idle.c115 struct bin_attribute *attr, char *buf, in page_idle_bitmap_read()
160 struct bin_attribute *attr, char *buf, in page_idle_bitmap_write()
196 static struct bin_attribute page_idle_bitmap_attr =
200 static struct bin_attribute *page_idle_bin_attrs[] = {
/linux/arch/alpha/kernel/
A Dpci-sysfs.c67 struct bin_attribute *attr, in pci_mmap_resource()
96 struct bin_attribute *attr, in pci_mmap_resource_sparse()
103 struct bin_attribute *attr, in pci_mmap_resource_dense()
121 struct bin_attribute *res_attr; in pci_remove_resource_files()
157 char *suffix, struct bin_attribute *res_attr, in pci_create_one_attr()
177 struct bin_attribute *attr; in pci_create_attr()
/linux/tools/testing/selftests/bpf/bpf_testmod/
A Dbpf_testmod.c54 struct bin_attribute *bin_attr, in bpf_testmod_test_read()
90 struct bin_attribute *bin_attr, in bpf_testmod_test_write()
106 static struct bin_attribute bin_attr_bpf_testmod_file __ro_after_init = {
/linux/drivers/s390/crypto/
A Dpkey_api.c1633 struct bin_attribute *attr, in protkey_aes_128_read()
1643 struct bin_attribute *attr, in protkey_aes_192_read()
1663 struct bin_attribute *attr, in protkey_aes_128_xts_read()
1673 struct bin_attribute *attr, in protkey_aes_256_xts_read()
1767 struct bin_attribute *attr, in ccadata_aes_128_xts_read()
1777 struct bin_attribute *attr, in ccadata_aes_256_xts_read()
1889 struct bin_attribute *attr, in ccacipher_aes_128_xts_read()
1899 struct bin_attribute *attr, in ccacipher_aes_256_xts_read()
1982 struct bin_attribute *attr, in ep11_aes_128_read()
1992 struct bin_attribute *attr, in ep11_aes_192_read()
[all …]
/linux/drivers/mtd/spi-nor/
A Dsysfs.c51 struct bin_attribute *bin_attr, char *buf, in sfdp_read()
65 static struct bin_attribute *spi_nor_sysfs_bin_entries[] = {
71 struct bin_attribute *attr, int n) in spi_nor_sysfs_is_bin_visible()
/linux/drivers/zorro/
A Dzorro-sysfs.c84 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/drivers/scsi/arcmsr/
A Darcmsr_attr.c63 struct bin_attribute *bin, in arcmsr_sysfs_iop_message_read()
110 struct bin_attribute *bin, in arcmsr_sysfs_iop_message_write()
158 struct bin_attribute *bin, in arcmsr_sysfs_iop_message_clear()
191 static const struct bin_attribute arcmsr_sysfs_message_read_attr = {
200 static const struct bin_attribute arcmsr_sysfs_message_write_attr = {
209 static const struct bin_attribute arcmsr_sysfs_message_clear_attr = {
/linux/drivers/base/
A Dtopology.c26 struct bin_attribute *attr, char *buf, \
36 struct bin_attribute *attr, char *buf, \
97 static struct bin_attribute *bin_attrs[] = {
/linux/kernel/
A Dkheaders.c34 struct bin_attribute *bin_attr, in ikheaders_read()
41 static struct bin_attribute kheaders_attr __ro_after_init = {

Completed in 37 milliseconds

1234567