/Linux-v6.6/drivers/net/bonding/ |
D | bond_sysfs.c | 194 static DEVICE_ATTR(slaves, 0644, bonding_show_slaves, 208 static DEVICE_ATTR(mode, 0644, bonding_show_mode, bonding_sysfs_store_option); 222 static DEVICE_ATTR(xmit_hash_policy, 0644, 238 static DEVICE_ATTR(arp_validate, 0644, bonding_show_arp_validate, 254 static DEVICE_ATTR(arp_all_targets, 0644, 270 static DEVICE_ATTR(fail_over_mac, 0644, 282 static DEVICE_ATTR(arp_interval, 0644, 303 static DEVICE_ATTR(arp_ip_target, 0644, 315 static DEVICE_ATTR(arp_missed_max, 0644, 327 static DEVICE_ATTR(downdelay, 0644, [all …]
|
/Linux-v6.6/drivers/spi/ |
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-v6.6/drivers/base/ |
D | cpu.c | 142 static DEVICE_ATTR(probe, S_IWUSR, NULL, cpu_probe_store); 143 static DEVICE_ATTR(release, S_IWUSR, NULL, cpu_release_store); 241 static DEVICE_ATTR(kernel_max, 0444, print_cpus_kernel_max, NULL); 274 static DEVICE_ATTR(offline, 0444, print_cpus_offline, NULL); 293 static DEVICE_ATTR(isolated, 0444, print_cpus_isolated, NULL); 301 static DEVICE_ATTR(nohz_full, 0444, print_cpus_nohz_full, NULL); 484 static DEVICE_ATTR(modalias, 0444, print_cpu_modalias, NULL); 569 static DEVICE_ATTR(meltdown, 0444, cpu_show_meltdown, NULL); 570 static DEVICE_ATTR(spectre_v1, 0444, cpu_show_spectre_v1, NULL); 571 static DEVICE_ATTR(spectre_v2, 0444, cpu_show_spectre_v2, NULL); [all …]
|
/Linux-v6.6/drivers/scsi/qla4xxx/ |
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-v6.6/drivers/pcmcia/ |
D | socket_sysfs.c | 44 static DEVICE_ATTR(card_type, 0444, pccard_show_type, NULL); 58 static DEVICE_ATTR(card_voltage, 0444, pccard_show_voltage, NULL); 68 static DEVICE_ATTR(card_vpp, 0444, pccard_show_vpp, NULL); 78 static DEVICE_ATTR(card_vcc, 0444, pccard_show_vcc, NULL); 93 static DEVICE_ATTR(card_insert, 0200, NULL, pccard_store_insert); 125 static DEVICE_ATTR(card_pm_state, 0644, pccard_show_card_pm_state, pccard_store_card_pm_state); 140 static DEVICE_ATTR(card_eject, 0200, NULL, pccard_store_eject); 173 static DEVICE_ATTR(card_irq_mask, 0600, pccard_show_irq_mask, pccard_store_irq_mask); 201 static DEVICE_ATTR(available_resources_setup_done, 0600, pccard_show_resource, pccard_store_resourc…
|
/Linux-v6.6/drivers/scsi/lpfc/ |
D | lpfc_attr.h | 36 static DEVICE_ATTR(lpfc_##name, S_IRUGO, lpfc_##name##_show, NULL) 46 static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\ 56 static DEVICE_ATTR(lpfc_##name, 0444 | 0644,\ 65 static DEVICE_ATTR(lpfc_##name, S_IRUGO, lpfc_##name##_show, NULL) 75 static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\ 90 static DEVICE_ATTR(lpfc_##name, S_IRUGO, lpfc_##name##_show, NULL) 98 static DEVICE_ATTR(lpfc_##name, S_IRUGO, lpfc_##name##_show, NULL) 108 static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\ 117 static DEVICE_ATTR(lpfc_##name, S_IRUGO, lpfc_##name##_show, NULL) 127 static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\
|
/Linux-v6.6/drivers/char/ |
D | tlclk.c | 292 static DEVICE_ATTR(current_ref, S_IRUGO, show_current_ref, NULL); 308 static DEVICE_ATTR(telclock_version, S_IRUGO, 324 static DEVICE_ATTR(alarms, S_IRUGO, show_alarms, NULL); 344 static DEVICE_ATTR(received_ref_clk3a, (S_IWUSR|S_IWGRP), NULL, 366 static DEVICE_ATTR(received_ref_clk3b, (S_IWUSR|S_IWGRP), NULL, 388 static DEVICE_ATTR(enable_clk3b_output, (S_IWUSR|S_IWGRP), NULL, 409 static DEVICE_ATTR(enable_clk3a_output, (S_IWUSR|S_IWGRP), NULL, 430 static DEVICE_ATTR(enable_clkb1_output, (S_IWUSR|S_IWGRP), NULL, 452 static DEVICE_ATTR(enable_clka1_output, (S_IWUSR|S_IWGRP), NULL, 473 static DEVICE_ATTR(enable_clkb0_output, (S_IWUSR|S_IWGRP), NULL, [all …]
|
/Linux-v6.6/drivers/s390/net/ |
D | qeth_l2_sys.c | 111 static DEVICE_ATTR(bridge_role, 0644, qeth_bridge_port_role_show, 125 static DEVICE_ATTR(bridge_state, 0444, qeth_bridge_port_state_show, 172 static DEVICE_ATTR(bridge_hostnotify, 0644, 234 static DEVICE_ATTR(bridge_reflect_promisc, 0644, 348 static DEVICE_ATTR(flooding, 0644, qeth_vnicc_char_show, qeth_vnicc_char_store); 349 static DEVICE_ATTR(mcast_flooding, 0644, qeth_vnicc_char_show, 351 static DEVICE_ATTR(learning, 0644, qeth_vnicc_char_show, qeth_vnicc_char_store); 352 static DEVICE_ATTR(learning_timeout, 0644, qeth_vnicc_timeout_show, 354 static DEVICE_ATTR(takeover_setvmac, 0644, qeth_vnicc_char_show, 356 static DEVICE_ATTR(takeover_learning, 0644, qeth_vnicc_char_show, [all …]
|
D | qeth_core_sys.c | 38 static DEVICE_ATTR(state, 0444, qeth_dev_state_show, NULL); 48 static DEVICE_ATTR(chpid, 0444, qeth_dev_chpid_show, NULL); 58 static DEVICE_ATTR(if_name, 0444, qeth_dev_if_name_show, NULL); 68 static DEVICE_ATTR(card_type, 0444, qeth_dev_card_type_show, NULL); 92 static DEVICE_ATTR(inbuf_size, 0444, qeth_dev_inbuf_size_show, NULL); 132 static DEVICE_ATTR(portno, 0644, qeth_dev_portno_show, qeth_dev_portno_store); 150 static DEVICE_ATTR(portname, 0644, qeth_dev_portname_show, 237 static DEVICE_ATTR(priority_queueing, 0644, qeth_dev_prioqing_show, 273 static DEVICE_ATTR(buffer_count, 0644, qeth_dev_bufcnt_show, 296 static DEVICE_ATTR(recover, 0200, NULL, qeth_dev_recover_store); [all …]
|
/Linux-v6.6/drivers/dio/ |
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-v6.6/drivers/hwmon/ |
D | gl518sm.c | 419 static DEVICE_ATTR(temp1_input, 0444, show_temp_input1, NULL); 420 static DEVICE_ATTR(temp1_max, 0644, show_temp_max1, set_temp_max1); 421 static DEVICE_ATTR(temp1_max_hyst, 0644, 423 static DEVICE_ATTR(fan1_auto, 0644, show_fan_auto1, set_fan_auto1); 430 static DEVICE_ATTR(in0_input, 0444, show_in_input0, NULL); 431 static DEVICE_ATTR(in1_input, 0444, show_in_input1, NULL); 432 static DEVICE_ATTR(in2_input, 0444, show_in_input2, NULL); 433 static DEVICE_ATTR(in3_input, 0444, show_in_input3, NULL); 434 static DEVICE_ATTR(in0_min, 0644, show_in_min0, set_in_min0); 435 static DEVICE_ATTR(in1_min, 0644, show_in_min1, set_in_min1); [all …]
|
/Linux-v6.6/drivers/misc/ |
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-v6.6/drivers/scsi/snic/ |
D | snic_attrs.c | 52 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-v6.6/drivers/nvme/host/ |
D | sysfs.c | 25 static DEVICE_ATTR(reset_controller, S_IWUSR, NULL, nvme_sysfs_reset); 36 static DEVICE_ATTR(rescan_controller, S_IWUSR, NULL, nvme_sysfs_rescan); 178 static DEVICE_ATTR(field, S_IRUGO, field##_show, NULL); 191 static DEVICE_ATTR(field, S_IRUGO, field##_show, NULL); 212 static DEVICE_ATTR(delete_controller, S_IWUSR, NULL, nvme_sysfs_delete); 222 static DEVICE_ATTR(transport, S_IRUGO, nvme_sysfs_show_transport, NULL); 246 static DEVICE_ATTR(state, S_IRUGO, nvme_sysfs_show_state, NULL); 256 static DEVICE_ATTR(subsysnqn, S_IRUGO, nvme_sysfs_show_subsysnqn, NULL); 266 static DEVICE_ATTR(hostnqn, S_IRUGO, nvme_sysfs_show_hostnqn, NULL); 276 static DEVICE_ATTR(hostid, S_IRUGO, nvme_sysfs_show_hostid, NULL); [all …]
|
/Linux-v6.6/drivers/scsi/ |
D | scsi_sysfs.c | 175 static DEVICE_ATTR(name, S_IRUGO, show_##name, NULL); 196 static DEVICE_ATTR(scan, S_IWUSR, NULL, store_scan); 268 static DEVICE_ATTR(supported_mode, S_IRUGO | S_IWUSR, show_shost_supported_mode, NULL); 282 static DEVICE_ATTR(active_mode, S_IRUGO | S_IWUSR, show_shost_active_mode, NULL); 318 static DEVICE_ATTR(host_reset, S_IWUSR, NULL, store_host_reset); 370 static DEVICE_ATTR(eh_deadline, S_IRUGO | S_IWUSR, show_shost_eh_deadline, store_shost_eh_deadline); 387 static DEVICE_ATTR(host_busy, S_IRUGO, show_host_busy, NULL); 394 static DEVICE_ATTR(use_blk_mq, S_IRUGO, show_use_blk_mq, NULL); 404 static DEVICE_ATTR(nr_hw_queues, S_IRUGO, show_nr_hw_queues, NULL); 601 static DEVICE_ATTR(field, S_IRUGO, sdev_show_##field, NULL); [all …]
|
/Linux-v6.6/drivers/scsi/arcmsr/ |
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-v6.6/drivers/platform/x86/ |
D | compal-laptop.c | 674 static DEVICE_ATTR(fan1_input, S_IRUGO, fan_show, NULL); 675 static DEVICE_ATTR(temp1_input, S_IRUGO, temp_cpu, NULL); 676 static DEVICE_ATTR(temp2_input, S_IRUGO, temp_cpu_local, NULL); 677 static DEVICE_ATTR(temp3_input, S_IRUGO, temp_cpu_DTS, NULL); 678 static DEVICE_ATTR(temp4_input, S_IRUGO, temp_northbridge, NULL); 679 static DEVICE_ATTR(temp5_input, S_IRUGO, temp_vga, NULL); 680 static DEVICE_ATTR(temp6_input, S_IRUGO, temp_SKIN, NULL); 681 static DEVICE_ATTR(temp1_label, S_IRUGO, label_cpu, NULL); 682 static DEVICE_ATTR(temp2_label, S_IRUGO, label_cpu_local, NULL); 683 static DEVICE_ATTR(temp3_label, S_IRUGO, label_cpu_DTS, NULL); [all …]
|
D | hdaps.c | 444 static DEVICE_ATTR(position, 0444, hdaps_position_show, NULL); 445 static DEVICE_ATTR(variance, 0444, hdaps_variance_show, NULL); 446 static DEVICE_ATTR(temp1, 0444, hdaps_temp1_show, NULL); 447 static DEVICE_ATTR(temp2, 0444, hdaps_temp2_show, NULL); 448 static DEVICE_ATTR(keyboard_activity, 0444, hdaps_keyboard_activity_show, NULL); 449 static DEVICE_ATTR(mouse_activity, 0444, hdaps_mouse_activity_show, NULL); 450 static DEVICE_ATTR(calibrate, 0644, hdaps_calibrate_show,hdaps_calibrate_store); 451 static DEVICE_ATTR(invert, 0644, hdaps_invert_show, hdaps_invert_store);
|
/Linux-v6.6/drivers/edac/ |
D | edac_mc_sysfs.c | 596 static DEVICE_ATTR(dimm_label, S_IRUGO | S_IWUSR, 598 static DEVICE_ATTR(dimm_location, S_IRUGO, dimmdev_location_show, NULL); 599 static DEVICE_ATTR(size, S_IRUGO, dimmdev_size_show, NULL); 600 static DEVICE_ATTR(dimm_mem_type, S_IRUGO, dimmdev_mem_type_show, NULL); 601 static DEVICE_ATTR(dimm_dev_type, S_IRUGO, dimmdev_dev_type_show, NULL); 602 static DEVICE_ATTR(dimm_edac_mode, S_IRUGO, dimmdev_edac_mode_show, NULL); 603 static DEVICE_ATTR(dimm_ce_count, S_IRUGO, dimmdev_ce_count_show, NULL); 604 static DEVICE_ATTR(dimm_ue_count, S_IRUGO, dimmdev_ue_count_show, NULL); 865 static DEVICE_ATTR(reset_counters, S_IWUSR, NULL, mci_reset_counters_store); 868 static DEVICE_ATTR(mc_name, S_IRUGO, mci_ctl_name_show, NULL); [all …]
|
D | octeon_edac-lmc.c | 197 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,
|
/Linux-v6.6/drivers/scsi/pm8001/ |
D | pm8001_ctl.c | 72 DEVICE_ATTR(interface_rev, S_IRUGO, pm8001_ctl_mpi_interface_rev_show, NULL); 123 static DEVICE_ATTR(fw_version, S_IRUGO, pm8001_ctl_fw_version_show, NULL); 149 static DEVICE_ATTR(ila_version, 0444, pm8001_ctl_ila_version_show, NULL); 176 DEVICE_ATTR(inc_fw_ver, 0444, pm8001_ctl_inactive_fw_version_show, NULL); 201 static DEVICE_ATTR(max_out_io, S_IRUGO, pm8001_ctl_max_out_io_show, NULL); 225 static DEVICE_ATTR(max_devices, S_IRUGO, pm8001_ctl_max_devices_show, NULL); 250 static DEVICE_ATTR(max_sg_list, S_IRUGO, pm8001_ctl_max_sg_list_show, NULL); 295 static DEVICE_ATTR(sas_spec_support, S_IRUGO, 317 static DEVICE_ATTR(host_sas_address, S_IRUGO, 353 static DEVICE_ATTR(logging_level, S_IRUGO | S_IWUSR, [all …]
|
/Linux-v6.6/arch/sh/drivers/dma/ |
D | dma-sysfs.c | 44 static DEVICE_ATTR(devices, S_IRUGO, dma_show_devices, NULL); 80 static DEVICE_ATTR(dev_id, S_IRUGO | S_IWUSR, dma_show_dev_id, dma_store_dev_id); 95 static DEVICE_ATTR(config, S_IWUSR, NULL, dma_store_config); 113 static DEVICE_ATTR(mode, S_IRUGO | S_IWUSR, dma_show_mode, dma_store_mode); 122 static DEVICE_ATTR(field, S_IRUGO, dma_show_##field, NULL);
|
/Linux-v6.6/drivers/scsi/fnic/ |
D | fnic_attrs.c | 35 static DEVICE_ATTR(fnic_state, S_IRUGO, fnic_show_state, NULL); 36 static DEVICE_ATTR(drv_version, S_IRUGO, fnic_show_drv_version, NULL); 37 static DEVICE_ATTR(link_state, S_IRUGO, fnic_show_link_state, NULL);
|
/Linux-v6.6/drivers/net/wireless/ath/ath5k/ |
D | sysfs.c | 34 static DEVICE_ATTR(name, 0644, \ 46 static DEVICE_ATTR(name, 0444, ath5k_attr_show_##name, NULL) 69 static DEVICE_ATTR(noise_immunity_level_max, 0444, 78 static DEVICE_ATTR(firstep_level_max, 0444,
|
/Linux-v6.6/arch/powerpc/kernel/ |
D | sysfs.c | 68 static DEVICE_ATTR(smt_snooze_delay, 0644, show_smt_snooze_delay, 167 static DEVICE_ATTR(dscr, 0600, show_dscr, store_dscr); 214 static DEVICE_ATTR(dscr_default, 0600, 512 static DEVICE_ATTR(pw20_state, 0600, show_pw20_state, store_pw20_state); 513 static DEVICE_ATTR(altivec_idle, 0600, show_altivec_idle, store_altivec_idle); 526 static DEVICE_ATTR(pw20_wait_time, 0600, 529 static DEVICE_ATTR(altivec_idle_wait_time, 0600, 595 static DEVICE_ATTR(spurr, 0400, show_spurr, NULL); 596 static DEVICE_ATTR(purr, 0400, show_purr, store_purr); 597 static DEVICE_ATTR(pir, 0400, show_pir, NULL); [all …]
|