Home
last modified time | relevance | path

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

12345678910>>...28

/linux-6.15/drivers/hwmon/
H A Df71882fg.c1273 SENSOR_ATTR_2(fan1_full_speed, S_IRUGO|S_IWUSR,
1280 SENSOR_ATTR_2(pwm1_interpolate, S_IRUGO|S_IWUSR,
1284 SENSOR_ATTR_2(fan2_full_speed, S_IRUGO|S_IWUSR,
1291 SENSOR_ATTR_2(pwm2_interpolate, S_IRUGO|S_IWUSR,
1295 SENSOR_ATTR_2(fan3_full_speed, S_IRUGO|S_IWUSR,
1302 SENSOR_ATTR_2(pwm3_interpolate, S_IRUGO|S_IWUSR,
1306 SENSOR_ATTR_2(fan4_full_speed, S_IRUGO|S_IWUSR,
1313 SENSOR_ATTR_2(pwm4_interpolate, S_IRUGO|S_IWUSR,
1353 SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR,
1632 SENSOR_ATTR_2(pwm1_auto_point2_temp_hyst, S_IRUGO,
[all …]
H 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 …]
H 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 …]
H 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 …]
H A Dit87.c1914 static SENSOR_DEVICE_ATTR(pwm1_enable, S_IRUGO | S_IWUSR,
1927 static SENSOR_DEVICE_ATTR_2(pwm1_auto_point4_pwm, S_IRUGO,
1944 static SENSOR_DEVICE_ATTR(pwm2_enable, S_IRUGO | S_IWUSR,
1956 static SENSOR_DEVICE_ATTR_2(pwm2_auto_point4_pwm, S_IRUGO,
1973 static SENSOR_DEVICE_ATTR(pwm3_enable, S_IRUGO | S_IWUSR,
1985 static SENSOR_DEVICE_ATTR_2(pwm3_auto_point4_pwm, S_IRUGO,
2002 static SENSOR_DEVICE_ATTR(pwm4_enable, S_IRUGO | S_IWUSR,
2021 static SENSOR_DEVICE_ATTR(pwm5_enable, S_IRUGO | S_IWUSR,
2040 static SENSOR_DEVICE_ATTR(pwm6_enable, S_IRUGO | S_IWUSR,
2169 static SENSOR_DEVICE_ATTR(in0_beep, S_IRUGO | S_IWUSR,
[all …]
H 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 …]
H A Dultra45_env.c150 static SENSOR_DEVICE_ATTR(fan##index##_speed, S_IRUGO | S_IWUSR, \
152 static SENSOR_DEVICE_ATTR(fan##index##_fault, S_IRUGO, \
175 static SENSOR_DEVICE_ATTR(cpu0_temp, S_IRUGO, show_temp, NULL, 1);
176 static SENSOR_DEVICE_ATTR(cpu1_temp, S_IRUGO, show_temp, NULL, 2);
177 static SENSOR_DEVICE_ATTR(motherboard_temp, S_IRUGO, show_temp, NULL, 3);
179 static SENSOR_DEVICE_ATTR(fire_temp, S_IRUGO, show_temp, NULL, 5);
181 static SENSOR_DEVICE_ATTR(front_panel_temp, S_IRUGO, show_temp, NULL, 7);
182 static SENSOR_DEVICE_ATTR(psu_temp, S_IRUGO, show_temp, NULL, 13);
195 static SENSOR_DEVICE_ATTR(fan_failure, S_IRUGO, show_stat_bit, NULL, 0);
196 static SENSOR_DEVICE_ATTR(env_bus_busy, S_IRUGO, show_stat_bit, NULL, 1);
[all …]
H 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 …]
H A Df75375s.c633 static SENSOR_DEVICE_ATTR(in0_max, S_IRUGO|S_IWUSR,
635 static SENSOR_DEVICE_ATTR(in0_min, S_IRUGO|S_IWUSR,
638 static SENSOR_DEVICE_ATTR(in1_max, S_IRUGO|S_IWUSR,
640 static SENSOR_DEVICE_ATTR(in1_min, S_IRUGO|S_IWUSR,
643 static SENSOR_DEVICE_ATTR(in2_max, S_IRUGO|S_IWUSR,
674 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO|S_IWUSR,
678 static SENSOR_DEVICE_ATTR(pwm1_mode, S_IRUGO,
680 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR,
684 static SENSOR_DEVICE_ATTR(pwm2_mode, S_IRUGO,
817 S_IRUGO | S_IWUSR); in f75375_probe()
[all …]
H 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 …]
H 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 …]
H 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.15/drivers/scsi/lpfc/
H 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.15/drivers/opp/
H A Ddebugfs.c72 debugfs_create_u32("peak_bw", S_IRUGO, d, in opp_debug_create_bw()
74 debugfs_create_u32("avg_bw", S_IRUGO, d, in opp_debug_create_bw()
112 debugfs_create_ulong("u_volt_target", S_IRUGO, d, in opp_debug_create_supplies()
115 debugfs_create_ulong("u_volt_min", S_IRUGO, d, in opp_debug_create_supplies()
118 debugfs_create_ulong("u_volt_max", S_IRUGO, d, in opp_debug_create_supplies()
121 debugfs_create_ulong("u_amp", S_IRUGO, d, in opp_debug_create_supplies()
124 debugfs_create_ulong("u_watt", S_IRUGO, d, in opp_debug_create_supplies()
154 debugfs_create_bool("dynamic", S_IRUGO, d, &opp->dynamic); in opp_debug_create_one()
155 debugfs_create_bool("turbo", S_IRUGO, d, &opp->turbo); in opp_debug_create_one()
157 debugfs_create_u32("level", S_IRUGO, d, &opp->level); in opp_debug_create_one()
[all …]
/linux-6.15/drivers/edac/
H A Dedac_mc_sysfs.c327 DEVICE_CHANNEL(ch0_ce_count, S_IRUGO,
329 DEVICE_CHANNEL(ch1_ce_count, S_IRUGO,
331 DEVICE_CHANNEL(ch2_ce_count, S_IRUGO,
333 DEVICE_CHANNEL(ch3_ce_count, S_IRUGO,
335 DEVICE_CHANNEL(ch4_ce_count, S_IRUGO,
337 DEVICE_CHANNEL(ch5_ce_count, S_IRUGO,
339 DEVICE_CHANNEL(ch6_ce_count, S_IRUGO,
341 DEVICE_CHANNEL(ch7_ce_count, S_IRUGO,
343 DEVICE_CHANNEL(ch8_ce_count, S_IRUGO,
345 DEVICE_CHANNEL(ch9_ce_count, S_IRUGO,
[all …]
/linux-6.15/drivers/spi/
H 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.15/drivers/scsi/qla4xxx/
H 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.15/drivers/firmware/
H A Discsi_ibft.c482 rc = S_IRUGO; in ibft_check_nic_for()
486 rc = S_IRUGO; in ibft_check_nic_for()
491 rc = S_IRUGO; in ibft_check_nic_for()
494 rc = S_IRUGO; in ibft_check_nic_for()
498 rc = S_IRUGO; in ibft_check_nic_for()
502 rc = S_IRUGO; in ibft_check_nic_for()
506 rc = S_IRUGO; in ibft_check_nic_for()
514 rc = S_IRUGO; in ibft_check_nic_for()
541 rc = S_IRUGO; in ibft_check_tgt_for()
573 rc = S_IRUGO; in ibft_check_initiator_for()
[all …]
/linux-6.15/drivers/usb/gadget/legacy/
H 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 …]
H A Dgmidi.c42 module_param(index, int, S_IRUGO);
46 module_param(id, charp, S_IRUGO);
50 module_param(buflen, uint, S_IRUGO);
54 module_param(qlen, uint, S_IRUGO);
58 module_param(in_ports, uint, S_IRUGO);
62 module_param(out_ports, uint, S_IRUGO);
/linux-6.15/drivers/misc/genwqe/
H 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.15/drivers/dio/
H 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.15/drivers/dma/qcom/
H 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.15/fs/proc/
H A Dbase.c1900 if (mode != (S_IFDIR|S_IRUGO|S_IXUGO)) { in task_dump_owner()
3322 ONE("limits", S_IRUGO, proc_pid_limits),
3373 ONE("cgroup", S_IRUGO, proc_cgroup_show),
3487 S_IFDIR | S_IRUGO | S_IXUGO); in proc_pid_instantiate()
3671 ONE("limits", S_IRUGO, proc_pid_limits),
3673 NOD("comm", S_IFREG|S_IRUGO|S_IWUSR,
3680 ONE("stat", S_IRUGO, proc_tid_stat),
3681 ONE("statm", S_IRUGO, proc_pid_statm),
3705 ONE("wchan", S_IRUGO, proc_pid_wchan),
3720 ONE("cgroup", S_IRUGO, proc_cgroup_show),
[all …]
/linux-6.15/drivers/misc/
H A Dics932s401.c332 static DEVICE_ATTR(spread_enabled, S_IRUGO, show_spread_enabled, NULL);
333 static DEVICE_ATTR(cpu_clock_selection, S_IRUGO, show_cpu_clock_sel, NULL);
334 static DEVICE_ATTR(cpu_clock, S_IRUGO, show_cpu_clock, NULL);
335 static DEVICE_ATTR(src_clock_selection, S_IRUGO, show_src_clock_sel, NULL);
336 static DEVICE_ATTR(src_clock, S_IRUGO, show_src_clock, NULL);
337 static DEVICE_ATTR(pci_clock_selection, S_IRUGO, show_pci_clock_sel, NULL);
338 static DEVICE_ATTR(pci_clock, S_IRUGO, show_pci_clock, NULL);
339 static DEVICE_ATTR(usb_clock, S_IRUGO, show_value, NULL);
340 static DEVICE_ATTR(ref_clock, S_IRUGO, show_value, NULL);
341 static DEVICE_ATTR(cpu_spread, S_IRUGO, show_spread, NULL);
[all …]

12345678910>>...28