Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/kernel/
Dparams.c578 struct module_attribute mattr; member
590 #define to_param_attr(n) container_of(n, struct param_attribute, mattr)
592 static ssize_t param_attr_show(struct module_attribute *mattr, in param_attr_show() argument
596 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_show()
612 static ssize_t param_attr_store(struct module_attribute *mattr, in param_attr_store() argument
617 struct param_attribute *attribute = to_param_attr(mattr); in param_attr_store()
706 sysfs_attr_init(&mk->mp->attrs[mk->mp->num].mattr.attr); in add_sysfs_param()
708 mk->mp->attrs[mk->mp->num].mattr.show = param_attr_show; in add_sysfs_param()
711 mk->mp->attrs[mk->mp->num].mattr.store = param_attr_store; in add_sysfs_param()
713 mk->mp->attrs[mk->mp->num].mattr.store = NULL; in add_sysfs_param()
[all …]
Dmodule.c759 static ssize_t show_modinfo_##field(struct module_attribute *mattr, \
1081 static ssize_t show_refcnt(struct module_attribute *mattr, in show_refcnt() argument
1179 static ssize_t show_initstate(struct module_attribute *mattr, in show_initstate() argument
1203 static ssize_t store_uevent(struct module_attribute *mattr, in store_uevent() argument
1217 static ssize_t show_coresize(struct module_attribute *mattr, in show_coresize() argument
1226 static ssize_t show_initsize(struct module_attribute *mattr, in show_initsize() argument
1235 static ssize_t show_taint(struct module_attribute *mattr, in show_taint() argument
1461 struct module_attribute mattr; member
1472 static ssize_t module_sect_show(struct module_attribute *mattr, in module_sect_show() argument
1476 container_of(mattr, struct module_sect_attr, mattr); in module_sect_show()
[all …]
/linux-4.4.14/include/linux/
Dmodule.h61 struct module_attribute mattr; member
251 .mattr = { \
/linux-4.4.14/drivers/media/rc/
Drc-main.c863 struct device_attribute *mattr, char *buf) in show_protocols() argument
866 struct rc_filter_attribute *fattr = to_rc_filter_attr(mattr); in show_protocols()
998 struct device_attribute *mattr, in store_protocols() argument
1002 struct rc_filter_attribute *fattr = to_rc_filter_attr(mattr); in store_protocols()