Home
last modified time | relevance | path

Searched refs:mattr (Results 1 – 9 of 9) sorted by relevance

/linux-4.1.27/drivers/edac/
Dedac_mc_sysfs.c167 struct device_attribute *mattr, char *data) in csrow_ue_count_show() argument
175 struct device_attribute *mattr, char *data) in csrow_ce_count_show() argument
183 struct device_attribute *mattr, char *data) in csrow_size_show() argument
195 struct device_attribute *mattr, char *data) in csrow_mem_type_show() argument
203 struct device_attribute *mattr, char *data) in csrow_dev_type_show() argument
211 struct device_attribute *mattr, in csrow_edac_mode_show() argument
221 struct device_attribute *mattr, in channel_dimm_label_show() argument
225 unsigned chan = to_channel(mattr); in channel_dimm_label_show()
237 struct device_attribute *mattr, in channel_dimm_label_store() argument
241 unsigned chan = to_channel(mattr); in channel_dimm_label_store()
[all …]
Damd64_edac_inj.c4 struct device_attribute *mattr, in amd64_inject_section_show() argument
19 struct device_attribute *mattr, in amd64_inject_section_store() argument
41 struct device_attribute *mattr, in amd64_inject_word_show() argument
56 struct device_attribute *mattr, in amd64_inject_word_store() argument
78 struct device_attribute *mattr, in amd64_inject_ecc_vector_show() argument
92 struct device_attribute *mattr, in amd64_inject_ecc_vector_store() argument
118 struct device_attribute *mattr, in amd64_inject_read_store() argument
151 struct device_attribute *mattr, in amd64_inject_write_store() argument
Damd64_edac_dbg.c5 struct device_attribute *mattr, \
19 struct device_attribute *mattr, in amd64_hole_show() argument
Di7core_edac.c696 struct device_attribute *mattr, in i7core_inject_section_store() argument
716 struct device_attribute *mattr, in i7core_inject_section_show() argument
733 struct device_attribute *mattr, in i7core_inject_type_store() argument
753 struct device_attribute *mattr, in i7core_inject_type_show() argument
773 struct device_attribute *mattr, in i7core_inject_eccmask_store() argument
793 struct device_attribute *mattr, in i7core_inject_eccmask_show() argument
816 struct device_attribute *mattr, \
845 struct device_attribute *mattr, \
924 struct device_attribute *mattr, in i7core_inject_enable_store() argument
1028 struct device_attribute *mattr, in i7core_inject_enable_show() argument
[all …]
Dmpc85xx_edac.c57 struct device_attribute *mattr, in mpc85xx_mc_inject_data_hi_show() argument
68 struct device_attribute *mattr, in mpc85xx_mc_inject_data_lo_show() argument
79 struct device_attribute *mattr, in mpc85xx_mc_inject_ctrl_show() argument
89 struct device_attribute *mattr, in mpc85xx_mc_inject_data_hi_store() argument
103 struct device_attribute *mattr, in mpc85xx_mc_inject_data_lo_store() argument
117 struct device_attribute *mattr, in mpc85xx_mc_inject_ctrl_store() argument
/linux-4.1.27/kernel/
Dparams.c519 struct module_attribute mattr; member
531 #define to_param_attr(n) container_of(n, struct param_attribute, mattr)
533 static ssize_t param_attr_show(struct module_attribute *mattr, in param_attr_show() argument
537 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_show()
553 static ssize_t param_attr_store(struct module_attribute *mattr, in param_attr_store() argument
558 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_store()
646 sysfs_attr_init(&mk->mp->attrs[mk->mp->num].mattr.attr); in add_sysfs_param()
648 mk->mp->attrs[mk->mp->num].mattr.show = param_attr_show; in add_sysfs_param()
651 mk->mp->attrs[mk->mp->num].mattr.store = param_attr_store; in add_sysfs_param()
653 mk->mp->attrs[mk->mp->num].mattr.store = NULL; in add_sysfs_param()
[all …]
Dmodule.c602 static ssize_t show_modinfo_##field(struct module_attribute *mattr, \
924 static ssize_t show_refcnt(struct module_attribute *mattr, in show_refcnt() argument
1022 static ssize_t show_initstate(struct module_attribute *mattr, in show_initstate() argument
1046 static ssize_t store_uevent(struct module_attribute *mattr, in store_uevent() argument
1060 static ssize_t show_coresize(struct module_attribute *mattr, in show_coresize() argument
1069 static ssize_t show_initsize(struct module_attribute *mattr, in show_initsize() argument
1078 static ssize_t show_taint(struct module_attribute *mattr, in show_taint() argument
1298 struct module_attribute mattr; member
1309 static ssize_t module_sect_show(struct module_attribute *mattr, in module_sect_show() argument
1313 container_of(mattr, struct module_sect_attr, mattr); in module_sect_show()
[all …]
/linux-4.1.27/include/linux/
Dmodule.h59 struct module_attribute mattr; member
166 .mattr = { \
/linux-4.1.27/drivers/media/rc/
Drc-main.c846 struct device_attribute *mattr, char *buf) in show_protocols() argument
849 struct rc_filter_attribute *fattr = to_rc_filter_attr(mattr); in show_protocols()
974 struct device_attribute *mattr, in store_protocols() argument
978 struct rc_filter_attribute *fattr = to_rc_filter_attr(mattr); in store_protocols()