Home
last modified time | relevance | path

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

12345678910>>...29

/linux-6.3-rc2/drivers/hwmon/
A Df71882fg.c1270 SENSOR_ATTR_2(fan1_full_speed, S_IRUGO|S_IWUSR,
1277 SENSOR_ATTR_2(pwm1_interpolate, S_IRUGO|S_IWUSR,
1281 SENSOR_ATTR_2(fan2_full_speed, S_IRUGO|S_IWUSR,
1288 SENSOR_ATTR_2(pwm2_interpolate, S_IRUGO|S_IWUSR,
1292 SENSOR_ATTR_2(fan3_full_speed, S_IRUGO|S_IWUSR,
1299 SENSOR_ATTR_2(pwm3_interpolate, S_IRUGO|S_IWUSR,
1303 SENSOR_ATTR_2(fan4_full_speed, S_IRUGO|S_IWUSR,
1310 SENSOR_ATTR_2(pwm4_interpolate, S_IRUGO|S_IWUSR,
1350 SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR,
1629 SENSOR_ATTR_2(pwm1_auto_point2_temp_hyst, S_IRUGO,
[all …]
A Dw83792d.c970 static SENSOR_DEVICE_ATTR(in0_min, S_IWUSR | S_IRUGO,
972 static SENSOR_DEVICE_ATTR(in1_min, S_IWUSR | S_IRUGO,
974 static SENSOR_DEVICE_ATTR(in2_min, S_IWUSR | S_IRUGO,
976 static SENSOR_DEVICE_ATTR(in3_min, S_IWUSR | S_IRUGO,
978 static SENSOR_DEVICE_ATTR(in4_min, S_IWUSR | S_IRUGO,
980 static SENSOR_DEVICE_ATTR(in5_min, S_IWUSR | S_IRUGO,
982 static SENSOR_DEVICE_ATTR(in6_min, S_IWUSR | S_IRUGO,
984 static SENSOR_DEVICE_ATTR(in7_min, S_IWUSR | S_IRUGO,
986 static SENSOR_DEVICE_ATTR(in8_min, S_IWUSR | S_IRUGO,
988 static SENSOR_DEVICE_ATTR(in0_max, S_IWUSR | S_IRUGO,
[all …]
A Dw83791d.c666 SENSOR_ATTR(fan1_min, S_IWUSR | S_IRUGO,
668 SENSOR_ATTR(fan2_min, S_IWUSR | S_IRUGO,
670 SENSOR_ATTR(fan3_min, S_IWUSR | S_IRUGO,
672 SENSOR_ATTR(fan4_min, S_IWUSR | S_IRUGO,
674 SENSOR_ATTR(fan5_min, S_IWUSR | S_IRUGO,
679 SENSOR_ATTR(fan1_div, S_IWUSR | S_IRUGO,
737 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO,
739 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO,
741 SENSOR_ATTR(pwm3, S_IWUSR | S_IRUGO,
743 SENSOR_ATTR(pwm4, S_IWUSR | S_IRUGO,
[all …]
A Df71805f.c733 S_IRUGO)) in set_pwm_enable()
757 S_IRUGO | S_IWUSR)) in set_pwm_enable()
985 static SENSOR_DEVICE_ATTR(in0_max, S_IRUGO | S_IWUSR,
987 static SENSOR_DEVICE_ATTR(in0_min, S_IRUGO | S_IWUSR,
990 static SENSOR_DEVICE_ATTR(in1_max, S_IRUGO | S_IWUSR,
992 static SENSOR_DEVICE_ATTR(in1_min, S_IRUGO | S_IWUSR,
995 static SENSOR_DEVICE_ATTR(in2_max, S_IRUGO | S_IWUSR,
997 static SENSOR_DEVICE_ATTR(in2_min, S_IRUGO | S_IWUSR,
1000 static SENSOR_DEVICE_ATTR(in3_max, S_IRUGO | S_IWUSR,
1002 static SENSOR_DEVICE_ATTR(in3_min, S_IRUGO | S_IWUSR,
[all …]
A Dmax1668.c244 static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO, show_temp_max,
246 static SENSOR_DEVICE_ATTR(temp1_min, S_IRUGO, show_temp_min,
249 static SENSOR_DEVICE_ATTR(temp2_max, S_IRUGO, show_temp_max,
251 static SENSOR_DEVICE_ATTR(temp2_min, S_IRUGO, show_temp_min,
254 static SENSOR_DEVICE_ATTR(temp3_max, S_IRUGO, show_temp_max,
256 static SENSOR_DEVICE_ATTR(temp3_min, S_IRUGO, show_temp_min,
259 static SENSOR_DEVICE_ATTR(temp4_max, S_IRUGO, show_temp_max,
261 static SENSOR_DEVICE_ATTR(temp4_min, S_IRUGO, show_temp_min,
264 static SENSOR_DEVICE_ATTR(temp5_max, S_IRUGO, show_temp_max,
266 static SENSOR_DEVICE_ATTR(temp5_min, S_IRUGO, show_temp_min,
[all …]
A Dit87.c1691 static SENSOR_DEVICE_ATTR(pwm1_enable, S_IRUGO | S_IWUSR,
1704 static SENSOR_DEVICE_ATTR_2(pwm1_auto_point4_pwm, S_IRUGO,
1721 static SENSOR_DEVICE_ATTR(pwm2_enable, S_IRUGO | S_IWUSR,
1733 static SENSOR_DEVICE_ATTR_2(pwm2_auto_point4_pwm, S_IRUGO,
1750 static SENSOR_DEVICE_ATTR(pwm3_enable, S_IRUGO | S_IWUSR,
1762 static SENSOR_DEVICE_ATTR_2(pwm3_auto_point4_pwm, S_IRUGO,
1779 static SENSOR_DEVICE_ATTR(pwm4_enable, S_IRUGO | S_IWUSR,
1798 static SENSOR_DEVICE_ATTR(pwm5_enable, S_IRUGO | S_IWUSR,
1817 static SENSOR_DEVICE_ATTR(pwm6_enable, S_IRUGO | S_IWUSR,
1931 static SENSOR_DEVICE_ATTR(in0_beep, S_IRUGO | S_IWUSR,
[all …]
A Dlm63.c750 static SENSOR_DEVICE_ATTR(pwm1_auto_point1_temp_hyst, S_IRUGO,
756 static SENSOR_DEVICE_ATTR(pwm1_auto_point2_temp_hyst, S_IRUGO,
762 static SENSOR_DEVICE_ATTR(pwm1_auto_point3_temp_hyst, S_IRUGO,
768 static SENSOR_DEVICE_ATTR(pwm1_auto_point4_temp_hyst, S_IRUGO,
774 static SENSOR_DEVICE_ATTR(pwm1_auto_point5_temp_hyst, S_IRUGO,
780 static SENSOR_DEVICE_ATTR(pwm1_auto_point6_temp_hyst, S_IRUGO,
786 static SENSOR_DEVICE_ATTR(pwm1_auto_point7_temp_hyst, S_IRUGO,
792 static SENSOR_DEVICE_ATTR(pwm1_auto_point8_temp_hyst, S_IRUGO,
798 static SENSOR_DEVICE_ATTR(pwm1_auto_point9_temp_hyst, S_IRUGO,
804 static SENSOR_DEVICE_ATTR(pwm1_auto_point10_temp_hyst, S_IRUGO,
[all …]
A Dultra45_env.c149 static SENSOR_DEVICE_ATTR(fan##index##_speed, S_IRUGO | S_IWUSR, \
151 static SENSOR_DEVICE_ATTR(fan##index##_fault, S_IRUGO, \
174 static SENSOR_DEVICE_ATTR(cpu0_temp, S_IRUGO, show_temp, NULL, 1);
175 static SENSOR_DEVICE_ATTR(cpu1_temp, S_IRUGO, show_temp, NULL, 2);
176 static SENSOR_DEVICE_ATTR(motherboard_temp, S_IRUGO, show_temp, NULL, 3);
178 static SENSOR_DEVICE_ATTR(fire_temp, S_IRUGO, show_temp, NULL, 5);
180 static SENSOR_DEVICE_ATTR(front_panel_temp, S_IRUGO, show_temp, NULL, 7);
181 static SENSOR_DEVICE_ATTR(psu_temp, S_IRUGO, show_temp, NULL, 13);
194 static SENSOR_DEVICE_ATTR(fan_failure, S_IRUGO, show_stat_bit, NULL, 0);
195 static SENSOR_DEVICE_ATTR(env_bus_busy, S_IRUGO, show_stat_bit, NULL, 1);
[all …]
A Dw83l786ng.c259 SENSOR_ATTR(in0_input, S_IRUGO, show_in, NULL, 0),
260 SENSOR_ATTR(in1_input, S_IRUGO, show_in, NULL, 1),
261 SENSOR_ATTR(in2_input, S_IRUGO, show_in, NULL, 2),
383 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0),
384 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1),
447 SENSOR_ATTR_2(temp1_max, S_IRUGO | S_IWUSR,
449 SENSOR_ATTR_2(temp2_max, S_IRUGO | S_IWUSR,
454 SENSOR_ATTR_2(temp1_max_hyst, S_IRUGO | S_IWUSR,
456 SENSOR_ATTR_2(temp2_max_hyst, S_IRUGO | S_IWUSR,
612 SENSOR_ATTR(pwm1_tolerance, S_IWUSR | S_IRUGO,
[all …]
A Df75375s.c658 static SENSOR_DEVICE_ATTR(in0_max, S_IRUGO|S_IWUSR,
660 static SENSOR_DEVICE_ATTR(in0_min, S_IRUGO|S_IWUSR,
663 static SENSOR_DEVICE_ATTR(in1_max, S_IRUGO|S_IWUSR,
665 static SENSOR_DEVICE_ATTR(in1_min, S_IRUGO|S_IWUSR,
668 static SENSOR_DEVICE_ATTR(in2_max, S_IRUGO|S_IWUSR,
699 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO|S_IWUSR,
703 static SENSOR_DEVICE_ATTR(pwm1_mode, S_IRUGO,
705 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR,
709 static SENSOR_DEVICE_ATTR(pwm2_mode, S_IRUGO,
842 S_IRUGO | S_IWUSR); in f75375_probe()
[all …]
A Dw83795.c1641 SENSOR_ATTR_2(pwm##index##_mode, S_IRUGO, \
1659 SENSOR_ATTR_2(temp##index##_type, S_IRUGO , \
1671 SENSOR_ATTR_2(temp##index##_alarm, S_IRUGO, \
1693 SENSOR_ATTR_2(temp##index##_alarm, S_IRUGO, \
1816 SENSOR_ATTR_2(temp1_source_sel, S_IWUSR | S_IRUGO,
1818 SENSOR_ATTR_2(temp2_source_sel, S_IWUSR | S_IRUGO,
1820 SENSOR_ATTR_2(temp3_source_sel, S_IWUSR | S_IRUGO,
1822 SENSOR_ATTR_2(temp4_source_sel, S_IWUSR | S_IRUGO,
1824 SENSOR_ATTR_2(temp5_source_sel, S_IWUSR | S_IRUGO,
2103 S_IRUGO); in w83795_check_dynamic_in_limits()
[all …]
A Dw83781d.c337 static SENSOR_DEVICE_ATTR(fan1_min, S_IRUGO | S_IWUSR,
340 static SENSOR_DEVICE_ATTR(fan2_min, S_IRUGO | S_IWUSR,
343 static SENSOR_DEVICE_ATTR(fan3_min, S_IRUGO | S_IWUSR,
586 static SENSOR_DEVICE_ATTR(in0_beep, S_IRUGO | S_IWUSR,
588 static SENSOR_DEVICE_ATTR(in1_beep, S_IRUGO | S_IWUSR,
590 static SENSOR_DEVICE_ATTR(in2_beep, S_IRUGO | S_IWUSR,
592 static SENSOR_DEVICE_ATTR(in3_beep, S_IRUGO | S_IWUSR,
594 static SENSOR_DEVICE_ATTR(in4_beep, S_IRUGO | S_IWUSR,
596 static SENSOR_DEVICE_ATTR(in5_beep, S_IRUGO | S_IWUSR,
614 static SENSOR_DEVICE_ATTR(temp3_beep, S_IRUGO,
[all …]
A Dwm831x-hwmon.c71 static SENSOR_DEVICE_ATTR(in##id##_input, S_IRUGO, show_voltage, \
76 static SENSOR_DEVICE_ATTR(in##id##_label, S_IRUGO, show_label, \
90 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_chip_temp, NULL,
92 static SENSOR_DEVICE_ATTR(temp1_label, S_IRUGO, show_label, NULL,
98 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_voltage, NULL,
100 static SENSOR_DEVICE_ATTR(temp2_label, S_IRUGO, show_label, NULL,
/linux-6.3-rc2/drivers/scsi/lpfc/
A Dlpfc_attr.h26 module_param(lpfc_##name, uint, S_IRUGO);\
32 module_param(lpfc_##name, uint, S_IRUGO);\
40 module_param(lpfc_##name, uint, S_IRUGO);\
61 module_param(lpfc_##name, uint, S_IRUGO);\
69 module_param(lpfc_##name, uint, S_IRUGO);\
80 module_param(lpfc_##name, uint, S_IRUGO);\
86 module_param(lpfc_##name, uint, S_IRUGO);\
94 module_param(lpfc_##name, ullong, S_IRUGO);\
102 module_param(lpfc_##name, uint, S_IRUGO);\
113 module_param(lpfc_##name, uint, S_IRUGO);\
[all …]
/linux-6.3-rc2/drivers/opp/
A Ddebugfs.c70 debugfs_create_u32("peak_bw", S_IRUGO, d, in opp_debug_create_bw()
72 debugfs_create_u32("avg_bw", S_IRUGO, d, in opp_debug_create_bw()
110 debugfs_create_ulong("u_volt_target", S_IRUGO, d, in opp_debug_create_supplies()
113 debugfs_create_ulong("u_volt_min", S_IRUGO, d, in opp_debug_create_supplies()
116 debugfs_create_ulong("u_volt_max", S_IRUGO, d, in opp_debug_create_supplies()
119 debugfs_create_ulong("u_amp", S_IRUGO, d, in opp_debug_create_supplies()
122 debugfs_create_ulong("u_watt", S_IRUGO, d, in opp_debug_create_supplies()
152 debugfs_create_bool("dynamic", S_IRUGO, d, &opp->dynamic); in opp_debug_create_one()
153 debugfs_create_bool("turbo", S_IRUGO, d, &opp->turbo); in opp_debug_create_one()
156 debugfs_create_u32("level", S_IRUGO, d, &opp->level); in opp_debug_create_one()
[all …]
/linux-6.3-rc2/drivers/edac/
A Dedac_mc_sysfs.c328 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,
[all …]
/linux-6.3-rc2/drivers/spi/
A Dspi-tle62x0.c175 static DEVICE_ATTR(gpio1, S_IWUSR|S_IRUGO,
177 static DEVICE_ATTR(gpio2, S_IWUSR|S_IRUGO,
179 static DEVICE_ATTR(gpio3, S_IWUSR|S_IRUGO,
181 static DEVICE_ATTR(gpio4, S_IWUSR|S_IRUGO,
183 static DEVICE_ATTR(gpio5, S_IWUSR|S_IRUGO,
185 static DEVICE_ATTR(gpio6, S_IWUSR|S_IRUGO,
187 static DEVICE_ATTR(gpio7, S_IWUSR|S_IRUGO,
189 static DEVICE_ATTR(gpio8, S_IWUSR|S_IRUGO,
191 static DEVICE_ATTR(gpio9, S_IWUSR|S_IRUGO,
193 static DEVICE_ATTR(gpio10, S_IWUSR|S_IRUGO,
[all …]
/linux-6.3-rc2/drivers/scsi/qla4xxx/
A Dql4_attr.c316 static DEVICE_ATTR(fw_version, S_IRUGO, qla4xxx_fw_version_show, NULL);
317 static DEVICE_ATTR(serial_num, S_IRUGO, qla4xxx_serial_num_show, NULL);
320 static DEVICE_ATTR(board_id, S_IRUGO, qla4xxx_board_id_show, NULL);
321 static DEVICE_ATTR(fw_state, S_IRUGO, qla4xxx_fw_state_show, NULL);
322 static DEVICE_ATTR(phy_port_cnt, S_IRUGO, qla4xxx_phy_port_cnt_show, NULL);
323 static DEVICE_ATTR(phy_port_num, S_IRUGO, qla4xxx_phy_port_num_show, NULL);
325 static DEVICE_ATTR(hba_model, S_IRUGO, qla4xxx_hba_model_show, NULL);
326 static DEVICE_ATTR(fw_timestamp, S_IRUGO, qla4xxx_fw_timestamp_show, NULL);
328 static DEVICE_ATTR(fw_ext_timestamp, S_IRUGO, qla4xxx_fw_ext_timestamp_show,
330 static DEVICE_ATTR(fw_load_src, S_IRUGO, qla4xxx_fw_load_src_show, NULL);
[all …]
/linux-6.3-rc2/drivers/firmware/
A Discsi_ibft.c479 rc = S_IRUGO; in ibft_check_nic_for()
483 rc = S_IRUGO; in ibft_check_nic_for()
488 rc = S_IRUGO; in ibft_check_nic_for()
491 rc = S_IRUGO; in ibft_check_nic_for()
495 rc = S_IRUGO; in ibft_check_nic_for()
499 rc = S_IRUGO; in ibft_check_nic_for()
503 rc = S_IRUGO; in ibft_check_nic_for()
511 rc = S_IRUGO; in ibft_check_nic_for()
538 rc = S_IRUGO; in ibft_check_tgt_for()
570 rc = S_IRUGO; in ibft_check_initiator_for()
[all …]
/linux-6.3-rc2/drivers/usb/gadget/legacy/
A Dzero.c60 module_param(loopdefault, bool, S_IRUGO|S_IWUSR);
93 module_param(autoresume, uint, S_IRUGO);
98 module_param(max_autoresume, uint, S_IRUGO);
103 module_param(autoresume_interval_ms, uint, S_IRUGO);
233 module_param_named(pattern, gzero_options.pattern, uint, S_IRUGO|S_IWUSR);
237 S_IRUGO|S_IWUSR);
241 S_IRUGO|S_IWUSR);
248 S_IRUGO|S_IWUSR);
254 module_param_named(qlen, gzero_options.qlen, uint, S_IRUGO|S_IWUSR);
258 S_IRUGO|S_IWUSR);
[all …]
A Dgmidi.c41 module_param(index, int, S_IRUGO);
45 module_param(id, charp, S_IRUGO);
49 module_param(buflen, uint, S_IRUGO);
53 module_param(qlen, uint, S_IRUGO);
57 module_param(in_ports, uint, S_IRUGO);
61 module_param(out_ports, uint, S_IRUGO);
/linux-6.3-rc2/drivers/misc/genwqe/
A Dcard_debugfs.c331 debugfs_create_file("ddcb_info", S_IRUGO, root, cd, &ddcb_info_fops); in genwqe_init_debugfs()
332 debugfs_create_file("info", S_IRUGO, root, cd, &info_fops); in genwqe_init_debugfs()
344 debugfs_create_file("curr_regs", S_IRUGO, root, cd, &curr_regs_fops); in genwqe_init_debugfs()
345 debugfs_create_file("curr_dbg_uid0", S_IRUGO, root, cd, in genwqe_init_debugfs()
347 debugfs_create_file("curr_dbg_uid1", S_IRUGO, root, cd, in genwqe_init_debugfs()
349 debugfs_create_file("curr_dbg_uid2", S_IRUGO, root, cd, in genwqe_init_debugfs()
352 debugfs_create_file("prev_dbg_uid0", S_IRUGO, root, cd, in genwqe_init_debugfs()
354 debugfs_create_file("prev_dbg_uid1", S_IRUGO, root, cd, in genwqe_init_debugfs()
356 debugfs_create_file("prev_dbg_uid2", S_IRUGO, root, cd, in genwqe_init_debugfs()
365 debugfs_create_file("jobtimer", S_IRUGO, root, cd, &jtimer_fops); in genwqe_init_debugfs()
[all …]
/linux-6.3-rc2/drivers/dio/
A Ddio-sysfs.c27 static DEVICE_ATTR(id, S_IRUGO, dio_show_id, NULL);
36 static DEVICE_ATTR(ipl, S_IRUGO, dio_show_ipl, NULL);
45 static DEVICE_ATTR(secid, S_IRUGO, dio_show_secid, NULL);
54 static DEVICE_ATTR(name, S_IRUGO, dio_show_name, NULL);
65 static DEVICE_ATTR(resource, S_IRUGO, dio_show_resource, NULL);
/linux-6.3-rc2/drivers/dma/qcom/
A Dhidma_mgmt_sys.c89 DECLARE_ATTRIBUTE(hw_version_major, S_IRUGO),
90 DECLARE_ATTRIBUTE(hw_version_minor, S_IRUGO),
91 DECLARE_ATTRIBUTE(dma_channels, S_IRUGO),
92 DECLARE_ATTRIBUTE(chreset_timeout_cycles, S_IRUGO),
93 DECLARE_ATTRIBUTE(max_wr_xactions, S_IRUGO),
94 DECLARE_ATTRIBUTE(max_rd_xactions, S_IRUGO),
95 DECLARE_ATTRIBUTE(max_write_request, S_IRUGO),
96 DECLARE_ATTRIBUTE(max_read_request, S_IRUGO),
271 (S_IRUGO | S_IWUGO), i, in hidma_mgmt_init_sys()
277 (S_IRUGO | S_IWUGO), i, in hidma_mgmt_init_sys()
/linux-6.3-rc2/fs/proc/
A Dbase.c1848 if (mode != (S_IFDIR|S_IRUGO|S_IXUGO)) { in task_dump_owner()
3251 ONE("limits", S_IRUGO, proc_pid_limits),
3304 ONE("cgroup", S_IRUGO, proc_cgroup_show),
3418 S_IFDIR | S_IRUGO | S_IXUGO); in proc_pid_instantiate()
3601 ONE("limits", S_IRUGO, proc_pid_limits),
3605 NOD("comm", S_IFREG|S_IRUGO|S_IWUSR,
3612 ONE("stat", S_IRUGO, proc_tid_stat),
3613 ONE("statm", S_IRUGO, proc_pid_statm),
3637 ONE("wchan", S_IRUGO, proc_pid_wchan),
3652 ONE("cgroup", S_IRUGO, proc_cgroup_show),
[all …]

Completed in 109 milliseconds

12345678910>>...29