Lines Matching refs:S_IRUGO
250 DEVICE_ATTR_LEGACY(size_mb, S_IRUGO, csrow_size_show, NULL);
251 DEVICE_ATTR_LEGACY(dev_type, S_IRUGO, csrow_dev_type_show, NULL);
252 DEVICE_ATTR_LEGACY(mem_type, S_IRUGO, csrow_mem_type_show, NULL);
253 DEVICE_ATTR_LEGACY(edac_mode, S_IRUGO, csrow_edac_mode_show, NULL);
254 DEVICE_ATTR_LEGACY(ue_count, S_IRUGO, csrow_ue_count_show, NULL);
255 DEVICE_ATTR_LEGACY(ce_count, S_IRUGO, csrow_ce_count_show, NULL);
294 DEVICE_CHANNEL(ch0_dimm_label, S_IRUGO | S_IWUSR,
296 DEVICE_CHANNEL(ch1_dimm_label, S_IRUGO | S_IWUSR,
298 DEVICE_CHANNEL(ch2_dimm_label, S_IRUGO | S_IWUSR,
300 DEVICE_CHANNEL(ch3_dimm_label, S_IRUGO | S_IWUSR,
302 DEVICE_CHANNEL(ch4_dimm_label, S_IRUGO | S_IWUSR,
304 DEVICE_CHANNEL(ch5_dimm_label, S_IRUGO | S_IWUSR,
306 DEVICE_CHANNEL(ch6_dimm_label, S_IRUGO | S_IWUSR,
308 DEVICE_CHANNEL(ch7_dimm_label, S_IRUGO | S_IWUSR,
325 DEVICE_CHANNEL(ch0_ce_count, S_IRUGO,
327 DEVICE_CHANNEL(ch1_ce_count, S_IRUGO,
329 DEVICE_CHANNEL(ch2_ce_count, S_IRUGO,
331 DEVICE_CHANNEL(ch3_ce_count, S_IRUGO,
333 DEVICE_CHANNEL(ch4_ce_count, S_IRUGO,
335 DEVICE_CHANNEL(ch5_ce_count, S_IRUGO,
337 DEVICE_CHANNEL(ch6_ce_count, S_IRUGO,
339 DEVICE_CHANNEL(ch7_ce_count, S_IRUGO,
591 static DEVICE_ATTR(dimm_label, S_IRUGO | S_IWUSR,
593 static DEVICE_ATTR(dimm_location, S_IRUGO, dimmdev_location_show, NULL);
594 static DEVICE_ATTR(size, S_IRUGO, dimmdev_size_show, NULL);
595 static DEVICE_ATTR(dimm_mem_type, S_IRUGO, dimmdev_mem_type_show, NULL);
596 static DEVICE_ATTR(dimm_dev_type, S_IRUGO, dimmdev_dev_type_show, NULL);
597 static DEVICE_ATTR(dimm_edac_mode, S_IRUGO, dimmdev_edac_mode_show, NULL);
598 static DEVICE_ATTR(dimm_ce_count, S_IRUGO, dimmdev_ce_count_show, NULL);
599 static DEVICE_ATTR(dimm_ue_count, S_IRUGO, dimmdev_ue_count_show, NULL);
846 static DEVICE_ATTR(mc_name, S_IRUGO, mci_ctl_name_show, NULL);
847 static DEVICE_ATTR(size_mb, S_IRUGO, mci_size_mb_show, NULL);
848 static DEVICE_ATTR(seconds_since_reset, S_IRUGO, mci_seconds_show, NULL);
849 static DEVICE_ATTR(ue_noinfo_count, S_IRUGO, mci_ue_noinfo_show, NULL);
850 static DEVICE_ATTR(ce_noinfo_count, S_IRUGO, mci_ce_noinfo_show, NULL);
851 static DEVICE_ATTR(ue_count, S_IRUGO, mci_ue_count_show, NULL);
852 static DEVICE_ATTR(ce_count, S_IRUGO, mci_ce_count_show, NULL);
853 static DEVICE_ATTR(max_location, S_IRUGO, mci_max_location_show, NULL);
883 mode |= S_IRUGO; in mci_attr_is_visible()