Searched refs:S_IRUGO (Results 1 - 25 of 691) sorted by relevance

1234567891011>>

/linux-master/drivers/hwmon/
H A Df71882fg.c710 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0),
711 SENSOR_ATTR_2(temp1_max, S_IRUGO|S_IWUSR, show_temp_max,
713 SENSOR_ATTR_2(temp1_max_hyst, S_IRUGO|S_IWUSR, show_temp_max_hyst,
715 SENSOR_ATTR_2(temp1_max_alarm, S_IRUGO, show_temp_alarm, NULL, 0, 0),
716 SENSOR_ATTR_2(temp1_crit, S_IRUGO|S_IWUSR, show_temp_crit,
718 SENSOR_ATTR_2(temp1_crit_hyst, S_IRUGO, show_temp_crit_hyst, NULL,
720 SENSOR_ATTR_2(temp1_crit_alarm, S_IRUGO, show_temp_alarm, NULL, 0, 4),
721 SENSOR_ATTR_2(temp1_fault, S_IRUGO, show_temp_fault, NULL, 0, 0),
722 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 1),
723 SENSOR_ATTR_2(temp2_max, S_IRUGO|S_IWUS
[all...]
H A Dw83792d.c961 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, show_in, NULL, 0);
962 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
963 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
964 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 3);
965 static SENSOR_DEVICE_ATTR(in4_input, S_IRUGO, show_in, NULL, 4);
966 static SENSOR_DEVICE_ATTR(in5_input, S_IRUGO, show_in, NULL, 5);
967 static SENSOR_DEVICE_ATTR(in6_input, S_IRUGO, show_in, NULL, 6);
968 static SENSOR_DEVICE_ATTR(in7_input, S_IRUGO, show_in, NULL, 7);
969 static SENSOR_DEVICE_ATTR(in8_input, S_IRUGO, show_in, NULL, 8);
970 static SENSOR_DEVICE_ATTR(in0_min, S_IWUSR | S_IRUGO,
[all...]
H A Dmax1668.c243 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
244 static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO, show_temp_max,
246 static SENSOR_DEVICE_ATTR(temp1_min, S_IRUGO, show_temp_min,
248 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
249 static SENSOR_DEVICE_ATTR(temp2_max, S_IRUGO, show_temp_max,
251 static SENSOR_DEVICE_ATTR(temp2_min, S_IRUGO, show_temp_min,
253 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
254 static SENSOR_DEVICE_ATTR(temp3_max, S_IRUGO, show_temp_max,
256 static SENSOR_DEVICE_ATTR(temp3_min, S_IRUGO, show_temp_min,
258 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_tem
[all...]
H A Dw83791d.c389 SENSOR_ATTR(in0_input, S_IRUGO, show_in, NULL, 0),
390 SENSOR_ATTR(in1_input, S_IRUGO, show_in, NULL, 1),
391 SENSOR_ATTR(in2_input, S_IRUGO, show_in, NULL, 2),
392 SENSOR_ATTR(in3_input, S_IRUGO, show_in, NULL, 3),
393 SENSOR_ATTR(in4_input, S_IRUGO, show_in, NULL, 4),
394 SENSOR_ATTR(in5_input, S_IRUGO, show_in, NULL, 5),
395 SENSOR_ATTR(in6_input, S_IRUGO, show_in, NULL, 6),
396 SENSOR_ATTR(in7_input, S_IRUGO, show_in, NULL, 7),
397 SENSOR_ATTR(in8_input, S_IRUGO, show_in, NULL, 8),
398 SENSOR_ATTR(in9_input, S_IRUGO, show_i
[all...]
H A Df71805f.c733 S_IRUGO))
757 S_IRUGO | S_IWUSR))
984 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, show_in0, NULL, 0);
985 static SENSOR_DEVICE_ATTR(in0_max, S_IRUGO | S_IWUSR,
987 static SENSOR_DEVICE_ATTR(in0_min, S_IRUGO | S_IWUSR,
989 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
990 static SENSOR_DEVICE_ATTR(in1_max, S_IRUGO | S_IWUSR,
992 static SENSOR_DEVICE_ATTR(in1_min, S_IRUGO | S_IWUSR,
994 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
995 static SENSOR_DEVICE_ATTR(in2_max, S_IRUGO | S_IWUS
[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, \
161 static SENSOR_DEVICE_ATTR(psu_fan_fault, S_IRUGO, show_fan_fault, NULL, 6);
174 static SENSOR_DEVICE_ATTR(adt7462_local_temp, S_IRUGO, show_temp, NULL, 0);
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);
178 static SENSOR_DEVICE_ATTR(lm95221_local_temp, S_IRUGO, show_temp, NULL, 4);
179 static SENSOR_DEVICE_ATTR(fire_temp, S_IRUGO, show_temp, NULL, 5);
180 static SENSOR_DEVICE_ATTR(lsi1064_local_temp, S_IRUGO, show_tem
[all...]
H A Dit87.c1029 static SENSOR_DEVICE_ATTR_2(in0_input, S_IRUGO, show_in, NULL, 0, 0);
1030 static SENSOR_DEVICE_ATTR_2(in0_min, S_IRUGO | S_IWUSR, show_in, set_in,
1032 static SENSOR_DEVICE_ATTR_2(in0_max, S_IRUGO | S_IWUSR, show_in, set_in,
1035 static SENSOR_DEVICE_ATTR_2(in1_input, S_IRUGO, show_in, NULL, 1, 0);
1036 static SENSOR_DEVICE_ATTR_2(in1_min, S_IRUGO | S_IWUSR, show_in, set_in,
1038 static SENSOR_DEVICE_ATTR_2(in1_max, S_IRUGO | S_IWUSR, show_in, set_in,
1041 static SENSOR_DEVICE_ATTR_2(in2_input, S_IRUGO, show_in, NULL, 2, 0);
1042 static SENSOR_DEVICE_ATTR_2(in2_min, S_IRUGO | S_IWUSR, show_in, set_in,
1044 static SENSOR_DEVICE_ATTR_2(in2_max, S_IRUGO | S_IWUSR, show_in, set_in,
1047 static SENSOR_DEVICE_ATTR_2(in3_input, S_IRUGO, show_i
[all...]
H A Dlm63.c740 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0);
741 static SENSOR_DEVICE_ATTR(fan1_min, S_IWUSR | S_IRUGO, show_fan,
744 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm1, set_pwm1, 0);
746 static SENSOR_DEVICE_ATTR(pwm1_auto_point1_pwm, S_IWUSR | S_IRUGO,
748 static SENSOR_DEVICE_ATTR(pwm1_auto_point1_temp, S_IWUSR | S_IRUGO,
750 static SENSOR_DEVICE_ATTR(pwm1_auto_point1_temp_hyst, S_IRUGO,
752 static SENSOR_DEVICE_ATTR(pwm1_auto_point2_pwm, S_IWUSR | S_IRUGO,
754 static SENSOR_DEVICE_ATTR(pwm1_auto_point2_temp, S_IWUSR | S_IRUGO,
756 static SENSOR_DEVICE_ATTR(pwm1_auto_point2_temp_hyst, S_IRUGO,
758 static SENSOR_DEVICE_ATTR(pwm1_auto_point3_pwm, S_IWUSR | 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,
H A Df75375s.c657 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, show_in, NULL, 0);
658 static SENSOR_DEVICE_ATTR(in0_max, S_IRUGO|S_IWUSR,
660 static SENSOR_DEVICE_ATTR(in0_min, S_IRUGO|S_IWUSR,
662 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
663 static SENSOR_DEVICE_ATTR(in1_max, S_IRUGO|S_IWUSR,
665 static SENSOR_DEVICE_ATTR(in1_min, S_IRUGO|S_IWUSR,
667 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
668 static SENSOR_DEVICE_ATTR(in2_max, S_IRUGO|S_IWUSR,
670 static SENSOR_DEVICE_ATTR(in2_min, S_IRUGO|S_IWUSR,
672 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_i
[all...]
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_attr.h26 module_param(lpfc_##name, uint, S_IRUGO);\
32 module_param(lpfc_##name, uint, S_IRUGO);\
36 static DEVICE_ATTR(lpfc_##name, S_IRUGO, lpfc_##name##_show, NULL)
40 module_param(lpfc_##name, uint, S_IRUGO);\
46 static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\
61 module_param(lpfc_##name, uint, S_IRUGO);\
65 static DEVICE_ATTR(lpfc_##name, S_IRUGO, lpfc_##name##_show, NULL)
69 module_param(lpfc_##name, uint, S_IRUGO);\
75 static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\
80 module_param(lpfc_##name, uint, S_IRUGO);\
[all...]
/linux-master/drivers/spi/
H A Dspi-tle62x0.c131 static DEVICE_ATTR(status_show, S_IRUGO, tle62x0_status_show, NULL);
175 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,
[all...]
/linux-master/drivers/opp/
H A Ddebugfs.c70 debugfs_create_file("name", S_IRUGO, d, opp_table->paths[i],
72 debugfs_create_u32("peak_bw", S_IRUGO, d,
74 debugfs_create_u32("avg_bw", S_IRUGO, d,
87 debugfs_create_ulong("rate_hz", S_IRUGO, pdentry, &opp->rates[0]);
93 debugfs_create_ulong(name, S_IRUGO, pdentry, &opp->rates[i]);
112 debugfs_create_ulong("u_volt_target", S_IRUGO, d,
115 debugfs_create_ulong("u_volt_min", S_IRUGO, d,
118 debugfs_create_ulong("u_volt_max", S_IRUGO, d,
121 debugfs_create_ulong("u_amp", S_IRUGO, d,
124 debugfs_create_ulong("u_watt", S_IRUGO,
[all...]
/linux-master/drivers/scsi/snic/
H A Dsnic_attrs.c52 static DEVICE_ATTR(snic_sym_name, S_IRUGO, snic_show_sym_name, NULL);
53 static DEVICE_ATTR(snic_state, S_IRUGO, snic_show_state, NULL);
54 static DEVICE_ATTR(drv_version, S_IRUGO, snic_show_drv_version, NULL);
55 static DEVICE_ATTR(link_state, S_IRUGO, snic_show_link_state, NULL);
/linux-master/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-master/drivers/scsi/fnic/
H A Dfnic_attrs.c34 static DEVICE_ATTR(fnic_state, S_IRUGO, fnic_show_state, NULL);
35 static DEVICE_ATTR(drv_version, S_IRUGO, fnic_show_drv_version, NULL);
36 static DEVICE_ATTR(link_state, S_IRUGO, fnic_show_link_state, NULL);
/linux-master/drivers/edac/
H A 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);
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_IWUS
[all...]
/linux-master/drivers/usb/gadget/legacy/
H 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);
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);
244 module_param_named(isoc_mult, gzero_options.isoc_mult, uint, S_IRUGO|S_IWUSR);
248 S_IRUGO|S_IWUSR);
254 module_param_named(qlen, gzero_options.qlen, uint, S_IRUGO|S_IWUS
[all...]
/linux-master/drivers/misc/genwqe/
H A Dcard_debugfs.c331 debugfs_create_file("ddcb_info", S_IRUGO, root, cd, &ddcb_info_fops);
332 debugfs_create_file("info", S_IRUGO, root, cd, &info_fops);
344 debugfs_create_file("curr_regs", S_IRUGO, root, cd, &curr_regs_fops);
345 debugfs_create_file("curr_dbg_uid0", S_IRUGO, root, cd,
347 debugfs_create_file("curr_dbg_uid1", S_IRUGO, root, cd,
349 debugfs_create_file("curr_dbg_uid2", S_IRUGO, root, cd,
351 debugfs_create_file("prev_regs", S_IRUGO, root, cd, &prev_regs_fops);
352 debugfs_create_file("prev_dbg_uid0", S_IRUGO, root, cd,
354 debugfs_create_file("prev_dbg_uid1", S_IRUGO, root, cd,
356 debugfs_create_file("prev_dbg_uid2", S_IRUGO, roo
[all...]
/linux-master/drivers/s390/char/
H A Dhmcdrv_mod.c29 module_param_named(cachesize, hmcdrv_mod_cachesize, ulong, S_IRUGO);
/linux-master/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);
318 static DEVICE_ATTR(iscsi_version, S_IRUGO, qla4xxx_iscsi_version_show, NULL);
319 static DEVICE_ATTR(optrom_version, S_IRUGO, qla4xxx_optrom_version_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);
324 static DEVICE_ATTR(iscsi_func_cnt, S_IRUGO, qla4xxx_iscsi_func_cnt_show, NULL);
325 static DEVICE_ATTR(hba_model, S_IRUGO, qla4xxx_hba_model_sho
[all...]
/linux-master/drivers/firmware/
H A Discsi_ibft.c479 rc = S_IRUGO;
483 rc = S_IRUGO;
488 rc = S_IRUGO;
491 rc = S_IRUGO;
495 rc = S_IRUGO;
499 rc = S_IRUGO;
503 rc = S_IRUGO;
507 rc = S_IRUGO;
511 rc = S_IRUGO;
515 rc = S_IRUGO;
[all...]
/linux-master/drivers/gpu/drm/amd/pm/inc/
H A Damdgpu_pm.h73 AMDGPU_DEVICE_ATTR(_name, S_IRUGO | S_IWUSR, \
77 __AMDGPU_DEVICE_ATTR(_name, S_IRUGO, \
/linux-master/include/linux/iio/
H A 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)}
129 IIO_DEVICE_ATTR(sampling_frequency_available, S_IRUGO, _show, NULL, 0)
144 IIO_DEVICE_ATTR(integration_time_available, S_IRUGO, _show, NULL, 0)
155 IIO_DEVICE_ATTR(in_temp_raw, S_IRUGO, _show, NULL, 0)

Completed in 661 milliseconds

1234567891011>>