Home
last modified time | relevance | path

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

12345

/linux/drivers/staging/iio/meter/
A Dmeter.h175 IIO_DEVICE_ATTR(ios, _mode, _show, _store, _addr)
178 IIO_DEVICE_ATTR(vos, _mode, _show, _store, _addr)
181 IIO_DEVICE_ATTR(phcal, _mode, _show, _store, _addr)
193 IIO_DEVICE_ATTR(apos, _mode, _show, _store, _addr)
196 IIO_DEVICE_ATTR(aapos, _mode, _show, _store, _addr)
199 IIO_DEVICE_ATTR(bapos, _mode, _show, _store, _addr)
202 IIO_DEVICE_ATTR(capos, _mode, _show, _store, _addr)
235 IIO_DEVICE_ATTR(wgain, _mode, _show, _store, _addr)
238 IIO_DEVICE_ATTR(wdiv, _mode, _show, _store, _addr)
256 IIO_DEVICE_ATTR(irms, _mode, _show, _store, _addr)
[all …]
/linux/drivers/staging/iio/frequency/
A Ddds.h16 _mode, _show, _store, _addr)
31 _mode, _show, _store, _addr)
39 _mode, _show, _store, _addr)
54 _mode, _show, _store, _addr)
62 _mode, _show, _store, _addr)
70 _mode, _show, _store, _addr)
78 _mode, _show, _store, _addr)
86 _mode, _show, _store, _addr)
93 _mode, _show, _store, _addr) \ argument
95 _mode, _show, _store, _addr)
[all …]
/linux/include/linux/
A Dhwmon-sysfs.h19 #define SENSOR_ATTR(_name, _mode, _show, _store, _index) \ argument
20 { .dev_attr = __ATTR(_name, _mode, _show, _store), \
27 SENSOR_ATTR(_name, 0644, _func##_show, _func##_store, _index)
30 SENSOR_ATTR(_name, 0200, NULL, _func##_store, _index)
32 #define SENSOR_DEVICE_ATTR(_name, _mode, _show, _store, _index) \ argument
34 = SENSOR_ATTR(_name, _mode, _show, _store, _index)
43 SENSOR_DEVICE_ATTR(_name, 0200, NULL, _func##_store, _index)
54 { .dev_attr = __ATTR(_name, _mode, _show, _store), \
65 SENSOR_ATTR_2(_name, 0200, NULL, _func##_store, _nr, _index)
69 = SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index)
[all …]
A Dsysfs.h101 #define __ATTR(_name, _mode, _show, _store) { \ argument
105 .store = _store, \
108 #define __ATTR_PREALLOC(_name, _mode, _show, _store) { \ argument
112 .store = _store, \
130 .store = _name##_store, \
135 .store = _name##_store, \
138 #define __ATTR_RW(_name) __ATTR(_name, 0644, _name##_show, _name##_store)
143 #define __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) { \ argument
147 .store = _store, \
A Dmdev.h111 #define MDEV_TYPE_ATTR(_name, _mode, _show, _store) \ argument
113 __ATTR(_name, _mode, _show, _store)
A Ddevice.h125 #define DEVICE_ATTR(_name, _mode, _show, _store) \ argument
126 struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
127 #define DEVICE_ATTR_PREALLOC(_name, _mode, _show, _store) \ argument
129 __ATTR_PREALLOC(_name, _mode, _show, _store)
149 #define DEVICE_ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) \ argument
151 __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store)
A Dconfigfs.h129 .store = _pfx##_name##_store, \
145 .store = _pfx##_name##_store, \
/linux/include/linux/iio/
A 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/drivers/scsi/lpfc/
A Dlpfc_attr.h47 lpfc_##name##_show, lpfc_##name##_store)
57 lpfc_##name##_show, lpfc_##name##_store)
76 lpfc_##name##_show, lpfc_##name##_store)
109 lpfc_##name##_show, lpfc_##name##_store)
128 lpfc_##name##_show, lpfc_##name##_store)
/linux/drivers/edac/
A 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, \
A 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, \
/linux/Documentation/translations/zh_CN/filesystems/
A Dsysfs.txt116 #define DEVICE_ATTR(_name, _mode, _show, _store) \
117 struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
318 DEVICE_ATTR(_name, _mode, _show, _store);
338 BUS_ATTR(_name, _mode, _show, _store)
360 DRIVER_ATTR(_name, _mode, _show, _store)
/linux/Documentation/translations/zh_TW/filesystems/
A Dsysfs.txt119 #define DEVICE_ATTR(_name, _mode, _show, _store) \
120 struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
321 DEVICE_ATTR(_name, _mode, _show, _store);
341 BUS_ATTR(_name, _mode, _show, _store)
363 DRIVER_ATTR(_name, _mode, _show, _store)
/linux/drivers/md/bcache/
A Dsysfs.h10 .store = type ## _store \
20 static ssize_t fn ## _store(struct kobject *kobj, struct attribute *attr,\
38 ret = __ ## fn ## _store(kobj, attr, buf, size); \
/linux/drivers/gpu/drm/amd/pm/inc/
A Damdgpu_pm.h63 #define __AMDGPU_DEVICE_ATTR(_name, _mode, _show, _store, _flags, ...) \ argument
64 { .dev_attr = __ATTR(_name, _mode, _show, _store), \
/linux/drivers/platform/x86/dell/
A Ddcdbas.h51 DEVICE_ATTR(_name,0600,_name##_show,_name##_store);
57 DEVICE_ATTR(_name,0200,NULL,_name##_store);
/linux/drivers/dma/idxd/
A Dcompat.c13 #define DRIVER_ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) \ argument
15 __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store)
/linux/drivers/hwmon/
A Dnct6683.c369 #define __TEMPLATE_ATTR(_template, _mode, _show, _store) { \ argument
372 .store = _store, \
375 #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ argument
376 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
380 #define SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ argument
382 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \
387 #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ argument
389 = SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, \
392 #define SENSOR_TEMPLATE_2(_name, _template, _mode, _show, _store, \ argument
395 = SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \
/linux/drivers/target/iscsi/
A Discsi_target_configfs.c290 static ssize_t iscsi_nacl_attrib_##name##_store(struct config_item *item,\
348 static ssize_t __iscsi_##prefix##_##name##_store( \
383 static ssize_t iscsi_nacl_auth_##name##_store(struct config_item *item, \
387 return __iscsi_nacl_auth_##name##_store(container_of(nacl, \
735 static ssize_t iscsi_tpg_attrib_##name##_store(struct config_item *item,\
813 static ssize_t __iscsi_##prefix##_##name##_store(struct se_portal_group *se_tpg,\
846 static ssize_t iscsi_tpg_auth_##name##_store(struct config_item *item, \
849 return __iscsi_tpg_auth_##name##_store(auth_to_tpg(item), page, count); \
922 static ssize_t iscsi_tpg_param_##name##_store(struct config_item *item, \
1203 static ssize_t iscsi_disc_##name##_store(struct config_item *item, \
[all …]
/linux/net/bridge/
A Dbr_sysfs_if.c31 #define BRPORT_ATTR_RAW(_name, _mode, _show, _store) \ argument
36 .store_raw = _store, \
39 #define BRPORT_ATTR(_name, _mode, _show, _store) \ argument
44 .store = _store, \
/linux/include/scsi/
A Dscsi_transport_fc.h165 #define FC_VPORT_ATTR(_name,_mode,_show,_store) \ argument
167 __ATTR(_name,_mode,_show,_store)
321 #define FC_RPORT_ATTR(_name,_mode,_show,_store) \ argument
323 __ATTR(_name,_mode,_show,_store)
/linux/drivers/parisc/
A Dpdc_stable.c109 #define PDCS_ATTR(_name, _mode, _show, _store) \ argument
113 .store = _store, \
116 #define PATHS_ATTR(_name, _mode, _show, _store) \ argument
120 .store = _store, \
/linux/drivers/hwmon/occ/
A Dcommon.c753 #define ATTR_OCC(_name, _mode, _show, _store) { \ argument
759 .store = _store, \
762 #define SENSOR_ATTR_OCC(_name, _mode, _show, _store, _nr, _index) { \ argument
763 .dev_attr = ATTR_OCC(_name, _mode, _show, _store), \
768 #define OCC_INIT_ATTR(_name, _mode, _show, _store, _nr, _index) \ argument
770 SENSOR_ATTR_OCC(_name, _mode, _show, _store, _nr, _index))
/linux/fs/gfs2/
A Dsys.c587 #define GDLM_ATTR(_name,_mode,_show,_store) \ argument
588 static struct gfs2_attr gdlm_attr_##_name = __ATTR(_name,_mode,_show,_store)
677 static ssize_t name##_store(struct gfs2_sbd *sdp, const char *buf, size_t len)\
681 TUNE_ATTR_2(name, name##_store)
/linux/drivers/iio/light/
A Dlm3533-als.c571 #define ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ argument
572 { .dev_attr = __ATTR(_name, _mode, _show, _store), \
577 #define LM3533_ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ argument
579 ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2)

Completed in 52 milliseconds

12345