| /linux/drivers/hwmon/ |
| H A D | w83792d.c | 961 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 D | w83791d.c | 394 SENSOR_ATTR(in0_input, S_IRUGO, show_in, NULL, 0), 395 SENSOR_ATTR(in1_input, S_IRUGO, show_in, NULL, 1), 396 SENSOR_ATTR(in2_input, S_IRUGO, show_in, NULL, 2), 397 SENSOR_ATTR(in3_input, S_IRUGO, show_in, NULL, 3), 398 SENSOR_ATTR(in4_input, S_IRUGO, show_in, NULL, 4), 399 SENSOR_ATTR(in5_input, S_IRUGO, show_in, NULL, 5), 400 SENSOR_ATTR(in6_input, S_IRUGO, show_in, NULL, 6), 401 SENSOR_ATTR(in7_input, S_IRUGO, show_in, NULL, 7), 402 SENSOR_ATTR(in8_input, S_IRUGO, show_in, NULL, 8), 403 SENSOR_ATTR(in9_input, S_IRUGO, show_in, NULL, 9), [all …]
|
| H A D | it87.c | 1030 static SENSOR_DEVICE_ATTR_2(in0_input, S_IRUGO, show_in, NULL, 0, 0); 1031 static SENSOR_DEVICE_ATTR_2(in0_min, S_IRUGO | S_IWUSR, show_in, set_in, 1033 static SENSOR_DEVICE_ATTR_2(in0_max, S_IRUGO | S_IWUSR, show_in, set_in, 1036 static SENSOR_DEVICE_ATTR_2(in1_input, S_IRUGO, show_in, NULL, 1, 0); 1037 static SENSOR_DEVICE_ATTR_2(in1_min, S_IRUGO | S_IWUSR, show_in, set_in, 1039 static SENSOR_DEVICE_ATTR_2(in1_max, S_IRUGO | S_IWUSR, show_in, set_in, 1042 static SENSOR_DEVICE_ATTR_2(in2_input, S_IRUGO, show_in, NULL, 2, 0); 1043 static SENSOR_DEVICE_ATTR_2(in2_min, S_IRUGO | S_IWUSR, show_in, set_in, 1045 static SENSOR_DEVICE_ATTR_2(in2_max, S_IRUGO | S_IWUSR, show_in, set_in, 1048 static SENSOR_DEVICE_ATTR_2(in3_input, S_IRUGO, show_in, NULL, 3, 0); [all …]
|
| H A D | lm63.c | 740 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 D | f75375s.c | 632 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, show_in, NULL, 0); 633 static SENSOR_DEVICE_ATTR(in0_max, S_IRUGO|S_IWUSR, 635 static SENSOR_DEVICE_ATTR(in0_min, S_IRUGO|S_IWUSR, 637 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1); 638 static SENSOR_DEVICE_ATTR(in1_max, S_IRUGO|S_IWUSR, 640 static SENSOR_DEVICE_ATTR(in1_min, S_IRUGO|S_IWUSR, 642 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2); 643 static SENSOR_DEVICE_ATTR(in2_max, S_IRUGO|S_IWUSR, 645 static SENSOR_DEVICE_ATTR(in2_min, S_IRUGO|S_IWUSR, 647 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 3); [all …]
|
| H A D | w83795.c | 1610 SENSOR_ATTR_2(in##index##_input, S_IRUGO, show_in, NULL, \ 1612 SENSOR_ATTR_2(in##index##_max, S_IRUGO | S_IWUSR, show_in, \ 1614 SENSOR_ATTR_2(in##index##_min, S_IRUGO | S_IWUSR, show_in, \ 1616 SENSOR_ATTR_2(in##index##_alarm, S_IRUGO, show_alarm_beep, \ 1618 SENSOR_ATTR_2(in##index##_beep, S_IWUSR | S_IRUGO, \ 1627 SENSOR_ATTR_2(fan##index##_input, S_IRUGO, show_fan, \ 1629 SENSOR_ATTR_2(fan##index##_min, S_IWUSR | S_IRUGO, \ 1631 SENSOR_ATTR_2(fan##index##_alarm, S_IRUGO, show_alarm_beep, \ 1633 SENSOR_ATTR_2(fan##index##_beep, S_IWUSR | S_IRUGO, \ 1637 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \ [all …]
|
| H A D | w83793.c | 1015 SENSOR_ATTR_2(in##index##_input, S_IRUGO, show_in, NULL, \ 1017 SENSOR_ATTR_2(in##index##_max, S_IRUGO | S_IWUSR, show_in, \ 1019 SENSOR_ATTR_2(in##index##_min, S_IRUGO | S_IWUSR, show_in, \ 1021 SENSOR_ATTR_2(in##index##_alarm, S_IRUGO, show_alarm_beep, \ 1023 SENSOR_ATTR_2(in##index##_beep, S_IWUSR | S_IRUGO, \ 1028 SENSOR_ATTR_2(fan##index##_alarm, S_IRUGO, show_alarm_beep, \ 1030 SENSOR_ATTR_2(fan##index##_beep, S_IWUSR | S_IRUGO, \ 1032 SENSOR_ATTR_2(fan##index##_input, S_IRUGO, show_fan, \ 1034 SENSOR_ATTR_2(fan##index##_min, S_IWUSR | S_IRUGO, \ 1038 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \ [all …]
|
| H A D | wm831x-hwmon.c | 71 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 D | asb100.c | 270 static SENSOR_DEVICE_ATTR(in##offset##_input, S_IRUGO, \ 272 static SENSOR_DEVICE_ATTR(in##offset##_min, S_IRUGO | S_IWUSR, \ 274 static SENSOR_DEVICE_ATTR(in##offset##_max, S_IRUGO | S_IWUSR, \ 389 static SENSOR_DEVICE_ATTR(fan##offset##_input, S_IRUGO, \ 391 static SENSOR_DEVICE_ATTR(fan##offset##_min, S_IRUGO | S_IWUSR, \ 393 static SENSOR_DEVICE_ATTR(fan##offset##_div, S_IRUGO | S_IWUSR, \ 459 static SENSOR_DEVICE_ATTR(temp##num##_input, S_IRUGO, \ 461 static SENSOR_DEVICE_ATTR(temp##num##_max, S_IRUGO | S_IWUSR, \ 463 static SENSOR_DEVICE_ATTR(temp##num##_max_hyst, S_IRUGO | S_IWUSR, \ 526 static SENSOR_DEVICE_ATTR(in0_alarm, S_IRUGO, show_alarm, NULL, 0); [all …]
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_attr.h | 26 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/drivers/spi/ |
| H A D | spi-tle62x0.c | 131 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/drivers/scsi/qla4xxx/ |
| H A D | ql4_attr.c | 316 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_show, NULL); [all …]
|
| /linux/drivers/firmware/ |
| H A D | iscsi_ibft.c | 482 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() 510 rc = S_IRUGO; in ibft_check_nic_for() 514 rc = S_IRUGO; in ibft_check_nic_for() 518 rc = S_IRUGO; in ibft_check_nic_for() [all …]
|
| /linux/drivers/usb/gadget/legacy/ |
| H A D | zero.c | 60 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); 245 module_param_named(pattern, gzero_options.pattern, uint, S_IRUGO|S_IWUSR); 249 S_IRUGO|S_IWUSR); 253 S_IRUGO|S_IWUSR); 256 module_param_named(isoc_mult, gzero_options.isoc_mult, uint, S_IRUGO|S_IWUSR); 260 S_IRUGO|S_IWUSR); 263 module_param_named(qlen, gzero_options.qlen, uint, S_IRUGO|S_IWUSR); [all …]
|
| H A D | gmidi.c | 42 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/drivers/edac/ |
| H A D | edac_mc_sysfs.c | 224 static DEVICE_ATTR(dimm_label, S_IRUGO | S_IWUSR, 226 static DEVICE_ATTR(dimm_location, S_IRUGO, dimmdev_location_show, NULL); 227 static DEVICE_ATTR(size, S_IRUGO, dimmdev_size_show, NULL); 228 static DEVICE_ATTR(dimm_mem_type, S_IRUGO, dimmdev_mem_type_show, NULL); 229 static DEVICE_ATTR(dimm_dev_type, S_IRUGO, dimmdev_dev_type_show, NULL); 230 static DEVICE_ATTR(dimm_edac_mode, S_IRUGO, dimmdev_edac_mode_show, NULL); 231 static DEVICE_ATTR(dimm_ce_count, S_IRUGO, dimmdev_ce_count_show, NULL); 232 static DEVICE_ATTR(dimm_ue_count, S_IRUGO, dimmdev_ue_count_show, NULL); 496 static DEVICE_ATTR(mc_name, S_IRUGO, mci_ctl_name_show, NULL); 497 static DEVICE_ATTR(size_mb, S_IRUGO, mci_size_mb_show, NULL); [all …]
|
| /linux/drivers/misc/genwqe/ |
| H A D | card_debugfs.c | 331 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() 351 debugfs_create_file("prev_regs", S_IRUGO, root, cd, &prev_regs_fops); 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() [all …]
|
| /linux/fs/proc/ |
| H A D | base.c | 1906 if (mode != (S_IFDIR|S_IRUGO|S_IXUGO)) { in task_dump_owner() 3313 DIR("task", S_IRUGO|S_IXUGO, proc_task_inode_operations, proc_task_operations), 3316 DIR("fdinfo", S_IRUGO|S_IXUGO, proc_fdinfo_inode_operations, proc_fdinfo_operations), 3319 DIR("net", S_IRUGO|S_IXUGO, proc_net_inode_operations, proc_net_operations), 3323 ONE("status", S_IRUGO, proc_pid_status), 3325 ONE("limits", S_IRUGO, proc_pid_limits), 3326 REG("sched", S_IRUGO|S_IWUSR, proc_pid_sched_operations), 3328 REG("autogroup", S_IRUGO|S_IWUSR, proc_pid_sched_autogroup_operations), 3331 REG("timens_offsets", S_IRUGO|S_IWUSR, proc_timens_offsets_operations), 3333 REG("comm", S_IRUGO|S_IWUS [all...] |
| /linux/drivers/dma/qcom/ |
| H A D | hidma_mgmt_sys.c | 89 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/drivers/dio/ |
| H A D | dio-sysfs.c | 27 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/drivers/misc/ |
| H A D | ics932s401.c | 332 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 …]
|
| /linux/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | overlay-sysfs.c | 362 static OVERLAY_ATTR(name, S_IRUGO, overlay_name_show, NULL); 363 static OVERLAY_ATTR(manager, S_IRUGO|S_IWUSR, 365 static OVERLAY_ATTR(input_size, S_IRUGO, overlay_input_size_show, NULL); 366 static OVERLAY_ATTR(screen_width, S_IRUGO, overlay_screen_width_show, NULL); 367 static OVERLAY_ATTR(position, S_IRUGO|S_IWUSR, 369 static OVERLAY_ATTR(output_size, S_IRUGO|S_IWUSR, 371 static OVERLAY_ATTR(enabled, S_IRUGO|S_IWUSR, 373 static OVERLAY_ATTR(global_alpha, S_IRUGO|S_IWUSR, 375 static OVERLAY_ATTR(pre_mult_alpha, S_IRUGO|S_IWUSR, 378 static OVERLAY_ATTR(zorder, S_IRUGO|S_IWUSR,
|
| H A D | display-sysfs.c | 243 static DISPLAY_ATTR(name, S_IRUGO, display_name_show, NULL); 244 static DISPLAY_ATTR(display_name, S_IRUGO, display_name_show, NULL); 245 static DISPLAY_ATTR(enabled, S_IRUGO|S_IWUSR, 247 static DISPLAY_ATTR(tear_elim, S_IRUGO|S_IWUSR, 249 static DISPLAY_ATTR(timings, S_IRUGO|S_IWUSR, 251 static DISPLAY_ATTR(rotate, S_IRUGO|S_IWUSR, 253 static DISPLAY_ATTR(mirror, S_IRUGO|S_IWUSR, 255 static DISPLAY_ATTR(wss, S_IRUGO|S_IWUSR,
|
| /linux/drivers/scsi/arcmsr/ |
| H A D | arcmsr_attr.c | 379 static DEVICE_ATTR(host_driver_version, S_IRUGO, arcmsr_attr_host_driver_version, NULL); 380 static DEVICE_ATTR(host_driver_posted_cmd, S_IRUGO, arcmsr_attr_host_driver_posted_cmd, NULL); 381 static DEVICE_ATTR(host_driver_reset, S_IRUGO, arcmsr_attr_host_driver_reset, NULL); 382 static DEVICE_ATTR(host_driver_abort, S_IRUGO, arcmsr_attr_host_driver_abort, NULL); 383 static DEVICE_ATTR(host_fw_model, S_IRUGO, arcmsr_attr_host_fw_model, NULL); 384 static DEVICE_ATTR(host_fw_version, S_IRUGO, arcmsr_attr_host_fw_version, NULL); 385 static DEVICE_ATTR(host_fw_request_len, S_IRUGO, arcmsr_attr_host_fw_request_len, NULL); 386 static DEVICE_ATTR(host_fw_numbers_queue, S_IRUGO, arcmsr_attr_host_fw_numbers_queue, NULL); 387 static DEVICE_ATTR(host_fw_sdram_size, S_IRUGO, arcmsr_attr_host_fw_sdram_size, NULL); 388 static DEVICE_ATTR(host_fw_hd_channels, S_IRUGO, arcmsr_attr_host_fw_hd_channels, NULL);
|
| /linux/drivers/scsi/snic/ |
| H A D | snic_attrs.c | 51 static DEVICE_ATTR(snic_sym_name, S_IRUGO, snic_show_sym_name, NULL); 52 static DEVICE_ATTR(snic_state, S_IRUGO, snic_show_state, NULL); 53 static DEVICE_ATTR(drv_version, S_IRUGO, snic_show_drv_version, NULL); 54 static DEVICE_ATTR(link_state, S_IRUGO, snic_show_link_state, NULL);
|