Home
last modified time | relevance | path

Searched refs:S_IRUGO (Results 1 – 25 of 275) sorted by relevance

1234567891011

/linux-4.19.296/drivers/edac/
Dedac_mc_sysfs.c250 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,
[all …]
Damd64_edac_dbg.c38 static DEVICE_ATTR(dhar, S_IRUGO, amd64_dhar_show, NULL);
39 static DEVICE_ATTR(dbam, S_IRUGO, amd64_dbam0_show, NULL);
40 static DEVICE_ATTR(topmem, S_IRUGO, amd64_top_mem_show, NULL);
41 static DEVICE_ATTR(topmem2, S_IRUGO, amd64_top_mem2_show, NULL);
42 static DEVICE_ATTR(dram_hole, S_IRUGO, amd64_hole_show, NULL);
Docteon_edac-lmc.c197 static DEVICE_ATTR(inject, S_IRUGO | S_IWUSR,
199 static DEVICE_ATTR(error_type, S_IRUGO | S_IWUSR,
201 static DEVICE_ATTR(dimm, S_IRUGO | S_IWUSR,
203 static DEVICE_ATTR(rank, S_IRUGO | S_IWUSR,
205 static DEVICE_ATTR(bank, S_IRUGO | S_IWUSR,
207 static DEVICE_ATTR(row, S_IRUGO | S_IWUSR,
209 static DEVICE_ATTR(col, S_IRUGO | S_IWUSR,
Dedac_pci_sysfs.c134 INSTANCE_ATTR(pe_count, S_IRUGO, instance_pe_count_show, NULL);
135 INSTANCE_ATTR(npe_count, S_IRUGO, instance_npe_count_show, NULL);
283 EDAC_PCI_ATTR(check_pci_errors, S_IRUGO | S_IWUSR, edac_pci_int_show,
285 EDAC_PCI_ATTR(edac_pci_log_pe, S_IRUGO | S_IWUSR, edac_pci_int_show,
287 EDAC_PCI_ATTR(edac_pci_log_npe, S_IRUGO | S_IWUSR, edac_pci_int_show,
289 EDAC_PCI_ATTR(edac_pci_panic_on_pe, S_IRUGO | S_IWUSR, edac_pci_int_show,
291 EDAC_PCI_ATTR(pci_parity_count, S_IRUGO, edac_pci_int_show, NULL);
292 EDAC_PCI_ATTR(pci_nonparity_count, S_IRUGO, edac_pci_int_show, NULL);
Ddebugfs.c76 d = debugfs_create_u8(name, S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes()
82 d = debugfs_create_bool("fake_inject_ue", S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes()
87 d = debugfs_create_u16("fake_inject_count", S_IRUGO | S_IWUSR, parent, in edac_create_debugfs_nodes()
Dedac_device_sysfs.c155 CTL_INFO_ATTR(log_ue, S_IRUGO | S_IWUSR,
157 CTL_INFO_ATTR(log_ce, S_IRUGO | S_IWUSR,
159 CTL_INFO_ATTR(panic_on_ue, S_IRUGO | S_IWUSR,
162 CTL_INFO_ATTR(poll_msec, S_IRUGO | S_IWUSR,
388 INSTANCE_ATTR(ce_count, S_IRUGO, instance_ce_count_show, NULL);
389 INSTANCE_ATTR(ue_count, S_IRUGO, instance_ue_count_show, NULL);
486 BLOCK_ATTR(ce_count, S_IRUGO, block_ce_count_show, NULL);
487 BLOCK_ATTR(ue_count, S_IRUGO, block_ue_count_show, NULL);
/linux-4.19.296/fs/proc/
Dbase.c1717 if (mode != (S_IFDIR|S_IRUGO|S_IXUGO)) { in task_dump_owner()
2631 REG("current", S_IRUGO|S_IWUGO, proc_pid_attr_operations),
2632 REG("prev", S_IRUGO, proc_pid_attr_operations),
2633 REG("exec", S_IRUGO|S_IWUGO, proc_pid_attr_operations),
2634 REG("fscreate", S_IRUGO|S_IWUGO, proc_pid_attr_operations),
2635 REG("keycreate", S_IRUGO|S_IWUGO, proc_pid_attr_operations),
2636 REG("sockcreate", S_IRUGO|S_IWUGO, proc_pid_attr_operations),
2962 DIR("task", S_IRUGO|S_IXUGO, proc_task_inode_operations, proc_task_operations),
2968 DIR("net", S_IRUGO|S_IXUGO, proc_net_inode_operations, proc_net_operations),
2972 ONE("status", S_IRUGO, proc_pid_status),
[all …]
/linux-4.19.296/drivers/misc/genwqe/
Dcard_debugfs.c358 file = debugfs_create_file("ddcb_info", S_IRUGO, root, cd, in genwqe_init_debugfs()
365 file = debugfs_create_file("info", S_IRUGO, root, cd, in genwqe_init_debugfs()
398 file = debugfs_create_file("curr_regs", S_IRUGO, root, cd, in genwqe_init_debugfs()
405 file = debugfs_create_file("curr_dbg_uid0", S_IRUGO, root, cd, in genwqe_init_debugfs()
412 file = debugfs_create_file("curr_dbg_uid1", S_IRUGO, root, cd, in genwqe_init_debugfs()
419 file = debugfs_create_file("curr_dbg_uid2", S_IRUGO, root, cd, in genwqe_init_debugfs()
426 file = debugfs_create_file("prev_regs", S_IRUGO, root, cd, in genwqe_init_debugfs()
433 file = debugfs_create_file("prev_dbg_uid0", S_IRUGO, root, cd, in genwqe_init_debugfs()
440 file = debugfs_create_file("prev_dbg_uid1", S_IRUGO, root, cd, in genwqe_init_debugfs()
447 file = debugfs_create_file("prev_dbg_uid2", S_IRUGO, root, cd, in genwqe_init_debugfs()
[all …]
/linux-4.19.296/include/linux/iio/
Dsysfs.h93 .dev_attr = __ATTR(_name, S_IRUGO, iio_read_const_attr, NULL)}
98 .dev_attr = __ATTR(_name, S_IRUGO, iio_read_const_attr, NULL)}
118 IIO_DEVICE_ATTR(sampling_frequency_available, S_IRUGO, _show, NULL, 0)
133 IIO_DEVICE_ATTR(integration_time_available, S_IRUGO, _show, NULL, 0)
144 IIO_DEVICE_ATTR(in_temp_raw, S_IRUGO, _show, NULL, 0)
/linux-4.19.296/drivers/misc/
Dics932s401.c344 static DEVICE_ATTR(spread_enabled, S_IRUGO, show_spread_enabled, NULL);
345 static DEVICE_ATTR(cpu_clock_selection, S_IRUGO, show_cpu_clock_sel, NULL);
346 static DEVICE_ATTR(cpu_clock, S_IRUGO, show_cpu_clock, NULL);
347 static DEVICE_ATTR(src_clock_selection, S_IRUGO, show_src_clock_sel, NULL);
348 static DEVICE_ATTR(src_clock, S_IRUGO, show_src_clock, NULL);
349 static DEVICE_ATTR(pci_clock_selection, S_IRUGO, show_pci_clock_sel, NULL);
350 static DEVICE_ATTR(pci_clock, S_IRUGO, show_pci_clock, NULL);
351 static DEVICE_ATTR(usb_clock, S_IRUGO, show_value, NULL);
352 static DEVICE_ATTR(ref_clock, S_IRUGO, show_value, NULL);
353 static DEVICE_ATTR(cpu_spread, S_IRUGO, show_spread, NULL);
[all …]
Dbh1770glc.c1113 static DEVICE_ATTR(prox0_raw_en, S_IRUGO | S_IWUSR, bh1770_prox_enable_show,
1115 static DEVICE_ATTR(prox0_thresh_above1_value, S_IRUGO | S_IWUSR,
1118 static DEVICE_ATTR(prox0_thresh_above0_value, S_IRUGO | S_IWUSR,
1121 static DEVICE_ATTR(prox0_raw, S_IRUGO, bh1770_prox_result_show, NULL);
1122 static DEVICE_ATTR(prox0_sensor_range, S_IRUGO, bh1770_prox_range_show, NULL);
1123 static DEVICE_ATTR(prox0_thresh_above_count, S_IRUGO | S_IWUSR,
1126 static DEVICE_ATTR(prox0_rate_above, S_IRUGO | S_IWUSR,
1129 static DEVICE_ATTR(prox0_rate_below, S_IRUGO | S_IWUSR,
1132 static DEVICE_ATTR(prox0_rate_avail, S_IRUGO, bh1770_get_prox_rate_avail, NULL);
1134 static DEVICE_ATTR(lux0_calibscale, S_IRUGO | S_IWUSR, bh1770_lux_calib_show,
[all …]
Dds1682.c139 static SENSOR_DEVICE_ATTR_2(elapsed_time, S_IRUGO | S_IWUSR, ds1682_show,
141 static SENSOR_DEVICE_ATTR_2(alarm_time, S_IRUGO | S_IWUSR, ds1682_show,
143 static SENSOR_DEVICE_ATTR_2(event_count, S_IRUGO | S_IWUSR, ds1682_show,
196 .mode = S_IRUGO | S_IWUSR,
Dapds990x.c666 static DEVICE_ATTR(lux0_input, S_IRUGO, apds990x_lux_show, NULL);
674 static DEVICE_ATTR(lux0_sensor_range, S_IRUGO, apds990x_lux_range_show, NULL);
682 static DEVICE_ATTR(lux0_calibscale_default, S_IRUGO,
710 static DEVICE_ATTR(lux0_calibscale, S_IRUGO | S_IWUSR, apds990x_lux_calib_show,
779 static DEVICE_ATTR(lux0_rate_avail, S_IRUGO, apds990x_rate_avail, NULL);
781 static DEVICE_ATTR(lux0_rate, S_IRUGO | S_IWUSR, apds990x_rate_show,
799 static DEVICE_ATTR(prox0_raw, S_IRUGO, apds990x_prox_show, NULL);
807 static DEVICE_ATTR(prox0_sensor_range, S_IRUGO, apds990x_prox_range_show, NULL);
845 static DEVICE_ATTR(prox0_raw_en, S_IRUGO | S_IWUSR, apds990x_prox_enable_show,
874 static DEVICE_ATTR(prox0_reporting_mode, S_IRUGO | S_IWUSR,
[all …]
/linux-4.19.296/drivers/xen/
Dxen-selfballoon.c284 static DEVICE_ATTR(selfballooning, S_IRUGO | S_IWUSR,
308 static DEVICE_ATTR(selfballoon_interval, S_IRUGO | S_IWUSR,
332 static DEVICE_ATTR(selfballoon_downhysteresis, S_IRUGO | S_IWUSR,
357 static DEVICE_ATTR(selfballoon_uphysteresis, S_IRUGO | S_IWUSR,
382 static DEVICE_ATTR(selfballoon_min_usable_mb, S_IRUGO | S_IWUSR,
408 static DEVICE_ATTR(selfballoon_reserved_mb, S_IRUGO | S_IWUSR,
441 static DEVICE_ATTR(frontswap_selfshrinking, S_IRUGO | S_IWUSR,
466 static DEVICE_ATTR(frontswap_inertia, S_IRUGO | S_IWUSR,
490 static DEVICE_ATTR(frontswap_hysteresis, S_IRUGO | S_IWUSR,
/linux-4.19.296/drivers/s390/scsi/
Dzfcp_sysfs.c28 static ZFCP_DEV_ATTR(_feat, _name, S_IRUGO, \
38 static ZFCP_DEV_ATTR(_feat, _name, S_IRUGO, \
57 static ZFCP_DEV_ATTR(adapter, _name, S_IRUGO, \
118 static ZFCP_DEV_ATTR(port, failed, S_IWUSR | S_IRUGO,
162 static ZFCP_DEV_ATTR(unit, failed, S_IWUSR | S_IRUGO,
208 static ZFCP_DEV_ATTR(adapter, failed, S_IWUSR | S_IRUGO,
470 static DEVICE_ATTR(_name##_latency, S_IWUSR | S_IRUGO, \
488 static DEVICE_ATTR(_name, S_IRUGO, zfcp_sysfs_scsi_##_name##_show, NULL);
503 static DEVICE_ATTR(fcp_lun, S_IRUGO, zfcp_sysfs_scsi_fcp_lun_show, NULL);
537 static DEVICE_ATTR(zfcp_failed, S_IWUSR | S_IRUGO,
[all …]
/linux-4.19.296/include/linux/usb/
Dcomposite.h549 module_param_named(idVendor, coverwrite.idVendor, ushort, S_IRUGO); \
552 module_param_named(idProduct, coverwrite.idProduct, ushort, S_IRUGO); \
555 module_param_named(bcdDevice, coverwrite.bcdDevice, ushort, S_IRUGO); \
559 S_IRUGO); \
563 S_IRUGO); \
566 module_param_named(iProduct, coverwrite.product, charp, S_IRUGO); \
/linux-4.19.296/drivers/char/tpm/
Dtpm_ppi.c311 static DEVICE_ATTR(version, S_IRUGO, tpm_show_ppi_version, NULL);
312 static DEVICE_ATTR(request, S_IRUGO | S_IWUSR | S_IWGRP,
314 static DEVICE_ATTR(transition_action, S_IRUGO,
316 static DEVICE_ATTR(response, S_IRUGO, tpm_show_ppi_response, NULL);
317 static DEVICE_ATTR(tcg_operations, S_IRUGO, tpm_show_ppi_tcg_operations, NULL);
318 static DEVICE_ATTR(vs_operations, S_IRUGO, tpm_show_ppi_vs_operations, NULL);
/linux-4.19.296/drivers/i2c/
Di2c-stub.c45 module_param_array(chip_addr, ushort, NULL, S_IRUGO);
50 module_param(functionality, ulong, S_IRUGO | S_IWUSR);
56 module_param_array(bank_reg, byte, NULL, S_IRUGO);
60 module_param_array(bank_mask, byte, NULL, S_IRUGO);
64 module_param_array(bank_start, byte, NULL, S_IRUGO);
68 module_param_array(bank_end, byte, NULL, S_IRUGO);
/linux-4.19.296/drivers/base/
Dsoc.c34 static DEVICE_ATTR(machine, S_IRUGO, soc_info_get, NULL);
35 static DEVICE_ATTR(family, S_IRUGO, soc_info_get, NULL);
36 static DEVICE_ATTR(soc_id, S_IRUGO, soc_info_get, NULL);
37 static DEVICE_ATTR(revision, S_IRUGO, soc_info_get, NULL);
/linux-4.19.296/include/linux/
Dconfigfs.h142 .ca_mode = S_IRUGO | S_IWUSR, \
151 .ca_mode = S_IRUGO, \
179 .ca_mode = S_IRUGO | S_IWUSR, \
192 .ca_mode = S_IRUGO, \
/linux-4.19.296/drivers/uwb/
Dlc-dev.c127 static DEVICE_ATTR(EUI_48, S_IRUGO, uwb_dev_EUI_48_show, NULL);
138 static DEVICE_ATTR(DevAddr, S_IRUGO, uwb_dev_DevAddr_show, NULL);
163 static DEVICE_ATTR(BPST, S_IRUGO, uwb_dev_BPST_show, NULL);
181 static DEVICE_ATTR(IEs, S_IRUGO | S_IWUSR, uwb_dev_IEs_show, NULL);
209 static DEVICE_ATTR(LQE, S_IRUGO | S_IWUSR, uwb_dev_LQE_show, uwb_dev_LQE_store);
237 static DEVICE_ATTR(RSSI, S_IRUGO | S_IWUSR, uwb_dev_RSSI_show, uwb_dev_RSSI_store);
/linux-4.19.296/drivers/xen/xenfs/
Dsuper.c49 { "capabilities", &capabilities_file_ops, S_IRUGO }, in xenfs_fill_super()
56 { "capabilities", &capabilities_file_ops, S_IRUGO }, in xenfs_fill_super()
/linux-4.19.296/fs/fscache/
Dmain.c28 S_IWUSR | S_IRUGO);
34 S_IWUSR | S_IRUGO);
40 S_IWUSR | S_IRUGO);
/linux-4.19.296/fs/adfs/
Dinode.c96 mode = S_IRUGO & asb->s_owner_mask; in adfs_atts2mode()
105 rmask = S_IRUGO | S_IXUGO; in adfs_atts2mode()
109 rmask = S_IRUGO; in adfs_atts2mode()
149 if (mode & S_IRUGO) in adfs_mode2atts()
156 if (mode & S_IRUGO) in adfs_mode2atts()
/linux-4.19.296/drivers/cpufreq/
Ds3c24xx-cpufreq-debugfs.c187 dbgfs_file_io = debugfs_create_file("io-timing", S_IRUGO, dbgfs_root, in s3c_freq_debugfs_init()
190 dbgfs_file_info = debugfs_create_file("info", S_IRUGO, dbgfs_root, in s3c_freq_debugfs_init()
193 dbgfs_file_board = debugfs_create_file("board", S_IRUGO, dbgfs_root, in s3c_freq_debugfs_init()

1234567891011