/linux-4.4.14/drivers/edac/ |
H A D | amd64_edac_dbg.c | 37 static DEVICE_ATTR(dhar, S_IRUGO, amd64_dhar_show, NULL); 38 static DEVICE_ATTR(dbam, S_IRUGO, amd64_dbam0_show, NULL); 39 static DEVICE_ATTR(topmem, S_IRUGO, amd64_top_mem_show, NULL); 40 static DEVICE_ATTR(topmem2, S_IRUGO, amd64_top_mem2_show, NULL); 41 static DEVICE_ATTR(dram_hole, S_IRUGO, amd64_hole_show, NULL);
|
H A 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,
|
H A D | amd64_edac_inj.c | 199 static DEVICE_ATTR(inject_section, S_IRUGO | S_IWUSR, 201 static DEVICE_ATTR(inject_word, S_IRUGO | S_IWUSR, 203 static DEVICE_ATTR(inject_ecc_vector, S_IRUGO | S_IWUSR, 205 static DEVICE_ATTR(inject_write, S_IWUSR, 207 static DEVICE_ATTR(inject_read, S_IWUSR,
|
H A D | edac_mc_sysfs.c | 555 static DEVICE_ATTR(dimm_label, S_IRUGO | S_IWUSR, 557 static DEVICE_ATTR(dimm_location, S_IRUGO, dimmdev_location_show, NULL); 558 static DEVICE_ATTR(size, S_IRUGO, dimmdev_size_show, NULL); 559 static DEVICE_ATTR(dimm_mem_type, S_IRUGO, dimmdev_mem_type_show, NULL); 560 static DEVICE_ATTR(dimm_dev_type, S_IRUGO, dimmdev_dev_type_show, NULL); 561 static DEVICE_ATTR(dimm_edac_mode, S_IRUGO, dimmdev_edac_mode_show, NULL); 803 static DEVICE_ATTR(reset_counters, S_IWUSR, NULL, mci_reset_counters_store); 806 static DEVICE_ATTR(mc_name, S_IRUGO, mci_ctl_name_show, NULL); 807 static DEVICE_ATTR(size_mb, S_IRUGO, mci_size_mb_show, NULL); 808 static DEVICE_ATTR(seconds_since_reset, S_IRUGO, mci_seconds_show, NULL); 809 static DEVICE_ATTR(ue_noinfo_count, S_IRUGO, mci_ue_noinfo_show, NULL); 810 static DEVICE_ATTR(ce_noinfo_count, S_IRUGO, mci_ce_noinfo_show, NULL); 811 static DEVICE_ATTR(ue_count, S_IRUGO, mci_ue_count_show, NULL); 812 static DEVICE_ATTR(ce_count, S_IRUGO, mci_ce_count_show, NULL); 813 static DEVICE_ATTR(max_location, S_IRUGO, mci_max_location_show, NULL); 816 DEVICE_ATTR(sdram_scrub_rate, 0, mci_sdram_scrub_rate_show,
|
/linux-4.4.14/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-4.4.14/drivers/spi/ |
H A D | spi-tle62x0.c | 134 static DEVICE_ATTR(status_show, S_IRUGO, tle62x0_status_show, NULL); 178 static DEVICE_ATTR(gpio1, S_IWUSR|S_IRUGO, 180 static DEVICE_ATTR(gpio2, S_IWUSR|S_IRUGO, 182 static DEVICE_ATTR(gpio3, S_IWUSR|S_IRUGO, 184 static DEVICE_ATTR(gpio4, S_IWUSR|S_IRUGO, 186 static DEVICE_ATTR(gpio5, S_IWUSR|S_IRUGO, 188 static DEVICE_ATTR(gpio6, S_IWUSR|S_IRUGO, 190 static DEVICE_ATTR(gpio7, S_IWUSR|S_IRUGO, 192 static DEVICE_ATTR(gpio8, S_IWUSR|S_IRUGO, 194 static DEVICE_ATTR(gpio9, S_IWUSR|S_IRUGO, 196 static DEVICE_ATTR(gpio10, S_IWUSR|S_IRUGO, 198 static DEVICE_ATTR(gpio11, S_IWUSR|S_IRUGO, 200 static DEVICE_ATTR(gpio12, S_IWUSR|S_IRUGO, 202 static DEVICE_ATTR(gpio13, S_IWUSR|S_IRUGO, 204 static DEVICE_ATTR(gpio14, S_IWUSR|S_IRUGO, 206 static DEVICE_ATTR(gpio15, S_IWUSR|S_IRUGO, 208 static DEVICE_ATTR(gpio16, S_IWUSR|S_IRUGO,
|
/linux-4.4.14/drivers/scsi/snic/ |
H A D | snic_attrs.c | 66 static DEVICE_ATTR(snic_sym_name, S_IRUGO, snic_show_sym_name, NULL); 67 static DEVICE_ATTR(snic_state, S_IRUGO, snic_show_state, NULL); 68 static DEVICE_ATTR(drv_version, S_IRUGO, snic_show_drv_version, NULL); 69 static DEVICE_ATTR(link_state, S_IRUGO, snic_show_link_state, NULL);
|
/linux-4.4.14/drivers/acpi/ |
H A D | bgrt.c | 24 static DEVICE_ATTR(version, S_IRUGO, show_version, NULL); 31 static DEVICE_ATTR(status, S_IRUGO, show_status, NULL); 38 static DEVICE_ATTR(type, S_IRUGO, show_type, NULL); 45 static DEVICE_ATTR(xoffset, S_IRUGO, show_xoffset, NULL); 52 static DEVICE_ATTR(yoffset, S_IRUGO, show_yoffset, NULL);
|
H A D | device_sysfs.c | 339 static DEVICE_ATTR(modalias, 0444, acpi_device_modalias_show, NULL); 355 static DEVICE_ATTR(real_power_state, 0444, real_power_state_show, NULL); 365 static DEVICE_ATTR(power_state, 0444, power_state_show, NULL); 397 static DEVICE_ATTR(eject, 0200, NULL, acpi_eject_store); 405 static DEVICE_ATTR(hid, 0444, acpi_device_hid_show, NULL); 414 static DEVICE_ATTR(uid, 0444, acpi_device_uid_show, NULL); 424 static DEVICE_ATTR(adr, 0444, acpi_device_adr_show, NULL); 433 static DEVICE_ATTR(path, 0444, acpi_device_path_show, NULL); 459 static DEVICE_ATTR(description, 0444, description_show, NULL); 474 static DEVICE_ATTR(sun, 0444, acpi_device_sun_show, NULL);
|
H A D | acpi_pad.c | 286 static DEVICE_ATTR(rrtime, S_IRUGO|S_IWUSR, 309 static DEVICE_ATTR(idlepct, S_IRUGO|S_IWUSR, 332 static DEVICE_ATTR(idlecpus, S_IRUGO|S_IWUSR,
|
H A D | dock.c | 514 static DEVICE_ATTR(docked, S_IRUGO, show_docked, NULL); 526 static DEVICE_ATTR(flags, S_IRUGO, show_flags, NULL); 546 static DEVICE_ATTR(undock, S_IWUSR, NULL, write_undock); 563 static DEVICE_ATTR(uid, S_IRUGO, show_dock_uid, NULL); 582 static DEVICE_ATTR(type, S_IRUGO, show_dock_type, NULL);
|
/linux-4.4.14/drivers/scsi/qla4xxx/ |
H A D | ql4_attr.c | 317 static DEVICE_ATTR(fw_version, S_IRUGO, qla4xxx_fw_version_show, NULL); 318 static DEVICE_ATTR(serial_num, S_IRUGO, qla4xxx_serial_num_show, NULL); 319 static DEVICE_ATTR(iscsi_version, S_IRUGO, qla4xxx_iscsi_version_show, NULL); 320 static DEVICE_ATTR(optrom_version, S_IRUGO, qla4xxx_optrom_version_show, NULL); 321 static DEVICE_ATTR(board_id, S_IRUGO, qla4xxx_board_id_show, NULL); 322 static DEVICE_ATTR(fw_state, S_IRUGO, qla4xxx_fw_state_show, NULL); 323 static DEVICE_ATTR(phy_port_cnt, S_IRUGO, qla4xxx_phy_port_cnt_show, NULL); 324 static DEVICE_ATTR(phy_port_num, S_IRUGO, qla4xxx_phy_port_num_show, NULL); 325 static DEVICE_ATTR(iscsi_func_cnt, S_IRUGO, qla4xxx_iscsi_func_cnt_show, NULL); 326 static DEVICE_ATTR(hba_model, S_IRUGO, qla4xxx_hba_model_show, NULL); 327 static DEVICE_ATTR(fw_timestamp, S_IRUGO, qla4xxx_fw_timestamp_show, NULL); 328 static DEVICE_ATTR(fw_build_user, S_IRUGO, qla4xxx_fw_build_user_show, NULL); 329 static DEVICE_ATTR(fw_ext_timestamp, S_IRUGO, qla4xxx_fw_ext_timestamp_show, 331 static DEVICE_ATTR(fw_load_src, S_IRUGO, qla4xxx_fw_load_src_show, NULL); 332 static DEVICE_ATTR(fw_uptime, S_IRUGO, qla4xxx_fw_uptime_show, NULL);
|
/linux-4.4.14/drivers/pcmcia/ |
H A D | socket_sysfs.c | 47 static DEVICE_ATTR(card_type, 0444, pccard_show_type, NULL); 61 static DEVICE_ATTR(card_voltage, 0444, pccard_show_voltage, NULL); 71 static DEVICE_ATTR(card_vpp, 0444, pccard_show_vpp, NULL); 81 static DEVICE_ATTR(card_vcc, 0444, pccard_show_vcc, NULL); 96 static DEVICE_ATTR(card_insert, 0200, NULL, pccard_store_insert); 128 static DEVICE_ATTR(card_pm_state, 0644, pccard_show_card_pm_state, pccard_store_card_pm_state); 143 static DEVICE_ATTR(card_eject, 0200, NULL, pccard_store_eject); 176 static DEVICE_ATTR(card_irq_mask, 0600, pccard_show_irq_mask, pccard_store_irq_mask); 204 static DEVICE_ATTR(available_resources_setup_done, 0600, pccard_show_resource, pccard_store_resource);
|
/linux-4.4.14/drivers/net/bonding/ |
H A D | bond_sysfs.c | 206 static DEVICE_ATTR(slaves, S_IRUGO | S_IWUSR, bonding_show_slaves, 220 static DEVICE_ATTR(mode, S_IRUGO | S_IWUSR, 235 static DEVICE_ATTR(xmit_hash_policy, S_IRUGO | S_IWUSR, 251 static DEVICE_ATTR(arp_validate, S_IRUGO | S_IWUSR, bonding_show_arp_validate, 267 static DEVICE_ATTR(arp_all_targets, S_IRUGO | S_IWUSR, 283 static DEVICE_ATTR(fail_over_mac, S_IRUGO | S_IWUSR, 295 static DEVICE_ATTR(arp_interval, S_IRUGO | S_IWUSR, 316 static DEVICE_ATTR(arp_ip_target, S_IRUGO | S_IWUSR, 328 static DEVICE_ATTR(downdelay, S_IRUGO | S_IWUSR, 340 static DEVICE_ATTR(updelay, S_IRUGO | S_IWUSR, 355 static DEVICE_ATTR(lacp_rate, S_IRUGO | S_IWUSR, 366 static DEVICE_ATTR(min_links, S_IRUGO | S_IWUSR, 380 static DEVICE_ATTR(ad_select, S_IRUGO | S_IWUSR, 391 static DEVICE_ATTR(num_grat_arp, S_IRUGO | S_IWUSR, 393 static DEVICE_ATTR(num_unsol_na, S_IRUGO | S_IWUSR, 405 static DEVICE_ATTR(miimon, S_IRUGO | S_IWUSR, 425 static DEVICE_ATTR(primary, S_IRUGO | S_IWUSR, 442 static DEVICE_ATTR(primary_reselect, S_IRUGO | S_IWUSR, 454 static DEVICE_ATTR(use_carrier, S_IRUGO | S_IWUSR, 475 static DEVICE_ATTR(active_slave, S_IRUGO | S_IWUSR, 488 static DEVICE_ATTR(mii_status, S_IRUGO, bonding_show_mii_status, NULL); 507 static DEVICE_ATTR(ad_aggregator, S_IRUGO, bonding_show_ad_aggregator, NULL); 527 static DEVICE_ATTR(ad_num_ports, S_IRUGO, bonding_show_ad_num_ports, NULL); 547 static DEVICE_ATTR(ad_actor_key, S_IRUGO, bonding_show_ad_actor_key, NULL); 567 static DEVICE_ATTR(ad_partner_key, S_IRUGO, bonding_show_ad_partner_key, NULL); 586 static DEVICE_ATTR(ad_partner_mac, S_IRUGO, bonding_show_ad_partner_mac, NULL); 619 static DEVICE_ATTR(queue_id, S_IRUGO | S_IWUSR, bonding_show_queue_id, 632 static DEVICE_ATTR(all_slaves_active, S_IRUGO | S_IWUSR, 644 static DEVICE_ATTR(resend_igmp, S_IRUGO | S_IWUSR, 656 static DEVICE_ATTR(lp_interval, S_IRUGO | S_IWUSR, 666 static DEVICE_ATTR(tlb_dynamic_lb, S_IRUGO | S_IWUSR, 678 static DEVICE_ATTR(packets_per_slave, S_IRUGO | S_IWUSR, 692 static DEVICE_ATTR(ad_actor_sys_prio, S_IRUGO | S_IWUSR, 707 static DEVICE_ATTR(ad_actor_system, S_IRUGO | S_IWUSR, 721 static DEVICE_ATTR(ad_user_port_key, S_IRUGO | S_IWUSR,
|
/linux-4.4.14/net/atm/ |
H A D | atm_sysfs.c | 98 static DEVICE_ATTR(address, S_IRUGO, show_address, NULL); 99 static DEVICE_ATTR(atmaddress, S_IRUGO, show_atmaddress, NULL); 100 static DEVICE_ATTR(atmindex, S_IRUGO, show_atmindex, NULL); 101 static DEVICE_ATTR(carrier, S_IRUGO, show_carrier, NULL); 102 static DEVICE_ATTR(type, S_IRUGO, show_type, NULL); 103 static DEVICE_ATTR(link_rate, S_IRUGO, show_link_rate, NULL);
|
/linux-4.4.14/drivers/ide/ |
H A D | ide-sysfs.c | 68 static DEVICE_ATTR(serial, 0400, serial_show, NULL); 70 static DEVICE_ATTR(unload_heads, 0644, ide_park_show, ide_park_store); 106 static DEVICE_ATTR(delete_devices, S_IWUSR, NULL, store_delete_devices); 123 static DEVICE_ATTR(scan, S_IWUSR, NULL, store_scan);
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
H A D | sysfs.c | 33 static DEVICE_ATTR(name, S_IRUGO | S_IWUSR, \ 45 static DEVICE_ATTR(name, S_IRUGO, ath5k_attr_show_##name, NULL) 68 static DEVICE_ATTR(noise_immunity_level_max, S_IRUGO, 77 static DEVICE_ATTR(firstep_level_max, S_IRUGO,
|
/linux-4.4.14/drivers/zorro/ |
H A D | zorro-sysfs.c | 34 static DEVICE_ATTR(name, S_IRUGO, show_##name, NULL); 50 static DEVICE_ATTR(serial, S_IRUGO, show_serial, NULL); 62 static DEVICE_ATTR(resource, S_IRUGO, zorro_show_resource, NULL); 100 static DEVICE_ATTR(modalias, S_IRUGO, modalias_show, NULL);
|
/linux-4.4.14/drivers/scsi/fnic/ |
H A D | fnic_attrs.c | 47 static DEVICE_ATTR(fnic_state, S_IRUGO, fnic_show_state, NULL); 48 static DEVICE_ATTR(drv_version, S_IRUGO, fnic_show_drv_version, NULL); 49 static DEVICE_ATTR(link_state, S_IRUGO, fnic_show_link_state, NULL);
|
/linux-4.4.14/arch/sh/drivers/dma/ |
H A D | dma-sysfs.c | 47 static DEVICE_ATTR(devices, S_IRUGO, dma_show_devices, NULL); 77 static DEVICE_ATTR(dev_id, S_IRUGO | S_IWUSR, dma_show_dev_id, dma_store_dev_id); 92 static DEVICE_ATTR(config, S_IWUSR, NULL, dma_store_config); 110 static DEVICE_ATTR(mode, S_IRUGO | S_IWUSR, dma_show_mode, dma_store_mode); 119 static DEVICE_ATTR(field, S_IRUGO, dma_show_##field, NULL);
|
/linux-4.4.14/drivers/firmware/ |
H A D | dcdbas.h | 58 DEVICE_ATTR(_name,0600,_name##_show,_name##_store); 61 DEVICE_ATTR(_name,0400,_name##_show,NULL); 64 DEVICE_ATTR(_name,0200,NULL,_name##_store);
|
/linux-4.4.14/arch/mips/txx9/generic/ |
H A D | 7segled.c | 58 static DEVICE_ATTR(ascii, 0200, NULL, ascii_store); 59 static DEVICE_ATTR(raw, 0200, NULL, raw_store); 79 static DEVICE_ATTR(map_seg7, 0600, map_seg7_show, map_seg7_store);
|
/linux-4.4.14/drivers/mmc/core/ |
H A D | bus.h | 20 static DEVICE_ATTR(name, S_IRUGO, mmc_##name##_show, NULL)
|
/linux-4.4.14/drivers/base/ |
H A D | soc.c | 34 static DEVICE_ATTR(machine, S_IRUGO, soc_info_get, NULL); 35 static DEVICE_ATTR(family, S_IRUGO, soc_info_get, NULL); 36 static DEVICE_ATTR(soc_id, S_IRUGO, soc_info_get, NULL); 37 static DEVICE_ATTR(revision, S_IRUGO, soc_info_get, NULL);
|
H A D | cpu.c | 120 static DEVICE_ATTR(probe, S_IWUSR, NULL, cpu_probe_store); 121 static DEVICE_ATTR(release, S_IWUSR, NULL, cpu_release_store); 159 static DEVICE_ATTR(crash_notes, 0400, show_crash_notes, NULL); 170 static DEVICE_ATTR(crash_notes_size, 0400, show_crash_notes_size, NULL); 234 static DEVICE_ATTR(kernel_max, 0444, print_cpus_kernel_max, NULL); 267 static DEVICE_ATTR(offline, 0444, print_cpus_offline, NULL); 278 static DEVICE_ATTR(isolated, 0444, print_cpus_isolated, NULL); 290 static DEVICE_ATTR(nohz_full, 0444, print_cpus_nohz_full, NULL); 446 static DEVICE_ATTR(modalias, 0444, print_cpu_modalias, NULL);
|
H A D | memory.c | 421 static DEVICE_ATTR(valid_zones, 0444, show_valid_zones, NULL); 424 static DEVICE_ATTR(phys_index, 0444, show_mem_start_phys_index, NULL); 425 static DEVICE_ATTR(state, 0644, show_mem_state, store_mem_state); 426 static DEVICE_ATTR(phys_device, 0444, show_phys_device, NULL); 427 static DEVICE_ATTR(removable, 0444, show_mem_removable, NULL); 439 static DEVICE_ATTR(block_size_bytes, 0444, print_block_size, NULL); 479 static DEVICE_ATTR(probe, S_IWUSR, NULL, memory_probe_store); 523 static DEVICE_ATTR(soft_offline_page, S_IWUSR, NULL, store_soft_offline_page); 524 static DEVICE_ATTR(hard_offline_page, S_IWUSR, NULL, store_hard_offline_page);
|
H A D | node.c | 50 static DEVICE_ATTR(cpumap, S_IRUGO, node_read_cpumask, NULL); 51 static DEVICE_ATTR(cpulist, S_IRUGO, node_read_cpulist, NULL); 146 static DEVICE_ATTR(meminfo, S_IRUGO, node_read_meminfo, NULL); 165 static DEVICE_ATTR(numastat, S_IRUGO, node_read_numastat, NULL); 180 static DEVICE_ATTR(vmstat, S_IRUGO, node_read_vmstat, NULL); 201 static DEVICE_ATTR(distance, S_IRUGO, node_read_distance, NULL);
|
/linux-4.4.14/drivers/staging/dgnc/ |
H A D | dgnc_sysfs.c | 126 static DEVICE_ATTR(vpd, S_IRUSR, dgnc_vpd_show, NULL); 143 static DEVICE_ATTR(serial_number, S_IRUSR, dgnc_serial_number_show, NULL); 161 static DEVICE_ATTR(ports_state, S_IRUSR, dgnc_ports_state_show, NULL); 179 static DEVICE_ATTR(ports_baud, S_IRUSR, dgnc_ports_baud_show, NULL); 209 static DEVICE_ATTR(ports_msignals, S_IRUSR, dgnc_ports_msignals_show, NULL); 227 static DEVICE_ATTR(ports_iflag, S_IRUSR, dgnc_ports_iflag_show, NULL); 245 static DEVICE_ATTR(ports_cflag, S_IRUSR, dgnc_ports_cflag_show, NULL); 263 static DEVICE_ATTR(ports_oflag, S_IRUSR, dgnc_ports_oflag_show, NULL); 281 static DEVICE_ATTR(ports_lflag, S_IRUSR, dgnc_ports_lflag_show, NULL); 300 static DEVICE_ATTR(ports_digi_flag, S_IRUSR, dgnc_ports_digi_flag_show, NULL); 318 static DEVICE_ATTR(ports_rxcount, S_IRUSR, dgnc_ports_rxcount_show, NULL); 336 static DEVICE_ATTR(ports_txcount, S_IRUSR, dgnc_ports_txcount_show, NULL); 403 static DEVICE_ATTR(state, S_IRUSR, dgnc_tty_state_show, NULL); 428 static DEVICE_ATTR(baud, S_IRUSR, dgnc_tty_baud_show, NULL); 462 static DEVICE_ATTR(msignals, S_IRUSR, dgnc_tty_msignals_show, NULL); 487 static DEVICE_ATTR(iflag, S_IRUSR, dgnc_tty_iflag_show, NULL); 512 static DEVICE_ATTR(cflag, S_IRUSR, dgnc_tty_cflag_show, NULL); 537 static DEVICE_ATTR(oflag, S_IRUSR, dgnc_tty_oflag_show, NULL); 562 static DEVICE_ATTR(lflag, S_IRUSR, dgnc_tty_lflag_show, NULL); 587 static DEVICE_ATTR(digi_flag, S_IRUSR, dgnc_tty_digi_flag_show, NULL); 612 static DEVICE_ATTR(rxcount, S_IRUSR, dgnc_tty_rxcount_show, NULL); 637 static DEVICE_ATTR(txcount, S_IRUSR, dgnc_tty_txcount_show, NULL); 664 static DEVICE_ATTR(custom_name, S_IRUSR, dgnc_tty_name_show, NULL);
|
/linux-4.4.14/drivers/base/power/ |
H A D | sysfs.c | 128 static DEVICE_ATTR(control, 0644, control_show, control_store); 141 static DEVICE_ATTR(runtime_active_time, 0444, rtpm_active_time_show, NULL); 155 static DEVICE_ATTR(runtime_suspended_time, 0444, rtpm_suspended_time_show, NULL); 187 static DEVICE_ATTR(runtime_status, 0444, rtpm_status_show, NULL); 214 static DEVICE_ATTR(autosuspend_delay_ms, 0644, autosuspend_delay_ms_show, 242 static DEVICE_ATTR(pm_qos_resume_latency_us, 0644, 276 static DEVICE_ATTR(pm_qos_latency_tolerance_us, 0644, 303 static DEVICE_ATTR(pm_qos_no_power_off, 0644, 330 static DEVICE_ATTR(pm_qos_remote_wakeup, 0644, 369 static DEVICE_ATTR(wakeup, 0644, wake_show, wake_store); 386 static DEVICE_ATTR(wakeup_count, 0444, wakeup_count_show, NULL); 403 static DEVICE_ATTR(wakeup_active_count, 0444, wakeup_active_count_show, NULL); 421 static DEVICE_ATTR(wakeup_abort_count, 0444, wakeup_abort_count_show, NULL); 439 static DEVICE_ATTR(wakeup_expire_count, 0444, wakeup_expire_count_show, NULL); 456 static DEVICE_ATTR(wakeup_active, 0444, wakeup_active_show, NULL); 473 static DEVICE_ATTR(wakeup_total_time_ms, 0444, wakeup_total_time_show, NULL); 490 static DEVICE_ATTR(wakeup_max_time_ms, 0444, wakeup_max_time_show, NULL); 507 static DEVICE_ATTR(wakeup_last_time_ms, 0444, wakeup_last_time_show, NULL); 526 static DEVICE_ATTR(wakeup_prevent_sleep_time_ms, 0444, 557 static DEVICE_ATTR(runtime_usage, 0444, rtpm_usagecount_show, NULL); 558 static DEVICE_ATTR(runtime_active_kids, 0444, rtpm_children_show, NULL); 559 static DEVICE_ATTR(runtime_enabled, 0444, rtpm_enabled_show, NULL); 589 static DEVICE_ATTR(async, 0644, async_show, async_store);
|
/linux-4.4.14/drivers/misc/ |
H A D | ics932s401.c | 343 static DEVICE_ATTR(spread_enabled, S_IRUGO, show_spread_enabled, NULL); 344 static DEVICE_ATTR(cpu_clock_selection, S_IRUGO, show_cpu_clock_sel, NULL); 345 static DEVICE_ATTR(cpu_clock, S_IRUGO, show_cpu_clock, NULL); 346 static DEVICE_ATTR(src_clock_selection, S_IRUGO, show_src_clock_sel, NULL); 347 static DEVICE_ATTR(src_clock, S_IRUGO, show_src_clock, NULL); 348 static DEVICE_ATTR(pci_clock_selection, S_IRUGO, show_pci_clock_sel, NULL); 349 static DEVICE_ATTR(pci_clock, S_IRUGO, show_pci_clock, NULL); 350 static DEVICE_ATTR(usb_clock, S_IRUGO, show_value, NULL); 351 static DEVICE_ATTR(ref_clock, S_IRUGO, show_value, NULL); 352 static DEVICE_ATTR(cpu_spread, S_IRUGO, show_spread, NULL); 353 static DEVICE_ATTR(src_spread, S_IRUGO, show_spread, NULL);
|
H A D | hmc6352.c | 98 static DEVICE_ATTR(heading0_input, S_IRUGO, compass_heading_data_show, NULL); 99 static DEVICE_ATTR(calibration, S_IWUSR, NULL, compass_calibration_store); 100 static DEVICE_ATTR(power_state, S_IWUSR, NULL, compass_power_mode_store);
|
H A D | bh1770glc.c | 1113 static DEVICE_ATTR(prox0_raw_en, S_IRUGO | S_IWUSR, bh1770_prox_enable_show, 1115 static DEVICE_ATTR(prox0_thresh_above1_value, S_IRUGO | S_IWUSR, 1118 static DEVICE_ATTR(prox0_thresh_above0_value, S_IRUGO | S_IWUSR, 1121 static DEVICE_ATTR(prox0_raw, S_IRUGO, bh1770_prox_result_show, NULL); 1122 static DEVICE_ATTR(prox0_sensor_range, S_IRUGO, bh1770_prox_range_show, NULL); 1123 static DEVICE_ATTR(prox0_thresh_above_count, S_IRUGO | S_IWUSR, 1126 static DEVICE_ATTR(prox0_rate_above, S_IRUGO | S_IWUSR, 1129 static DEVICE_ATTR(prox0_rate_below, S_IRUGO | S_IWUSR, 1132 static DEVICE_ATTR(prox0_rate_avail, S_IRUGO, bh1770_get_prox_rate_avail, NULL); 1134 static DEVICE_ATTR(lux0_calibscale, S_IRUGO | S_IWUSR, bh1770_lux_calib_show, 1136 static DEVICE_ATTR(lux0_calibscale_default, S_IRUGO, 1139 static DEVICE_ATTR(lux0_input, S_IRUGO, bh1770_lux_result_show, NULL); 1140 static DEVICE_ATTR(lux0_sensor_range, S_IRUGO, bh1770_lux_range_show, NULL); 1141 static DEVICE_ATTR(lux0_rate, S_IRUGO | S_IWUSR, bh1770_get_lux_rate, 1143 static DEVICE_ATTR(lux0_rate_avail, S_IRUGO, bh1770_get_lux_rate_avail, NULL); 1144 static DEVICE_ATTR(lux0_thresh_above_value, S_IRUGO | S_IWUSR, 1147 static DEVICE_ATTR(lux0_thresh_below_value, S_IRUGO | S_IWUSR, 1150 static DEVICE_ATTR(chip_id, S_IRUGO, bh1770_chip_id_show, NULL); 1151 static DEVICE_ATTR(power_state, S_IRUGO | S_IWUSR, bh1770_power_state_show,
|
H A D | apds990x.c | 666 static DEVICE_ATTR(lux0_input, S_IRUGO, apds990x_lux_show, NULL); 674 static DEVICE_ATTR(lux0_sensor_range, S_IRUGO, apds990x_lux_range_show, NULL); 682 static DEVICE_ATTR(lux0_calibscale_default, S_IRUGO, 710 static DEVICE_ATTR(lux0_calibscale, S_IRUGO | S_IWUSR, apds990x_lux_calib_show, 777 static DEVICE_ATTR(lux0_rate_avail, S_IRUGO, apds990x_rate_avail, NULL); 779 static DEVICE_ATTR(lux0_rate, S_IRUGO | S_IWUSR, apds990x_rate_show, 796 static DEVICE_ATTR(prox0_raw, S_IRUGO, apds990x_prox_show, NULL); 804 static DEVICE_ATTR(prox0_sensor_range, S_IRUGO, apds990x_prox_range_show, NULL); 841 static DEVICE_ATTR(prox0_raw_en, S_IRUGO | S_IWUSR, apds990x_prox_enable_show, 869 static DEVICE_ATTR(prox0_reporting_mode, S_IRUGO | S_IWUSR, 879 static DEVICE_ATTR(prox0_reporting_mode_avail, S_IRUGO | S_IWUSR, 945 static DEVICE_ATTR(lux0_thresh_above_value, S_IRUGO | S_IWUSR, 949 static DEVICE_ATTR(lux0_thresh_below_value, S_IRUGO | S_IWUSR, 984 static DEVICE_ATTR(prox0_thresh_above_value, S_IRUGO | S_IWUSR, 1021 static DEVICE_ATTR(power_state, S_IRUGO | S_IWUSR, 1032 static DEVICE_ATTR(chip_id, S_IRUGO, apds990x_chip_id_show, NULL);
|
H A D | isl29003.c | 224 static DEVICE_ATTR(range, S_IWUSR | S_IRUGO, 259 static DEVICE_ATTR(resolution, S_IWUSR | S_IRUGO, 291 static DEVICE_ATTR(mode, S_IWUSR | S_IRUGO, 323 static DEVICE_ATTR(power_state, S_IWUSR | S_IRUGO, 340 static DEVICE_ATTR(lux, S_IRUGO, isl29003_show_lux, NULL);
|
H A D | bh1780gli.c | 133 static DEVICE_ATTR(lux, S_IRUGO, bh1780_show_lux, NULL); 135 static DEVICE_ATTR(power_state, S_IWUSR | S_IRUGO,
|
H A D | isl29020.c | 138 static DEVICE_ATTR(lux0_sensor_range, S_IRUGO | S_IWUSR, 140 static DEVICE_ATTR(lux0_input, S_IRUGO, als_lux_input_data_show, NULL);
|
H A D | ti_dac7512.c | 45 static DEVICE_ATTR(value, S_IWUSR, NULL, dac7512_store_val);
|
H A D | tsl2550.c | 219 static DEVICE_ATTR(power_state, S_IWUSR | S_IRUGO, 254 static DEVICE_ATTR(operating_mode, S_IWUSR | S_IRUGO, 301 static DEVICE_ATTR(lux1_input, S_IRUGO,
|
H A D | enclosure.c | 645 static DEVICE_ATTR(fault, S_IRUGO | S_IWUSR, get_component_fault, 647 static DEVICE_ATTR(status, S_IRUGO | S_IWUSR, get_component_status, 649 static DEVICE_ATTR(active, S_IRUGO | S_IWUSR, get_component_active, 651 static DEVICE_ATTR(locate, S_IRUGO | S_IWUSR, get_component_locate, 653 static DEVICE_ATTR(power_status, S_IRUGO | S_IWUSR, get_component_power_status, 655 static DEVICE_ATTR(type, S_IRUGO, get_component_type, NULL); 656 static DEVICE_ATTR(slot, S_IRUGO, get_component_slot, NULL);
|
H A D | apds9802als.c | 190 static DEVICE_ATTR(lux0_sensor_range, S_IRUGO | S_IWUSR, 192 static DEVICE_ATTR(lux0_input, S_IRUGO, als_lux0_input_data_show, NULL);
|
H A D | bmp085.c | 332 static DEVICE_ATTR(oversampling, S_IWUSR | S_IRUGO, 349 static DEVICE_ATTR(temp0_input, S_IRUGO, show_temperature, NULL); 365 static DEVICE_ATTR(pressure0_input, S_IRUGO, show_pressure, NULL);
|
/linux-4.4.14/drivers/char/ |
H A D | tlclk.c | 293 static DEVICE_ATTR(current_ref, S_IRUGO, show_current_ref, NULL); 309 static DEVICE_ATTR(telclock_version, S_IRUGO, 325 static DEVICE_ATTR(alarms, S_IRUGO, show_alarms, NULL); 345 static DEVICE_ATTR(received_ref_clk3a, (S_IWUSR|S_IWGRP), NULL, 367 static DEVICE_ATTR(received_ref_clk3b, (S_IWUSR|S_IWGRP), NULL, 389 static DEVICE_ATTR(enable_clk3b_output, (S_IWUSR|S_IWGRP), NULL, 410 static DEVICE_ATTR(enable_clk3a_output, (S_IWUSR|S_IWGRP), NULL, 431 static DEVICE_ATTR(enable_clkb1_output, (S_IWUSR|S_IWGRP), NULL, 453 static DEVICE_ATTR(enable_clka1_output, (S_IWUSR|S_IWGRP), NULL, 474 static DEVICE_ATTR(enable_clkb0_output, (S_IWUSR|S_IWGRP), NULL, 495 static DEVICE_ATTR(enable_clka0_output, (S_IWUSR|S_IWGRP), NULL, 537 static DEVICE_ATTR(select_amcb2_transmit_clock, (S_IWUSR|S_IWGRP), NULL, 578 static DEVICE_ATTR(select_amcb1_transmit_clock, (S_IWUSR|S_IWGRP), NULL, 599 static DEVICE_ATTR(select_redundant_clock, (S_IWUSR|S_IWGRP), NULL, 620 static DEVICE_ATTR(select_ref_frequency, (S_IWUSR|S_IWGRP), NULL, 641 static DEVICE_ATTR(filter_select, (S_IWUSR|S_IWGRP), NULL, store_filter_select); 661 static DEVICE_ATTR(hardware_switching_mode, (S_IWUSR|S_IWGRP), NULL, 682 static DEVICE_ATTR(hardware_switching, (S_IWUSR|S_IWGRP), NULL, 702 static DEVICE_ATTR(refalign, (S_IWUSR|S_IWGRP), NULL, store_refalign); 722 static DEVICE_ATTR(mode_select, (S_IWUSR|S_IWGRP), NULL, store_mode_select); 742 static DEVICE_ATTR(reset, (S_IWUSR|S_IWGRP), NULL, store_reset);
|
/linux-4.4.14/drivers/hwmon/ |
H A D | vexpress.c | 95 static DEVICE_ATTR(in1_label, S_IRUGO, vexpress_hwmon_label_show, NULL); 116 static DEVICE_ATTR(curr1_label, S_IRUGO, vexpress_hwmon_label_show, NULL); 136 static DEVICE_ATTR(temp1_label, S_IRUGO, vexpress_hwmon_label_show, NULL); 156 static DEVICE_ATTR(power1_label, S_IRUGO, vexpress_hwmon_label_show, NULL); 176 static DEVICE_ATTR(energy1_label, S_IRUGO, vexpress_hwmon_label_show, NULL);
|
H A D | gl518sm.c | 429 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp_input1, NULL); 430 static DEVICE_ATTR(temp1_max, S_IWUSR|S_IRUGO, show_temp_max1, set_temp_max1); 431 static DEVICE_ATTR(temp1_max_hyst, S_IWUSR|S_IRUGO, 433 static DEVICE_ATTR(fan1_auto, S_IWUSR|S_IRUGO, show_fan_auto1, set_fan_auto1); 444 static DEVICE_ATTR(in0_input, S_IRUGO, show_in_input0, NULL); 445 static DEVICE_ATTR(in1_input, S_IRUGO, show_in_input1, NULL); 446 static DEVICE_ATTR(in2_input, S_IRUGO, show_in_input2, NULL); 447 static DEVICE_ATTR(in3_input, S_IRUGO, show_in_input3, NULL); 448 static DEVICE_ATTR(in0_min, S_IWUSR|S_IRUGO, show_in_min0, set_in_min0); 449 static DEVICE_ATTR(in1_min, S_IWUSR|S_IRUGO, show_in_min1, set_in_min1); 450 static DEVICE_ATTR(in2_min, S_IWUSR|S_IRUGO, show_in_min2, set_in_min2); 451 static DEVICE_ATTR(in3_min, S_IWUSR|S_IRUGO, show_in_min3, set_in_min3); 452 static DEVICE_ATTR(in0_max, S_IWUSR|S_IRUGO, show_in_max0, set_in_max0); 453 static DEVICE_ATTR(in1_max, S_IWUSR|S_IRUGO, show_in_max1, set_in_max1); 454 static DEVICE_ATTR(in2_max, S_IWUSR|S_IRUGO, show_in_max2, set_in_max2); 455 static DEVICE_ATTR(in3_max, S_IWUSR|S_IRUGO, show_in_max3, set_in_max3); 456 static DEVICE_ATTR(alarms, S_IRUGO, show_alarms, NULL); 457 static DEVICE_ATTR(beep_enable, S_IWUSR|S_IRUGO, 459 static DEVICE_ATTR(beep_mask, S_IWUSR|S_IRUGO,
|
H A D | g760a.c | 160 static DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, get_pwm, set_pwm); 161 static DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL); 162 static DEVICE_ATTR(fan1_alarm, S_IRUGO, show_fan_alarm, NULL);
|
H A D | gpio-fan.c | 93 static DEVICE_ATTR(fan1_alarm, S_IRUGO, show_fan_alarm, NULL); 316 static DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm); 317 static DEVICE_ATTR(pwm1_enable, S_IRUGO | S_IWUSR, 319 static DEVICE_ATTR(pwm1_mode, S_IRUGO, show_pwm_mode, NULL); 320 static DEVICE_ATTR(fan1_min, S_IRUGO, show_rpm_min, NULL); 321 static DEVICE_ATTR(fan1_max, S_IRUGO, show_rpm_max, NULL); 322 static DEVICE_ATTR(fan1_input, S_IRUGO, show_rpm, NULL); 323 static DEVICE_ATTR(fan1_target, S_IRUGO | S_IWUSR, show_rpm, set_rpm);
|
H A D | jz4740-hwmon.c | 91 static DEVICE_ATTR(name, S_IRUGO, jz4740_hwmon_show_name, NULL); 92 static DEVICE_ATTR(in0_input, S_IRUGO, jz4740_hwmon_read_adcin, NULL);
|
H A D | pcf8591.c | 98 static DEVICE_ATTR(in##channel##_input, S_IRUGO, \ 135 static DEVICE_ATTR(out0_output, S_IWUSR | S_IRUGO, 168 static DEVICE_ATTR(out0_enable, S_IWUSR | S_IRUGO,
|
H A D | atxp1.c | 157 static DEVICE_ATTR(cpu0_vid, S_IRUGO | S_IWUSR, atxp1_showvcore, 204 static DEVICE_ATTR(gpio1, S_IRUGO | S_IWUSR, atxp1_showgpio1, atxp1_storegpio1); 249 static DEVICE_ATTR(gpio2, S_IRUGO | S_IWUSR, atxp1_showgpio2, atxp1_storegpio2);
|
H A D | adm1026.c | 984 static DEVICE_ATTR(temp##offset##_crit_enable, S_IRUGO | S_IWUSR, \ 1055 static DEVICE_ATTR(analog_out, S_IRUGO | S_IWUSR, show_analog_out_reg, 1068 static DEVICE_ATTR(cpu0_vid, S_IRUGO, show_vid_reg, NULL); 1095 static DEVICE_ATTR(vrm, S_IRUGO | S_IWUSR, show_vrm_reg, store_vrm_reg); 1104 static DEVICE_ATTR(alarms, S_IRUGO, show_alarms_reg, NULL); 1181 static DEVICE_ATTR(alarm_mask, S_IRUGO | S_IWUSR, show_alarm_mask, 1216 static DEVICE_ATTR(gpio, S_IRUGO | S_IWUSR, show_gpio, set_gpio); 1249 static DEVICE_ATTR(gpio_mask, S_IRUGO | S_IWUSR, show_gpio_mask, set_gpio_mask); 1361 static DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm_reg, set_pwm_reg); 1362 static DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm_reg, set_pwm_reg); 1363 static DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm_reg, set_pwm_reg); 1364 static DEVICE_ATTR(pwm1_enable, S_IRUGO | S_IWUSR, show_pwm_enable, 1366 static DEVICE_ATTR(pwm2_enable, S_IRUGO | S_IWUSR, show_pwm_enable, 1368 static DEVICE_ATTR(pwm3_enable, S_IRUGO | S_IWUSR, show_pwm_enable, 1370 static DEVICE_ATTR(temp1_auto_point1_pwm, S_IRUGO | S_IWUSR, 1372 static DEVICE_ATTR(temp2_auto_point1_pwm, S_IRUGO | S_IWUSR, 1374 static DEVICE_ATTR(temp3_auto_point1_pwm, S_IRUGO | S_IWUSR, 1377 static DEVICE_ATTR(temp1_auto_point2_pwm, S_IRUGO, show_auto_pwm_max, NULL); 1378 static DEVICE_ATTR(temp2_auto_point2_pwm, S_IRUGO, show_auto_pwm_max, NULL); 1379 static DEVICE_ATTR(temp3_auto_point2_pwm, S_IRUGO, show_auto_pwm_max, NULL);
|
H A D | ad7314.c | 97 static DEVICE_ATTR(name, S_IRUGO, ad7314_show_name, NULL);
|
H A D | g762.c | 1004 static DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, get_pwm, set_pwm); 1005 static DEVICE_ATTR(pwm1_mode, S_IWUSR | S_IRUGO, get_pwm_mode, set_pwm_mode); 1006 static DEVICE_ATTR(pwm1_enable, S_IWUSR | S_IRUGO, 1008 static DEVICE_ATTR(fan1_input, S_IRUGO, get_fan_rpm, NULL); 1009 static DEVICE_ATTR(fan1_alarm, S_IRUGO, get_fan_ooc, NULL); 1010 static DEVICE_ATTR(fan1_fault, S_IRUGO, get_fan_failure, NULL); 1011 static DEVICE_ATTR(fan1_target, S_IWUSR | S_IRUGO, 1013 static DEVICE_ATTR(fan1_div, S_IWUSR | S_IRUGO, get_fan_div, set_fan_div); 1014 static DEVICE_ATTR(fan1_pulses, S_IWUSR | S_IRUGO,
|
H A D | i5500_temp.c | 86 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL);
|
H A D | vt8231.c | 345 static DEVICE_ATTR(in5_input, S_IRUGO, show_in5, NULL); 346 static DEVICE_ATTR(in5_min, S_IRUGO | S_IWUSR, show_in5_min, set_in5_min); 347 static DEVICE_ATTR(in5_max, S_IRUGO | S_IWUSR, show_in5_max, set_in5_max); 484 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp0, NULL); 485 static DEVICE_ATTR(temp1_max, S_IRUGO | S_IWUSR, show_temp0_max, set_temp0_max); 486 static DEVICE_ATTR(temp1_max_hyst, S_IRUGO | S_IWUSR, show_temp0_min, 612 static DEVICE_ATTR(alarms, S_IRUGO, show_alarms, NULL); 642 static DEVICE_ATTR(name, S_IRUGO, show_name, NULL);
|
H A D | adt7411.c | 220 static DEVICE_ATTR(temp1_input, S_IRUGO, adt7411_show_temp, NULL); 221 static DEVICE_ATTR(in0_input, S_IRUGO, adt7411_show_vdd, NULL);
|
H A D | fam15h_power.c | 107 static DEVICE_ATTR(power1_input, S_IRUGO, show_power, NULL); 116 static DEVICE_ATTR(power1_crit, S_IRUGO, show_power_crit, NULL);
|
H A D | k10temp.c | 113 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL); 114 static DEVICE_ATTR(temp1_max, S_IRUGO, show_temp_max, NULL);
|
H A D | emc2103.c | 515 static DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL); 516 static DEVICE_ATTR(fan1_div, S_IRUGO | S_IWUSR, show_fan_div, set_fan_div); 517 static DEVICE_ATTR(fan1_target, S_IRUGO | S_IWUSR, show_fan_target, 519 static DEVICE_ATTR(fan1_fault, S_IRUGO, show_fan_fault, NULL); 521 static DEVICE_ATTR(pwm1_enable, S_IRUGO | S_IWUSR, show_pwm_enable,
|
H A D | gl520sm.c | 209 static DEVICE_ATTR(cpu0_vid, S_IRUGO, get_cpu_vid, NULL); 513 static DEVICE_ATTR(fan1_off, S_IRUGO | S_IWUSR, 664 static DEVICE_ATTR(alarms, S_IRUGO, get_alarms, NULL); 665 static DEVICE_ATTR(beep_enable, S_IRUGO | S_IWUSR, 667 static DEVICE_ATTR(beep_mask, S_IRUGO | S_IWUSR,
|
H A D | lm87.c | 461 static DEVICE_ATTR(temp1_crit, S_IRUGO, show_temp_crit_int, NULL); 462 static DEVICE_ATTR(temp2_crit, S_IRUGO, show_temp_crit_ext, NULL); 463 static DEVICE_ATTR(temp3_crit, S_IRUGO, show_temp_crit_ext, NULL); 594 static DEVICE_ATTR(alarms, S_IRUGO, show_alarms, NULL); 602 static DEVICE_ATTR(cpu0_vid, S_IRUGO, show_vid, NULL); 627 static DEVICE_ATTR(vrm, S_IRUGO | S_IWUSR, show_vrm, set_vrm); 653 static DEVICE_ATTR(aout_output, S_IRUGO | S_IWUSR, show_aout, set_aout);
|
H A D | adm9240.c | 298 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL); 507 static DEVICE_ATTR(alarms, S_IRUGO, show_alarms, NULL); 533 static DEVICE_ATTR(cpu0_vid, S_IRUGO, show_vid, NULL); 562 static DEVICE_ATTR(aout_output, S_IRUGO | S_IWUSR, show_aout, set_aout);
|
/linux-4.4.14/drivers/scsi/arcmsr/ |
H A D | arcmsr_attr.c | 381 static DEVICE_ATTR(host_driver_version, S_IRUGO, arcmsr_attr_host_driver_version, NULL); 382 static DEVICE_ATTR(host_driver_posted_cmd, S_IRUGO, arcmsr_attr_host_driver_posted_cmd, NULL); 383 static DEVICE_ATTR(host_driver_reset, S_IRUGO, arcmsr_attr_host_driver_reset, NULL); 384 static DEVICE_ATTR(host_driver_abort, S_IRUGO, arcmsr_attr_host_driver_abort, NULL); 385 static DEVICE_ATTR(host_fw_model, S_IRUGO, arcmsr_attr_host_fw_model, NULL); 386 static DEVICE_ATTR(host_fw_version, S_IRUGO, arcmsr_attr_host_fw_version, NULL); 387 static DEVICE_ATTR(host_fw_request_len, S_IRUGO, arcmsr_attr_host_fw_request_len, NULL); 388 static DEVICE_ATTR(host_fw_numbers_queue, S_IRUGO, arcmsr_attr_host_fw_numbers_queue, NULL); 389 static DEVICE_ATTR(host_fw_sdram_size, S_IRUGO, arcmsr_attr_host_fw_sdram_size, NULL); 390 static DEVICE_ATTR(host_fw_hd_channels, S_IRUGO, arcmsr_attr_host_fw_hd_channels, NULL);
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
H A D | ipath_sysfs.c | 445 static DEVICE_ATTR(name, S_IRUGO, show_counter_##name, NULL); 1078 static DEVICE_ATTR(guid, S_IWUSR | S_IRUGO, show_guid, store_guid); 1079 static DEVICE_ATTR(lmc, S_IWUSR | S_IRUGO, show_lmc, store_lmc); 1080 static DEVICE_ATTR(lid, S_IWUSR | S_IRUGO, show_lid, store_lid); 1081 static DEVICE_ATTR(link_state, S_IWUSR, NULL, store_link_state); 1082 static DEVICE_ATTR(mlid, S_IWUSR | S_IRUGO, show_mlid, store_mlid); 1083 static DEVICE_ATTR(mtu, S_IWUSR | S_IRUGO, show_mtu, store_mtu); 1084 static DEVICE_ATTR(enabled, S_IWUSR | S_IRUGO, show_enabled, store_enabled); 1085 static DEVICE_ATTR(nguid, S_IRUGO, show_nguid, NULL); 1086 static DEVICE_ATTR(nports, S_IRUGO, show_nports, NULL); 1087 static DEVICE_ATTR(reset, S_IWUSR, NULL, store_reset); 1088 static DEVICE_ATTR(serial, S_IRUGO, show_serial, NULL); 1089 static DEVICE_ATTR(status, S_IRUGO, show_status, NULL); 1090 static DEVICE_ATTR(status_str, S_IRUGO, show_status_str, NULL); 1091 static DEVICE_ATTR(boardversion, S_IRUGO, show_boardversion, NULL); 1092 static DEVICE_ATTR(unit, S_IRUGO, show_unit, NULL); 1093 static DEVICE_ATTR(rx_pol_inv, S_IWUSR, NULL, store_rx_pol_inv); 1094 static DEVICE_ATTR(led_override, S_IWUSR, NULL, store_led_override); 1095 static DEVICE_ATTR(logged_errors, S_IRUGO, show_logged_errs, NULL); 1096 static DEVICE_ATTR(localbus_info, S_IRUGO, show_localbus_info, NULL); 1097 static DEVICE_ATTR(jint_max_packets, S_IWUSR | S_IRUGO, 1099 static DEVICE_ATTR(jint_idle_ticks, S_IWUSR | S_IRUGO, 1101 static DEVICE_ATTR(tempsense, S_IWUSR | S_IRUGO, 1131 static DEVICE_ATTR(hrtbt_enable, S_IWUSR | S_IRUGO, show_hrtbt_enb, 1133 static DEVICE_ATTR(link_width_enable, S_IWUSR | S_IRUGO, show_lwid_enb, 1135 static DEVICE_ATTR(link_width, S_IRUGO, show_lwid, NULL); 1136 static DEVICE_ATTR(link_speed_enable, S_IWUSR | S_IRUGO, show_spd_enb, 1138 static DEVICE_ATTR(link_speed, S_IRUGO, show_spd, NULL); 1139 static DEVICE_ATTR(rx_pol_inv_enable, S_IWUSR | S_IRUGO, show_rx_polinv_enb, 1141 static DEVICE_ATTR(rx_lane_rev_enable, S_IWUSR | S_IRUGO, show_lanerev_enb,
|
/linux-4.4.14/drivers/s390/net/ |
H A D | qeth_core_sys.c | 44 static DEVICE_ATTR(state, 0444, qeth_dev_state_show, NULL); 56 static DEVICE_ATTR(chpid, 0444, qeth_dev_chpid_show, NULL); 67 static DEVICE_ATTR(if_name, 0444, qeth_dev_if_name_show, NULL); 79 static DEVICE_ATTR(card_type, 0444, qeth_dev_card_type_show, NULL); 105 static DEVICE_ATTR(inbuf_size, 0444, qeth_dev_inbuf_size_show, NULL); 151 static DEVICE_ATTR(portno, 0644, qeth_dev_portno_show, qeth_dev_portno_store); 169 static DEVICE_ATTR(portname, 0644, qeth_dev_portname_show, 258 static DEVICE_ATTR(priority_queueing, 0644, qeth_dev_prioqing_show, 302 static DEVICE_ATTR(buffer_count, 0644, qeth_dev_bufcnt_show, 325 static DEVICE_ATTR(recover, 0200, NULL, qeth_dev_recover_store); 366 static DEVICE_ATTR(performance_stats, 0644, qeth_dev_performance_stats_show, 430 static DEVICE_ATTR(layer2, 0644, qeth_dev_layer2_show, 504 static DEVICE_ATTR(isolation, 0644, qeth_dev_isolation_show, 539 static DEVICE_ATTR(switch_attrs, 0444, 596 static DEVICE_ATTR(hw_trap, 0644, qeth_hw_trap_show, 652 static DEVICE_ATTR(total, 0644, qeth_dev_blkt_total_show, 672 static DEVICE_ATTR(inter, 0644, qeth_dev_blkt_inter_show, 693 static DEVICE_ATTR(inter_jumbo, 0644, qeth_dev_blkt_inter_jumbo_show,
|
H A D | ctcm_sysfs.c | 189 static DEVICE_ATTR(buffer, 0644, ctcm_buffer_show, ctcm_buffer_write); 190 static DEVICE_ATTR(protocol, 0644, ctcm_proto_show, ctcm_proto_store); 191 static DEVICE_ATTR(type, 0444, ctcm_type_show, NULL); 192 static DEVICE_ATTR(stats, 0644, stats_show, stats_write);
|
H A D | qeth_l2_sys.c | 103 static DEVICE_ATTR(bridge_role, 0644, qeth_bridge_port_role_show, 112 static DEVICE_ATTR(bridge_state, 0444, qeth_bridge_port_state_show, 160 static DEVICE_ATTR(bridge_hostnotify, 0644, 221 static DEVICE_ATTR(bridge_reflect_promisc, 0644,
|
H A D | netiucv.c | 1551 static DEVICE_ATTR(user, 0644, user_show, user_write); 1609 static DEVICE_ATTR(buffer, 0644, buffer_show, buffer_write); 1620 static DEVICE_ATTR(device_fsm_state, 0444, dev_fsm_show, NULL); 1631 static DEVICE_ATTR(connection_fsm_state, 0444, conn_fsm_show, NULL); 1653 static DEVICE_ATTR(max_tx_buffer_used, 0644, maxmulti_show, maxmulti_write); 1674 static DEVICE_ATTR(max_chained_skbs, 0644, maxcq_show, maxcq_write); 1695 static DEVICE_ATTR(tx_single_write_ops, 0644, sdoio_show, sdoio_write); 1716 static DEVICE_ATTR(tx_multi_write_ops, 0644, mdoio_show, mdoio_write); 1737 static DEVICE_ATTR(netto_bytes, 0644, txlen_show, txlen_write); 1758 static DEVICE_ATTR(max_tx_io_time, 0644, txtime_show, txtime_write); 1779 static DEVICE_ATTR(tx_pending, 0644, txpend_show, txpend_write); 1800 static DEVICE_ATTR(tx_max_pending, 0644, txmpnd_show, txmpnd_write);
|
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_sysfs.c | 195 static DEVICE_ATTR(fw_ver, S_IRUGO, usnic_ib_show_fw_ver, NULL); 196 static DEVICE_ATTR(board_id, S_IRUGO, usnic_ib_show_board, NULL); 197 static DEVICE_ATTR(config, S_IRUGO, usnic_ib_show_config, NULL); 198 static DEVICE_ATTR(iface, S_IRUGO, usnic_ib_show_iface, NULL); 199 static DEVICE_ATTR(max_vf, S_IRUGO, usnic_ib_show_max_vf, NULL); 200 static DEVICE_ATTR(qp_per_vf, S_IRUGO, usnic_ib_show_qp_per_vf, NULL); 201 static DEVICE_ATTR(cq_per_vf, S_IRUGO, usnic_ib_show_cq_per_vf, NULL);
|
/linux-4.4.14/arch/tile/kernel/ |
H A D | sysfs.c | 41 static DEVICE_ATTR(chip_width, 0444, chip_width_show, NULL); 49 static DEVICE_ATTR(chip_height, 0444, chip_height_show, NULL); 57 static DEVICE_ATTR(chip_serial, 0444, chip_serial_show, NULL); 65 static DEVICE_ATTR(chip_revision, 0444, chip_revision_show, NULL); 74 static DEVICE_ATTR(type, 0444, type_show, NULL); 83 static DEVICE_ATTR(name, 0444, name ## _show, NULL); 187 static DEVICE_ATTR(hv_stats, 0644, hv_stats_show, hv_stats_store);
|
/linux-4.4.14/drivers/usb/wusbcore/ |
H A D | dev-sysfs.c | 56 static DEVICE_ATTR(wusb_disconnect, 0200, NULL, wusb_disconnect_store); 72 static DEVICE_ATTR(wusb_cdid, 0444, wusb_cdid_show, NULL); 108 static DEVICE_ATTR(wusb_ck, 0200, NULL, wusb_ck_store);
|
H A D | wusbhc.c | 87 static DEVICE_ATTR(wusb_trust_timeout, 0644, wusb_trust_timeout_show, 148 static DEVICE_ATTR(wusb_chid, 0644, wusb_chid_show, wusb_chid_store); 177 static DEVICE_ATTR(wusb_phy_rate, 0644, wusb_phy_rate_show, 208 static DEVICE_ATTR(wusb_dnts, 0644, wusb_dnts_show, wusb_dnts_store); 237 static DEVICE_ATTR(wusb_retry_count, 0644, wusb_retry_count_show,
|
H A D | cbaf.c | 358 static DEVICE_ATTR(wusb_chid, 0600, cbaf_wusb_chid_show, cbaf_wusb_chid_store); 384 static DEVICE_ATTR(wusb_host_name, 0600, cbaf_wusb_host_name_show, 415 static DEVICE_ATTR(wusb_host_band_groups, 0600, 467 static DEVICE_ATTR(wusb_cdid, 0600, cbaf_wusb_cdid_show, cbaf_wusb_cdid_store); 479 static DEVICE_ATTR(wusb_device_band_groups, 0600, 492 static DEVICE_ATTR(wusb_device_name, 0600, cbaf_wusb_device_name_show, NULL); 576 static DEVICE_ATTR(wusb_ck, 0600, NULL, cbaf_wusb_ck_store);
|
/linux-4.4.14/drivers/iio/trigger/ |
H A D | iio-trig-sysfs.c | 45 static DEVICE_ATTR(add_trigger, S_IWUSR, NULL, &iio_sysfs_trig_add); variable 65 static DEVICE_ATTR(remove_trigger, S_IWUSR, NULL, &iio_sysfs_trig_remove); variable 113 static DEVICE_ATTR(trigger_now, S_IWUSR, NULL, iio_sysfs_trigger_poll);
|
/linux-4.4.14/drivers/scsi/pm8001/ |
H A D | pm8001_ctl.c | 70 DEVICE_ATTR(interface_rev, S_IRUGO, pm8001_ctl_mpi_interface_rev_show, NULL); 100 static DEVICE_ATTR(fw_version, S_IRUGO, pm8001_ctl_fw_version_show, NULL); 123 static DEVICE_ATTR(max_out_io, S_IRUGO, pm8001_ctl_max_out_io_show, NULL); 148 static DEVICE_ATTR(max_devices, S_IRUGO, pm8001_ctl_max_devices_show, NULL); 174 static DEVICE_ATTR(max_sg_list, S_IRUGO, pm8001_ctl_max_sg_list_show, NULL); 218 static DEVICE_ATTR(sas_spec_support, S_IRUGO, 239 static DEVICE_ATTR(host_sas_address, S_IRUGO, 273 static DEVICE_ATTR(logging_level, S_IRUGO | S_IWUSR, 310 static DEVICE_ATTR(aap_log, S_IRUGO, pm8001_ctl_aap_log_show, NULL); 342 static DEVICE_ATTR(ib_log, S_IRUGO, pm8001_ctl_ib_queue_log_show, NULL); 374 static DEVICE_ATTR(ob_log, S_IRUGO, pm8001_ctl_ob_queue_log_show, NULL); 411 static DEVICE_ATTR(bios_version, S_IRUGO, pm8001_ctl_bios_version_show, NULL); 446 static DEVICE_ATTR(iop_log, S_IRUGO, pm8001_ctl_iop_log_show, NULL); 465 static DEVICE_ATTR(fatal_log, S_IRUGO, pm8001_ctl_fatal_log_show, NULL); 483 static DEVICE_ATTR(gsm_log, S_IRUGO, pm8001_ctl_gsm_log_show, NULL); 732 static DEVICE_ATTR(update_fw, S_IRUGO|S_IWUSR|S_IWGRP,
|
/linux-4.4.14/drivers/scsi/ |
H A D | scsi_sysfs.c | 141 static DEVICE_ATTR(name, S_IRUGO, show_##name, NULL); 162 static DEVICE_ATTR(scan, S_IWUSR, NULL, store_scan); 200 /* DEVICE_ATTR(state) clashes with dev_attr_state for sdev */ 234 static DEVICE_ATTR(supported_mode, S_IRUGO | S_IWUSR, show_shost_supported_mode, NULL); 248 static DEVICE_ATTR(active_mode, S_IRUGO | S_IWUSR, show_shost_active_mode, NULL); 282 static DEVICE_ATTR(host_reset, S_IWUSR, NULL, store_host_reset); 334 static DEVICE_ATTR(eh_deadline, S_IRUGO | S_IWUSR, show_shost_eh_deadline, store_shost_eh_deadline); 353 static DEVICE_ATTR(host_busy, S_IRUGO, show_host_busy, NULL); 524 static DEVICE_ATTR(field, S_IRUGO, sdev_show_##field, NULL); 543 static DEVICE_ATTR(field, S_IRUGO | S_IWUSR, sdev_show_##field, sdev_store_##field); 569 static DEVICE_ATTR(field, S_IRUGO | S_IWUSR, sdev_show_##field, sdev_store_##field); 604 static DEVICE_ATTR(device_busy, S_IRUGO, sdev_show_device_busy, NULL); 613 static DEVICE_ATTR(device_blocked, S_IRUGO, sdev_show_device_blocked, NULL); 637 static DEVICE_ATTR(timeout, S_IRUGO | S_IWUSR, sdev_show_timeout, sdev_store_timeout); 666 static DEVICE_ATTR(eh_timeout, S_IRUGO | S_IWUSR, sdev_show_eh_timeout, sdev_store_eh_timeout); 675 static DEVICE_ATTR(rescan, S_IWUSR, NULL, store_rescan_field); 685 static DEVICE_ATTR(delete, S_IWUSR, NULL, sdev_store_delete); 723 static DEVICE_ATTR(state, S_IRUGO | S_IWUSR, show_state_field, store_state_field); 752 static DEVICE_ATTR(queue_type, S_IRUGO | S_IWUSR, show_queue_type_field, 808 static DEVICE_ATTR(iocounterbits, S_IRUGO, show_iostat_counterbits, NULL); 819 static DEVICE_ATTR(field, S_IRUGO, show_iostat_##field, NULL) 832 static DEVICE_ATTR(modalias, S_IRUGO, sdev_show_modalias, NULL); 863 static DEVICE_ATTR(evt_##name, S_IRUGO, sdev_show_evt_##name, \ 900 static DEVICE_ATTR(queue_depth, S_IRUGO | S_IWUSR, sdev_show_queue_depth, 929 static DEVICE_ATTR(queue_ramp_up_period, S_IRUGO | S_IWUSR,
|
H A D | scsi_transport_srp.c | 135 static DEVICE_ATTR(port_id, S_IRUGO, show_srp_rport_id, NULL); 161 static DEVICE_ATTR(roles, S_IRUGO, show_srp_rport_roles, NULL); 179 static DEVICE_ATTR(delete, S_IWUSR, NULL, store_srp_rport_delete); 199 static DEVICE_ATTR(state, S_IRUGO, show_srp_rport_state, NULL); 256 static DEVICE_ATTR(reconnect_delay, S_IRUGO | S_IWUSR, show_reconnect_delay, 267 static DEVICE_ATTR(failed_reconnects, S_IRUGO, show_failed_reconnects, NULL); 300 static DEVICE_ATTR(fast_io_fail_tmo, S_IRUGO | S_IWUSR, 335 static DEVICE_ATTR(dev_loss_tmo, S_IRUGO | S_IWUSR,
|
H A D | raid_class.c | 192 static DEVICE_ATTR(attr, S_IRUGO, raid_show_##attr, NULL) 197 static DEVICE_ATTR(attr, S_IRUGO, raid_show_##attr, NULL)
|
H A D | scsi_transport_sas.c | 465 static DEVICE_ATTR(name, S_IRUGO, show_sas_phy_##name, NULL) 481 static DEVICE_ATTR(name, S_IRUGO, show_sas_phy_##name, NULL) 519 static DEVICE_ATTR(field, S_IRUGO, show_sas_phy_##field, \ 524 static DEVICE_ATTR(field, S_IRUGO, show_sas_phy_##field, NULL) 545 static DEVICE_ATTR(field, S_IRUGO, show_sas_phy_##field, NULL) 558 static DEVICE_ATTR(device_type, S_IRUGO, show_sas_device_type, NULL); 605 static DEVICE_ATTR(enable, S_IRUGO | S_IWUSR, show_sas_phy_enable, 629 static DEVICE_ATTR(link_reset, S_IWUSR, NULL, store_sas_link_reset); 637 static DEVICE_ATTR(hard_reset, S_IWUSR, NULL, store_sas_hard_reset); 832 static DEVICE_ATTR(name, S_IRUGO, show_sas_port_##name, NULL)
|
H A D | scsi_transport_spi.c | 368 static DEVICE_ATTR(field, S_IRUGO, \ 375 static DEVICE_ATTR(field, S_IRUGO, \ 383 static DEVICE_ATTR(field, S_IRUGO, \ 419 static DEVICE_ATTR(revalidate, S_IWUSR, NULL, store_spi_revalidate); 530 static DEVICE_ATTR(period, S_IRUGO, 564 static DEVICE_ATTR(min_period, S_IRUGO, 597 static DEVICE_ATTR(signalling, S_IRUGO, 609 static DEVICE_ATTR(host_width, S_IRUGO, 620 static DEVICE_ATTR(hba_id, S_IRUGO,
|
/linux-4.4.14/drivers/leds/trigger/ |
H A D | ledtrig-oneshot.c | 120 static DEVICE_ATTR(delay_on, 0644, led_delay_on_show, led_delay_on_store); 121 static DEVICE_ATTR(delay_off, 0644, led_delay_off_show, led_delay_off_store); 122 static DEVICE_ATTR(invert, 0644, led_invert_show, led_invert_store); 123 static DEVICE_ATTR(shot, 0200, NULL, led_shot);
|
H A D | ledtrig-timer.c | 71 static DEVICE_ATTR(delay_on, 0644, led_delay_on_show, led_delay_on_store); 72 static DEVICE_ATTR(delay_off, 0644, led_delay_off_show, led_delay_off_store);
|
H A D | ledtrig-gpio.c | 93 static DEVICE_ATTR(desired_brightness, 0644, gpio_trig_brightness_show, 127 static DEVICE_ATTR(inverted, 0644, gpio_trig_inverted_show, 177 static DEVICE_ATTR(gpio, 0644, gpio_trig_gpio_show, gpio_trig_gpio_store);
|
H A D | ledtrig-transient.c | 154 static DEVICE_ATTR(activate, 0644, transient_activate_show, 156 static DEVICE_ATTR(duration, 0644, transient_duration_show, 158 static DEVICE_ATTR(state, 0644, transient_state_show, transient_state_store);
|
H A D | ledtrig-backlight.c | 98 static DEVICE_ATTR(inverted, 0644, bl_trig_invert_show, bl_trig_invert_store);
|
H A D | ledtrig-heartbeat.c | 114 static DEVICE_ATTR(invert, 0644, led_invert_show, led_invert_store);
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | idle.c | 66 DEVICE_ATTR(idle_count, 0444, show_idle_count, NULL); 85 DEVICE_ATTR(idle_time_us, 0444, show_idle_time, NULL);
|
H A D | time.c | 1167 static DEVICE_ATTR(stepping_port, 0400, etr_stepping_port_show, NULL); 1184 static DEVICE_ATTR(stepping_mode, 0400, etr_stepping_mode_show, NULL); 1245 static DEVICE_ATTR(online, 0600, etr_online_show, etr_online_store); 1255 static DEVICE_ATTR(stepping_control, 0400, etr_stepping_control_show, NULL); 1267 static DEVICE_ATTR(state_code, 0400, etr_mode_code_show, NULL); 1279 static DEVICE_ATTR(untuned, 0400, etr_untuned_show, NULL); 1291 static DEVICE_ATTR(network, 0400, etr_network_id_show, NULL); 1303 static DEVICE_ATTR(id, 0400, etr_id_show, NULL); 1315 static DEVICE_ATTR(port, 0400, etr_port_number_show, NULL); 1327 static DEVICE_ATTR(coupled, 0400, etr_coupled_show, NULL); 1339 static DEVICE_ATTR(local_time, 0400, etr_local_time_show, NULL); 1351 static DEVICE_ATTR(utc_offset, 0400, etr_utc_offset_show, NULL); 1651 static DEVICE_ATTR(ctn_id, 0400, stp_ctn_id_show, NULL); 1662 static DEVICE_ATTR(ctn_type, 0400, stp_ctn_type_show, NULL); 1673 static DEVICE_ATTR(dst_offset, 0400, stp_dst_offset_show, NULL); 1684 static DEVICE_ATTR(leap_seconds, 0400, stp_leap_seconds_show, NULL); 1695 static DEVICE_ATTR(stratum, 0400, stp_stratum_show, NULL); 1706 static DEVICE_ATTR(time_offset, 0400, stp_time_offset_show, NULL); 1717 static DEVICE_ATTR(time_zone_offset, 0400, 1729 static DEVICE_ATTR(timing_mode, 0400, stp_timing_mode_show, NULL); 1740 static DEVICE_ATTR(timing_state, 0400, stp_timing_state_show, NULL); 1772 * Can't use DEVICE_ATTR because the attribute should be named
|
/linux-4.4.14/include/linux/mfd/ |
H A D | lm3533.h | 18 DEVICE_ATTR(_name, S_IRUGO, show_##_name, NULL) 20 DEVICE_ATTR(_name, S_IRUGO | S_IWUSR , show_##_name, store_##_name)
|
/linux-4.4.14/drivers/ptp/ |
H A D | ptp_sysfs.c | 31 static DEVICE_ATTR(clock_name, 0444, clock_name_show, NULL); 40 static DEVICE_ATTR(name, 0444, var##_show, NULL); 238 static DEVICE_ATTR(extts_enable, 0220, NULL, extts_enable_store); 239 static DEVICE_ATTR(fifo, 0444, extts_fifo_show, NULL); 240 static DEVICE_ATTR(period, 0220, NULL, period_store); 241 static DEVICE_ATTR(pps_enable, 0220, NULL, pps_enable_store);
|
/linux-4.4.14/drivers/video/backlight/ |
H A D | adp5520_bl.c | 190 static DEVICE_ATTR(dark_max, 0664, adp5520_bl_dark_max_show, 205 static DEVICE_ATTR(office_max, 0664, adp5520_bl_office_max_show, 227 static DEVICE_ATTR(daylight_max, 0664, adp5520_bl_daylight_max_show, 242 static DEVICE_ATTR(dark_dim, 0664, adp5520_bl_dark_dim_show, 257 static DEVICE_ATTR(office_dim, 0664, adp5520_bl_office_dim_show, 272 static DEVICE_ATTR(daylight_dim, 0664, adp5520_bl_daylight_dim_show,
|
H A D | sky81452-backlight.c | 154 static DEVICE_ATTR(enable, S_IWGRP | S_IWUSR, NULL, sky81452_bl_store_enable); 155 static DEVICE_ATTR(open, S_IRUGO, sky81452_bl_show_open_short, NULL); 156 static DEVICE_ATTR(short, S_IRUGO, sky81452_bl_show_open_short, NULL); 157 static DEVICE_ATTR(fault, S_IRUGO, sky81452_bl_show_fault, NULL);
|
H A D | adp8860_bl.c | 476 static DEVICE_ATTR(l3_dark_max, 0664, adp8860_bl_l3_dark_max_show, 490 static DEVICE_ATTR(l2_office_max, 0664, adp8860_bl_l2_office_max_show, 510 static DEVICE_ATTR(l1_daylight_max, 0664, adp8860_bl_l1_daylight_max_show, 525 static DEVICE_ATTR(l3_dark_dim, 0664, adp8860_bl_l3_dark_dim_show, 540 static DEVICE_ATTR(l2_office_dim, 0664, adp8860_bl_l2_office_dim_show, 555 static DEVICE_ATTR(l1_daylight_dim, 0664, adp8860_bl_l1_daylight_dim_show, 581 static DEVICE_ATTR(ambient_light_level, 0444, 633 static DEVICE_ATTR(ambient_light_zone, 0664,
|
H A D | adp8870_bl.c | 596 static DEVICE_ATTR(l5_dark_max, 0664, adp8870_bl_l5_dark_max_show, 611 static DEVICE_ATTR(l4_indoor_max, 0664, adp8870_bl_l4_indoor_max_show, 627 static DEVICE_ATTR(l3_office_max, 0664, adp8870_bl_l3_office_max_show, 641 static DEVICE_ATTR(l2_bright_max, 0664, adp8870_bl_l2_bright_max_show, 661 static DEVICE_ATTR(l1_daylight_max, 0664, adp8870_bl_l1_daylight_max_show, 676 static DEVICE_ATTR(l5_dark_dim, 0664, adp8870_bl_l5_dark_dim_show, 691 static DEVICE_ATTR(l4_indoor_dim, 0664, adp8870_bl_l4_indoor_dim_show, 707 static DEVICE_ATTR(l3_office_dim, 0664, adp8870_bl_l3_office_dim_show, 722 static DEVICE_ATTR(l2_bright_dim, 0664, adp8870_bl_l2_bright_dim_show, 737 static DEVICE_ATTR(l1_daylight_dim, 0664, adp8870_bl_l1_daylight_dim_show, 767 static DEVICE_ATTR(ambient_light_level, 0444, 819 static DEVICE_ATTR(ambient_light_zone, 0664,
|
/linux-4.4.14/drivers/char/tpm/ |
H A D | tpm_ppi.c | 315 static DEVICE_ATTR(version, S_IRUGO, tpm_show_ppi_version, NULL); 316 static DEVICE_ATTR(request, S_IRUGO | S_IWUSR | S_IWGRP, 318 static DEVICE_ATTR(transition_action, S_IRUGO, 320 static DEVICE_ATTR(response, S_IRUGO, tpm_show_ppi_response, NULL); 321 static DEVICE_ATTR(tcg_operations, S_IRUGO, tpm_show_ppi_tcg_operations, NULL); 322 static DEVICE_ATTR(vs_operations, S_IRUGO, tpm_show_ppi_vs_operations, NULL);
|
/linux-4.4.14/arch/avr32/kernel/ |
H A D | cpu.c | 174 static DEVICE_ATTR(pc0event, 0600, show_pc0event, store_pc0event); 175 static DEVICE_ATTR(pc0count, 0600, show_pc0count, store_pc0count); 176 static DEVICE_ATTR(pc1event, 0600, show_pc1event, store_pc1event); 177 static DEVICE_ATTR(pc1count, 0600, show_pc1count, store_pc1count); 178 static DEVICE_ATTR(pccycles, 0600, show_pccycles, store_pccycles); 179 static DEVICE_ATTR(pcenable, 0600, show_pcenable, store_pcenable);
|
/linux-4.4.14/drivers/macintosh/ |
H A D | therm_adt746x.c | 390 static DEVICE_ATTR(sensor1_temperature, S_IRUGO, 392 static DEVICE_ATTR(sensor2_temperature, S_IRUGO, 394 static DEVICE_ATTR(sensor1_limit, S_IRUGO, 396 static DEVICE_ATTR(sensor2_limit, S_IRUGO, 398 static DEVICE_ATTR(sensor1_location, S_IRUGO, 400 static DEVICE_ATTR(sensor2_location, S_IRUGO, 403 static DEVICE_ATTR(specified_fan_speed, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH, 406 static DEVICE_ATTR(sensor1_fan_speed, S_IRUGO, 408 static DEVICE_ATTR(sensor2_fan_speed, S_IRUGO, 411 static DEVICE_ATTR(limit_adjust, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH,
|
/linux-4.4.14/drivers/platform/x86/ |
H A D | compal-laptop.c | 682 static DEVICE_ATTR(wake_up_pme, 684 static DEVICE_ATTR(wake_up_modem, 686 static DEVICE_ATTR(wake_up_lan, 688 static DEVICE_ATTR(wake_up_wlan, 690 static DEVICE_ATTR(wake_up_key, 692 static DEVICE_ATTR(wake_up_mouse, 695 static DEVICE_ATTR(fan1_input, S_IRUGO, fan_show, NULL); 696 static DEVICE_ATTR(temp1_input, S_IRUGO, temp_cpu, NULL); 697 static DEVICE_ATTR(temp2_input, S_IRUGO, temp_cpu_local, NULL); 698 static DEVICE_ATTR(temp3_input, S_IRUGO, temp_cpu_DTS, NULL); 699 static DEVICE_ATTR(temp4_input, S_IRUGO, temp_northbridge, NULL); 700 static DEVICE_ATTR(temp5_input, S_IRUGO, temp_vga, NULL); 701 static DEVICE_ATTR(temp6_input, S_IRUGO, temp_SKIN, NULL); 702 static DEVICE_ATTR(temp1_label, S_IRUGO, label_cpu, NULL); 703 static DEVICE_ATTR(temp2_label, S_IRUGO, label_cpu_local, NULL); 704 static DEVICE_ATTR(temp3_label, S_IRUGO, label_cpu_DTS, NULL); 705 static DEVICE_ATTR(temp4_label, S_IRUGO, label_northbridge, NULL); 706 static DEVICE_ATTR(temp5_label, S_IRUGO, label_vga, NULL); 707 static DEVICE_ATTR(temp6_label, S_IRUGO, label_SKIN, NULL); 708 static DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, pwm_show, pwm_store); 709 static DEVICE_ATTR(pwm1_enable,
|
H A D | hdaps.c | 457 static DEVICE_ATTR(position, 0444, hdaps_position_show, NULL); 458 static DEVICE_ATTR(variance, 0444, hdaps_variance_show, NULL); 459 static DEVICE_ATTR(temp1, 0444, hdaps_temp1_show, NULL); 460 static DEVICE_ATTR(temp2, 0444, hdaps_temp2_show, NULL); 461 static DEVICE_ATTR(keyboard_activity, 0444, hdaps_keyboard_activity_show, NULL); 462 static DEVICE_ATTR(mouse_activity, 0444, hdaps_mouse_activity_show, NULL); 463 static DEVICE_ATTR(calibrate, 0644, hdaps_calibrate_show,hdaps_calibrate_store); 464 static DEVICE_ATTR(invert, 0644, hdaps_invert_show, hdaps_invert_store);
|
H A D | msi-laptop.c | 537 static DEVICE_ATTR(lcd_level, 0644, show_lcd_level, store_lcd_level); 538 static DEVICE_ATTR(auto_brightness, 0644, show_auto_brightness, 540 static DEVICE_ATTR(bluetooth, 0444, show_bluetooth, NULL); 541 static DEVICE_ATTR(wlan, 0444, show_wlan, NULL); 542 static DEVICE_ATTR(threeg, 0444, show_threeg, NULL); 543 static DEVICE_ATTR(touchpad, 0444, show_touchpad, NULL); 544 static DEVICE_ATTR(turbo_mode, 0444, show_turbo, NULL); 545 static DEVICE_ATTR(eco_mode, 0444, show_eco, NULL); 546 static DEVICE_ATTR(turbo_cooldown, 0444, show_turbo_cooldown, NULL); 547 static DEVICE_ATTR(auto_fan, 0644, show_auto_fan, store_auto_fan);
|
H A D | hp-wmi.c | 524 static DEVICE_ATTR(display, S_IRUGO, show_display, NULL); 525 static DEVICE_ATTR(hddtemp, S_IRUGO, show_hddtemp, NULL); 526 static DEVICE_ATTR(als, S_IRUGO | S_IWUSR, show_als, set_als); 527 static DEVICE_ATTR(dock, S_IRUGO, show_dock, NULL); 528 static DEVICE_ATTR(tablet, S_IRUGO, show_tablet, NULL); 529 static DEVICE_ATTR(postcode, S_IRUGO | S_IWUSR, show_postcode, set_postcode);
|
H A D | ibm_rtl.c | 201 static DEVICE_ATTR(version, S_IRUGO, rtl_show_version, NULL); 202 static DEVICE_ATTR(state, 0600, rtl_show_state, rtl_set_state);
|
H A D | alienware-wmi.c | 360 static DEVICE_ATTR(lighting_control_state, 0644, show_control_state, 539 static DEVICE_ATTR(cable, S_IRUGO, show_hdmi_cable, NULL); 540 static DEVICE_ATTR(source, S_IRUGO | S_IWUSR, show_hdmi_source,
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | i915_sysfs.c | 108 static DEVICE_ATTR(rc6_enable, S_IRUGO, show_rc6_mask, NULL); 109 static DEVICE_ATTR(rc6_residency_ms, S_IRUGO, show_rc6_ms, NULL); 110 static DEVICE_ATTR(rc6p_residency_ms, S_IRUGO, show_rc6p_ms, NULL); 111 static DEVICE_ATTR(rc6pp_residency_ms, S_IRUGO, show_rc6pp_ms, NULL); 112 static DEVICE_ATTR(media_rc6_residency_ms, S_IRUGO, show_media_rc6_ms, NULL); 463 static DEVICE_ATTR(gt_act_freq_mhz, S_IRUGO, gt_act_freq_mhz_show, NULL); 464 static DEVICE_ATTR(gt_cur_freq_mhz, S_IRUGO, gt_cur_freq_mhz_show, NULL); 465 static DEVICE_ATTR(gt_max_freq_mhz, S_IRUGO | S_IWUSR, gt_max_freq_mhz_show, gt_max_freq_mhz_store); 466 static DEVICE_ATTR(gt_min_freq_mhz, S_IRUGO | S_IWUSR, gt_min_freq_mhz_show, gt_min_freq_mhz_store); 468 static DEVICE_ATTR(vlv_rpe_freq_mhz, S_IRUGO, vlv_rpe_freq_mhz_show, NULL); 471 static DEVICE_ATTR(gt_RP0_freq_mhz, S_IRUGO, gt_rp_mhz_show, NULL); 472 static DEVICE_ATTR(gt_RP1_freq_mhz, S_IRUGO, gt_rp_mhz_show, NULL); 473 static DEVICE_ATTR(gt_RPn_freq_mhz, S_IRUGO, gt_rp_mhz_show, NULL);
|
/linux-4.4.14/drivers/s390/scsi/ |
H A D | zfcp_sysfs.c | 323 static DEVICE_ATTR(unit_add, S_IWUSR, NULL, zfcp_sysfs_unit_add_store); 340 static DEVICE_ATTR(unit_remove, S_IWUSR, NULL, zfcp_sysfs_unit_remove_store); 429 static DEVICE_ATTR(_name##_latency, S_IWUSR | S_IRUGO, \ 447 static DEVICE_ATTR(_name, S_IRUGO, zfcp_sysfs_scsi_##_name##_show, NULL); 462 static DEVICE_ATTR(fcp_lun, S_IRUGO, zfcp_sysfs_scsi_fcp_lun_show, NULL); 496 static DEVICE_ATTR(zfcp_failed, S_IWUSR | S_IRUGO, 545 static DEVICE_ATTR(utilization, S_IRUGO, zfcp_sysfs_adapter_util_show, NULL); 586 static DEVICE_ATTR(_name, S_IRUGO, zfcp_sysfs_adapter_##_name##_show, NULL); 616 static DEVICE_ATTR(queue_full, S_IRUGO, zfcp_sysfs_adapter_q_full_show, NULL);
|
/linux-4.4.14/block/ |
H A D | partition-generic.c | 170 static DEVICE_ATTR(partition, S_IRUGO, part_partition_show, NULL); 171 static DEVICE_ATTR(start, S_IRUGO, part_start_show, NULL); 172 static DEVICE_ATTR(size, S_IRUGO, part_size_show, NULL); 173 static DEVICE_ATTR(ro, S_IRUGO, part_ro_show, NULL); 174 static DEVICE_ATTR(alignment_offset, S_IRUGO, part_alignment_offset_show, NULL); 175 static DEVICE_ATTR(discard_alignment, S_IRUGO, part_discard_alignment_show, 177 static DEVICE_ATTR(stat, S_IRUGO, part_stat_show, NULL); 178 static DEVICE_ATTR(inflight, S_IRUGO, part_inflight_show, NULL); 266 static DEVICE_ATTR(whole_disk, S_IRUSR | S_IRGRP | S_IROTH,
|
H A D | genhd.c | 982 static DEVICE_ATTR(range, S_IRUGO, disk_range_show, NULL); 983 static DEVICE_ATTR(ext_range, S_IRUGO, disk_ext_range_show, NULL); 984 static DEVICE_ATTR(removable, S_IRUGO, disk_removable_show, NULL); 985 static DEVICE_ATTR(ro, S_IRUGO, disk_ro_show, NULL); 986 static DEVICE_ATTR(size, S_IRUGO, part_size_show, NULL); 987 static DEVICE_ATTR(alignment_offset, S_IRUGO, disk_alignment_offset_show, NULL); 988 static DEVICE_ATTR(discard_alignment, S_IRUGO, disk_discard_alignment_show, 990 static DEVICE_ATTR(capability, S_IRUGO, disk_capability_show, NULL); 991 static DEVICE_ATTR(stat, S_IRUGO, part_stat_show, NULL); 992 static DEVICE_ATTR(inflight, S_IRUGO, part_inflight_show, NULL); 1734 static const DEVICE_ATTR(events, S_IRUGO, disk_events_show, NULL); 1735 static const DEVICE_ATTR(events_async, S_IRUGO, disk_events_async_show, NULL); 1736 static const DEVICE_ATTR(events_poll_msecs, S_IRUGO|S_IWUSR,
|
/linux-4.4.14/drivers/regulator/ |
H A D | virtual.c | 269 static DEVICE_ATTR(min_microvolts, 0664, show_min_uV, set_min_uV); 270 static DEVICE_ATTR(max_microvolts, 0664, show_max_uV, set_max_uV); 271 static DEVICE_ATTR(min_microamps, 0664, show_min_uA, set_min_uA); 272 static DEVICE_ATTR(max_microamps, 0664, show_max_uA, set_max_uA); 273 static DEVICE_ATTR(mode, 0664, show_mode, set_mode);
|
H A D | userspace-consumer.c | 95 static DEVICE_ATTR(name, 0444, reg_show_name, NULL); 96 static DEVICE_ATTR(state, 0644, reg_show_state, reg_set_state);
|
/linux-4.4.14/drivers/leds/ |
H A D | leds-lp55xx-common.h | 33 DEVICE_ATTR(name, S_IRUGO | S_IWUSR, show, store) 35 DEVICE_ATTR(name, S_IRUGO, show, NULL) 37 DEVICE_ATTR(name, S_IWUSR, NULL, store)
|
H A D | leds-lp55xx-common.c | 126 static DEVICE_ATTR(led_current, S_IRUGO | S_IWUSR, lp55xx_show_current, 128 static DEVICE_ATTR(max_current, S_IRUGO , lp55xx_show_max_current, NULL); 307 static DEVICE_ATTR(select_engine, S_IRUGO | S_IWUSR, 309 static DEVICE_ATTR(run_engine, S_IWUSR, NULL, lp55xx_store_engine_run);
|
H A D | leds-blinkm.c | 232 static DEVICE_ATTR(red, S_IRUGO | S_IWUSR, show_red, store_red); 252 static DEVICE_ATTR(green, S_IRUGO | S_IWUSR, show_green, store_green); 271 static DEVICE_ATTR(blue, S_IRUGO | S_IWUSR, show_blue, store_blue); 296 static DEVICE_ATTR(test, S_IRUGO | S_IWUSR, show_test, store_test);
|
/linux-4.4.14/net/bluetooth/ |
H A D | hci_sysfs.c | 167 static DEVICE_ATTR(type, S_IRUGO, show_type, NULL); 168 static DEVICE_ATTR(name, S_IRUGO, show_name, NULL); 169 static DEVICE_ATTR(address, S_IRUGO, show_address, NULL);
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | sysfs.c | 66 static DEVICE_ATTR(smt_snooze_delay, 0644, show_smt_snooze_delay, 363 static DEVICE_ATTR(pw20_state, 0600, show_pw20_state, store_pw20_state); 364 static DEVICE_ATTR(altivec_idle, 0600, show_altivec_idle, store_altivec_idle); 377 static DEVICE_ATTR(pw20_wait_time, 0600, 380 static DEVICE_ATTR(altivec_idle_wait_time, 0600, 494 static DEVICE_ATTR(mmcra, 0600, show_mmcra, store_mmcra); 495 static DEVICE_ATTR(spurr, 0400, show_spurr, NULL); 496 static DEVICE_ATTR(purr, 0400, show_purr, store_purr); 497 static DEVICE_ATTR(pir, 0400, show_pir, NULL); 537 static DEVICE_ATTR(dscr, 0600, show_dscr, store_dscr); 584 static DEVICE_ATTR(dscr_default, 0600, 1022 static DEVICE_ATTR(physical_id, 0444, show_physical_id, NULL);
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
H A D | qla_attr.c | 1552 static DEVICE_ATTR(driver_version, S_IRUGO, qla2x00_drvr_version_show, NULL); 1553 static DEVICE_ATTR(fw_version, S_IRUGO, qla2x00_fw_version_show, NULL); 1554 static DEVICE_ATTR(serial_num, S_IRUGO, qla2x00_serial_num_show, NULL); 1555 static DEVICE_ATTR(isp_name, S_IRUGO, qla2x00_isp_name_show, NULL); 1556 static DEVICE_ATTR(isp_id, S_IRUGO, qla2x00_isp_id_show, NULL); 1557 static DEVICE_ATTR(model_name, S_IRUGO, qla2x00_model_name_show, NULL); 1558 static DEVICE_ATTR(model_desc, S_IRUGO, qla2x00_model_desc_show, NULL); 1559 static DEVICE_ATTR(pci_info, S_IRUGO, qla2x00_pci_info_show, NULL); 1560 static DEVICE_ATTR(link_state, S_IRUGO, qla2x00_link_state_show, NULL); 1561 static DEVICE_ATTR(zio, S_IRUGO | S_IWUSR, qla2x00_zio_show, qla2x00_zio_store); 1562 static DEVICE_ATTR(zio_timer, S_IRUGO | S_IWUSR, qla2x00_zio_timer_show, 1564 static DEVICE_ATTR(beacon, S_IRUGO | S_IWUSR, qla2x00_beacon_show, 1566 static DEVICE_ATTR(optrom_bios_version, S_IRUGO, 1568 static DEVICE_ATTR(optrom_efi_version, S_IRUGO, 1570 static DEVICE_ATTR(optrom_fcode_version, S_IRUGO, 1572 static DEVICE_ATTR(optrom_fw_version, S_IRUGO, qla2x00_optrom_fw_version_show, 1574 static DEVICE_ATTR(optrom_gold_fw_version, S_IRUGO, 1576 static DEVICE_ATTR(84xx_fw_version, S_IRUGO, qla24xx_84xx_fw_version_show, 1578 static DEVICE_ATTR(total_isp_aborts, S_IRUGO, qla2x00_total_isp_aborts_show, 1580 static DEVICE_ATTR(mpi_version, S_IRUGO, qla2x00_mpi_version_show, NULL); 1581 static DEVICE_ATTR(phy_version, S_IRUGO, qla2x00_phy_version_show, NULL); 1582 static DEVICE_ATTR(flash_block_size, S_IRUGO, qla2x00_flash_block_size_show, 1584 static DEVICE_ATTR(vlan_id, S_IRUGO, qla2x00_vlan_id_show, NULL); 1585 static DEVICE_ATTR(vn_port_mac_address, S_IRUGO, 1587 static DEVICE_ATTR(fabric_param, S_IRUGO, qla2x00_fabric_param_show, NULL); 1588 static DEVICE_ATTR(fw_state, S_IRUGO, qla2x00_fw_state_show, NULL); 1589 static DEVICE_ATTR(thermal_temp, S_IRUGO, qla2x00_thermal_temp_show, NULL); 1590 static DEVICE_ATTR(diag_requests, S_IRUGO, qla2x00_diag_requests_show, NULL); 1591 static DEVICE_ATTR(diag_megabytes, S_IRUGO, qla2x00_diag_megabytes_show, NULL); 1592 static DEVICE_ATTR(fw_dump_size, S_IRUGO, qla2x00_fw_dump_size_show, NULL); 1593 static DEVICE_ATTR(allow_cna_fw_dump, S_IRUGO | S_IWUSR, 1596 static DEVICE_ATTR(pep_version, S_IRUGO, qla2x00_pep_version_show, NULL);
|
/linux-4.4.14/drivers/s390/block/ |
H A D | dasd_devmap.c | 752 static DEVICE_ATTR(failfast, 0644, dasd_ff_show, dasd_ff_store); 804 static DEVICE_ATTR(readonly, 0644, dasd_ro_show, dasd_ro_store); 850 static DEVICE_ATTR(erplog, 0644, dasd_erplog_show, dasd_erplog_store); 901 static DEVICE_ATTR(use_diag, 0644, dasd_use_diag_show, dasd_use_diag_store); 950 static DEVICE_ATTR(raw_track_access, 0644, dasd_use_raw_show, 984 static DEVICE_ATTR(safe_offline, 0200, NULL, dasd_safe_offline_store); 1010 static DEVICE_ATTR(discipline, 0444, dasd_discipline_show, NULL); 1050 static DEVICE_ATTR(status, 0444, dasd_device_status_show, NULL); 1075 static DEVICE_ATTR(alias, 0444, dasd_alias_show, NULL); 1098 static DEVICE_ATTR(vendor, 0444, dasd_vendor_show, NULL); 1152 static DEVICE_ATTR(uid, 0444, dasd_uid_show, NULL); 1198 static DEVICE_ATTR(eer_enabled, 0644, dasd_eer_show, dasd_eer_store); 1241 static DEVICE_ATTR(expires, 0644, dasd_expires_show, dasd_expires_store); 1281 static DEVICE_ATTR(retries, 0644, dasd_retries_show, dasd_retries_store); 1335 static DEVICE_ATTR(timeout, 0644, 1386 static DEVICE_ATTR(reservation_policy, 0644, 1432 static DEVICE_ATTR(last_known_reservation_state, 0644, 1456 static DEVICE_ATTR(path_masks, 0444, dasd_pm_show, NULL);
|
H A D | dcssblk.c | 74 static DEVICE_ATTR(add, S_IWUSR, NULL, dcssblk_add_store); 75 static DEVICE_ATTR(remove, S_IWUSR, NULL, dcssblk_remove_store); 406 static DEVICE_ATTR(shared, S_IWUSR | S_IRUSR, dcssblk_shared_show, 474 static DEVICE_ATTR(save, S_IWUSR | S_IRUSR, dcssblk_save_show, 502 static DEVICE_ATTR(seglist, S_IRUSR, dcssblk_seglist_show, NULL);
|
/linux-4.4.14/drivers/scsi/bnx2i/ |
H A D | bnx2i_sysfs.c | 136 static DEVICE_ATTR(sq_size, S_IRUGO | S_IWUSR, 138 static DEVICE_ATTR(num_ccell, S_IRUGO | S_IWUSR,
|
/linux-4.4.14/drivers/mfd/ |
H A D | tps65911-comparator.c | 122 static DEVICE_ATTR(comp1_threshold, S_IRUGO, comp_threshold_show, NULL); 123 static DEVICE_ATTR(comp2_threshold, S_IRUGO, comp_threshold_show, NULL);
|
H A D | wm831x-otp.c | 66 static DEVICE_ATTR(unique_id, 0444, wm831x_unique_id_show, NULL);
|
H A D | ucb1x00-assabet.c | 34 static DEVICE_ATTR(name,0444,name##_show,NULL)
|
H A D | pcf50633-core.c | 114 static DEVICE_ATTR(dump_regs, 0400, show_dump_regs, NULL); 131 static DEVICE_ATTR(resume_reason, 0400, show_resume_reason, NULL);
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
H A D | qib_sysfs.c | 652 static DEVICE_ATTR(hw_rev, S_IRUGO, show_rev, NULL); 653 static DEVICE_ATTR(hca_type, S_IRUGO, show_hca, NULL); 654 static DEVICE_ATTR(board_id, S_IRUGO, show_hca, NULL); 655 static DEVICE_ATTR(version, S_IRUGO, show_version, NULL); 656 static DEVICE_ATTR(nctxts, S_IRUGO, show_nctxts, NULL); 657 static DEVICE_ATTR(nfreectxts, S_IRUGO, show_nfreectxts, NULL); 658 static DEVICE_ATTR(serial, S_IRUGO, show_serial, NULL); 659 static DEVICE_ATTR(boardversion, S_IRUGO, show_boardversion, NULL); 660 static DEVICE_ATTR(tempsense, S_IRUGO, show_tempsense, NULL); 661 static DEVICE_ATTR(localbus_info, S_IRUGO, show_localbus_info, NULL); 662 static DEVICE_ATTR(chip_reset, S_IWUSR, NULL, store_chip_reset);
|
/linux-4.4.14/drivers/sh/intc/ |
H A D | userimask.c | 58 static DEVICE_ATTR(userimask, S_IRUSR | S_IWUSR,
|
/linux-4.4.14/drivers/isdn/gigaset/ |
H A D | proc.c | 59 static DEVICE_ATTR(cidmode, S_IRUGO | S_IWUSR, show_cidmode, set_cidmode);
|
/linux-4.4.14/drivers/mtd/ |
H A D | mtdcore.c | 148 static DEVICE_ATTR(type, S_IRUGO, mtd_type_show, NULL); 158 static DEVICE_ATTR(flags, S_IRUGO, mtd_flags_show, NULL); 169 static DEVICE_ATTR(size, S_IRUGO, mtd_size_show, NULL); 179 static DEVICE_ATTR(erasesize, S_IRUGO, mtd_erasesize_show, NULL); 189 static DEVICE_ATTR(writesize, S_IRUGO, mtd_writesize_show, NULL); 200 static DEVICE_ATTR(subpagesize, S_IRUGO, mtd_subpagesize_show, NULL); 210 static DEVICE_ATTR(oobsize, S_IRUGO, mtd_oobsize_show, NULL); 220 static DEVICE_ATTR(numeraseregions, S_IRUGO, mtd_numeraseregions_show, 231 static DEVICE_ATTR(name, S_IRUGO, mtd_name_show, NULL); 240 static DEVICE_ATTR(ecc_strength, S_IRUGO, mtd_ecc_strength_show, NULL); 266 static DEVICE_ATTR(bitflip_threshold, S_IRUGO | S_IWUSR, 278 static DEVICE_ATTR(ecc_step_size, S_IRUGO, mtd_ecc_step_size_show, NULL); 288 static DEVICE_ATTR(corrected_bits, S_IRUGO, 299 static DEVICE_ATTR(ecc_failures, S_IRUGO, mtd_ecc_stats_errors_show, NULL); 309 static DEVICE_ATTR(bad_blocks, S_IRUGO, mtd_badblocks_show, NULL); 319 static DEVICE_ATTR(bbt_blocks, S_IRUGO, mtd_bbtblocks_show, NULL);
|
/linux-4.4.14/drivers/usb/misc/ |
H A D | cytherm.c | 132 static DEVICE_ATTR(brightness, S_IRUGO | S_IWUSR | S_IWGRP, 180 static DEVICE_ATTR(temp, S_IRUGO, show_temp, set_temp); 221 static DEVICE_ATTR(button, S_IRUGO, show_button, set_button); 282 static DEVICE_ATTR(port0, S_IRUGO | S_IWUSR | S_IWGRP, show_port0, set_port0); 342 static DEVICE_ATTR(port1, S_IRUGO | S_IWUSR | S_IWGRP, show_port1, set_port1);
|
H A D | usbsevseg.c | 194 static DEVICE_ATTR(name, S_IRUGO | S_IWUSR, show_attr_##name, set_attr_##name); 225 static DEVICE_ATTR(text, S_IRUGO | S_IWUSR, show_attr_text, set_attr_text); 274 static DEVICE_ATTR(decimals, S_IRUGO | S_IWUSR, show_attr_decimals, set_attr_decimals); 320 static DEVICE_ATTR(textmode, S_IRUGO | S_IWUSR, show_attr_textmode, set_attr_textmode);
|
H A D | trancevibrator.c | 88 static DEVICE_ATTR(speed, S_IRUGO | S_IWUSR, show_speed, set_speed);
|
H A D | cypress_cy7c63.c | 198 static DEVICE_ATTR(port0, S_IRUGO | S_IWUSR, get_port0_handler, set_port0_handler); 200 static DEVICE_ATTR(port1, S_IRUGO | S_IWUSR, get_port1_handler, set_port1_handler);
|
/linux-4.4.14/drivers/misc/c2port/ |
H A D | core.c | 314 static DEVICE_ATTR(name, 0444, c2port_show_name, NULL); 324 static DEVICE_ATTR(flash_blocks_num, 0444, c2port_show_flash_blocks_num, NULL); 334 static DEVICE_ATTR(flash_block_size, 0444, c2port_show_flash_block_size, NULL); 344 static DEVICE_ATTR(flash_size, 0444, c2port_show_flash_size, NULL); 402 static DEVICE_ATTR(reset, 0200, NULL, c2port_store_reset); 439 static DEVICE_ATTR(dev_id, 0444, c2port_show_dev_id, NULL); 476 static DEVICE_ATTR(rev_id, 0444, c2port_show_rev_id, NULL); 546 static DEVICE_ATTR(flash_access, 0644, c2port_show_flash_access, 628 static DEVICE_ATTR(flash_erase, 0200, NULL, c2port_store_flash_erase);
|
/linux-4.4.14/drivers/xen/ |
H A D | xen-selfballoon.c | 284 static DEVICE_ATTR(selfballooning, S_IRUGO | S_IWUSR, 308 static DEVICE_ATTR(selfballoon_interval, S_IRUGO | S_IWUSR, 332 static DEVICE_ATTR(selfballoon_downhysteresis, S_IRUGO | S_IWUSR, 357 static DEVICE_ATTR(selfballoon_uphysteresis, S_IRUGO | S_IWUSR, 382 static DEVICE_ATTR(selfballoon_min_usable_mb, S_IRUGO | S_IWUSR, 408 static DEVICE_ATTR(selfballoon_reserved_mb, S_IRUGO | S_IWUSR, 441 static DEVICE_ATTR(frontswap_selfshrinking, S_IRUGO | S_IWUSR, 466 static DEVICE_ATTR(frontswap_inertia, S_IRUGO | S_IWUSR, 490 static DEVICE_ATTR(frontswap_hysteresis, S_IRUGO | S_IWUSR,
|
H A D | xen-balloon.c | 127 static DEVICE_ATTR(name, S_IRUGO, show_##name, NULL) 162 static DEVICE_ATTR(target_kb, S_IRUGO | S_IWUSR, 192 static DEVICE_ATTR(target, S_IRUGO | S_IWUSR,
|
/linux-4.4.14/drivers/scsi/lpfc/ |
H A D | lpfc_attr.c | 1954 static DEVICE_ATTR(lpfc_##name, S_IRUGO , lpfc_##name##_show, NULL) 1964 static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\ 1973 static DEVICE_ATTR(lpfc_##name, S_IRUGO , lpfc_##name##_show, NULL) 1983 static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\ 1998 static DEVICE_ATTR(lpfc_##name, S_IRUGO , lpfc_##name##_show, NULL) 2006 static DEVICE_ATTR(lpfc_##name, S_IRUGO , lpfc_##name##_show, NULL) 2016 static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\ 2025 static DEVICE_ATTR(lpfc_##name, S_IRUGO , lpfc_##name##_show, NULL) 2035 static DEVICE_ATTR(lpfc_##name, S_IRUGO | S_IWUSR,\ 2038 static DEVICE_ATTR(bg_info, S_IRUGO, lpfc_bg_info_show, NULL); 2039 static DEVICE_ATTR(bg_guard_err, S_IRUGO, lpfc_bg_guard_err_show, NULL); 2040 static DEVICE_ATTR(bg_apptag_err, S_IRUGO, lpfc_bg_apptag_err_show, NULL); 2041 static DEVICE_ATTR(bg_reftag_err, S_IRUGO, lpfc_bg_reftag_err_show, NULL); 2042 static DEVICE_ATTR(info, S_IRUGO, lpfc_info_show, NULL); 2043 static DEVICE_ATTR(serialnum, S_IRUGO, lpfc_serialnum_show, NULL); 2044 static DEVICE_ATTR(modeldesc, S_IRUGO, lpfc_modeldesc_show, NULL); 2045 static DEVICE_ATTR(modelname, S_IRUGO, lpfc_modelname_show, NULL); 2046 static DEVICE_ATTR(programtype, S_IRUGO, lpfc_programtype_show, NULL); 2047 static DEVICE_ATTR(portnum, S_IRUGO, lpfc_vportnum_show, NULL); 2048 static DEVICE_ATTR(fwrev, S_IRUGO, lpfc_fwrev_show, NULL); 2049 static DEVICE_ATTR(hdw, S_IRUGO, lpfc_hdw_show, NULL); 2050 static DEVICE_ATTR(link_state, S_IRUGO | S_IWUSR, lpfc_link_state_show, 2052 static DEVICE_ATTR(option_rom_version, S_IRUGO, 2054 static DEVICE_ATTR(num_discovered_ports, S_IRUGO, 2056 static DEVICE_ATTR(menlo_mgmt_mode, S_IRUGO, lpfc_mlomgmt_show, NULL); 2057 static DEVICE_ATTR(nport_evt_cnt, S_IRUGO, lpfc_nport_evt_cnt_show, NULL); 2058 static DEVICE_ATTR(lpfc_drvr_version, S_IRUGO, lpfc_drvr_version_show, NULL); 2059 static DEVICE_ATTR(lpfc_enable_fip, S_IRUGO, lpfc_enable_fip_show, NULL); 2060 static DEVICE_ATTR(board_mode, S_IRUGO | S_IWUSR, 2062 static DEVICE_ATTR(issue_reset, S_IWUSR, NULL, lpfc_issue_reset); 2063 static DEVICE_ATTR(max_vpi, S_IRUGO, lpfc_max_vpi_show, NULL); 2064 static DEVICE_ATTR(used_vpi, S_IRUGO, lpfc_used_vpi_show, NULL); 2065 static DEVICE_ATTR(max_rpi, S_IRUGO, lpfc_max_rpi_show, NULL); 2066 static DEVICE_ATTR(used_rpi, S_IRUGO, lpfc_used_rpi_show, NULL); 2067 static DEVICE_ATTR(max_xri, S_IRUGO, lpfc_max_xri_show, NULL); 2068 static DEVICE_ATTR(used_xri, S_IRUGO, lpfc_used_xri_show, NULL); 2069 static DEVICE_ATTR(npiv_info, S_IRUGO, lpfc_npiv_info_show, NULL); 2070 static DEVICE_ATTR(lpfc_temp_sensor, S_IRUGO, lpfc_temp_sensor_show, NULL); 2071 static DEVICE_ATTR(lpfc_fips_level, S_IRUGO, lpfc_fips_level_show, NULL); 2072 static DEVICE_ATTR(lpfc_fips_rev, S_IRUGO, lpfc_fips_rev_show, NULL); 2073 static DEVICE_ATTR(lpfc_dss, S_IRUGO, lpfc_dss_show, NULL); 2074 static DEVICE_ATTR(lpfc_sriov_hw_max_virtfn, S_IRUGO, 2076 static DEVICE_ATTR(protocol, S_IRUGO, lpfc_sli4_protocol_show, NULL); 2077 static DEVICE_ATTR(lpfc_xlane_supported, S_IRUGO, lpfc_oas_supported_show, 2168 static DEVICE_ATTR(lpfc_soft_wwn_enable, S_IWUSR, NULL, 2268 static DEVICE_ATTR(lpfc_soft_wwpn, S_IRUGO | S_IWUSR, 2332 static DEVICE_ATTR(lpfc_soft_wwnn, S_IRUGO | S_IWUSR, 2400 static DEVICE_ATTR(lpfc_xlane_tgt, S_IRUGO | S_IWUSR, 2468 static DEVICE_ATTR(lpfc_xlane_vpt, S_IRUGO | S_IWUSR, 2530 static DEVICE_ATTR(lpfc_xlane_lun_state, S_IRUGO | S_IWUSR, 2556 static DEVICE_ATTR(lpfc_xlane_lun_status, S_IRUGO, 2762 static DEVICE_ATTR(lpfc_xlane_lun, S_IRUGO | S_IWUSR, 2772 static DEVICE_ATTR(lpfc_poll, S_IRUGO | S_IWUSR, 2787 static DEVICE_ATTR(lpfc_enable_npiv, S_IRUGO, lpfc_enable_npiv_show, NULL); 2803 static DEVICE_ATTR(lpfc_enable_rrq, S_IRUGO, lpfc_enable_rrq_show, NULL); 2832 static DEVICE_ATTR(iocb_hw, S_IRUGO, 2844 static DEVICE_ATTR(txq_hw, S_IRUGO, 2857 static DEVICE_ATTR(txcmplq_hw, S_IRUGO, 2866 static DEVICE_ATTR(lpfc_iocb_cnt, S_IRUGO, 3005 static DEVICE_ATTR(lpfc_nodev_tmo, S_IRUGO | S_IWUSR, 3055 static DEVICE_ATTR(lpfc_devloss_tmo, S_IRUGO | S_IWUSR, 3203 static DEVICE_ATTR(lpfc_restrict_login, S_IRUGO | S_IWUSR, 3319 static DEVICE_ATTR(lpfc_topology, S_IRUGO | S_IWUSR, 3350 static DEVICE_ATTR(lpfc_static_vport, S_IRUGO, 3578 static DEVICE_ATTR(lpfc_stat_data_ctrl, S_IRUGO | S_IWUSR, 3813 static DEVICE_ATTR(lpfc_link_speed, S_IRUGO | S_IWUSR, 3944 static DEVICE_ATTR(lpfc_aer_support, S_IRUGO | S_IWUSR, 3991 static DEVICE_ATTR(lpfc_aer_state_cleanup, S_IWUSR, NULL, 4121 static DEVICE_ATTR(lpfc_sriov_nr_virtfn, S_IRUGO | S_IWUSR, 4191 static DEVICE_ATTR(lpfc_req_fw_upgrade, S_IRUGO | S_IWUSR, 4290 static DEVICE_ATTR(lpfc_fcp_imax, S_IRUGO | S_IWUSR, 4441 static DEVICE_ATTR(lpfc_fcp_cpu_map, S_IRUGO | S_IWUSR, 4504 static DEVICE_ATTR(lpfc_max_scsicmpl_time, S_IRUGO | S_IWUSR,
|
/linux-4.4.14/drivers/uwb/ |
H A D | lc-dev.c | 127 static DEVICE_ATTR(EUI_48, S_IRUGO, uwb_dev_EUI_48_show, NULL); 138 static DEVICE_ATTR(DevAddr, S_IRUGO, uwb_dev_DevAddr_show, NULL); 163 static DEVICE_ATTR(BPST, S_IRUGO, uwb_dev_BPST_show, NULL); 181 static DEVICE_ATTR(IEs, S_IRUGO | S_IWUSR, uwb_dev_IEs_show, NULL); 209 static DEVICE_ATTR(LQE, S_IRUGO | S_IWUSR, uwb_dev_LQE_show, uwb_dev_LQE_store); 237 static DEVICE_ATTR(RSSI, S_IRUGO | S_IWUSR, uwb_dev_RSSI_show, uwb_dev_RSSI_store);
|
H A D | scan.c | 135 DEVICE_ATTR(scan, S_IRUGO | S_IWUSR, uwb_rc_scan_show, uwb_rc_scan_store);
|
/linux-4.4.14/drivers/power/ |
H A D | bq2415x_charger.c | 1461 static DEVICE_ATTR(current_limit, S_IWUSR | S_IRUGO, 1463 static DEVICE_ATTR(weak_battery_voltage, S_IWUSR | S_IRUGO, 1465 static DEVICE_ATTR(battery_regulation_voltage, S_IWUSR | S_IRUGO, 1467 static DEVICE_ATTR(charge_current, S_IWUSR | S_IRUGO, 1469 static DEVICE_ATTR(termination_current, S_IWUSR | S_IRUGO, 1472 static DEVICE_ATTR(charge_termination_enable, S_IWUSR | S_IRUGO, 1474 static DEVICE_ATTR(high_impedance_enable, S_IWUSR | S_IRUGO, 1476 static DEVICE_ATTR(otg_pin_enable, S_IWUSR | S_IRUGO, 1478 static DEVICE_ATTR(stat_pin_enable, S_IWUSR | S_IRUGO, 1481 static DEVICE_ATTR(reported_mode, S_IRUGO, 1483 static DEVICE_ATTR(mode, S_IWUSR | S_IRUGO, 1485 static DEVICE_ATTR(timer, S_IWUSR | S_IRUGO, 1488 static DEVICE_ATTR(registers, S_IWUSR | S_IRUGO, 1491 static DEVICE_ATTR(otg_status, S_IRUGO, bq2415x_sysfs_show_status, NULL); 1492 static DEVICE_ATTR(charge_status, S_IRUGO, bq2415x_sysfs_show_status, NULL); 1493 static DEVICE_ATTR(boost_status, S_IRUGO, bq2415x_sysfs_show_status, NULL); 1494 static DEVICE_ATTR(fault_status, S_IRUGO, bq2415x_sysfs_show_status, NULL);
|
H A D | pcf50633-charger.c | 165 static DEVICE_ATTR(chgmode, S_IRUGO, show_chgmode, NULL); 203 static DEVICE_ATTR(usb_curlim, S_IRUGO | S_IWUSR, show_usblim, set_usblim); 248 static DEVICE_ATTR(chg_curlim, S_IRUGO | S_IWUSR, show_chglim, set_chglim);
|
H A D | lp8788-charger.c | 686 static DEVICE_ATTR(charger_status, S_IRUSR, lp8788_show_charger_status, NULL); 687 static DEVICE_ATTR(eoc_time, S_IRUSR, lp8788_show_eoc_time, NULL); 688 static DEVICE_ATTR(eoc_level, S_IRUSR, lp8788_show_eoc_level, NULL);
|
/linux-4.4.14/drivers/usb/host/ |
H A D | ehci-sysfs.c | 75 static DEVICE_ATTR(companion, 0644, show_companion, store_companion); 159 static DEVICE_ATTR(uframe_periodic_max, 0644, show_uframe_periodic_max, store_uframe_periodic_max);
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
H A D | sysfs.c | 582 static DEVICE_ATTR(hw_rev, S_IRUGO, show_rev, NULL); 583 static DEVICE_ATTR(board_id, S_IRUGO, show_hfi, NULL); 584 static DEVICE_ATTR(nctxts, S_IRUGO, show_nctxts, NULL); 585 static DEVICE_ATTR(nfreectxts, S_IRUGO, show_nfreectxts, NULL); 586 static DEVICE_ATTR(serial, S_IRUGO, show_serial, NULL); 587 static DEVICE_ATTR(boardversion, S_IRUGO, show_boardversion, NULL); 588 static DEVICE_ATTR(tempsense, S_IRUGO, show_tempsense, NULL); 589 static DEVICE_ATTR(chip_reset, S_IWUSR, NULL, store_chip_reset);
|
/linux-4.4.14/drivers/rtc/ |
H A D | rtc-ep93xx.c | 107 static DEVICE_ATTR(comp_preload, S_IRUGO, ep93xx_rtc_show_comp_preload, NULL); 118 static DEVICE_ATTR(comp_delete, S_IRUGO, ep93xx_rtc_show_comp_delete, NULL);
|
H A D | rtc-ds1343.c | 154 static DEVICE_ATTR(glitch_filter, S_IRUGO | S_IWUSR, ds1343_show_glitchfilter, 219 static DEVICE_ATTR(alarm_status, S_IRUGO, ds1343_show_alarmstatus, NULL); 269 static DEVICE_ATTR(alarm_mode, S_IRUGO, ds1343_show_alarmmode, NULL); 313 static DEVICE_ATTR(trickle_charger, S_IRUGO, ds1343_show_tricklecharger, NULL);
|
H A D | rtc-test.c | 107 static DEVICE_ATTR(irq, S_IRUGO | S_IWUSR, test_irq_show, test_irq_store);
|
H A D | rtc-isl1208.c | 562 static DEVICE_ATTR(atrim, S_IRUGO, isl1208_sysfs_show_atrim, NULL); 575 static DEVICE_ATTR(dtrim, S_IRUGO, isl1208_sysfs_show_dtrim, NULL); 609 static DEVICE_ATTR(usr, S_IRUGO | S_IWUSR, isl1208_sysfs_show_usr,
|
H A D | rtc-ds1672.c | 149 static DEVICE_ATTR(control, S_IRUGO, show_control, NULL);
|
/linux-4.4.14/drivers/net/wireless/b43legacy/ |
H A D | sysfs.c | 153 static DEVICE_ATTR(interference, 0644, 206 static DEVICE_ATTR(shortpreamble, 0644,
|
/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
H A D | sysfs.c | 83 static DEVICE_ATTR(bt_coex_state, S_IRUGO | S_IWUSR, 106 static DEVICE_ATTR(hw_pg_ver, S_IRUGO,
|
/linux-4.4.14/drivers/ata/ |
H A D | libata-transport.c | 216 static DEVICE_ATTR(name, S_IRUGO, show_ata_port_##name, NULL) 339 static DEVICE_ATTR(field, S_IRUGO, show_ata_link_##field, NULL) 465 static DEVICE_ATTR(field, S_IRUGO, show_ata_dev_##field, NULL) 485 static DEVICE_ATTR(field, S_IRUGO, \ 521 static DEVICE_ATTR(ering, S_IRUGO, show_ata_dev_ering, NULL); 540 static DEVICE_ATTR(id, S_IRUGO, show_ata_dev_id, NULL); 561 static DEVICE_ATTR(gscr, S_IRUGO, show_ata_dev_gscr, NULL); 584 static DEVICE_ATTR(trim, S_IRUGO, show_ata_dev_trim, NULL);
|
/linux-4.4.14/drivers/net/wimax/i2400m/ |
H A D | sysfs.c | 68 DEVICE_ATTR(i2400m_idle_timeout, S_IWUSR,
|
/linux-4.4.14/drivers/block/aoe/ |
H A D | aoeblk.c | 162 static DEVICE_ATTR(state, S_IRUGO, aoedisk_show_state, NULL); 163 static DEVICE_ATTR(mac, S_IRUGO, aoedisk_show_mac, NULL); 164 static DEVICE_ATTR(netif, S_IRUGO, aoedisk_show_netif, NULL); 169 static DEVICE_ATTR(payload, S_IRUGO, aoedisk_show_payload, NULL);
|
/linux-4.4.14/drivers/scsi/bfa/ |
H A D | bfad_attr.c | 945 static DEVICE_ATTR(serial_number, S_IRUGO, 947 static DEVICE_ATTR(model, S_IRUGO, bfad_im_model_show, NULL); 948 static DEVICE_ATTR(model_description, S_IRUGO, 950 static DEVICE_ATTR(node_name, S_IRUGO, bfad_im_node_name_show, NULL); 951 static DEVICE_ATTR(symbolic_name, S_IRUGO, 953 static DEVICE_ATTR(hardware_version, S_IRUGO, 955 static DEVICE_ATTR(driver_version, S_IRUGO, 957 static DEVICE_ATTR(option_rom_version, S_IRUGO, 959 static DEVICE_ATTR(firmware_version, S_IRUGO, 961 static DEVICE_ATTR(number_of_ports, S_IRUGO, 963 static DEVICE_ATTR(driver_name, S_IRUGO, bfad_im_drv_name_show, NULL); 964 static DEVICE_ATTR(number_of_discovered_ports, S_IRUGO,
|
/linux-4.4.14/drivers/input/ |
H A D | input-polldev.c | 115 static DEVICE_ATTR(poll, S_IRUGO | S_IWUSR, input_polldev_get_poll, 127 static DEVICE_ATTR(max, S_IRUGO, input_polldev_get_max, NULL); 137 static DEVICE_ATTR(min, S_IRUGO, input_polldev_get_min, NULL);
|
/linux-4.4.14/drivers/platform/chrome/ |
H A D | cros_ec_sysfs.c | 283 static DEVICE_ATTR(reboot, S_IWUSR | S_IRUGO, show_ec_reboot, store_ec_reboot); 284 static DEVICE_ATTR(version, S_IRUGO, show_ec_version, NULL); 285 static DEVICE_ATTR(flashinfo, S_IRUGO, show_ec_flashinfo, NULL);
|
/linux-4.4.14/drivers/hid/ |
H A D | hid-roccat-kovaplus.c | 326 static DEVICE_ATTR(actual_profile, 0660, 337 static DEVICE_ATTR(actual_cpi, 0440, kovaplus_sysfs_show_actual_cpi, NULL); 346 static DEVICE_ATTR(actual_sensitivity_x, 0440, 356 static DEVICE_ATTR(actual_sensitivity_y, 0440, 377 static DEVICE_ATTR(firmware_version, 0440,
|
H A D | hid-ntrig.c | 182 static DEVICE_ATTR(sensor_physical_width, S_IRUGO, show_phys_width, NULL); 194 static DEVICE_ATTR(sensor_physical_height, S_IRUGO, show_phys_height, NULL); 206 static DEVICE_ATTR(sensor_logical_width, S_IRUGO, show_log_width, NULL); 218 static DEVICE_ATTR(sensor_logical_height, S_IRUGO, show_log_height, NULL); 253 static DEVICE_ATTR(min_width, S_IWUSR | S_IRUGO, show_min_width, set_min_width); 288 static DEVICE_ATTR(min_height, S_IWUSR | S_IRUGO, show_min_height, 321 static DEVICE_ATTR(activate_slack, S_IWUSR | S_IRUGO, show_activate_slack, 357 static DEVICE_ATTR(activation_width, S_IWUSR | S_IRUGO, show_activation_width, 393 static DEVICE_ATTR(activation_height, S_IWUSR | S_IRUGO, 431 static DEVICE_ATTR(deactivate_slack, S_IWUSR | S_IRUGO, show_deactivate_slack,
|
H A D | hid-roccat-kone.c | 406 static DEVICE_ATTR(actual_profile, 0440, kone_sysfs_show_actual_profile, NULL); 415 static DEVICE_ATTR(actual_dpi, 0440, kone_sysfs_show_actual_dpi, NULL); 438 static DEVICE_ATTR(weight, 0440, kone_sysfs_show_weight, NULL); 447 static DEVICE_ATTR(firmware_version, 0440, kone_sysfs_show_firmware_version, 550 static DEVICE_ATTR(tcu, 0660, kone_sysfs_show_tcu, kone_sysfs_set_tcu); 597 static DEVICE_ATTR(startup_profile, 0660, kone_sysfs_show_startup_profile,
|
H A D | hid-roccat-arvo.c | 78 static DEVICE_ATTR(mode_key, 0660, 128 static DEVICE_ATTR(key_mask, 0660, 186 static DEVICE_ATTR(actual_profile, 0660,
|
H A D | hid-roccat-pyra.c | 299 static DEVICE_ATTR(actual_cpi, 0440, pyra_sysfs_show_actual_cpi, NULL); 316 static DEVICE_ATTR(actual_profile, 0440, pyra_sysfs_show_actual_profile, NULL); 317 static DEVICE_ATTR(startup_profile, 0440, pyra_sysfs_show_actual_profile, NULL); 337 static DEVICE_ATTR(firmware_version, 0440, pyra_sysfs_show_firmware_version,
|
H A D | hid-roccat-koneplus.c | 298 static DEVICE_ATTR(actual_profile, 0660, 301 static DEVICE_ATTR(startup_profile, 0660, 323 static DEVICE_ATTR(firmware_version, 0440,
|
/linux-4.4.14/drivers/input/tablet/ |
H A D | aiptek.c | 1067 static DEVICE_ATTR(size, S_IRUGO, show_tabletSize, NULL); 1102 static DEVICE_ATTR(pointer_mode, 1139 static DEVICE_ATTR(coordinate_mode, 1181 static DEVICE_ATTR(tool_mode, 1224 static DEVICE_ATTR(xtilt, 1266 static DEVICE_ATTR(ytilt, 1294 static DEVICE_ATTR(jitter, 1324 static DEVICE_ATTR(delay, 1339 static DEVICE_ATTR(event_count, S_IRUGO, show_tabletEventsReceived, NULL); 1378 static DEVICE_ATTR(diagnostic, S_IRUGO, show_tabletDiagnosticMessage, NULL); 1413 static DEVICE_ATTR(stylus_upper, 1444 static DEVICE_ATTR(stylus_lower, 1482 static DEVICE_ATTR(mouse_left, 1512 static DEVICE_ATTR(mouse_middle, 1542 static DEVICE_ATTR(mouse_right, 1576 static DEVICE_ATTR(wheel, 1609 static DEVICE_ATTR(execute, 1623 static DEVICE_ATTR(odm_code, S_IRUGO, show_tabletODMCode, NULL); 1636 static DEVICE_ATTR(model_code, S_IRUGO, show_tabletModelCode, NULL); 1650 static DEVICE_ATTR(firmware_code, S_IRUGO, show_firmwareCode, NULL);
|
/linux-4.4.14/drivers/s390/cio/ |
H A D | chp.c | 274 static DEVICE_ATTR(status, 0644, chp_status_show, chp_status_write); 311 static DEVICE_ATTR(configure, 0644, chp_configure_show, chp_configure_write); 325 static DEVICE_ATTR(type, 0444, chp_type_show, NULL); 339 static DEVICE_ATTR(cmg, 0444, chp_cmg_show, NULL); 353 static DEVICE_ATTR(shared, 0444, chp_shared_show, NULL); 370 static DEVICE_ATTR(chid, 0444, chp_chid_show, NULL); 387 static DEVICE_ATTR(chid_external, 0444, chp_chid_external_show, NULL);
|
/linux-4.4.14/arch/s390/crypto/ |
H A D | prng.c | 688 static DEVICE_ATTR(chunksize, 0444, prng_chunksize_show, NULL); 707 static DEVICE_ATTR(byte_counter, 0444, prng_counter_show, NULL); 716 static DEVICE_ATTR(errorflag, 0444, prng_errorflag_show, NULL); 728 static DEVICE_ATTR(mode, 0444, prng_mode_show, NULL); 742 static DEVICE_ATTR(reseed, 0200, NULL, prng_reseed_store); 772 static DEVICE_ATTR(reseed_limit, 0644, 782 static DEVICE_ATTR(strength, 0444, prng_strength_show, NULL);
|
/linux-4.4.14/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_ctl.c | 2425 static DEVICE_ATTR(version_fw, S_IRUGO, _ctl_version_fw_show, NULL); 2449 static DEVICE_ATTR(version_bios, S_IRUGO, _ctl_version_bios_show, NULL); 2468 static DEVICE_ATTR(version_mpi, S_IRUGO, _ctl_version_mpi_show, NULL); 2486 static DEVICE_ATTR(version_product, S_IRUGO, _ctl_version_product_show, NULL); 2505 static DEVICE_ATTR(version_nvdata_persistent, S_IRUGO, 2525 static DEVICE_ATTR(version_nvdata_default, S_IRUGO, 2544 static DEVICE_ATTR(board_name, S_IRUGO, _ctl_board_name_show, NULL); 2562 static DEVICE_ATTR(board_assembly, S_IRUGO, _ctl_board_assembly_show, NULL); 2580 static DEVICE_ATTR(board_tracer, S_IRUGO, _ctl_board_tracer_show, NULL); 2601 static DEVICE_ATTR(io_delay, S_IRUGO, _ctl_io_delay_show, NULL); 2622 static DEVICE_ATTR(device_delay, S_IRUGO, _ctl_device_delay_show, NULL); 2642 static DEVICE_ATTR(fw_queue_depth, S_IRUGO, _ctl_fw_queue_depth_show, NULL); 2664 static DEVICE_ATTR(host_sas_address, S_IRUGO, 2699 static DEVICE_ATTR(logging_level, S_IRUGO | S_IWUSR, _ctl_logging_level_show, 2735 static DEVICE_ATTR(fwfault_debug, S_IRUGO | S_IWUSR, 2756 static DEVICE_ATTR(ioc_reset_count, S_IRUGO, _ctl_ioc_reset_count_show, NULL); 2783 static DEVICE_ATTR(reply_queue_count, S_IRUGO, _ctl_ioc_reply_queue_count_show, 2860 static DEVICE_ATTR(BRM_status, S_IRUGO, _ctl_BRM_status_show, NULL); 2914 static DEVICE_ATTR(host_trace_buffer_size, S_IRUGO, 2976 static DEVICE_ATTR(host_trace_buffer, S_IRUGO | S_IWUSR, 3062 static DEVICE_ATTR(host_trace_buffer_enable, S_IRUGO | S_IWUSR, 3119 static DEVICE_ATTR(diag_trigger_master, S_IRUGO | S_IWUSR, 3173 static DEVICE_ATTR(diag_trigger_event, S_IRUGO | S_IWUSR, 3226 static DEVICE_ATTR(diag_trigger_scsi, S_IRUGO | S_IWUSR, 3280 static DEVICE_ATTR(diag_trigger_mpi, S_IRUGO | S_IWUSR, 3339 static DEVICE_ATTR(sas_address, S_IRUGO, _ctl_device_sas_address_show, NULL); 3360 static DEVICE_ATTR(sas_device_handle, S_IRUGO, _ctl_device_handle_show, NULL);
|
/linux-4.4.14/drivers/staging/iio/light/ |
H A D | tsl2583.c | 746 static DEVICE_ATTR(power_state, S_IRUGO | S_IWUSR, 749 static DEVICE_ATTR(illuminance0_calibscale, S_IRUGO | S_IWUSR, 751 static DEVICE_ATTR(illuminance0_calibscale_available, S_IRUGO, 754 static DEVICE_ATTR(illuminance0_integration_time, S_IRUGO | S_IWUSR, 756 static DEVICE_ATTR(illuminance0_integration_time_available, S_IRUGO, 759 static DEVICE_ATTR(illuminance0_calibbias, S_IRUGO | S_IWUSR, 762 static DEVICE_ATTR(illuminance0_input_target, S_IRUGO | S_IWUSR, 765 static DEVICE_ATTR(illuminance0_input, S_IRUGO, taos_lux_show, NULL); 766 static DEVICE_ATTR(illuminance0_calibrate, S_IWUSR, NULL, taos_do_calibrate); 767 static DEVICE_ATTR(illuminance0_lux_table, S_IRUGO | S_IWUSR,
|
H A D | tsl2x7x_core.c | 1471 static DEVICE_ATTR(power_state, S_IRUGO | S_IWUSR, 1474 static DEVICE_ATTR(in_proximity0_calibscale_available, S_IRUGO, 1477 static DEVICE_ATTR(in_illuminance0_calibscale_available, S_IRUGO, 1480 static DEVICE_ATTR(in_illuminance0_integration_time, S_IRUGO | S_IWUSR, 1483 static DEVICE_ATTR(in_illuminance0_target_input, S_IRUGO | S_IWUSR, 1486 static DEVICE_ATTR(in_illuminance0_calibrate, S_IWUSR, NULL, 1489 static DEVICE_ATTR(in_proximity0_calibrate, S_IWUSR, NULL, 1492 static DEVICE_ATTR(in_illuminance0_lux_table, S_IRUGO | S_IWUSR, 1495 static DEVICE_ATTR(in_intensity0_thresh_period, S_IRUGO | S_IWUSR, 1498 static DEVICE_ATTR(in_proximity0_thresh_period, S_IRUGO | S_IWUSR,
|
/linux-4.4.14/drivers/net/wireless/libertas/ |
H A D | mesh.c | 300 static DEVICE_ATTR(lbs_mesh, 0644, lbs_mesh_get, lbs_mesh_set); 306 static DEVICE_ATTR(anycast_mask, 0644, lbs_anycast_get, lbs_anycast_set); 312 static DEVICE_ATTR(prb_rsp_limit, 0644, lbs_prb_rsp_limit_get, 767 static DEVICE_ATTR(bootflag, 0644, bootflag_get, bootflag_set); 768 static DEVICE_ATTR(boottime, 0644, boottime_get, boottime_set); 769 static DEVICE_ATTR(channel, 0644, channel_get, channel_set); 770 static DEVICE_ATTR(mesh_id, 0644, mesh_id_get, mesh_id_set); 771 static DEVICE_ATTR(protocol_id, 0644, protocol_id_get, protocol_id_set); 772 static DEVICE_ATTR(metric_id, 0644, metric_id_get, metric_id_set); 773 static DEVICE_ATTR(capability, 0644, capability_get, capability_set);
|
/linux-4.4.14/drivers/input/misc/ |
H A D | adxl34x.c | 480 static DEVICE_ATTR(disable, 0664, adxl34x_disable_show, adxl34x_disable_store); 527 static DEVICE_ATTR(calibrate, 0664, 562 static DEVICE_ATTR(rate, 0664, adxl34x_rate_show, adxl34x_rate_store); 600 static DEVICE_ATTR(autosleep, 0664, 617 static DEVICE_ATTR(position, S_IRUGO, adxl34x_position_show, NULL); 642 static DEVICE_ATTR(write, 0664, NULL, adxl34x_write_store);
|
H A D | yealink.c | 780 static DEVICE_ATTR(map_seg7 , _M664, show_map , store_map ); 781 static DEVICE_ATTR(line1 , _M664, show_line1 , store_line1 ); 782 static DEVICE_ATTR(line2 , _M664, show_line2 , store_line2 ); 783 static DEVICE_ATTR(line3 , _M664, show_line3 , store_line3 ); 784 static DEVICE_ATTR(get_icons , _M444, get_icons , NULL ); 785 static DEVICE_ATTR(show_icon , _M220, NULL , show_icon ); 786 static DEVICE_ATTR(hide_icon , _M220, NULL , hide_icon ); 787 static DEVICE_ATTR(ringtone , _M220, NULL , store_ringtone);
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_main.c | 272 static DEVICE_ATTR(hw_rev, S_IRUGO, show_rev, NULL); 273 static DEVICE_ATTR(fw_ver, S_IRUGO, show_fw_ver, NULL); 274 static DEVICE_ATTR(hca_type, S_IRUGO, show_hca_type, NULL);
|
/linux-4.4.14/drivers/eisa/ |
H A D | eisa-bus.c | 166 static DEVICE_ATTR(signature, S_IRUGO, eisa_show_sig, NULL); 176 static DEVICE_ATTR(enabled, S_IRUGO, eisa_show_state, NULL); 186 static DEVICE_ATTR(modalias, S_IRUGO, eisa_show_modalias, NULL);
|
/linux-4.4.14/drivers/macintosh/ams/ |
H A D | ams-input.c | 143 static DEVICE_ATTR(joystick, S_IRUGO | S_IWUSR,
|
H A D | ams-core.c | 69 static DEVICE_ATTR(current, S_IRUGO, ams_show_current, NULL);
|
/linux-4.4.14/drivers/net/wireless/b43/ |
H A D | sysfs.c | 138 static DEVICE_ATTR(interference, 0644,
|
/linux-4.4.14/drivers/pci/hotplug/ |
H A D | shpchp_sysfs.c | 86 static DEVICE_ATTR (ctrl, S_IRUGO, show_ctrl, NULL);
|
/linux-4.4.14/drivers/power/reset/ |
H A D | vexpress-poweroff.c | 77 DEVICE_ATTR(active, S_IRUGO | S_IWUSR, vexpress_reset_active_show,
|
/linux-4.4.14/drivers/cpuidle/ |
H A D | sysfs.c | 118 static DEVICE_ATTR(current_driver, 0444, show_current_driver, NULL); 119 static DEVICE_ATTR(current_governor_ro, 0444, show_current_governor, NULL); 127 static DEVICE_ATTR(available_governors, 0444, show_available_governors, NULL); 128 static DEVICE_ATTR(current_governor, 0644, show_current_governor,
|
/linux-4.4.14/drivers/devfreq/ |
H A D | governor_userspace.c | 85 static DEVICE_ATTR(set_freq, 0644, show_freq, store_freq);
|
/linux-4.4.14/drivers/atm/ |
H A D | adummy.c | 67 static DEVICE_ATTR(signal, 0644, __show_signal, __set_signal);
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | vpe-cmp.c | 38 static DEVICE_ATTR(kill, S_IWUSR, NULL, store_kill);
|
/linux-4.4.14/arch/sh/drivers/ |
H A D | push-switch.c | 27 static DEVICE_ATTR(switch, S_IRUGO, switch_show, NULL);
|
/linux-4.4.14/drivers/usb/usbip/ |
H A D | vhci_sysfs.c | 134 static DEVICE_ATTR(detach, S_IWUSR, NULL, store_detach); 240 static DEVICE_ATTR(attach, S_IWUSR, NULL, store_attach);
|
/linux-4.4.14/drivers/input/mouse/ |
H A D | cyapa.c | 804 static DEVICE_ATTR(suspend_scanrate_ms, S_IRUGO|S_IWUSR, 920 static DEVICE_ATTR(runtime_suspend_scanrate_ms, S_IRUGO|S_IWUSR, 1218 static DEVICE_ATTR(firmware_version, S_IRUGO, cyapa_show_fm_ver, NULL); 1219 static DEVICE_ATTR(product_id, S_IRUGO, cyapa_show_product_id, NULL); 1220 static DEVICE_ATTR(update_fw, S_IWUSR, NULL, cyapa_update_fw_store); 1221 static DEVICE_ATTR(baseline, S_IRUGO, cyapa_show_baseline, NULL); 1222 static DEVICE_ATTR(calibrate, S_IWUSR, NULL, cyapa_calibrate_store); 1223 static DEVICE_ATTR(mode, S_IRUGO, cyapa_show_mode, NULL);
|
H A D | elan_i2c_core.c | 629 static DEVICE_ATTR(product_id, S_IRUGO, elan_sysfs_read_product_id, NULL); 630 static DEVICE_ATTR(firmware_version, S_IRUGO, elan_sysfs_read_fw_ver, NULL); 631 static DEVICE_ATTR(sample_version, S_IRUGO, elan_sysfs_read_sm_ver, NULL); 632 static DEVICE_ATTR(iap_version, S_IRUGO, elan_sysfs_read_iap_ver, NULL); 633 static DEVICE_ATTR(fw_checksum, S_IRUGO, elan_sysfs_read_fw_checksum, NULL); 634 static DEVICE_ATTR(mode, S_IRUGO, elan_sysfs_read_mode, NULL); 635 static DEVICE_ATTR(update_fw, S_IWUSR, NULL, elan_sysfs_update_fw);
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | sysfs.c | 25 static DEVICE_ATTR(NAME, 0444, show_##NAME, NULL) 166 static DEVICE_ATTR(mmustat_enable, 0644, show_mmustat_enable, store_mmustat_enable);
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | err_inject.c | 38 static DEVICE_ATTR(name, 0444, show_##name, NULL) 41 static DEVICE_ATTR(name, 0644, show_##name, store_##name)
|
/linux-4.4.14/drivers/infiniband/core/ |
H A D | sysfs.c | 670 static DEVICE_ATTR(node_type, S_IRUGO, show_node_type, NULL); 671 static DEVICE_ATTR(sys_image_guid, S_IRUGO, show_sys_image_guid, NULL); 672 static DEVICE_ATTR(node_guid, S_IRUGO, show_node_guid, NULL); 673 static DEVICE_ATTR(node_desc, S_IRUGO | S_IWUSR, show_node_desc, set_node_desc); 708 static DEVICE_ATTR(name, S_IRUGO, show_##name, NULL)
|
/linux-4.4.14/drivers/input/touchscreen/ |
H A D | ad7877.c | 462 static DEVICE_ATTR(name, S_IRUGO, name ## _show, NULL); 500 static DEVICE_ATTR(disable, 0664, ad7877_disable_show, ad7877_disable_store); 530 static DEVICE_ATTR(dac, 0664, ad7877_dac_show, ad7877_dac_store); 561 static DEVICE_ATTR(gpio3, 0664, ad7877_gpio3_show, ad7877_gpio3_store); 592 static DEVICE_ATTR(gpio4, 0664, ad7877_gpio4_show, ad7877_gpio4_store);
|
/linux-4.4.14/drivers/s390/crypto/ |
H A D | ap_bus.c | 1032 static DEVICE_ATTR(hwtype, 0444, ap_hwtype_show, NULL); 1042 static DEVICE_ATTR(raw_hwtype, 0444, ap_raw_hwtype_show, NULL); 1051 static DEVICE_ATTR(depth, 0444, ap_depth_show, NULL); ap_request_count_show() 1065 static DEVICE_ATTR(request_count, 0444, ap_request_count_show, NULL); 1079 static DEVICE_ATTR(requestq_count, 0444, ap_requestq_count_show, NULL); 1093 static DEVICE_ATTR(pendingq_count, 0444, ap_pendingq_count_show, NULL); 1118 static DEVICE_ATTR(reset, 0444, ap_reset_show, NULL); 1137 static DEVICE_ATTR(interrupt, 0444, ap_interrupt_show, NULL); 1145 static DEVICE_ATTR(modalias, 0444, ap_modalias_show, NULL); 1154 static DEVICE_ATTR(ap_functions, 0444, ap_functions_show, NULL);
|
/linux-4.4.14/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 2750 static DEVICE_ATTR(id_ext, S_IRUGO, show_id_ext, NULL); 2751 static DEVICE_ATTR(ioc_guid, S_IRUGO, show_ioc_guid, NULL); 2752 static DEVICE_ATTR(service_id, S_IRUGO, show_service_id, NULL); 2753 static DEVICE_ATTR(pkey, S_IRUGO, show_pkey, NULL); 2754 static DEVICE_ATTR(sgid, S_IRUGO, show_sgid, NULL); 2755 static DEVICE_ATTR(dgid, S_IRUGO, show_dgid, NULL); 2756 static DEVICE_ATTR(orig_dgid, S_IRUGO, show_orig_dgid, NULL); 2757 static DEVICE_ATTR(req_lim, S_IRUGO, show_req_lim, NULL); 2758 static DEVICE_ATTR(zero_req_lim, S_IRUGO, show_zero_req_lim, NULL); 2759 static DEVICE_ATTR(local_ib_port, S_IRUGO, show_local_ib_port, NULL); 2760 static DEVICE_ATTR(local_ib_device, S_IRUGO, show_local_ib_device, NULL); 2761 static DEVICE_ATTR(ch_count, S_IRUGO, show_ch_count, NULL); 2762 static DEVICE_ATTR(comp_vector, S_IRUGO, show_comp_vector, NULL); 2763 static DEVICE_ATTR(tl_retry_count, S_IRUGO, show_tl_retry_count, NULL); 2764 static DEVICE_ATTR(cmd_sg_entries, S_IRUGO, show_cmd_sg_entries, NULL); 2765 static DEVICE_ATTR(allow_ext_sg, S_IRUGO, show_allow_ext_sg, NULL); 3378 static DEVICE_ATTR(add_target, S_IWUSR, NULL, srp_create_target); 3388 static DEVICE_ATTR(ibdev, S_IRUGO, show_ibdev, NULL); 3398 static DEVICE_ATTR(port, S_IRUGO, show_port, NULL);
|
/linux-4.4.14/drivers/media/usb/usbvision/ |
H A D | usbvision-video.c | 175 static DEVICE_ATTR(version, S_IRUGO, show_version, NULL); 186 static DEVICE_ATTR(model, S_IRUGO, show_model, NULL); 201 static DEVICE_ATTR(hue, S_IRUGO, show_hue, NULL); 216 static DEVICE_ATTR(contrast, S_IRUGO, show_contrast, NULL); 231 static DEVICE_ATTR(brightness, S_IRUGO, show_brightness, NULL); 246 static DEVICE_ATTR(saturation, S_IRUGO, show_saturation, NULL); 257 static DEVICE_ATTR(streaming, S_IRUGO, show_streaming, NULL); 268 static DEVICE_ATTR(compression, S_IRUGO, show_compression, NULL); 278 static DEVICE_ATTR(bridge, S_IRUGO, show_device_bridge, NULL);
|
/linux-4.4.14/drivers/video/fbdev/omap2/displays-new/ |
H A D | panel-tpo-td043mtea1.c | 272 static DEVICE_ATTR(vmirror, S_IRUGO | S_IWUSR, 274 static DEVICE_ATTR(mode, S_IRUGO | S_IWUSR, 276 static DEVICE_ATTR(gamma, S_IRUGO | S_IWUSR,
|
/linux-4.4.14/arch/x86/kernel/cpu/microcode/ |
H A D | core.c | 447 static DEVICE_ATTR(reload, 0200, NULL, reload_store); 448 static DEVICE_ATTR(version, 0400, version_show, NULL); 449 static DEVICE_ATTR(processor_flags, 0400, pf_show, NULL);
|
/linux-4.4.14/drivers/usb/storage/ |
H A D | sierra_ms.c | 124 static DEVICE_ATTR(truinst, S_IRUGO, show_truinst, NULL);
|
/linux-4.4.14/drivers/usb/chipidea/ |
H A D | otg_fsm.c | 76 static DEVICE_ATTR(a_bus_req, S_IRUGO | S_IWUSR, get_a_bus_req, set_a_bus_req); 116 static DEVICE_ATTR(a_bus_drop, S_IRUGO | S_IWUSR, get_a_bus_drop, 155 static DEVICE_ATTR(b_bus_req, S_IRUGO | S_IWUSR, get_b_bus_req, set_b_bus_req); 175 static DEVICE_ATTR(a_clr_err, S_IWUSR, NULL, set_a_clr_err);
|
/linux-4.4.14/drivers/staging/iio/trigger/ |
H A D | iio-trig-periodic-rtc.c | 91 static DEVICE_ATTR(frequency, S_IRUGO | S_IWUSR,
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
H A D | c2_provider.c | 554 static DEVICE_ATTR(hw_rev, S_IRUGO, show_rev, NULL); 555 static DEVICE_ATTR(fw_ver, S_IRUGO, show_fw_ver, NULL); 556 static DEVICE_ATTR(hca_type, S_IRUGO, show_hca, NULL); 557 static DEVICE_ATTR(board_id, S_IRUGO, show_board, NULL);
|
/linux-4.4.14/drivers/s390/char/ |
H A D | vmlogrdr.c | 540 static DEVICE_ATTR(autopurge, 0644, vmlogrdr_autopurge_show, 581 static DEVICE_ATTR(purge, 0200, NULL, vmlogrdr_purge_store); 614 static DEVICE_ATTR(autorecording, 0644, vmlogrdr_autorecording_show, 643 static DEVICE_ATTR(recording, 0200, NULL, vmlogrdr_recording_store);
|
/linux-4.4.14/drivers/scsi/aic94xx/ |
H A D | aic94xx_init.c | 284 static DEVICE_ATTR(revision, S_IRUGO, asd_show_dev_rev, NULL); 292 static DEVICE_ATTR(bios_build, S_IRUGO, asd_show_dev_bios_build, NULL); 300 static DEVICE_ATTR(pcba_sn, S_IRUGO, asd_show_dev_pcba_sn, NULL); 474 static DEVICE_ATTR(update_bios, S_IRUGO|S_IWUSR,
|
/linux-4.4.14/drivers/net/can/softing/ |
H A D | softing_main.c | 604 static const DEVICE_ATTR(chip, S_IRUGO, show_chip, NULL); 605 static const DEVICE_ATTR(output, S_IRUGO | S_IWUSR, show_output, store_output); 700 static DEVICE_ATTR(name, 0444, show_##name, NULL) 709 static DEVICE_ATTR(name, 0444, show_##name, NULL)
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
H A D | provider.c | 464 static DEVICE_ATTR(hw_rev, S_IRUGO, show_rev, NULL); 465 static DEVICE_ATTR(fw_ver, S_IRUGO, show_fw_ver, NULL); 466 static DEVICE_ATTR(hca_type, S_IRUGO, show_hca, NULL); 467 static DEVICE_ATTR(board_id, S_IRUGO, show_board, NULL);
|