Home
last modified time | relevance | path

Searched refs:_store (Results 1 – 25 of 31) sorted by relevance

12

/linux-4.19.296/include/linux/
Dhwmon-sysfs.h32 #define SENSOR_ATTR(_name, _mode, _show, _store, _index) \ argument
33 { .dev_attr = __ATTR(_name, _mode, _show, _store), \
36 #define SENSOR_DEVICE_ATTR(_name, _mode, _show, _store, _index) \ argument
38 = SENSOR_ATTR(_name, _mode, _show, _store, _index)
48 #define SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index) \ argument
49 { .dev_attr = __ATTR(_name, _mode, _show, _store), \
53 #define SENSOR_DEVICE_ATTR_2(_name,_mode,_show,_store,_nr,_index) \ argument
55 = SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index)
Dsysfs.h101 #define __ATTR(_name, _mode, _show, _store) { \ argument
105 .store = _store, \
108 #define __ATTR_PREALLOC(_name, _mode, _show, _store) { \ argument
112 .store = _store, \
128 .store = _name##_store, \
131 #define __ATTR_RW(_name) __ATTR(_name, 0644, _name##_show, _name##_store)
136 #define __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) { \ argument
140 .store = _store, \
Dmdev.h94 #define MDEV_TYPE_ATTR(_name, _mode, _show, _store) \ argument
96 __ATTR(_name, _mode, _show, _store)
Dconfigfs.h145 .store = _pfx##_name##_store, \
161 .store = _pfx##_name##_store, \
Ddevice.h52 #define BUS_ATTR(_name, _mode, _show, _store) \ argument
53 struct bus_attribute bus_attr_##_name = __ATTR(_name, _mode, _show, _store)
591 #define DEVICE_ATTR(_name, _mode, _show, _store) \ argument
592 struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
593 #define DEVICE_ATTR_PREALLOC(_name, _mode, _show, _store) \ argument
595 __ATTR_PREALLOC(_name, _mode, _show, _store)
611 #define DEVICE_ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) \ argument
613 __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store)
/linux-4.19.296/include/linux/iio/
Dsysfs.h54 #define IIO_ATTR(_name, _mode, _show, _store, _addr) \ argument
55 { .dev_attr = __ATTR(_name, _mode, _show, _store), \
70 #define IIO_DEVICE_ATTR(_name, _mode, _show, _store, _addr) \ argument
72 = IIO_ATTR(_name, _mode, _show, _store, _addr)
86 #define IIO_DEVICE_ATTR_NAMED(_vname, _name, _mode, _show, _store, _addr) \ argument
88 = IIO_ATTR(_name, _mode, _show, _store, _addr)
108 #define IIO_DEV_ATTR_SAMP_FREQ(_mode, _show, _store) \ argument
109 IIO_DEVICE_ATTR(sampling_frequency, _mode, _show, _store, 0)
/linux-4.19.296/fs/btrfs/
Dsysfs.h18 #define __INIT_KOBJ_ATTR(_name, _mode, _show, _store) \ argument
22 .store = _store, \
25 #define BTRFS_ATTR_RW(_prefix, _name, _show, _store) \ argument
27 __INIT_KOBJ_ATTR(_name, 0644, _show, _store)
/linux-4.19.296/drivers/edac/
Dedac_pci_sysfs.c127 #define INSTANCE_ATTR(_name, _mode, _show, _store) \ argument
131 .store = _store, \
266 #define EDAC_PCI_ATTR(_name,_mode,_show,_store) \ argument
271 .store = _store, \
274 #define EDAC_PCI_STRING_ATTR(_name,_data,_mode,_show,_store) \ argument
279 .store = _store, \
Dedac_device_sysfs.c147 #define CTL_INFO_ATTR(_name,_mode,_show,_store) \ argument
151 .store = _store, \
376 #define INSTANCE_ATTR(_name,_mode,_show,_store) \ argument
380 .store = _store, \
479 #define BLOCK_ATTR(_name,_mode,_show,_store) \ argument
483 .store = _store, \
Dedac_mc_sysfs.c129 #define DEVICE_ATTR_LEGACY(_name, _mode, _show, _store) \ argument
130 static struct device_attribute dev_attr_legacy_##_name = __ATTR(_name, _mode, _show, _store)
137 #define DEVICE_CHANNEL(_name, _mode, _show, _store, _var) \ argument
139 { __ATTR(_name, _mode, _show, _store), (_var) }
Docteon_edac-lmc.c141 static ssize_t octeon_mc_inject_##reg##_store(struct device *dev, \
/linux-4.19.296/include/scsi/
Dscsi_transport_fc.h177 #define FC_VPORT_ATTR(_name,_mode,_show,_store) \ argument
179 __ATTR(_name,_mode,_show,_store)
303 #define FC_RPORT_ATTR(_name,_mode,_show,_store) \ argument
305 __ATTR(_name,_mode,_show,_store)
/linux-4.19.296/drivers/pci/endpoint/
Dpci-ep-cfs.c220 static ssize_t pci_epf_##_name##_store(struct config_item *item, \
236 static ssize_t pci_epf_##_name##_store(struct config_item *item, \
252 static ssize_t pci_epf_##_name##_store(struct config_item *item, \
/linux-4.19.296/fs/gfs2/
Dsys.c519 #define GDLM_ATTR(_name,_mode,_show,_store) \ argument
520 static struct gfs2_attr gdlm_attr_##_name = __ATTR(_name,_mode,_show,_store)
609 static ssize_t name##_store(struct gfs2_sbd *sdp, const char *buf, size_t len)\
613 TUNE_ATTR_2(name, name##_store)
/linux-4.19.296/drivers/parisc/
Dpdc_stable.c122 #define PDCS_ATTR(_name, _mode, _show, _store) \ argument
126 .store = _store, \
129 #define PATHS_ATTR(_name, _mode, _show, _store) \ argument
133 .store = _store, \
/linux-4.19.296/include/linux/usb/
Dgadget_configfs.h11 static ssize_t __struct##_##__name##_store(struct config_item *item, \
/linux-4.19.296/drivers/iio/light/
Dlm3533-als.c575 #define ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ argument
576 { .dev_attr = __ATTR(_name, _mode, _show, _store), \
581 #define LM3533_ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ argument
583 ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2)
/linux-4.19.296/fs/nilfs2/
Dsysfs.h102 nilfs_##type##_##name##_store)
/linux-4.19.296/drivers/s390/scsi/
Dzfcp_sysfs.c16 #define ZFCP_DEV_ATTR(_feat, _name, _mode, _show, _store) \ argument
18 _show, _store)
/linux-4.19.296/fs/f2fs/
Dsysfs.c367 #define F2FS_ATTR_OFFSET(_struct_type, _name, _mode, _show, _store, _offset) \ argument
371 .store = _store, \
/linux-4.19.296/block/
Ddeadline-iosched.c515 __ATTR(name, 0644, deadline_##name##_show, deadline_##name##_store)
Dmq-deadline.c646 __ATTR(name, 0644, deadline_##name##_show, deadline_##name##_store)
/linux-4.19.296/drivers/s390/net/
Dqeth_l3_sys.c16 #define QETH_DEVICE_ATTR(_id, _name, _mode, _show, _store) \ argument
17 struct device_attribute dev_attr_##_id = __ATTR(_name, _mode, _show, _store)
/linux-4.19.296/drivers/base/
Dbus.c34 #define DRIVER_ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) \ argument
36 __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store)
/linux-4.19.296/drivers/xen/
Dsys-hypervisor.c32 __ATTR(_name, 0644, _name##_show, _name##_store)

12