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);
285 DEVICE_CHANNEL(ch0_dimm_label, S_IRUGO | S_IWUSR,
287 DEVICE_CHANNEL(ch1_dimm_label, S_IRUGO | S_IWUSR,
289 DEVICE_CHANNEL(ch2_dimm_label, S_IRUGO | S_IWUSR,
291 DEVICE_CHANNEL(ch3_dimm_label, S_IRUGO | S_IWUSR,
293 DEVICE_CHANNEL(ch4_dimm_label, S_IRUGO | S_IWUSR,
295 DEVICE_CHANNEL(ch5_dimm_label, S_IRUGO | S_IWUSR,
297 DEVICE_CHANNEL(ch6_dimm_label, S_IRUGO | S_IWUSR,
299 DEVICE_CHANNEL(ch7_dimm_label, S_IRUGO | S_IWUSR,
301 DEVICE_CHANNEL(ch8_dimm_label, S_IRUGO | S_IWUSR,
303 DEVICE_CHANNEL(ch9_dimm_label, S_IRUGO | S_IWUSR,
305 DEVICE_CHANNEL(ch10_dimm_label, S_IRUGO | S_IWUSR,
307 DEVICE_CHANNEL(ch11_dimm_label, S_IRUGO | S_IWUSR,
328 DEVICE_CHANNEL(ch0_ce_count, S_IRUGO,
330 DEVICE_CHANNEL(ch1_ce_count, S_IRUGO,
332 DEVICE_CHANNEL(ch2_ce_count, S_IRUGO,
334 DEVICE_CHANNEL(ch3_ce_count, S_IRUGO,
336 DEVICE_CHANNEL(ch4_ce_count, S_IRUGO,
338 DEVICE_CHANNEL(ch5_ce_count, S_IRUGO,
340 DEVICE_CHANNEL(ch6_ce_count, S_IRUGO,
342 DEVICE_CHANNEL(ch7_ce_count, S_IRUGO,
344 DEVICE_CHANNEL(ch8_ce_count, S_IRUGO,
346 DEVICE_CHANNEL(ch9_ce_count, S_IRUGO,
348 DEVICE_CHANNEL(ch10_ce_count, S_IRUGO,
350 DEVICE_CHANNEL(ch11_ce_count, S_IRUGO,
596 static DEVICE_ATTR(dimm_label, S_IRUGO | S_IWUSR,
598 static DEVICE_ATTR(dimm_location, S_IRUGO, dimmdev_location_show, NULL);
599 static DEVICE_ATTR(size, S_IRUGO, dimmdev_size_show, NULL);
600 static DEVICE_ATTR(dimm_mem_type, S_IRUGO, dimmdev_mem_type_show, NULL);
601 static DEVICE_ATTR(dimm_dev_type, S_IRUGO, dimmdev_dev_type_show, NULL);
602 static DEVICE_ATTR(dimm_edac_mode, S_IRUGO, dimmdev_edac_mode_show, NULL);
603 static DEVICE_ATTR(dimm_ce_count, S_IRUGO, dimmdev_ce_count_show, NULL);
604 static DEVICE_ATTR(dimm_ue_count, S_IRUGO, dimmdev_ue_count_show, NULL);
868 static DEVICE_ATTR(mc_name, S_IRUGO, mci_ctl_name_show, NULL);
869 static DEVICE_ATTR(size_mb, S_IRUGO, mci_size_mb_show, NULL);
870 static DEVICE_ATTR(seconds_since_reset, S_IRUGO, mci_seconds_show, NULL);
871 static DEVICE_ATTR(ue_noinfo_count, S_IRUGO, mci_ue_noinfo_show, NULL);
872 static DEVICE_ATTR(ce_noinfo_count, S_IRUGO, mci_ce_noinfo_show, NULL);
873 static DEVICE_ATTR(ue_count, S_IRUGO, mci_ue_count_show, NULL);
874 static DEVICE_ATTR(ce_count, S_IRUGO, mci_ce_count_show, NULL);
875 static DEVICE_ATTR(max_location, S_IRUGO, mci_max_location_show, NULL);
905 mode |= S_IRUGO; in mci_attr_is_visible()