/linux-4.1.27/arch/x86/include/asm/ |
D | inat.h | 112 static inline int inat_is_legacy_prefix(insn_attr_t attr) in inat_is_legacy_prefix() 118 static inline int inat_is_address_size_prefix(insn_attr_t attr) in inat_is_address_size_prefix() 123 static inline int inat_is_operand_size_prefix(insn_attr_t attr) in inat_is_operand_size_prefix() 128 static inline int inat_is_rex_prefix(insn_attr_t attr) in inat_is_rex_prefix() 133 static inline int inat_last_prefix_id(insn_attr_t attr) in inat_last_prefix_id() 141 static inline int inat_is_vex_prefix(insn_attr_t attr) in inat_is_vex_prefix() 147 static inline int inat_is_vex3_prefix(insn_attr_t attr) in inat_is_vex3_prefix() 152 static inline int inat_is_escape(insn_attr_t attr) in inat_is_escape() 157 static inline int inat_escape_id(insn_attr_t attr) in inat_escape_id() 162 static inline int inat_is_group(insn_attr_t attr) in inat_is_group() [all …]
|
/linux-4.1.27/net/bridge/ |
D | br_sysfs_br.c | 53 struct device_attribute *attr, char *buf) in forward_delay_show() 60 struct device_attribute *attr, in forward_delay_store() 67 static ssize_t hello_time_show(struct device *d, struct device_attribute *attr, in hello_time_show() 75 struct device_attribute *attr, const char *buf, in hello_time_store() 82 static ssize_t max_age_show(struct device *d, struct device_attribute *attr, in max_age_show() 89 static ssize_t max_age_store(struct device *d, struct device_attribute *attr, in max_age_store() 97 struct device_attribute *attr, char *buf) in ageing_time_show() 110 struct device_attribute *attr, in ageing_time_store() 118 struct device_attribute *attr, char *buf) in stp_state_show() 126 struct device_attribute *attr, const char *buf, in stp_state_store() [all …]
|
/linux-4.1.27/fs/nilfs2/ |
D | sysfs.c | 119 nilfs_snapshot_inodes_count_show(struct nilfs_snapshot_attr *attr, in nilfs_snapshot_inodes_count_show() 127 nilfs_snapshot_blocks_count_show(struct nilfs_snapshot_attr *attr, in nilfs_snapshot_blocks_count_show() 140 nilfs_snapshot_README_show(struct nilfs_snapshot_attr *attr, in nilfs_snapshot_README_show() 158 struct attribute *attr, char *buf) in nilfs_snapshot_attr_show() 169 struct attribute *attr, in nilfs_snapshot_attr_store() 241 nilfs_mounted_snapshots_README_show(struct nilfs_mounted_snapshots_attr *attr, in nilfs_mounted_snapshots_README_show() 263 nilfs_checkpoints_checkpoints_number_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_checkpoints_number_show() 286 nilfs_checkpoints_snapshots_number_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_snapshots_number_show() 309 nilfs_checkpoints_last_seg_checkpoint_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_last_seg_checkpoint_show() 323 nilfs_checkpoints_next_checkpoint_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_next_checkpoint_show() [all …]
|
/linux-4.1.27/drivers/base/power/ |
D | sysfs.c | 101 static ssize_t control_show(struct device *dev, struct device_attribute *attr, in control_show() 108 static ssize_t control_store(struct device * dev, struct device_attribute *attr, in control_store() 131 struct device_attribute *attr, char *buf) in rtpm_active_time_show() 144 struct device_attribute *attr, char *buf) in rtpm_suspended_time_show() 158 struct device_attribute *attr, char *buf) in rtpm_status_show() 190 struct device_attribute *attr, char *buf) in autosuspend_delay_ms_show() 198 struct device_attribute *attr, const char *buf, size_t n) in autosuspend_delay_ms_store() 218 struct device_attribute *attr, in pm_qos_resume_latency_show() 225 struct device_attribute *attr, in pm_qos_resume_latency_store() 246 struct device_attribute *attr, in pm_qos_latency_tolerance_show() [all …]
|
/linux-4.1.27/drivers/net/bonding/ |
D | bond_sysfs.c | 52 struct class_attribute *attr, in bonding_show_bonds() 96 struct class_attribute *attr, in bonding_store_bonds() 159 struct device_attribute *attr, in bonding_sysfs_store_option() 178 struct device_attribute *attr, char *buf) in bonding_show_slaves() 211 struct device_attribute *attr, char *buf) in bonding_show_mode() 225 struct device_attribute *attr, in bonding_show_xmit_hash() 240 struct device_attribute *attr, in bonding_show_arp_validate() 256 struct device_attribute *attr, in bonding_show_arp_all_targets() 272 struct device_attribute *attr, in bonding_show_fail_over_mac() 288 struct device_attribute *attr, in bonding_show_arp_interval() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_sysfs.c | 89 struct device_attribute *attr, in show_status() 122 struct device_attribute *attr, in show_status_str() 160 struct device_attribute *attr, in show_boardversion() 169 struct device_attribute *attr, in show_localbus_info() 178 struct device_attribute *attr, in show_lmc() 187 struct device_attribute *attr, in store_lmc() 214 struct device_attribute *attr, in show_lid() 223 struct device_attribute *attr, in store_lid() 250 struct device_attribute *attr, in show_mlid() 259 struct device_attribute *attr, in store_mlid() [all …]
|
/linux-4.1.27/drivers/s390/net/ |
D | qeth_core_sys.c | 19 struct device_attribute *attr, char *buf) in qeth_dev_state_show() 47 struct device_attribute *attr, char *buf) in qeth_dev_chpid_show() 59 struct device_attribute *attr, char *buf) in qeth_dev_if_name_show() 70 struct device_attribute *attr, char *buf) in qeth_dev_card_type_show() 96 struct device_attribute *attr, char *buf) in qeth_dev_inbuf_size_show() 108 struct device_attribute *attr, char *buf) in qeth_dev_portno_show() 118 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portno_store() 154 struct device_attribute *attr, char *buf) in qeth_dev_portname_show() 171 struct device_attribute *attr, const char *buf, size_t count) in qeth_dev_portname_store() 208 struct device_attribute *attr, char *buf) in qeth_dev_prioqing_show() [all …]
|
D | qeth_l3_sys.c | 45 struct device_attribute *attr, char *buf) in qeth_l3_dev_route4_show() 94 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route4_store() 109 struct device_attribute *attr, char *buf) in qeth_l3_dev_route6_show() 120 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route6_store() 135 struct device_attribute *attr, char *buf) in qeth_l3_dev_fake_broadcast_show() 146 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_fake_broadcast_store() 176 struct device_attribute *attr, char *buf) in qeth_l3_dev_sniffer_show() 187 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_sniffer_store() 241 struct device_attribute *attr, char *buf) in qeth_l3_dev_hsuid_show() 261 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_hsuid_store() [all …]
|
D | ctcm_sysfs.c | 24 struct device_attribute *attr, char *buf) in ctcm_buffer_show() 34 struct device_attribute *attr, const char *buf, size_t count) in ctcm_buffer_write() 113 struct device_attribute *attr, char *buf) in stats_show() 124 static ssize_t stats_write(struct device *dev, struct device_attribute *attr, in stats_write() 137 struct device_attribute *attr, char *buf) in ctcm_proto_show() 147 struct device_attribute *attr, const char *buf, size_t count) in ctcm_proto_store() 177 struct device_attribute *attr, char *buf) in ctcm_type_show()
|
D | qeth_l2_sys.c | 15 struct device_attribute *attr, char *buf, in qeth_bridge_port_role_state_show() 68 struct device_attribute *attr, char *buf) in qeth_bridge_port_role_show() 74 struct device_attribute *attr, const char *buf, size_t count) in qeth_bridge_port_role_store() 109 struct device_attribute *attr, char *buf) in qeth_bridge_port_state_show() 118 struct device_attribute *attr, char *buf) in qeth_bridgeport_hostnotification_show() 136 struct device_attribute *attr, const char *buf, size_t count) in qeth_bridgeport_hostnotification_store()
|
/linux-4.1.27/kernel/ |
D | ksysfs.c | 34 struct kobj_attribute *attr, char *buf) in uevent_seqnum_show() 43 struct kobj_attribute *attr, char *buf) in uevent_helper_show() 48 struct kobj_attribute *attr, in uevent_helper_store() 64 struct kobj_attribute *attr, char *buf) in profiling_show() 69 struct kobj_attribute *attr, in profiling_store() 95 struct kobj_attribute *attr, char *buf) in kexec_loaded_show() 102 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show() 109 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show() 114 struct kobj_attribute *attr, in kexec_crash_size_store() 129 struct kobj_attribute *attr, char *buf) in vmcoreinfo_show() [all …]
|
/linux-4.1.27/drivers/misc/mic/host/ |
D | mic_sysfs.c | 70 family_show(struct device *dev, struct device_attribute *attr, char *buf) in family_show() 93 stepping_show(struct device *dev, struct device_attribute *attr, char *buf) in stepping_show() 122 state_show(struct device *dev, struct device_attribute *attr, char *buf) in state_show() 134 state_store(struct device *dev, struct device_attribute *attr, in state_store() 173 struct device_attribute *attr, char *buf) in shutdown_status_show() 186 cmdline_show(struct device *dev, struct device_attribute *attr, char *buf) in cmdline_show() 202 cmdline_store(struct device *dev, struct device_attribute *attr, in cmdline_store() 232 firmware_show(struct device *dev, struct device_attribute *attr, char *buf) in firmware_show() 248 firmware_store(struct device *dev, struct device_attribute *attr, in firmware_store() 277 ramdisk_show(struct device *dev, struct device_attribute *attr, char *buf) in ramdisk_show() [all …]
|
/linux-4.1.27/drivers/usb/core/ |
D | sysfs.c | 46 struct device_attribute *attr, char *buf) in bMaxPower_show() 63 struct device_attribute *attr, char *buf) in configuration_show() 83 struct device_attribute *attr, in bConfigurationValue_store() 119 static ssize_t speed_show(struct device *dev, struct device_attribute *attr, in speed_show() 151 static ssize_t busnum_show(struct device *dev, struct device_attribute *attr, in busnum_show() 161 static ssize_t devnum_show(struct device *dev, struct device_attribute *attr, in devnum_show() 171 static ssize_t devpath_show(struct device *dev, struct device_attribute *attr, in devpath_show() 181 static ssize_t version_show(struct device *dev, struct device_attribute *attr, in version_show() 193 static ssize_t maxchild_show(struct device *dev, struct device_attribute *attr, in maxchild_show() 203 static ssize_t quirks_show(struct device *dev, struct device_attribute *attr, in quirks_show() [all …]
|
D | endpoint.c | 27 struct attribute attr; member 50 struct device_attribute *attr, char *buf) in wMaxPacketSize_show() 58 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show() 82 static ssize_t interval_show(struct device *dev, struct device_attribute *attr, in interval_show() 128 static ssize_t direction_show(struct device *dev, struct device_attribute *attr, in direction_show()
|
/linux-4.1.27/drivers/video/fbdev/core/ |
D | fbsysfs.c | 127 static ssize_t store_mode(struct device *device, struct device_attribute *attr, in store_mode() 158 static ssize_t show_mode(struct device *device, struct device_attribute *attr, in show_mode() 170 struct device_attribute *attr, in store_modes() 201 static ssize_t show_modes(struct device *device, struct device_attribute *attr, in show_modes() 219 static ssize_t store_bpp(struct device *device, struct device_attribute *attr, in store_bpp() 234 static ssize_t show_bpp(struct device *device, struct device_attribute *attr, in show_bpp() 242 struct device_attribute *attr, in store_rotate() 261 struct device_attribute *attr, char *buf) in show_rotate() 269 struct device_attribute *attr, in store_virtual() 290 struct device_attribute *attr, char *buf) in show_virtual() [all …]
|
/linux-4.1.27/drivers/hwtracing/coresight/ |
D | coresight-etm3x.c | 443 struct device_attribute *attr, char *buf) in nr_addr_cmp_show() 454 struct device_attribute *attr, char *buf) in nr_cntr_show() 464 struct device_attribute *attr, char *buf) in nr_ctxid_cmp_show() 475 struct device_attribute *attr, char *buf) in etmsr_show() 499 struct device_attribute *attr, in reset_store() 533 struct device_attribute *attr, char *buf) in mode_show() 543 struct device_attribute *attr, in mode_store() 602 struct device_attribute *attr, char *buf) in trigger_event_show() 612 struct device_attribute *attr, in trigger_event_store() 630 struct device_attribute *attr, char *buf) in enable_event_show() [all …]
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
D | ql4_attr.c | 120 struct bin_attribute *attr; member 155 struct device_attribute *attr, char *buf) in qla4xxx_fw_version_show() 170 qla4xxx_serial_num_show(struct device *dev, struct device_attribute *attr, in qla4xxx_serial_num_show() 178 qla4xxx_iscsi_version_show(struct device *dev, struct device_attribute *attr, in qla4xxx_iscsi_version_show() 187 qla4xxx_optrom_version_show(struct device *dev, struct device_attribute *attr, in qla4xxx_optrom_version_show() 197 qla4xxx_board_id_show(struct device *dev, struct device_attribute *attr, in qla4xxx_board_id_show() 205 qla4xxx_fw_state_show(struct device *dev, struct device_attribute *attr, in qla4xxx_fw_state_show() 216 qla4xxx_phy_port_cnt_show(struct device *dev, struct device_attribute *attr, in qla4xxx_phy_port_cnt_show() 228 qla4xxx_phy_port_num_show(struct device *dev, struct device_attribute *attr, in qla4xxx_phy_port_num_show() 240 qla4xxx_iscsi_func_cnt_show(struct device *dev, struct device_attribute *attr, in qla4xxx_iscsi_func_cnt_show() [all …]
|
/linux-4.1.27/kernel/power/ |
D | main.c | 51 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show() 57 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store() 86 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show() 107 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store() 248 struct kobj_attribute *attr, char *buf) in pm_print_times_show() 254 struct kobj_attribute *attr, in pm_print_times_store() 291 static ssize_t state_show(struct kobject *kobj, struct kobj_attribute *attr, in state_show() 338 static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr, in state_store() 398 struct kobj_attribute *attr, in wakeup_count_show() 408 struct kobj_attribute *attr, in wakeup_count_store() [all …]
|
/linux-4.1.27/drivers/pcmcia/ |
D | socket_sysfs.c | 36 static ssize_t pccard_show_type(struct device *dev, struct device_attribute *attr, in pccard_show_type() 49 static ssize_t pccard_show_voltage(struct device *dev, struct device_attribute *attr, in pccard_show_voltage() 63 static ssize_t pccard_show_vpp(struct device *dev, struct device_attribute *attr, in pccard_show_vpp() 73 static ssize_t pccard_show_vcc(struct device *dev, struct device_attribute *attr, in pccard_show_vcc() 84 static ssize_t pccard_store_insert(struct device *dev, struct device_attribute *attr, in pccard_store_insert() 100 struct device_attribute *attr, in pccard_show_card_pm_state() 108 struct device_attribute *attr, in pccard_store_card_pm_state() 131 struct device_attribute *attr, in pccard_store_eject() 147 struct device_attribute *attr, in pccard_show_irq_mask() 155 struct device_attribute *attr, in pccard_store_irq_mask() [all …]
|
/linux-4.1.27/drivers/misc/cxl/ |
D | sysfs.c | 22 struct device_attribute *attr, in caia_version_show() 32 struct device_attribute *attr, in psl_revision_show() 41 struct device_attribute *attr, in base_image_show() 50 struct device_attribute *attr, in image_loaded_show() 61 struct device_attribute *attr, in reset_adapter_store() 78 struct device_attribute *attr, in load_image_on_perst_show() 92 struct device_attribute *attr, in load_image_on_perst_store() 128 struct device_attribute *attr, in mmio_size_show_master() 137 struct device_attribute *attr, in pp_mmio_off_show() 146 struct device_attribute *attr, in pp_mmio_len_show() [all …]
|
/linux-4.1.27/drivers/misc/genwqe/ |
D | card_sysfs.c | 47 static ssize_t status_show(struct device *dev, struct device_attribute *attr, in status_show() 57 static ssize_t appid_show(struct device *dev, struct device_attribute *attr, in appid_show() 68 static ssize_t version_show(struct device *dev, struct device_attribute *attr, in version_show() 81 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show() 93 static ssize_t tempsens_show(struct device *dev, struct device_attribute *attr, in tempsens_show() 105 struct device_attribute *attr, in freerunning_timer_show() 117 struct device_attribute *attr, in queue_working_time_show() 129 struct device_attribute *attr, in base_clock_show() 157 struct device_attribute *attr, char *buf) in curr_bitstream_show() 173 struct device_attribute *attr, char *buf) in next_bitstream_show() [all …]
|
/linux-4.1.27/drivers/xen/ |
D | sys-hypervisor.c | 32 struct attribute attr; member 38 static ssize_t type_show(struct hyp_sysfs_attr *attr, char *buffer) in type_show() 56 static ssize_t major_show(struct hyp_sysfs_attr *attr, char *buffer) in major_show() 66 static ssize_t minor_show(struct hyp_sysfs_attr *attr, char *buffer) in minor_show() 76 static ssize_t extra_show(struct hyp_sysfs_attr *attr, char *buffer) in extra_show() 118 static ssize_t uuid_show_fallback(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show_fallback() 139 static ssize_t uuid_show(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show() 164 static ssize_t compiler_show(struct hyp_sysfs_attr *attr, char *buffer) in compiler_show() 182 static ssize_t compiled_by_show(struct hyp_sysfs_attr *attr, char *buffer) in compiled_by_show() 200 static ssize_t compile_date_show(struct hyp_sysfs_attr *attr, char *buffer) in compile_date_show() [all …]
|
D | xen-selfballoon.c | 259 struct device_attribute *attr, in store_selfballooning() 290 struct device_attribute *attr, in store_selfballoon_interval() 314 struct device_attribute *attr, in store_selfballoon_downhys() 339 struct device_attribute *attr, in store_selfballoon_uphys() 364 struct device_attribute *attr, in store_selfballoon_min_usable_mb() 390 struct device_attribute *attr, in store_selfballoon_reserved_mb() 417 struct device_attribute *attr, in store_frontswap_selfshrinking() 447 struct device_attribute *attr, in store_frontswap_inertia() 472 struct device_attribute *attr, in store_frontswap_hysteresis()
|
/linux-4.1.27/drivers/staging/dgnc/ |
D | dgnc_sysfs.c | 107 static ssize_t dgnc_vpd_show(struct device *p, struct device_attribute *attr, char *buf) in dgnc_vpd_show() 127 static ssize_t dgnc_serial_number_show(struct device *p, struct device_attribute *attr, char *buf) in dgnc_serial_number_show() 144 static ssize_t dgnc_ports_state_show(struct device *p, struct device_attribute *attr, char *buf) in dgnc_ports_state_show() 162 static ssize_t dgnc_ports_baud_show(struct device *p, struct device_attribute *attr, char *buf) in dgnc_ports_baud_show() 179 static ssize_t dgnc_ports_msignals_show(struct device *p, struct device_attribute *attr, char *buf) in dgnc_ports_msignals_show() 207 static ssize_t dgnc_ports_iflag_show(struct device *p, struct device_attribute *attr, char *buf) in dgnc_ports_iflag_show() 224 static ssize_t dgnc_ports_cflag_show(struct device *p, struct device_attribute *attr, char *buf) in dgnc_ports_cflag_show() 241 static ssize_t dgnc_ports_oflag_show(struct device *p, struct device_attribute *attr, char *buf) in dgnc_ports_oflag_show() 258 static ssize_t dgnc_ports_lflag_show(struct device *p, struct device_attribute *attr, char *buf) in dgnc_ports_lflag_show() 275 static ssize_t dgnc_ports_digi_flag_show(struct device *p, struct device_attribute *attr, char *buf) in dgnc_ports_digi_flag_show() [all …]
|
/linux-4.1.27/drivers/ide/ |
D | ide-sysfs.c | 22 static ssize_t media_show(struct device *dev, struct device_attribute *attr, in media_show() 30 static ssize_t drivename_show(struct device *dev, struct device_attribute *attr, in drivename_show() 38 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() 46 static ssize_t model_show(struct device *dev, struct device_attribute *attr, in model_show() 54 static ssize_t firmware_show(struct device *dev, struct device_attribute *attr, in firmware_show() 62 static ssize_t serial_show(struct device *dev, struct device_attribute *attr, in serial_show() 93 struct device_attribute *attr, in store_delete_devices() 109 struct device_attribute *attr, in store_scan()
|
/linux-4.1.27/drivers/staging/iio/addac/ |
D | adt7316.c | 220 struct device_attribute *attr, in adt7316_show_enabled() 251 struct device_attribute *attr, in adt7316_store_enabled() 276 struct device_attribute *attr, in adt7316_show_select_ex_temp() 289 struct device_attribute *attr, in adt7316_store_select_ex_temp() 320 struct device_attribute *attr, in adt7316_show_mode() 333 struct device_attribute *attr, in adt7316_store_mode() 361 struct device_attribute *attr, in adt7316_show_all_modes() 370 struct device_attribute *attr, in adt7316_show_ad_channel() 408 struct device_attribute *attr, in adt7316_store_ad_channel() 455 struct device_attribute *attr, in adt7316_show_all_ad_channels() [all …]
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
D | cbe_thermal.c | 100 static ssize_t spu_show_temp(struct device *dev, struct device_attribute *attr, in spu_show_temp() 151 struct device_attribute *attr, char *buf) in spu_show_throttle_end() 157 struct device_attribute *attr, char *buf) in spu_show_throttle_begin() 163 struct device_attribute *attr, char *buf) in spu_show_throttle_full_stop() 169 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_end() 175 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_begin() 181 struct device_attribute *attr, const char *buf, size_t size) in spu_store_throttle_full_stop() 203 struct device_attribute *attr, char *buf) in ppe_show_temp0() 210 struct device_attribute *attr, char *buf) in ppe_show_temp1() 216 struct device_attribute *attr, char *buf) in ppe_show_throttle_end() [all …]
|
/linux-4.1.27/drivers/pci/ |
D | pci-sysfs.c | 57 struct device_attribute *attr, in broken_parity_status_show() 65 struct device_attribute *attr, in broken_parity_status_store() 81 struct device_attribute *attr, char *buf) in pci_dev_show_local_cpu() 95 struct device_attribute *attr, char *buf) in local_cpus_show() 102 struct device_attribute *attr, char *buf) in local_cpulist_show() 112 struct device_attribute *attr, char *buf) in cpuaffinity_show() 121 struct device_attribute *attr, char *buf) in cpulistaffinity_show() 130 static ssize_t resource_show(struct device *dev, struct device_attribute *attr, in resource_show() 156 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show() 169 static ssize_t enable_store(struct device *dev, struct device_attribute *attr, in enable_store() [all …]
|
D | pci-label.c | 75 struct attribute *attr, int n) in smbios_instance_string_exist() 88 struct device_attribute *attr, char *buf) in smbioslabel_show() 98 struct device_attribute *attr, char *buf) in smbiosinstance_show() 165 enum acpi_attr_enum attr) in dsm_get_label() 220 struct attribute *attr, int n) in acpi_index_string_exist() 233 struct device_attribute *attr, char *buf) in acpilabel_show() 239 struct device_attribute *attr, char *buf) in acpiindex_show()
|
/linux-4.1.27/drivers/pps/ |
D | sysfs.c | 32 static ssize_t assert_show(struct device *dev, struct device_attribute *attr, in assert_show() 46 static ssize_t clear_show(struct device *dev, struct device_attribute *attr, in clear_show() 60 static ssize_t mode_show(struct device *dev, struct device_attribute *attr, in mode_show() 69 static ssize_t echo_show(struct device *dev, struct device_attribute *attr, in echo_show() 78 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show() 87 static ssize_t path_show(struct device *dev, struct device_attribute *attr, in path_show()
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-sysfs.c | 28 name_show(struct device *dev, struct device_attribute *attr, char *buf) in name_show() 35 date_show(struct device *dev, struct device_attribute *attr, char *buf) in date_show() 51 time_show(struct device *dev, struct device_attribute *attr, char *buf) in time_show() 67 since_epoch_show(struct device *dev, struct device_attribute *attr, char *buf) in since_epoch_show() 84 max_user_freq_show(struct device *dev, struct device_attribute *attr, char *buf) in max_user_freq_show() 90 max_user_freq_store(struct device *dev, struct device_attribute *attr, in max_user_freq_store() 112 hctosys_show(struct device *dev, struct device_attribute *attr, char *buf) in hctosys_show() 137 rtc_sysfs_show_wakealarm(struct device *dev, struct device_attribute *attr, in rtc_sysfs_show_wakealarm() 162 rtc_sysfs_set_wakealarm(struct device *dev, struct device_attribute *attr, in rtc_sysfs_set_wakealarm()
|
/linux-4.1.27/drivers/char/tpm/ |
D | tpm-sysfs.c | 30 static ssize_t pubek_show(struct device *dev, struct device_attribute *attr, in pubek_show() 87 static ssize_t pcrs_show(struct device *dev, struct device_attribute *attr, in pcrs_show() 116 static ssize_t enabled_show(struct device *dev, struct device_attribute *attr, in enabled_show() 132 static ssize_t active_show(struct device *dev, struct device_attribute *attr, in active_show() 148 static ssize_t owned_show(struct device *dev, struct device_attribute *attr, in owned_show() 165 struct device_attribute *attr, char *buf) in temp_deactivated_show() 180 static ssize_t caps_show(struct device *dev, struct device_attribute *attr, in caps_show() 222 static ssize_t cancel_store(struct device *dev, struct device_attribute *attr, in cancel_store() 234 static ssize_t durations_show(struct device *dev, struct device_attribute *attr, in durations_show() 251 static ssize_t timeouts_show(struct device *dev, struct device_attribute *attr, in timeouts_show()
|
D | tpm_ppi.c | 54 struct device_attribute *attr, char *buf) in tpm_show_ppi_version() 62 struct device_attribute *attr, char *buf) in tpm_show_ppi_request() 95 struct device_attribute *attr, in tpm_store_ppi_request() 148 struct device_attribute *attr, in tpm_show_ppi_transition_action() 194 struct device_attribute *attr, in tpm_show_ppi_response() 296 struct device_attribute *attr, in tpm_show_ppi_tcg_operations() 306 struct device_attribute *attr, in tpm_show_ppi_vs_operations()
|
/linux-4.1.27/drivers/acpi/ |
D | bgrt.c | 20 struct device_attribute *attr, char *buf) in show_version() 27 struct device_attribute *attr, char *buf) in show_status() 34 struct device_attribute *attr, char *buf) in show_type() 41 struct device_attribute *attr, char *buf) in show_xoffset() 48 struct device_attribute *attr, char *buf) in show_yoffset() 55 struct bin_attribute *attr, char *buf, loff_t off, size_t count) in image_read()
|
/linux-4.1.27/drivers/infiniband/core/ |
D | sysfs.c | 52 struct attribute attr; member 65 struct port_attribute attr; member 71 struct attribute *attr, char *buf) in port_attr_show() 90 struct ib_port_attr attr; in state_show() local 114 struct ib_port_attr attr; in lid_show() local 128 struct ib_port_attr attr; in lid_mask_count_show() local 141 struct ib_port_attr attr; in sm_lid_show() local 154 struct ib_port_attr attr; in sm_sl_show() local 167 struct ib_port_attr attr; in cap_mask_show() local 180 struct ib_port_attr attr; in rate_show() local [all …]
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | i915_sysfs.c | 100 show_rc6_mask(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6_mask() 107 show_rc6_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6_ms() 115 show_rc6p_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6p_ms() 123 show_rc6pp_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_rc6pp_ms() 131 show_media_rc6_ms(struct device *kdev, struct device_attribute *attr, char *buf) in show_media_rc6_ms() 193 struct bin_attribute *attr, char *buf, in i915_l3_read() 229 struct bin_attribute *attr, char *buf, in i915_l3_write() 304 struct device_attribute *attr, char *buf) in gt_act_freq_mhz_show() 338 struct device_attribute *attr, char *buf) in gt_cur_freq_mhz_show() 359 struct device_attribute *attr, char *buf) in vlv_rpe_freq_mhz_show() [all …]
|
/linux-4.1.27/drivers/scsi/lpfc/ |
D | lpfc_attr.c | 103 lpfc_drvr_version_show(struct device *dev, struct device_attribute *attr, in lpfc_drvr_version_show() 118 lpfc_enable_fip_show(struct device *dev, struct device_attribute *attr, in lpfc_enable_fip_show() 132 lpfc_bg_info_show(struct device *dev, struct device_attribute *attr, in lpfc_bg_info_show() 151 lpfc_bg_guard_err_show(struct device *dev, struct device_attribute *attr, in lpfc_bg_guard_err_show() 163 lpfc_bg_apptag_err_show(struct device *dev, struct device_attribute *attr, in lpfc_bg_apptag_err_show() 175 lpfc_bg_reftag_err_show(struct device *dev, struct device_attribute *attr, in lpfc_bg_reftag_err_show() 195 lpfc_info_show(struct device *dev, struct device_attribute *attr, in lpfc_info_show() 212 lpfc_serialnum_show(struct device *dev, struct device_attribute *attr, in lpfc_serialnum_show() 235 lpfc_temp_sensor_show(struct device *dev, struct device_attribute *attr, in lpfc_temp_sensor_show() 253 lpfc_modeldesc_show(struct device *dev, struct device_attribute *attr, in lpfc_modeldesc_show() [all …]
|
/linux-4.1.27/samples/bpf/ |
D | libbpf.c | 24 union bpf_attr attr = { in bpf_create_map() local 36 union bpf_attr attr = { in bpf_update_elem() local 48 union bpf_attr attr = { in bpf_lookup_elem() local 59 union bpf_attr attr = { in bpf_delete_elem() local 69 union bpf_attr attr = { in bpf_get_next_key() local 86 union bpf_attr attr = { in bpf_prog_load() local 130 int perf_event_open(struct perf_event_attr *attr, int pid, int cpu, in perf_event_open()
|
/linux-4.1.27/drivers/s390/scsi/ |
D | zfcp_sysfs.c | 90 struct device_attribute *attr, in zfcp_sysfs_port_failed_show() 102 struct device_attribute *attr, in zfcp_sysfs_port_failed_store() 122 struct device_attribute *attr, in zfcp_sysfs_unit_failed_show() 140 struct device_attribute *attr, in zfcp_sysfs_unit_failed_store() 166 struct device_attribute *attr, in zfcp_sysfs_adapter_failed_show() 186 struct device_attribute *attr, in zfcp_sysfs_adapter_failed_store() 215 struct device_attribute *attr, in zfcp_sysfs_port_rescan_store() 241 struct device_attribute *attr, in zfcp_sysfs_port_remove_store() 307 struct device_attribute *attr, in zfcp_sysfs_unit_add_store() 326 struct device_attribute *attr, in zfcp_sysfs_unit_remove_store() [all …]
|
/linux-4.1.27/lib/ |
D | fault-inject.c | 17 int setup_fault_attr(struct fault_attr *attr, char *str) in setup_fault_attr() 41 static void fail_dump(struct fault_attr *attr) in fail_dump() 57 static bool fail_task(struct fault_attr *attr, struct task_struct *task) in fail_task() 66 static bool fail_stacktrace(struct fault_attr *attr) in fail_stacktrace() 96 static inline bool fail_stacktrace(struct fault_attr *attr) in fail_stacktrace() 108 bool should_fail(struct fault_attr *attr, ssize_t size) in should_fail() 192 struct dentry *parent, struct fault_attr *attr) in fault_create_debugfs_attr()
|
/linux-4.1.27/drivers/hwmon/ |
D | adm1026.c | 478 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() 486 static ssize_t show_in_min(struct device *dev, struct device_attribute *attr, in show_in_min() 494 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, in set_in_min() 514 static ssize_t show_in_max(struct device *dev, struct device_attribute *attr, in show_in_max() 522 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, in set_in_max() 569 static ssize_t show_in16(struct device *dev, struct device_attribute *attr, in show_in16() 576 static ssize_t show_in16_min(struct device *dev, struct device_attribute *attr, in show_in16_min() 583 static ssize_t set_in16_min(struct device *dev, struct device_attribute *attr, in set_in16_min() 601 static ssize_t show_in16_max(struct device *dev, struct device_attribute *attr, in show_in16_max() 608 static ssize_t set_in16_max(struct device *dev, struct device_attribute *attr, in set_in16_max() [all …]
|
D | vt8231.c | 195 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() 205 static ssize_t show_in_min(struct device *dev, struct device_attribute *attr, in show_in_min() 215 static ssize_t show_in_max(struct device *dev, struct device_attribute *attr, in show_in_max() 225 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, in set_in_min() 245 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, in set_in_max() 266 static ssize_t show_in5(struct device *dev, struct device_attribute *attr, in show_in5() 275 static ssize_t show_in5_min(struct device *dev, struct device_attribute *attr, in show_in5_min() 284 static ssize_t show_in5_max(struct device *dev, struct device_attribute *attr, in show_in5_max() 293 static ssize_t set_in5_min(struct device *dev, struct device_attribute *attr, in set_in5_min() 312 static ssize_t set_in5_max(struct device *dev, struct device_attribute *attr, in set_in5_max() [all …]
|
D | asc7621.c | 177 static ssize_t show_u8(struct device *dev, struct device_attribute *attr, in show_u8() 185 static ssize_t store_u8(struct device *dev, struct device_attribute *attr, in store_u8() 207 struct device_attribute *attr, char *buf) in show_bitmask() 217 struct device_attribute *attr, in store_bitmask() 247 struct device_attribute *attr, char *buf) in show_fan16() 262 struct device_attribute *attr, const char *buf, in store_fan16() 307 static ssize_t show_in10(struct device *dev, struct device_attribute *attr, in show_in10() 325 static ssize_t show_in8(struct device *dev, struct device_attribute *attr, in show_in8() 336 static ssize_t store_in8(struct device *dev, struct device_attribute *attr, in store_in8() 361 struct device_attribute *attr, char *buf) in show_temp8() [all …]
|
D | gl520sm.c | 203 static ssize_t get_cpu_vid(struct device *dev, struct device_attribute *attr, in get_cpu_vid() 217 static ssize_t get_in_input(struct device *dev, struct device_attribute *attr, in get_in_input() 230 static ssize_t get_in_min(struct device *dev, struct device_attribute *attr, in get_in_min() 243 static ssize_t get_in_max(struct device *dev, struct device_attribute *attr, in get_in_max() 256 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, in set_in_min() 290 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, in set_in_max() 355 static ssize_t get_fan_input(struct device *dev, struct device_attribute *attr, in get_fan_input() 365 static ssize_t get_fan_min(struct device *dev, struct device_attribute *attr, in get_fan_min() 375 static ssize_t get_fan_div(struct device *dev, struct device_attribute *attr, in get_fan_div() 384 static ssize_t get_fan_off(struct device *dev, struct device_attribute *attr, in get_fan_off() [all …]
|
D | lm87.c | 279 static ssize_t show_in_input(struct device *dev, struct device_attribute *attr, in show_in_input() 290 struct device_attribute *attr, char *buf) in show_in_min() 300 struct device_attribute *attr, char *buf) in show_in_max() 309 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, in set_in_min() 330 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, in set_in_max() 368 struct device_attribute *attr, char *buf) in show_temp_input() 377 struct device_attribute *attr, char *buf) in show_temp_low() 387 struct device_attribute *attr, char *buf) in show_temp_high() 396 static ssize_t set_temp_low(struct device *dev, struct device_attribute *attr, in set_temp_low() 416 static ssize_t set_temp_high(struct device *dev, struct device_attribute *attr, in set_temp_high() [all …]
|
D | lm85.c | 557 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() 565 static ssize_t show_fan_min(struct device *dev, struct device_attribute *attr, in show_fan_min() 573 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, in set_fan_min() 606 static ssize_t show_vid_reg(struct device *dev, struct device_attribute *attr, in show_vid_reg() 625 static ssize_t show_vrm_reg(struct device *dev, struct device_attribute *attr, in show_vrm_reg() 632 static ssize_t store_vrm_reg(struct device *dev, struct device_attribute *attr, in store_vrm_reg() 652 static ssize_t show_alarms_reg(struct device *dev, struct device_attribute in show_alarms_reg() 661 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm() 689 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() 697 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() [all …]
|
D | lm93.c | 1114 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() 1141 struct device_attribute *attr, char *buf) in show_in_min() 1157 static ssize_t store_in_min(struct device *dev, struct device_attribute *attr, in store_in_min() 1222 struct device_attribute *attr, char *buf) in show_in_max() 1238 static ssize_t store_in_max(struct device *dev, struct device_attribute *attr, in store_in_max() 1303 struct device_attribute *attr, char *buf) in show_temp() 1315 struct device_attribute *attr, char *buf) in show_temp_min() 1322 static ssize_t store_temp_min(struct device *dev, struct device_attribute *attr, in store_temp_min() 1350 struct device_attribute *attr, char *buf) in show_temp_max() 1357 static ssize_t store_temp_max(struct device *dev, struct device_attribute *attr, in store_temp_max() [all …]
|
D | abx500.c | 145 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_input() local 161 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_min() local 181 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_max() local 202 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_max_hyst() local 222 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_min() local 231 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_max() local 240 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_max_hyst() local 249 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_min_alarm() local 258 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_max_alarm() local 264 struct attribute *attr, int n) in abx500_attrs_visible()
|
D | adm1025.c | 177 show_in(struct device *dev, struct device_attribute *attr, char *buf) in show_in() 186 show_in_min(struct device *dev, struct device_attribute *attr, char *buf) in show_in_min() 195 show_in_max(struct device *dev, struct device_attribute *attr, char *buf) in show_in_max() 204 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() 212 show_temp_min(struct device *dev, struct device_attribute *attr, char *buf) in show_temp_min() 220 show_temp_max(struct device *dev, struct device_attribute *attr, char *buf) in show_temp_max() 227 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, in set_in_min() 248 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, in set_in_max() 283 static ssize_t set_temp_min(struct device *dev, struct device_attribute *attr, in set_temp_min() 304 static ssize_t set_temp_max(struct device *dev, struct device_attribute *attr, in set_temp_max() [all …]
|
D | smsc47m192.c | 181 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() 190 static ssize_t show_in_min(struct device *dev, struct device_attribute *attr, in show_in_min() 199 static ssize_t show_in_max(struct device *dev, struct device_attribute *attr, in show_in_max() 208 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, in set_in_min() 230 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, in set_in_max() 270 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() 279 static ssize_t show_temp_min(struct device *dev, struct device_attribute *attr, in show_temp_min() 288 static ssize_t show_temp_max(struct device *dev, struct device_attribute *attr, in show_temp_max() 297 static ssize_t set_temp_min(struct device *dev, struct device_attribute *attr, in set_temp_min() 319 static ssize_t set_temp_max(struct device *dev, struct device_attribute *attr, in set_temp_max() [all …]
|
D | f71805f.c | 430 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0() local 440 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_max() local 450 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_min() local 460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_max() local 481 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_min() local 502 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in() local 512 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_max() local 522 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_min() local 532 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_max() local 553 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_min() local [all …]
|
D | adm1031.c | 335 struct device_attribute *attr, char *buf) in show_fan_auto_channel() 343 set_fan_auto_channel(struct device *dev, struct device_attribute *attr, in set_fan_auto_channel() 402 struct device_attribute *attr, char *buf) in show_auto_temp_off() 410 struct device_attribute *attr, char *buf) in show_auto_temp_min() 418 set_auto_temp_min(struct device *dev, struct device_attribute *attr, in set_auto_temp_min() 440 struct device_attribute *attr, char *buf) in show_auto_temp_max() 448 set_auto_temp_max(struct device *dev, struct device_attribute *attr, in set_auto_temp_max() 485 struct device_attribute *attr, char *buf) in show_pwm() 491 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() 577 struct device_attribute *attr, char *buf) in show_fan() [all …]
|
D | adm9240.c | 272 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_max() local 280 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_max() local 308 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in() local 317 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_min() local 326 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_max() local 336 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_min() local 358 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_max() local 395 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan() local 404 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_min() local 413 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_div() local [all …]
|
D | pc87360.c | 260 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_input() local 268 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_min() local 276 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_div() local 284 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_status() local 293 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_fan_min() local 359 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_pwm() local 369 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_pwm() local 408 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_input() local 416 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_min() local 424 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_max() local [all …]
|
D | lm95234.c | 214 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() 229 struct device_attribute *attr, char *buf) in show_alarm() 241 static ssize_t show_type(struct device *dev, struct device_attribute *attr, in show_type() 254 static ssize_t set_type(struct device *dev, struct device_attribute *attr, in set_type() 285 static ssize_t show_tcrit2(struct device *dev, struct device_attribute *attr, in show_tcrit2() 298 static ssize_t set_tcrit2(struct device *dev, struct device_attribute *attr, in set_tcrit2() 324 struct device_attribute *attr, char *buf) in show_tcrit2_hyst() 338 static ssize_t show_tcrit1(struct device *dev, struct device_attribute *attr, in show_tcrit1() 347 static ssize_t set_tcrit1(struct device *dev, struct device_attribute *attr, in set_tcrit1() 373 struct device_attribute *attr, char *buf) in show_tcrit1_hyst() [all …]
|
D | w83792d.c | 359 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() 425 store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min() 449 show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div() 465 store_fan_div(struct device *dev, struct device_attribute *attr, in store_fan_div() 507 static ssize_t show_temp1(struct device *dev, struct device_attribute *attr, in show_temp1() 516 static ssize_t store_temp1(struct device *dev, struct device_attribute *attr, in store_temp1() 541 static ssize_t show_temp23(struct device *dev, struct device_attribute *attr, in show_temp23() 554 static ssize_t store_temp23(struct device *dev, struct device_attribute *attr, in store_temp23() 584 show_alarms_reg(struct device *dev, struct device_attribute *attr, char *buf) in show_alarms_reg() 591 struct device_attribute *attr, char *buf) in show_alarm() [all …]
|
D | w83791d.c | 445 static ssize_t show_beep(struct device *dev, struct device_attribute *attr, in show_beep() 456 static ssize_t store_beep(struct device *dev, struct device_attribute *attr, in store_beep() 491 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm() 547 static ssize_t store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min() 569 static ssize_t show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div() 584 static ssize_t store_fan_div(struct device *dev, struct device_attribute *attr, in store_fan_div() 725 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() 734 static ssize_t store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() 766 static ssize_t show_pwmenable(struct device *dev, struct device_attribute *attr, in show_pwmenable() 776 struct device_attribute *attr, const char *buf, size_t count) in store_pwmenable() [all …]
|
D | emc1403.c | 47 struct device_attribute *attr, char *buf) in show_temp() 61 struct device_attribute *attr, char *buf) in show_bit() 75 struct device_attribute *attr, const char *buf, size_t count) in store_temp() 92 struct device_attribute *attr, const char *buf, size_t count) in store_bit() 110 struct device_attribute *attr, char *buf, in show_hyst_common() 132 struct device_attribute *attr, char *buf) in show_hyst() 138 struct device_attribute *attr, char *buf) in show_min_hyst() 144 struct device_attribute *attr, const char *buf, size_t count) in store_hyst()
|
D | via686a.c | 361 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in() local 369 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in_min() local 377 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in_max() local 385 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_in_min() local 404 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_in_max() local 438 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_temp() local 445 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_temp_over() local 452 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_temp_hyst() local 459 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_temp_over() local 478 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_temp_hyst() local [all …]
|
D | sis5595.c | 229 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in() local 238 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in_min() local 247 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in_max() local 256 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_in_min() local 276 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_in_max() local 307 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() 314 static ssize_t show_temp_over(struct device *dev, struct device_attribute *attr, in show_temp_over() 321 static ssize_t set_temp_over(struct device *dev, struct device_attribute *attr, in set_temp_over() 339 static ssize_t show_temp_hyst(struct device *dev, struct device_attribute *attr, in show_temp_hyst() 346 static ssize_t set_temp_hyst(struct device *dev, struct device_attribute *attr, in set_temp_hyst() [all …]
|
D | adt7462.c | 791 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_min() local 805 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp_min() local 829 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_max() local 843 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp_max() local 866 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp() local 881 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_label() local 891 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_volt_max() local 906 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_volt_max() local 933 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_volt_min() local 948 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_volt_min() local [all …]
|
D | thmc50.c | 132 struct device_attribute *attr, char *buf) in show_analog_out() 139 struct device_attribute *attr, in set_analog_out() 169 static ssize_t show_pwm_mode(struct device *dev, struct device_attribute *attr, in show_pwm_mode() 176 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() 184 static ssize_t show_temp_min(struct device *dev, struct device_attribute *attr, in show_temp_min() 192 static ssize_t set_temp_min(struct device *dev, struct device_attribute *attr, in set_temp_min() 213 static ssize_t show_temp_max(struct device *dev, struct device_attribute *attr, in show_temp_max() 221 static ssize_t set_temp_max(struct device *dev, struct device_attribute *attr, in set_temp_max() 243 struct device_attribute *attr, in show_temp_critical() 251 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm()
|
D | nct7802.c | 220 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() 234 static ssize_t store_in(struct device *dev, struct device_attribute *attr, in store_in() 252 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() 266 static ssize_t store_temp(struct device *dev, struct device_attribute *attr, in store_temp() 285 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() 299 static ssize_t show_fan_min(struct device *dev, struct device_attribute *attr, in show_fan_min() 313 static ssize_t store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min() 329 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm() 346 show_beep(struct device *dev, struct device_attribute *attr, char *buf) in show_beep() 361 store_beep(struct device *dev, struct device_attribute *attr, const char *buf, in store_beep() [all …]
|
D | adt7470.c | 460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_min() local 470 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp_min() local 494 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_max() local 504 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp_max() local 527 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp() local 545 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_max() local 559 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_fan_max() local 582 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_min() local 596 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_fan_min() local 618 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan() local [all …]
|
D | abituguru.c | 803 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank1_value() local 814 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank1_setting() local 824 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank2_value() local 835 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank2_setting() local 845 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in store_bank1_setting() local 878 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in store_bank2_setting() local 913 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank1_alarm() local 934 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank2_alarm() local 947 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank1_mask() local 958 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(devattr); in show_bank2_mask() local [all …]
|
D | f75375s.c | 299 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, in set_fan_min() 319 static ssize_t set_fan_target(struct device *dev, struct device_attribute *attr, in set_fan_target() 344 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() 368 static ssize_t show_pwm_enable(struct device *dev, struct device_attribute in show_pwm_enable() 440 static ssize_t set_pwm_enable(struct device *dev, struct device_attribute *attr, in set_pwm_enable() 459 static ssize_t set_pwm_mode(struct device *dev, struct device_attribute *attr, in set_pwm_mode() 503 static ssize_t show_pwm(struct device *dev, struct device_attribute in show_pwm() 511 static ssize_t show_pwm_mode(struct device *dev, struct device_attribute in show_pwm_mode() 522 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() 530 static ssize_t show_in_max(struct device *dev, struct device_attribute *attr, in show_in_max() [all …]
|
D | max6639.c | 170 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_temp_input() local 183 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_temp_fault() local 194 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_temp_max() local 204 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in set_temp_max() local 226 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_temp_crit() local 236 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in set_temp_crit() local 259 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_temp_emergency() local 269 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in set_temp_emergency() local 291 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in show_pwm() local 301 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in set_pwm() local [all …]
|
D | w83795.c | 714 show_alarm_beep(struct device *dev, struct device_attribute *attr, char *buf) in show_alarm_beep() 733 store_beep(struct device *dev, struct device_attribute *attr, in store_beep() 763 struct device_attribute *attr, const char *buf, in store_chassis_clear() 788 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan() 806 store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min() 839 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() 867 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() 900 show_pwm_enable(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm_enable() 928 store_pwm_enable(struct device *dev, struct device_attribute *attr, in store_pwm_enable() 975 show_pwm_mode(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm_mode() [all …]
|
D | gpio-fan.c | 81 struct device_attribute *attr, char *buf) in show_fan_alarm() 192 struct device_attribute *attr, char *buf) in show_pwm() 200 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() 228 struct device_attribute *attr, char *buf) in show_pwm_enable() 235 static ssize_t set_pwm_enable(struct device *dev, struct device_attribute *attr, in set_pwm_enable() 261 struct device_attribute *attr, char *buf) in show_pwm_mode() 267 struct device_attribute *attr, char *buf) in show_rpm_min() 275 struct device_attribute *attr, char *buf) in show_rpm_max() 284 struct device_attribute *attr, char *buf) in show_rpm() 291 static ssize_t set_rpm(struct device *dev, struct device_attribute *attr, in set_rpm() [all …]
|
D | sch5627.c | 217 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp() local 231 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_fault() local 243 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_max() local 254 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_crit() local 265 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan() local 282 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_fault() local 295 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_min() local 307 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in() local 323 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_label() local
|
D | lm95241.c | 140 static ssize_t show_input(struct device *dev, struct device_attribute *attr, in show_input() 153 static ssize_t show_type(struct device *dev, struct device_attribute *attr, in show_type() 162 static ssize_t set_type(struct device *dev, struct device_attribute *attr, in set_type() 200 static ssize_t show_min(struct device *dev, struct device_attribute *attr, in show_min() 210 static ssize_t set_min(struct device *dev, struct device_attribute *attr, in set_min() 237 static ssize_t show_max(struct device *dev, struct device_attribute *attr, in show_max() 247 static ssize_t set_max(struct device *dev, struct device_attribute *attr, in set_max() 274 static ssize_t show_interval(struct device *dev, struct device_attribute *attr, in show_interval() 283 static ssize_t set_interval(struct device *dev, struct device_attribute *attr, in set_interval()
|
D | lm95245.c | 213 static ssize_t show_input(struct device *dev, struct device_attribute *attr, in show_input() 235 static ssize_t show_limit(struct device *dev, struct device_attribute *attr, in show_limit() 245 static ssize_t set_limit(struct device *dev, struct device_attribute *attr, in set_limit() 271 static ssize_t show_crit_hyst(struct device *dev, struct device_attribute *attr, in show_crit_hyst() 281 static ssize_t set_crit_hyst(struct device *dev, struct device_attribute *attr, in set_crit_hyst() 309 static ssize_t show_type(struct device *dev, struct device_attribute *attr, in show_type() 318 static ssize_t set_type(struct device *dev, struct device_attribute *attr, in set_type() 347 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm() 357 static ssize_t show_interval(struct device *dev, struct device_attribute *attr, in show_interval() 365 static ssize_t set_interval(struct device *dev, struct device_attribute *attr, in set_interval()
|
D | it87.c | 585 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() 596 static ssize_t set_in(struct device *dev, struct device_attribute *attr, in set_in() 671 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() 682 static ssize_t set_temp(struct device *dev, struct device_attribute *attr, in set_temp() 744 static ssize_t show_temp_type(struct device *dev, struct device_attribute *attr, in show_temp_type() 763 static ssize_t set_temp_type(struct device *dev, struct device_attribute *attr, in set_temp_type() 833 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() 849 static ssize_t show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div() 859 struct device_attribute *attr, char *buf) in show_pwm_enable() 867 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() [all …]
|
D | sch5636.c | 182 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_value() local 198 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_label() local 207 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_value() local 221 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_fault() local 235 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_alarm() local 249 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_value() local 266 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_fault() local 280 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan_alarm() local
|
D | applesmc.c | 102 #define to_index(attr) (to_sensor_dev_attr(attr)->index & 0xffff) argument 103 #define to_option(attr) (to_sensor_dev_attr(attr)->index >> 16) argument 713 struct device_attribute *attr, char *buf) in applesmc_name_show() 719 struct device_attribute *attr, char *buf) in applesmc_position_show() 742 struct device_attribute *attr, char *sysfsbuf) in applesmc_light_show() 807 struct device_attribute *attr, char *sysfsbuf) in applesmc_show_fan_speed() 826 struct device_attribute *attr, in applesmc_store_fan_speed() 850 struct device_attribute *attr, char *sysfsbuf) in applesmc_show_fan_manual() 866 struct device_attribute *attr, in applesmc_store_fan_manual() 900 struct device_attribute *attr, char *sysfsbuf) in applesmc_show_fan_position() [all …]
|
D | ultra45_env.c | 96 static ssize_t show_fan_speed(struct device *dev, struct device_attribute *attr, in show_fan_speed() 114 static ssize_t set_fan_speed(struct device *dev, struct device_attribute *attr, in set_fan_speed() 138 static ssize_t show_fan_fault(struct device *dev, struct device_attribute *attr, in show_fan_fault() 161 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() 182 static ssize_t show_stat_bit(struct device *dev, struct device_attribute *attr, in show_stat_bit() 199 static ssize_t show_fwver(struct device *dev, struct device_attribute *attr, in show_fwver() 211 static ssize_t show_name(struct device *dev, struct device_attribute *attr, in show_name()
|
D | lm92.c | 148 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp() local 157 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp() local 178 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp_hyst() local 185 struct device_attribute *attr, char *buf) in show_temp_min_hyst() 196 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp_hyst() local 216 static ssize_t show_alarms(struct device *dev, struct device_attribute *attr, in show_alarms() 223 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm()
|
D | asb100.c | 300 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() 309 static ssize_t show_fan_min(struct device *dev, struct device_attribute *attr, in show_fan_min() 318 static ssize_t show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div() 326 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, in set_fan_min() 352 static ssize_t set_fan_div(struct device *dev, struct device_attribute *attr, in set_fan_div() 486 static ssize_t show_vid(struct device *dev, struct device_attribute *attr, in show_vid() 496 static ssize_t show_vrm(struct device *dev, struct device_attribute *attr, in show_vrm() 503 static ssize_t set_vrm(struct device *dev, struct device_attribute *attr, in set_vrm() 524 static ssize_t show_alarms(struct device *dev, struct device_attribute *attr, in show_alarms() 533 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm() [all …]
|
D | w83793.c | 327 show_vrm(struct device *dev, struct device_attribute *attr, char *buf) in show_vrm() 334 show_vid(struct device *dev, struct device_attribute *attr, char *buf) in show_vid() 345 store_vrm(struct device *dev, struct device_attribute *attr, in store_vrm() 366 show_alarm_beep(struct device *dev, struct device_attribute *attr, char *buf) in show_alarm_beep() 386 store_beep(struct device *dev, struct device_attribute *attr, in store_beep() 417 show_beep_enable(struct device *dev, struct device_attribute *attr, char *buf) in show_beep_enable() 424 store_beep_enable(struct device *dev, struct device_attribute *attr, in store_beep_enable() 452 struct device_attribute *attr, const char *buf, in store_chassis_clear() 478 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan() 496 store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min() [all …]
|
D | lm80.c | 272 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() 284 static ssize_t set_in(struct device *dev, struct device_attribute *attr, in set_in() 306 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() 318 static ssize_t show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div() 328 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, in set_fan_min() 355 static ssize_t set_fan_div(struct device *dev, struct device_attribute *attr, in set_fan_div() 409 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp() local 419 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp() local 435 static ssize_t show_alarms(struct device *dev, struct device_attribute *attr, in show_alarms() 444 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_tlv.c | 55 u32 *attr; in fm10k_tlv_attr_put_null_string() local 101 s32 fm10k_tlv_attr_get_null_string(u32 *attr, unsigned char *string) in fm10k_tlv_attr_get_null_string() 132 u32 *attr; in fm10k_tlv_attr_put_mac_vlan() local 165 s32 fm10k_tlv_attr_get_mac_vlan(u32 *attr, u8 *mac_addr, u16 *vlan) in fm10k_tlv_attr_get_mac_vlan() 216 u32 *attr; in fm10k_tlv_attr_put_value() local 254 s32 fm10k_tlv_attr_get_value(u32 *attr, void *value, u32 len) in fm10k_tlv_attr_get_value() 290 u32 *attr; in fm10k_tlv_attr_put_le_struct() local 325 s32 fm10k_tlv_attr_get_le_struct(u32 *attr, void *le_struct, u32 len) in fm10k_tlv_attr_get_le_struct() 358 u32 *attr; in fm10k_tlv_attr_nest_start() local 383 u32 *attr; in fm10k_tlv_attr_nest_stop() local [all …]
|
D | fm10k_tlv.h | 101 const struct fm10k_tlv_attr *attr; member 106 #define FM10K_MSG_HANDLER(id, attr, func) { id, attr, func } argument 132 #define fm10k_tlv_attr_get_u8(attr, ptr) \ argument 134 #define fm10k_tlv_attr_get_u16(attr, ptr) \ argument 136 #define fm10k_tlv_attr_get_u32(attr, ptr) \ argument 138 #define fm10k_tlv_attr_get_u64(attr, ptr) \ argument 140 #define fm10k_tlv_attr_get_s8(attr, ptr) \ argument 142 #define fm10k_tlv_attr_get_s16(attr, ptr) \ argument 144 #define fm10k_tlv_attr_get_s32(attr, ptr) \ argument 146 #define fm10k_tlv_attr_get_s64(attr, ptr) \ argument
|
/linux-4.1.27/drivers/video/backlight/ |
D | adp5520_bl.c | 179 struct device_attribute *attr, char *buf) in adp5520_bl_dark_max_show() 185 struct device_attribute *attr, in adp5520_bl_dark_max_store() 194 struct device_attribute *attr, char *buf) in adp5520_bl_office_max_show() 200 struct device_attribute *attr, in adp5520_bl_office_max_store() 209 struct device_attribute *attr, char *buf) in adp5520_bl_daylight_max_show() 215 struct device_attribute *attr, in adp5520_bl_daylight_max_store() 231 struct device_attribute *attr, char *buf) in adp5520_bl_dark_dim_show() 237 struct device_attribute *attr, in adp5520_bl_dark_dim_store() 246 struct device_attribute *attr, char *buf) in adp5520_bl_office_dim_show() 252 struct device_attribute *attr, in adp5520_bl_office_dim_store() [all …]
|
D | adp8870_bl.c | 586 struct device_attribute *attr, char *buf) in adp8870_bl_l5_dark_max_show() 592 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l5_dark_max_store() 601 struct device_attribute *attr, char *buf) in adp8870_bl_l4_indoor_max_show() 607 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l4_indoor_max_store() 616 struct device_attribute *attr, char *buf) in adp8870_bl_l3_office_max_show() 622 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l3_office_max_store() 631 struct device_attribute *attr, char *buf) in adp8870_bl_l2_bright_max_show() 637 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l2_bright_max_store() 645 struct device_attribute *attr, char *buf) in adp8870_bl_l1_daylight_max_show() 651 struct device_attribute *attr, const char *buf, size_t count) in adp8870_bl_l1_daylight_max_store() [all …]
|
D | lm3533_bl.c | 75 struct device_attribute *attr, char *buf) in show_id() 83 struct device_attribute *attr, char *buf) in show_als_channel() 92 struct device_attribute *attr, char *buf) in show_als_en() 112 struct device_attribute *attr, in store_als_en() 141 struct device_attribute *attr, char *buf) in show_linear() 164 struct device_attribute *attr, in store_linear() 192 struct device_attribute *attr, in show_pwm() 207 struct device_attribute *attr, in store_pwm() 240 struct attribute *attr, int n) in lm3533_bl_attr_is_visible()
|
D | adp8860_bl.c | 465 struct device_attribute *attr, char *buf) in adp8860_bl_l3_dark_max_show() 471 struct device_attribute *attr, const char *buf, size_t count) in adp8860_bl_l3_dark_max_store() 480 struct device_attribute *attr, char *buf) in adp8860_bl_l2_office_max_show() 486 struct device_attribute *attr, const char *buf, size_t count) in adp8860_bl_l2_office_max_store() 494 struct device_attribute *attr, char *buf) in adp8860_bl_l1_daylight_max_show() 500 struct device_attribute *attr, const char *buf, size_t count) in adp8860_bl_l1_daylight_max_store() 514 struct device_attribute *attr, char *buf) in adp8860_bl_l3_dark_dim_show() 520 struct device_attribute *attr, in adp8860_bl_l3_dark_dim_store() 529 struct device_attribute *attr, char *buf) in adp8860_bl_l2_office_dim_show() 535 struct device_attribute *attr, in adp8860_bl_l2_office_dim_store() [all …]
|
/linux-4.1.27/drivers/input/tablet/ |
D | aiptek.c | 1052 static ssize_t show_tabletSize(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletSize() 1080 static ssize_t show_tabletPointerMode(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletPointerMode() 1090 store_tabletPointerMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t … in store_tabletPointerMode() 1117 static ssize_t show_tabletCoordinateMode(struct device *dev, struct device_attribute *attr, char *b… in show_tabletCoordinateMode() 1127 store_tabletCoordinateMode(struct device *dev, struct device_attribute *attr, const char *buf, size… in store_tabletCoordinateMode() 1159 static ssize_t show_tabletToolMode(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletToolMode() 1169 store_tabletToolMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t cou… in store_tabletToolMode() 1189 static ssize_t show_tabletXtilt(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletXtilt() 1202 store_tabletXtilt(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) in store_tabletXtilt() 1231 static ssize_t show_tabletYtilt(struct device *dev, struct device_attribute *attr, char *buf) in show_tabletYtilt() [all …]
|
/linux-4.1.27/drivers/s390/block/ |
D | dasd_devmap.c | 712 static ssize_t dasd_ff_show(struct device *dev, struct device_attribute *attr, in dasd_ff_show() 726 static ssize_t dasd_ff_store(struct device *dev, struct device_attribute *attr, in dasd_ff_store() 758 dasd_ro_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_ro_show() 772 dasd_ro_store(struct device *dev, struct device_attribute *attr, in dasd_ro_store() 810 dasd_erplog_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_erplog_show() 824 dasd_erplog_store(struct device *dev, struct device_attribute *attr, in dasd_erplog_store() 857 dasd_use_diag_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_use_diag_show() 871 dasd_use_diag_store(struct device *dev, struct device_attribute *attr, in dasd_use_diag_store() 908 dasd_use_raw_show(struct device *dev, struct device_attribute *attr, char *buf) in dasd_use_raw_show() 922 dasd_use_raw_store(struct device *dev, struct device_attribute *attr, in dasd_use_raw_store() [all …]
|
/linux-4.1.27/drivers/scsi/pm8001/ |
D | pm8001_ctl.c | 55 struct device_attribute *attr, char *buf) in pm8001_ctl_mpi_interface_rev_show() 80 struct device_attribute *attr, char *buf) in pm8001_ctl_fw_version_show() 109 struct device_attribute *attr, char *buf) in pm8001_ctl_max_out_io_show() 132 struct device_attribute *attr, char *buf) in pm8001_ctl_max_devices_show() 158 struct device_attribute *attr, char *buf) in pm8001_ctl_max_sg_list_show() 202 struct device_attribute *attr, char *buf) in pm8001_ctl_sas_spec_support_show() 231 struct device_attribute *attr, char *buf) in pm8001_ctl_host_sas_address_show() 250 struct device_attribute *attr, char *buf) in pm8001_ctl_logging_level_show() 259 struct device_attribute *attr, const char *buf, size_t count) in pm8001_ctl_logging_level_store() 283 struct device_attribute *attr, char *buf) in pm8001_ctl_aap_log_show() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_sysfs.c | 183 struct attribute attr; member 297 struct attribute *attr, char *buf) in qib_portattr_show() 308 struct attribute *attr, const char *buf, size_t len) in qib_portattr_store() 339 struct attribute attr; member 380 static ssize_t sl2vl_attr_show(struct kobject *kobj, struct attribute *attr, in sl2vl_attr_show() 413 struct attribute attr; member 452 static ssize_t diagc_attr_show(struct kobject *kobj, struct attribute *attr, in diagc_attr_show() 464 static ssize_t diagc_attr_store(struct kobject *kobj, struct attribute *attr, in diagc_attr_store() 501 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev() 510 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca() [all …]
|
/linux-4.1.27/drivers/dio/ |
D | dio-sysfs.c | 20 static ssize_t dio_show_id(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_id() 29 static ssize_t dio_show_ipl(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_ipl() 38 static ssize_t dio_show_secid(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_secid() 47 static ssize_t dio_show_name(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_name() 56 static ssize_t dio_show_resource(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_resource()
|
/linux-4.1.27/drivers/regulator/ |
D | virtual.c | 112 struct device_attribute *attr, char *buf) in show_min_uV() 118 static ssize_t set_min_uV(struct device *dev, struct device_attribute *attr, in set_min_uV() 138 struct device_attribute *attr, char *buf) in show_max_uV() 144 static ssize_t set_max_uV(struct device *dev, struct device_attribute *attr, in set_max_uV() 164 struct device_attribute *attr, char *buf) in show_min_uA() 170 static ssize_t set_min_uA(struct device *dev, struct device_attribute *attr, in set_min_uA() 190 struct device_attribute *attr, char *buf) in show_max_uA() 196 static ssize_t set_max_uA(struct device *dev, struct device_attribute *attr, in set_max_uA() 216 struct device_attribute *attr, char *buf) in show_mode() 234 static ssize_t set_mode(struct device *dev, struct device_attribute *attr, in set_mode()
|
/linux-4.1.27/sound/hda/ |
D | hdac_sysfs.c | 79 struct attribute attr; member 100 static ssize_t widget_attr_show(struct kobject *kobj, struct attribute *attr, in widget_attr_show() 116 static ssize_t widget_attr_store(struct kobject *kobj, struct attribute *attr, in widget_attr_store() 153 struct widget_attribute *attr, char *buf) in caps_show() 159 struct widget_attribute *attr, char *buf) in pin_caps_show() 168 struct widget_attribute *attr, char *buf) in pin_cfg_show() 193 struct widget_attribute *attr, char *buf) in pcm_caps_show() 202 struct widget_attribute *attr, char *buf) in pcm_formats_show() 211 struct widget_attribute *attr, char *buf) in amp_in_caps_show() 220 struct widget_attribute *attr, char *buf) in amp_out_caps_show() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
D | sysfs.c | 47 struct device_attribute *attr, char *buf) in show_admin_alias_guid() 69 struct device_attribute *attr, in store_admin_alias_guid() 112 struct device_attribute *attr, in show_port_gid() 139 struct device_attribute *attr, in show_phys_port_pkey() 165 struct device_attribute *attr, in create_sysfs_entry() 201 struct attribute *attr) in add_sysfs_port_mcg_attr() 214 struct attribute *attr) in del_sysfs_port_mcg_attr() 227 struct ib_port_attr attr; in add_port_entries() local 395 struct attribute attr; member 402 struct attribute *attr, char *buf) in port_attr_show() [all …]
|
/linux-4.1.27/drivers/scsi/ |
D | scsi_sysfs.c | 151 store_scan(struct device *dev, struct device_attribute *attr, in store_scan() 165 store_shost_state(struct device *dev, struct device_attribute *attr, in store_shost_state() 189 show_shost_state(struct device *dev, struct device_attribute *attr, char *buf) in show_shost_state() 221 show_shost_supported_mode(struct device *dev, struct device_attribute *attr, in show_shost_supported_mode() 238 struct device_attribute *attr, char *buf) in show_shost_active_mode() 261 store_host_reset(struct device *dev, struct device_attribute *attr, in store_host_reset() 286 struct device_attribute *attr, char *buf) in show_shost_eh_deadline() 296 store_shost_eh_deadline(struct device *dev, struct device_attribute *attr, in store_shost_eh_deadline() 348 show_host_busy(struct device *dev, struct device_attribute *attr, char *buf) in show_host_busy() 596 sdev_show_device_busy(struct device *dev, struct device_attribute *attr, in sdev_show_device_busy() [all …]
|
D | raid_class.c | 176 #define raid_attr_show_internal(attr, fmt, var, code) \ argument 186 #define raid_attr_ro_states(attr, states, code) \ argument 195 #define raid_attr_ro_internal(attr, code) \ argument 199 #define ATTR_CODE(attr) \ argument 204 #define raid_attr_ro(attr) raid_attr_ro_internal(attr, ) argument 205 #define raid_attr_ro_fn(attr) raid_attr_ro_internal(attr, ATTR_CODE(attr)) argument 206 #define raid_attr_ro_state(attr) raid_attr_ro_states(attr, attr, ) argument 207 #define raid_attr_ro_state_fn(attr) raid_attr_ro_states(attr, attr, ATTR_CODE(attr)) argument
|
/linux-4.1.27/drivers/infiniband/hw/usnic/ |
D | usnic_ib_sysfs.c | 34 struct device_attribute *attr, in usnic_ib_show_fw_ver() 49 struct device_attribute *attr, in usnic_ib_show_board() 67 usnic_ib_show_config(struct device *device, struct device_attribute *attr, in usnic_ib_show_config() 130 usnic_ib_show_iface(struct device *device, struct device_attribute *attr, in usnic_ib_show_iface() 142 usnic_ib_show_max_vf(struct device *device, struct device_attribute *attr, in usnic_ib_show_max_vf() 154 usnic_ib_show_qp_per_vf(struct device *device, struct device_attribute *attr, in usnic_ib_show_qp_per_vf() 169 usnic_ib_show_cq_per_vf(struct device *device, struct device_attribute *attr, in usnic_ib_show_cq_per_vf() 199 struct attribute attr; member 207 usnic_ib_qpn_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in usnic_ib_qpn_attr_show()
|
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-sysfs.c | 38 struct device_attribute *attr, char *buf) in show_rotate_type() 47 struct device_attribute *attr, in store_rotate_type() 93 struct device_attribute *attr, char *buf) in show_mirror() 102 struct device_attribute *attr, in store_mirror() 144 struct device_attribute *attr, char *buf) in show_overlays() 193 static ssize_t store_overlays(struct device *dev, struct device_attribute *attr, in store_overlays() 336 struct device_attribute *attr, char *buf) in show_overlays_rotate() 359 struct device_attribute *attr, const char *buf, size_t count) in store_overlays_rotate() 430 struct device_attribute *attr, char *buf) in show_size() 438 static ssize_t store_size(struct device *dev, struct device_attribute *attr, in store_size() [all …]
|
/linux-4.1.27/drivers/pwm/ |
D | sysfs.c | 44 struct device_attribute *attr, in pwm_period_show() 53 struct device_attribute *attr, in pwm_period_store() 70 struct device_attribute *attr, in pwm_duty_cycle_show() 79 struct device_attribute *attr, in pwm_duty_cycle_store() 96 struct device_attribute *attr, in pwm_enable_show() 106 struct device_attribute *attr, in pwm_enable_store() 132 struct device_attribute *attr, in pwm_polarity_show() 141 struct device_attribute *attr, in pwm_polarity_store() 238 struct device_attribute *attr, in pwm_export_store() 266 struct device_attribute *attr, in pwm_unexport_store() [all …]
|
/linux-4.1.27/arch/avr32/kernel/ |
D | cpu.c | 30 struct device_attribute *attr, char *buf) in show_pc0event() 38 struct device_attribute *attr, const char *buf, in store_pc0event() 54 struct device_attribute *attr, char *buf) in show_pc0count() 62 struct device_attribute *attr, in store_pc0count() 77 struct device_attribute *attr, char *buf) in show_pc1event() 85 struct device_attribute *attr, const char *buf, in store_pc1event() 101 struct device_attribute *attr, char *buf) in show_pc1count() 109 struct device_attribute *attr, const char *buf, in store_pc1count() 124 struct device_attribute *attr, char *buf) in show_pccycles() 132 struct device_attribute *attr, const char *buf, in store_pccycles() [all …]
|
/linux-4.1.27/drivers/parisc/ |
D | pdc_stable.c | 110 struct attribute attr; member 448 pdcspath_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) in pdcspath_attr_show() 468 pdcspath_attr_store(struct kobject *kobj, struct attribute *attr, in pdcspath_attr_store() 529 struct kobj_attribute *attr, in pdcs_size_read() 549 struct kobj_attribute *attr, in pdcs_auto_read() 574 struct kobj_attribute *attr, char *buf) in pdcs_autoboot_read() 584 struct kobj_attribute *attr, char *buf) in pdcs_autosearch_read() 596 struct kobj_attribute *attr, char *buf) in pdcs_timer_read() 621 struct kobj_attribute *attr, char *buf) in pdcs_osid_read() 641 struct kobj_attribute *attr, char *buf) in pdcs_osdep1_read() [all …]
|
/linux-4.1.27/drivers/usb/wusbcore/ |
D | wusbhc.c | 58 struct device_attribute *attr, in wusb_trust_timeout_show() 67 struct device_attribute *attr, in wusb_trust_timeout_store() 94 struct device_attribute *attr, char *buf) in wusb_chid_show() 120 struct device_attribute *attr, in wusb_chid_store() 152 struct device_attribute *attr, in wusb_phy_rate_show() 161 struct device_attribute *attr, in wusb_phy_rate_store() 181 struct device_attribute *attr, in wusb_dnts_show() 191 struct device_attribute *attr, in wusb_dnts_store() 211 struct device_attribute *attr, in wusb_retry_count_show() 220 struct device_attribute *attr, in wusb_retry_count_store()
|
D | cbaf.c | 314 struct device_attribute *attr, in cbaf_wusb_chid_show() 326 struct device_attribute *attr, in cbaf_wusb_chid_store() 361 struct device_attribute *attr, in cbaf_wusb_host_name_show() 371 struct device_attribute *attr, in cbaf_wusb_host_name_store() 388 struct device_attribute *attr, in cbaf_wusb_host_band_groups_show() 398 struct device_attribute *attr, in cbaf_wusb_host_band_groups_store() 428 struct device_attribute *attr, char *buf) in cbaf_wusb_cdid_show() 439 struct device_attribute *attr, in cbaf_wusb_cdid_store() 470 struct device_attribute *attr, in cbaf_wusb_device_band_groups_show() 484 struct device_attribute *attr, in cbaf_wusb_device_name_show() [all …]
|
/linux-4.1.27/arch/s390/kernel/ |
D | time.c | 1154 struct device_attribute *attr, in etr_stepping_port_show() 1163 struct device_attribute *attr, in etr_stepping_mode_show() 1191 struct device_attribute *attr, in etr_online_show() 1201 struct device_attribute *attr, in etr_online_store() 1241 struct device_attribute *attr, in etr_stepping_control_show() 1251 struct device_attribute *attr, char *buf) in etr_mode_code_show() 1263 struct device_attribute *attr, char *buf) in etr_untuned_show() 1275 struct device_attribute *attr, char *buf) in etr_network_id_show() 1287 struct device_attribute *attr, char *buf) in etr_id_show() 1299 struct device_attribute *attr, char *buf) in etr_port_number_show() [all …]
|
D | ipl.c | 264 static ssize_t ipl_type_show(struct kobject *kobj, struct kobj_attribute *attr, in ipl_type_show() 318 struct kobj_attribute *attr, char *page) in ipl_vm_parm_show() 385 struct kobj_attribute *attr, char *page) in sys_ipl_device_show() 404 struct bin_attribute *attr, char *buf, in ipl_parameter_read() 415 struct bin_attribute *attr, char *buf, in ipl_scp_data_read() 444 struct kobj_attribute *attr, char *page) in ipl_ccw_loadparm_show() 634 struct kobj_attribute *attr, char *page) in reipl_nss_vmparm_show() 640 struct kobj_attribute *attr, in reipl_nss_vmparm_store() 648 struct kobj_attribute *attr, char *page) in reipl_ccw_vmparm_show() 654 struct kobj_attribute *attr, in reipl_ccw_vmparm_store() [all …]
|
/linux-4.1.27/include/linux/ |
D | hw_breakpoint.h | 11 static inline void hw_breakpoint_init(struct perf_event_attr *attr) in hw_breakpoint_init() 25 static inline void ptrace_breakpoint_init(struct perf_event_attr *attr) in ptrace_breakpoint_init() 92 register_user_hw_breakpoint(struct perf_event_attr *attr, in register_user_hw_breakpoint() 98 struct perf_event_attr *attr) { return -ENOSYS; } in modify_user_hw_breakpoint() 100 register_wide_hw_breakpoint_cpu(struct perf_event_attr *attr, in register_wide_hw_breakpoint_cpu() 105 register_wide_hw_breakpoint(struct perf_event_attr *attr, in register_wide_hw_breakpoint()
|
D | dma-attrs.h | 50 static inline void dma_set_attr(enum dma_attr attr, struct dma_attrs *attrs) in dma_set_attr() 63 static inline int dma_get_attr(enum dma_attr attr, struct dma_attrs *attrs) in dma_get_attr() 71 static inline void dma_set_attr(enum dma_attr attr, struct dma_attrs *attrs) in dma_set_attr() 75 static inline int dma_get_attr(enum dma_attr attr, struct dma_attrs *attrs) in dma_get_attr()
|
D | sysfs.h | 50 #define sysfs_attr_init(attr) \ argument 57 #define sysfs_attr_init(attr) do {} while (0) argument 146 struct attribute attr; member 317 const struct attribute *attr, in sysfs_create_file_ns() 324 const struct attribute **attr) in sysfs_create_files() 330 const struct attribute *attr, umode_t mode) in sysfs_chmod_file() 336 const struct attribute *attr, in sysfs_remove_file_ns() 342 const struct attribute *attr) in sysfs_remove_file_self() 348 const struct attribute **attr) in sysfs_remove_files() 353 const struct bin_attribute *attr) in sysfs_create_bin_file() [all …]
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
D | mesh.c | 157 struct device_attribute *attr, char * buf) in lbs_anycast_get() 180 struct device_attribute *attr, const char * buf, size_t count) in lbs_anycast_set() 205 struct device_attribute *attr, char *buf) in lbs_prb_rsp_limit_get() 232 struct device_attribute *attr, const char *buf, size_t count) in lbs_prb_rsp_limit_set() 264 struct device_attribute *attr, char * buf) in lbs_mesh_get() 278 struct device_attribute *attr, const char * buf, size_t count) in lbs_mesh_set() 356 struct device_attribute *attr, char *buf) in bootflag_get() 376 static ssize_t bootflag_set(struct device *dev, struct device_attribute *attr, in bootflag_set() 406 struct device_attribute *attr, char *buf) in boottime_get() 427 struct device_attribute *attr, const char *buf, size_t count) in boottime_set() [all …]
|
/linux-4.1.27/drivers/char/ |
D | tlclk.c | 281 struct device_attribute *attr, char *buf) in show_current_ref() 297 struct device_attribute *attr, char *buf) in show_telclock_version() 313 struct device_attribute *attr, char *buf) in show_alarms() 328 struct device_attribute *attr, const char *buf, size_t count) in store_received_ref_clk3a() 350 struct device_attribute *attr, const char *buf, size_t count) in store_received_ref_clk3b() 372 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clk3b_output() 393 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clk3a_output() 414 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clkb1_output() 436 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clka1_output() 457 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clkb0_output() [all …]
|
/linux-4.1.27/drivers/leds/trigger/ |
D | ledtrig-oneshot.c | 30 struct device_attribute *attr, const char *buf, size_t size) in led_shot() 43 struct device_attribute *attr, char *buf) in led_invert_show() 52 struct device_attribute *attr, const char *buf, size_t size) in led_invert_store() 74 struct device_attribute *attr, char *buf) in led_delay_on_show() 82 struct device_attribute *attr, const char *buf, size_t size) in led_delay_on_store() 97 struct device_attribute *attr, char *buf) in led_delay_off_show() 105 struct device_attribute *attr, const char *buf, size_t size) in led_delay_off_store()
|
D | ledtrig-transient.c | 48 struct device_attribute *attr, char *buf) in transient_activate_show() 57 struct device_attribute *attr, const char *buf, size_t size) in transient_activate_store() 100 struct device_attribute *attr, char *buf) in transient_duration_show() 109 struct device_attribute *attr, const char *buf, size_t size) in transient_duration_store() 125 struct device_attribute *attr, char *buf) in transient_state_show() 136 struct device_attribute *attr, const char *buf, size_t size) in transient_state_store()
|
D | ledtrig-timer.c | 22 struct device_attribute *attr, char *buf) in led_delay_on_show() 30 struct device_attribute *attr, const char *buf, size_t size) in led_delay_on_store() 47 struct device_attribute *attr, char *buf) in led_delay_off_show() 55 struct device_attribute *attr, const char *buf, size_t size) in led_delay_off_store()
|
D | ledtrig-gpio.c | 67 struct device_attribute *attr, char *buf) in gpio_trig_brightness_show() 76 struct device_attribute *attr, const char *buf, size_t n) in gpio_trig_brightness_store() 97 struct device_attribute *attr, char *buf) in gpio_trig_inverted_show() 106 struct device_attribute *attr, const char *buf, size_t n) in gpio_trig_inverted_store() 131 struct device_attribute *attr, char *buf) in gpio_trig_gpio_show() 140 struct device_attribute *attr, const char *buf, size_t n) in gpio_trig_gpio_store()
|
/linux-4.1.27/net/core/ |
D | net-sysfs.c | 45 struct device_attribute *attr, char *buf, in netdev_show() 80 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store() 116 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show() 131 struct device_attribute *attr, in name_assign_type_show() 145 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show() 160 struct device_attribute *attr, char *buf) in broadcast_show() 176 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, in carrier_store() 183 struct device_attribute *attr, char *buf) in carrier_show() 194 struct device_attribute *attr, char *buf) in speed_show() 213 struct device_attribute *attr, char *buf) in duplex_show() [all …]
|
/linux-4.1.27/drivers/gpio/ |
D | gpiolib-sysfs.c | 42 struct device_attribute *attr, char *buf) in gpio_direction_show() 63 struct device_attribute *attr, const char *buf, size_t size) in gpio_direction_store() 89 struct device_attribute *attr, char *buf) in gpio_value_show() 106 struct device_attribute *attr, const char *buf, size_t size) in gpio_value_store() 233 struct device_attribute *attr, char *buf) in gpio_edge_show() 260 struct device_attribute *attr, const char *buf, size_t size) in gpio_edge_store() 315 struct device_attribute *attr, char *buf) in gpio_active_low_show() 334 struct device_attribute *attr, const char *buf, size_t size) in gpio_active_low_store() 359 static umode_t gpio_is_visible(struct kobject *kobj, struct attribute *attr, in gpio_is_visible() 406 struct device_attribute *attr, char *buf) in chip_base_show() [all …]
|
/linux-4.1.27/drivers/misc/ |
D | enclosure.c | 431 struct device_attribute *attr, char *buf) in components_show() 440 struct device_attribute *attr, in id_show() 483 struct device_attribute *attr, char *buf) in get_component_fault() 494 struct device_attribute *attr, in set_component_fault() 507 struct device_attribute *attr,char *buf) in get_component_status() 518 struct device_attribute *attr, in set_component_status() 541 struct device_attribute *attr, char *buf) in get_component_active() 552 struct device_attribute *attr, in set_component_active() 565 struct device_attribute *attr, char *buf) in get_component_locate() 576 struct device_attribute *attr, in set_component_locate() [all …]
|
D | bh1770glc.c | 647 struct device_attribute *attr, in bh1770_power_state_store() 690 struct device_attribute *attr, char *buf) in bh1770_power_state_show() 696 struct device_attribute *attr, char *buf) in bh1770_lux_result_show() 719 struct device_attribute *attr, char *buf) in bh1770_lux_range_show() 725 struct device_attribute *attr, in bh1770_prox_enable_store() 757 struct device_attribute *attr, char *buf) in bh1770_prox_enable_show() 769 struct device_attribute *attr, char *buf) in bh1770_prox_result_show() 784 struct device_attribute *attr, char *buf) in bh1770_prox_range_show() 790 struct device_attribute *attr, char *buf) in bh1770_get_prox_rate_avail() 801 struct device_attribute *attr, char *buf) in bh1770_get_prox_rate_above() [all …]
|
D | apds990x.c | 638 struct device_attribute *attr, char *buf) in apds990x_lux_show() 669 struct device_attribute *attr, char *buf) in apds990x_lux_range_show() 677 struct device_attribute *attr, char *buf) in apds990x_lux_calib_format_show() 686 struct device_attribute *attr, char *buf) in apds990x_lux_calib_show() 694 struct device_attribute *attr, in apds990x_lux_calib_store() 714 struct device_attribute *attr, char *buf) in apds990x_rate_avail() 725 struct device_attribute *attr, char *buf) in apds990x_rate_show() 757 struct device_attribute *attr, in apds990x_rate_store() 783 struct device_attribute *attr, char *buf) in apds990x_prox_show() 799 struct device_attribute *attr, char *buf) in apds990x_prox_range_show() [all …]
|
D | isl29003.c | 196 struct device_attribute *attr, char *buf) in isl29003_show_range() 203 struct device_attribute *attr, in isl29003_store_range() 230 struct device_attribute *attr, in isl29003_show_resolution() 238 struct device_attribute *attr, in isl29003_store_resolution() 264 struct device_attribute *attr, char *buf) in isl29003_show_mode() 271 struct device_attribute *attr, const char *buf, size_t count) in isl29003_store_mode() 297 struct device_attribute *attr, in isl29003_show_power_state() 305 struct device_attribute *attr, in isl29003_store_power_state() 329 struct device_attribute *attr, char *buf) in isl29003_show_lux()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | sysfs.c | 41 struct device_attribute *attr, in store_smt_snooze_delay() 58 struct device_attribute *attr, in show_smt_snooze_delay() 116 struct device_attribute *attr, char *buf) in show_pw20_state() 144 struct device_attribute *attr, in store_pw20_state() 162 struct device_attribute *attr, char *buf) in show_pw20_wait_time() 211 struct device_attribute *attr, in store_pw20_wait_time() 238 struct device_attribute *attr, char *buf) in show_altivec_idle() 266 struct device_attribute *attr, in store_altivec_idle() 284 struct device_attribute *attr, char *buf) in show_altivec_idle_wait_time() 333 struct device_attribute *attr, in store_altivec_idle_wait_time() [all …]
|
/linux-4.1.27/drivers/scsi/arcmsr/ |
D | arcmsr_attr.c | 261 struct device_attribute *attr, char *buf) in arcmsr_attr_host_driver_version() 270 struct device_attribute *attr, char *buf) in arcmsr_attr_host_driver_posted_cmd() 282 struct device_attribute *attr, char *buf) in arcmsr_attr_host_driver_reset() 294 struct device_attribute *attr, char *buf) in arcmsr_attr_host_driver_abort() 305 arcmsr_attr_host_fw_model(struct device *dev, struct device_attribute *attr, in arcmsr_attr_host_fw_model() 318 struct device_attribute *attr, char *buf) in arcmsr_attr_host_fw_version() 331 struct device_attribute *attr, char *buf) in arcmsr_attr_host_fw_request_len() 344 struct device_attribute *attr, char *buf) in arcmsr_attr_host_fw_numbers_queue() 357 struct device_attribute *attr, char *buf) in arcmsr_attr_host_fw_sdram_size() 370 struct device_attribute *attr, char *buf) in arcmsr_attr_host_fw_hd_channels()
|
/linux-4.1.27/drivers/media/pci/solo6x10/ |
D | solo6x10-core.c | 180 static ssize_t eeprom_store(struct device *dev, struct device_attribute *attr, in eeprom_store() 210 static ssize_t eeprom_show(struct device *dev, struct device_attribute *attr, in eeprom_show() 226 struct device_attribute *attr, in p2m_timeouts_show() 236 struct device_attribute *attr, in sdram_size_show() 246 struct device_attribute *attr, in tw28xx_show() 259 struct device_attribute *attr, in input_map_show() 294 struct device_attribute *attr, in p2m_timeout_store() 310 struct device_attribute *attr, in p2m_timeout_show() 320 struct device_attribute *attr, in intervals_show() 339 struct device_attribute *attr, in sdram_offsets_show()
|
/linux-4.1.27/block/ |
D | partition-generic.c | 68 struct device_attribute *attr, char *buf) in part_partition_show() 76 struct device_attribute *attr, char *buf) in part_start_show() 84 struct device_attribute *attr, char *buf) in part_size_show() 91 struct device_attribute *attr, char *buf) in part_ro_show() 98 struct device_attribute *attr, char *buf) in part_alignment_offset_show() 105 struct device_attribute *attr, char *buf) in part_discard_alignment_show() 112 struct device_attribute *attr, char *buf) in part_stat_show() 139 struct device_attribute *attr, char *buf) in part_inflight_show() 149 struct device_attribute *attr, char *buf) in part_fail_show() 157 struct device_attribute *attr, in part_fail_store() [all …]
|
/linux-4.1.27/fs/sysfs/ |
D | file.c | 165 void sysfs_notify(struct kobject *kobj, const char *dir, const char *attr) in sysfs_notify() 239 const struct attribute *attr, bool is_bin, in sysfs_add_file_mode_ns() 307 int sysfs_add_file(struct kernfs_node *parent, const struct attribute *attr, in sysfs_add_file() 319 int sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_create_file_ns() 350 const struct attribute *attr, const char *group) in sysfs_add_file_to_group() 379 int sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr, in sysfs_chmod_file() 408 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr, in sysfs_remove_file_ns() 424 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr) in sysfs_remove_file_self() 455 const struct attribute *attr, const char *group) in sysfs_remove_file_from_group() 479 const struct bin_attribute *attr) in sysfs_create_bin_file() [all …]
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
D | qla_attr.c | 931 struct bin_attribute *attr; member 1006 struct device_attribute *attr, char *buf) in qla2x00_drvr_version_show() 1013 struct device_attribute *attr, char *buf) in qla2x00_fw_version_show() 1024 qla2x00_serial_num_show(struct device *dev, struct device_attribute *attr, in qla2x00_serial_num_show() 1045 qla2x00_isp_name_show(struct device *dev, struct device_attribute *attr, in qla2x00_isp_name_show() 1053 qla2x00_isp_id_show(struct device *dev, struct device_attribute *attr, in qla2x00_isp_id_show() 1069 qla2x00_model_name_show(struct device *dev, struct device_attribute *attr, in qla2x00_model_name_show() 1078 qla2x00_model_desc_show(struct device *dev, struct device_attribute *attr, in qla2x00_model_desc_show() 1087 qla2x00_pci_info_show(struct device *dev, struct device_attribute *attr, in qla2x00_pci_info_show() 1098 qla2x00_link_state_show(struct device *dev, struct device_attribute *attr, in qla2x00_link_state_show() [all …]
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
D | pvrusb2-sysfs.c | 88 struct device_attribute *attr, in show_name() 102 struct device_attribute *attr, in show_type() 124 struct device_attribute *attr, in show_min() 137 struct device_attribute *attr, in show_max() 150 struct device_attribute *attr, in show_def() 169 struct device_attribute *attr, in show_val_norm() 188 struct device_attribute *attr, in show_val_custom() 207 struct device_attribute *attr, in show_enum() 231 struct device_attribute *attr, in show_bits() 274 struct device_attribute *attr, in store_val_norm() [all …]
|
/linux-4.1.27/arch/sh/drivers/dma/ |
D | dma-sysfs.c | 27 struct device_attribute *attr, char *buf) in dma_show_devices() 62 struct device_attribute *attr, char *buf) in dma_show_dev_id() 69 struct device_attribute *attr, in dma_store_dev_id() 80 struct device_attribute *attr, in dma_store_config() 95 struct device_attribute *attr, char *buf) in dma_show_mode() 102 struct device_attribute *attr, in dma_store_mode()
|
/linux-4.1.27/arch/tile/kernel/ |
D | sysfs.c | 36 struct device_attribute *attr, in chip_width_show() 44 struct device_attribute *attr, in chip_height_show() 52 struct device_attribute *attr, in chip_serial_show() 60 struct device_attribute *attr, in chip_revision_show() 69 struct device_attribute *attr, in type_show() 161 struct device_attribute *attr, in hv_stats_show() 176 struct device_attribute *attr, in hv_stats_store()
|
/linux-4.1.27/drivers/firmware/ |
D | dcdbas.c | 120 struct device_attribute *attr, in smi_data_buf_phys_addr_show() 127 struct device_attribute *attr, in smi_data_buf_size_show() 134 struct device_attribute *attr, in smi_data_buf_size_store() 188 struct device_attribute *attr, in host_control_action_show() 195 struct device_attribute *attr, in host_control_action_store() 212 struct device_attribute *attr, in host_control_smi_type_show() 219 struct device_attribute *attr, in host_control_smi_type_store() 227 struct device_attribute *attr, in host_control_on_shutdown_show() 234 struct device_attribute *attr, in host_control_on_shutdown_store() 301 struct device_attribute *attr, in smi_request_store()
|
/linux-4.1.27/drivers/usb/misc/ |
D | cytherm.c | 86 static ssize_t show_brightness(struct device *dev, struct device_attribute *attr, char *buf) in show_brightness() 94 static ssize_t set_brightness(struct device *dev, struct device_attribute *attr, const char *buf, in set_brightness() 139 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() 175 static ssize_t set_temp(struct device *dev, struct device_attribute *attr, const char *buf, size_t … in set_temp() 185 static ssize_t show_button(struct device *dev, struct device_attribute *attr, char *buf) in show_button() 216 static ssize_t set_button(struct device *dev, struct device_attribute *attr, const char *buf, size_… in set_button() 224 static ssize_t show_port0(struct device *dev, struct device_attribute *attr, char *buf) in show_port0() 250 static ssize_t set_port0(struct device *dev, struct device_attribute *attr, const char *buf, size_t… in set_port0() 284 static ssize_t show_port1(struct device *dev, struct device_attribute *attr, char *buf) in show_port1() 310 static ssize_t set_port1(struct device *dev, struct device_attribute *attr, const char *buf, size_t… in set_port1()
|
D | cypress_cy7c63.c | 120 static ssize_t write_port(struct device *dev, struct device_attribute *attr, in write_port() 152 struct device_attribute *attr, in set_port0_handler() 160 struct device_attribute *attr, in set_port1_handler() 167 static ssize_t read_port(struct device *dev, struct device_attribute *attr, in read_port() 186 struct device_attribute *attr, char *buf) in get_port0_handler() 193 struct device_attribute *attr, char *buf) in get_port1_handler()
|
/linux-4.1.27/drivers/s390/char/ |
D | sclp_cpi_sys.c | 180 static int check_string(const char *attr, const char *str) in check_string() 203 static void set_string(char *attr, const char *value) in set_string() 222 struct kobj_attribute *attr, char *page) in system_name_show() 233 struct kobj_attribute *attr, in system_name_store() 254 struct kobj_attribute *attr, char *page) in sysplex_name_show() 265 struct kobj_attribute *attr, in sysplex_name_store() 286 struct kobj_attribute *attr, char *page) in system_type_show() 297 struct kobj_attribute *attr, in system_type_store() 318 struct kobj_attribute *attr, char *page) in system_level_show() 329 struct kobj_attribute *attr, in system_level_store() [all …]
|
/linux-4.1.27/drivers/hid/ |
D | hid-ntrig.c | 173 struct device_attribute *attr, in show_phys_width() 185 struct device_attribute *attr, in show_phys_height() 197 struct device_attribute *attr, in show_log_width() 209 struct device_attribute *attr, in show_log_height() 221 struct device_attribute *attr, in show_min_width() 233 struct device_attribute *attr, in set_min_width() 256 struct device_attribute *attr, in show_min_height() 268 struct device_attribute *attr, in set_min_height() 292 struct device_attribute *attr, in show_activate_slack() 302 struct device_attribute *attr, in set_activate_slack() [all …]
|
D | hid-lenovo.c | 187 struct device_attribute *attr, in attr_fn_lock_show_cptkbd() 197 struct device_attribute *attr, in attr_fn_lock_store_cptkbd() 217 struct device_attribute *attr, in attr_sensitivity_show_cptkbd() 228 struct device_attribute *attr, in attr_sensitivity_store_cptkbd() 307 struct device_attribute *attr, in attr_press_to_select_show_tpkbd() 317 struct device_attribute *attr, in attr_press_to_select_store_tpkbd() 337 struct device_attribute *attr, in attr_dragging_show_tpkbd() 347 struct device_attribute *attr, in attr_dragging_store_tpkbd() 367 struct device_attribute *attr, in attr_release_to_select_show_tpkbd() 377 struct device_attribute *attr, in attr_release_to_select_store_tpkbd() [all …]
|
D | hid-roccat-kone.c | 270 struct bin_attribute *attr, char *buf, in kone_sysfs_read_settings() 295 struct bin_attribute *attr, char *buf, in kone_sysfs_write_settings() 333 struct kobject *kobj, struct bin_attribute *attr, in kone_sysfs_read_profilex() 354 struct kobject *kobj, struct bin_attribute *attr, in kone_sysfs_write_profilex() 400 struct device_attribute *attr, char *buf) in kone_sysfs_show_actual_profile() 409 struct device_attribute *attr, char *buf) in kone_sysfs_show_actual_dpi() 419 struct device_attribute *attr, char *buf) in kone_sysfs_show_weight() 441 struct device_attribute *attr, char *buf) in kone_sysfs_show_firmware_version() 451 struct device_attribute *attr, char *buf) in kone_sysfs_show_tcu() 471 struct device_attribute *attr, char const *buf, size_t size) in kone_sysfs_set_tcu() [all …]
|
D | hid-roccat-arvo.c | 32 struct device_attribute *attr, char *buf) in arvo_sysfs_show_mode_key() 52 struct device_attribute *attr, char const *buf, size_t size) in arvo_sysfs_set_mode_key() 82 struct device_attribute *attr, char *buf) in arvo_sysfs_show_key_mask() 102 struct device_attribute *attr, char const *buf, size_t size) in arvo_sysfs_set_key_mask() 147 struct device_attribute *attr, char *buf) in arvo_sysfs_show_actual_profile() 156 struct device_attribute *attr, char const *buf, size_t size) in arvo_sysfs_set_actual_profile() 234 struct kobject *kobj, struct bin_attribute *attr, char *buf, in arvo_sysfs_write_button() 244 struct kobject *kobj, struct bin_attribute *attr, char *buf, in arvo_sysfs_read_info()
|
/linux-4.1.27/drivers/scsi/mpt3sas/ |
D | mpt3sas_ctl.c | 2343 _ctl_version_fw_show(struct device *cdev, struct device_attribute *attr, in _ctl_version_fw_show() 2365 _ctl_version_bios_show(struct device *cdev, struct device_attribute *attr, in _ctl_version_bios_show() 2389 _ctl_version_mpi_show(struct device *cdev, struct device_attribute *attr, in _ctl_version_mpi_show() 2408 _ctl_version_product_show(struct device *cdev, struct device_attribute *attr, in _ctl_version_product_show() 2427 struct device_attribute *attr, char *buf) in _ctl_version_nvdata_persistent_show() 2446 _ctl_version_nvdata_default_show(struct device *cdev, struct device_attribute in _ctl_version_nvdata_default_show() 2466 _ctl_board_name_show(struct device *cdev, struct device_attribute *attr, in _ctl_board_name_show() 2484 _ctl_board_assembly_show(struct device *cdev, struct device_attribute *attr, in _ctl_board_assembly_show() 2502 _ctl_board_tracer_show(struct device *cdev, struct device_attribute *attr, in _ctl_board_tracer_show() 2523 _ctl_io_delay_show(struct device *cdev, struct device_attribute *attr, in _ctl_io_delay_show() [all …]
|
/linux-4.1.27/samples/kobject/ |
D | kset-example.c | 41 struct attribute attr; member 55 struct attribute *attr, in foo_attr_show() 75 struct attribute *attr, in foo_attr_store() 114 static ssize_t foo_show(struct foo_obj *foo_obj, struct foo_attribute *attr, in foo_show() 120 static ssize_t foo_store(struct foo_obj *foo_obj, struct foo_attribute *attr, in foo_store() 140 static ssize_t b_show(struct foo_obj *foo_obj, struct foo_attribute *attr, in b_show() 152 static ssize_t b_store(struct foo_obj *foo_obj, struct foo_attribute *attr, in b_store()
|
D | kobject-example.c | 30 static ssize_t foo_show(struct kobject *kobj, struct kobj_attribute *attr, in foo_show() 36 static ssize_t foo_store(struct kobject *kobj, struct kobj_attribute *attr, in foo_store() 56 static ssize_t b_show(struct kobject *kobj, struct kobj_attribute *attr, in b_show() 68 static ssize_t b_store(struct kobject *kobj, struct kobj_attribute *attr, in b_store()
|
/linux-4.1.27/net/atm/ |
D | atm_sysfs.c | 14 struct device_attribute *attr, char *buf) in show_type() 22 struct device_attribute *attr, char *buf) in show_address() 30 struct device_attribute *attr, char *buf) in show_atmaddress() 59 struct device_attribute *attr, char *buf) in show_atmindex() 67 struct device_attribute *attr, char *buf) in show_carrier() 76 struct device_attribute *attr, char *buf) in show_link_rate()
|
/linux-4.1.27/drivers/platform/mips/ |
D | cpu_hwmon.c | 49 struct device_attribute *attr, char *buf) in get_hwmon_name() 81 struct device_attribute *attr, char *buf) in cpu0_temp_label() 87 struct device_attribute *attr, char *buf) in cpu1_temp_label() 93 struct device_attribute *attr, char *buf) in get_cpu0_temp() 100 struct device_attribute *attr, char *buf) in get_cpu1_temp()
|
/linux-4.1.27/drivers/scsi/bnx2i/ |
D | bnx2i_sysfs.c | 39 struct device_attribute *attr, char *buf) in bnx2i_show_sq_info() 58 struct device_attribute *attr, in bnx2i_set_sq_info() 95 struct device_attribute *attr, char *buf) in bnx2i_show_ccell_info() 112 struct device_attribute *attr, in bnx2i_set_ccell_info()
|
/linux-4.1.27/net/802/ |
D | garp.c | 140 static int garp_attr_cmp(const struct garp_attr *attr, in garp_attr_cmp() 154 struct garp_attr *attr; in garp_attr_lookup() local 174 struct garp_attr *attr; in garp_attr_create() local 203 static void garp_attr_destroy(struct garp_applicant *app, struct garp_attr *attr) in garp_attr_destroy() 278 const struct garp_attr *attr, in garp_pdu_append_attr() 314 struct garp_attr *attr, enum garp_event event) in garp_attr_event() 350 struct garp_attr *attr; in garp_request_join() local 370 struct garp_attr *attr; in garp_request_leave() local 386 struct garp_attr *attr; in garp_gid_event() local 432 struct garp_attr *attr; in garp_pdu_parse_attr() local
|
D | mrp.c | 229 static int mrp_attr_cmp(const struct mrp_attr *attr, in mrp_attr_cmp() 243 struct mrp_attr *attr; in mrp_attr_lookup() local 263 struct mrp_attr *attr; in mrp_attr_create() local 292 static void mrp_attr_destroy(struct mrp_applicant *app, struct mrp_attr *attr) in mrp_attr_destroy() 395 const struct mrp_attr *attr, in mrp_pdu_append_vecattr_event() 472 struct mrp_attr *attr, enum mrp_event event) in mrp_attr_event() 527 struct mrp_attr *attr; in mrp_request_join() local 552 struct mrp_attr *attr; in mrp_request_leave() local 572 struct mrp_attr *attr; in mrp_mad_event() local 638 struct mrp_attr *attr; in mrp_pdu_parse_vecattr_event() local
|
/linux-4.1.27/drivers/staging/iio/meter/ |
D | ade7854.c | 26 struct device_attribute *attr, in ade7854_read_8bit() 43 struct device_attribute *attr, in ade7854_read_16bit() 60 struct device_attribute *attr, in ade7854_read_24bit() 77 struct device_attribute *attr, in ade7854_read_32bit() 94 struct device_attribute *attr, in ade7854_write_8bit() 115 struct device_attribute *attr, in ade7854_write_16bit() 136 struct device_attribute *attr, in ade7854_write_24bit() 157 struct device_attribute *attr, in ade7854_write_32bit()
|
D | ade7753.c | 137 struct device_attribute *attr, in ade7753_read_8bit() 152 struct device_attribute *attr, in ade7753_read_16bit() 167 struct device_attribute *attr, in ade7753_read_24bit() 182 struct device_attribute *attr, in ade7753_write_8bit() 200 struct device_attribute *attr, in ade7753_write_16bit() 378 struct device_attribute *attr, in ade7753_read_frequency() 396 struct device_attribute *attr, in ade7753_write_frequency()
|
/linux-4.1.27/drivers/w1/ |
D | w1.c | 101 static ssize_t name_show(struct device *dev, struct device_attribute *attr, char *buf) in name_show() 110 struct device_attribute *attr, char *buf) in id_show() 221 static ssize_t w1_master_attribute_show_name(struct device *dev, struct device_attribute *attr, cha… in w1_master_attribute_show_name() 234 struct device_attribute *attr, in w1_master_attribute_store_search() 256 struct device_attribute *attr, in w1_master_attribute_show_search() 270 struct device_attribute *attr, in w1_master_attribute_store_pullup() 289 struct device_attribute *attr, in w1_master_attribute_show_pullup() 302 static ssize_t w1_master_attribute_show_pointer(struct device *dev, struct device_attribute *attr, … in w1_master_attribute_show_pointer() 313 static ssize_t w1_master_attribute_show_timeout(struct device *dev, struct device_attribute *attr, … in w1_master_attribute_show_timeout() 321 struct device_attribute *attr, const char *buf, size_t count) in w1_master_attribute_store_max_slave_count() [all …]
|
/linux-4.1.27/net/batman-adv/ |
D | sysfs.c | 225 const char *attr_name, atomic_t *attr) in batadv_store_bool_attr() 262 struct attribute *attr, in __batadv_store_bool_attr() 279 atomic_t *attr) in batadv_store_uint_attr() 317 const struct attribute *attr, in __batadv_store_uint_attr() 331 struct attribute *attr, char *buff) in batadv_show_bat_algo() 345 static ssize_t batadv_show_gw_mode(struct kobject *kobj, struct attribute *attr, in batadv_show_gw_mode() 370 struct attribute *attr, char *buff, in batadv_store_gw_mode() 438 struct attribute *attr, char *buff) in batadv_show_gw_bwidth() 451 struct attribute *attr, char *buff, in batadv_store_gw_bwidth() 472 struct attribute *attr, char *buff) in batadv_show_isolation_mark() [all …]
|
/linux-4.1.27/drivers/misc/c2port/ |
D | core.c | 308 struct device_attribute *attr, char *buf) in c2port_show_name() 317 struct device_attribute *attr, char *buf) in c2port_show_flash_blocks_num() 327 struct device_attribute *attr, char *buf) in c2port_show_flash_block_size() 337 struct device_attribute *attr, char *buf) in c2port_show_flash_size() 346 static ssize_t access_show(struct device *dev, struct device_attribute *attr, in access_show() 354 static ssize_t access_store(struct device *dev, struct device_attribute *attr, in access_store() 384 struct device_attribute *attr, in c2port_store_reset() 421 struct device_attribute *attr, char *buf) in c2port_show_dev_id() 458 struct device_attribute *attr, char *buf) in c2port_show_rev_id() 479 struct device_attribute *attr, char *buf) in c2port_show_flash_access() [all …]
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | atom.c | 177 static uint32_t atom_get_src_int(atom_exec_context *ctx, uint8_t attr, in atom_get_src_int() 365 static void atom_skip_src_int(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_skip_src_int() 401 static uint32_t atom_get_src(atom_exec_context *ctx, uint8_t attr, int *ptr) in atom_get_src() 432 static uint32_t atom_get_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_get_dst() 441 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst() 448 static void atom_put_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_put_dst() 589 uint8_t attr = U8((*ptr)++); in atom_op_add() local 603 uint8_t attr = U8((*ptr)++); in atom_op_and() local 638 uint8_t attr = U8((*ptr)++); in atom_op_clear() local 650 uint8_t attr = U8((*ptr)++); in atom_op_compare() local [all …]
|
D | radeon_pm.c | 345 struct device_attribute *attr, in radeon_get_pm_profile() 360 struct device_attribute *attr, in radeon_set_pm_profile() 400 struct device_attribute *attr, in radeon_get_pm_method() 413 struct device_attribute *attr, in radeon_set_pm_method() 457 struct device_attribute *attr, in radeon_get_dpm_state() 470 struct device_attribute *attr, in radeon_set_dpm_state() 501 struct device_attribute *attr, in radeon_get_dpm_forced_performance_level() 518 struct device_attribute *attr, in radeon_set_dpm_forced_performance_level() 559 struct device_attribute *attr, in radeon_hwmon_get_pwm1_enable() 573 struct device_attribute *attr, in radeon_hwmon_set_pwm1_enable() [all …]
|
/linux-4.1.27/drivers/leds/ |
D | led-class-flash.c | 41 struct device_attribute *attr, const char *buf, size_t size) in flash_brightness_store() 70 struct device_attribute *attr, char *buf) in flash_brightness_show() 83 struct device_attribute *attr, char *buf) in max_flash_brightness_show() 93 struct device_attribute *attr, const char *buf, size_t size) in flash_strobe_store() 126 struct device_attribute *attr, char *buf) in flash_strobe_show() 143 struct device_attribute *attr, const char *buf, size_t size) in flash_timeout_store() 172 struct device_attribute *attr, char *buf) in flash_timeout_show() 182 struct device_attribute *attr, char *buf) in max_flash_timeout_show() 192 struct device_attribute *attr, char *buf) in flash_fault_show()
|
D | leds-lm3533.c | 330 struct device_attribute *attr, char *buf) in show_id() 351 struct device_attribute *attr, in show_risefalltime() 369 struct device_attribute *attr, char *buf) in show_risetime() 376 struct device_attribute *attr, char *buf) in show_falltime() 383 struct device_attribute *attr, in store_risefalltime() 404 struct device_attribute *attr, in store_risetime() 412 struct device_attribute *attr, in store_falltime() 420 struct device_attribute *attr, char *buf) in show_als_channel() 440 struct device_attribute *attr, in store_als_channel() 470 struct device_attribute *attr, char *buf) in show_als_en() [all …]
|
/linux-4.1.27/drivers/base/ |
D | cpu.c | 84 struct device_attribute *attr, in cpu_probe_store() 102 struct device_attribute *attr, in cpu_release_store() 138 static ssize_t show_crash_notes(struct device *dev, struct device_attribute *attr, in show_crash_notes() 161 struct device_attribute *attr, in show_crash_notes_size() 201 struct device_attribute attr; member 206 struct device_attribute *attr, in show_cpus_attr() 228 struct device_attribute *attr, char *buf) in print_cpus_kernel_max() 239 struct device_attribute *attr, char *buf) in print_cpus_offline() 289 struct device_attribute *attr, in print_cpu_modalias()
|
D | memory.c | 112 struct device_attribute *attr, char *buf) in show_mem_start_phys_index() 125 struct device_attribute *attr, char *buf) in show_mem_removable() 145 struct device_attribute *attr, char *buf) in show_mem_state() 311 struct device_attribute *attr, const char *buf, size_t count) in store_mem_state() 375 struct device_attribute *attr, char *buf) in show_phys_device() 383 struct device_attribute *attr, char *buf) in show_valid_zones() 429 print_block_size(struct device *dev, struct device_attribute *attr, in print_block_size() 445 memory_probe_store(struct device *dev, struct device_attribute *attr, in memory_probe_store() 486 struct device_attribute *attr, in store_soft_offline_page() 505 struct device_attribute *attr, in store_hard_offline_page()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_sysfs.c | 170 struct device_attribute *attr, in status_store() 224 struct device_attribute *attr, in status_show() 234 struct device_attribute *attr, in dpms_show() 247 struct device_attribute *attr, in enabled_show() 257 struct bin_attribute *attr, char *buf, loff_t off, in edid_show() 284 struct device_attribute *attr, in modes_show() 300 struct device_attribute *attr, in subconnector_show() 341 struct device_attribute *attr, in select_subconnector_show() 405 struct attribute *attr, int idx) in connector_opt_dev_is_visible()
|
/linux-4.1.27/drivers/staging/iio/adc/ |
D | ad7816.c | 113 struct device_attribute *attr, in ad7816_show_mode() 125 struct device_attribute *attr, in ad7816_store_mode() 149 struct device_attribute *attr, in ad7816_show_available_modes() 159 struct device_attribute *attr, in ad7816_show_channel() 169 struct device_attribute *attr, in ad7816_store_channel() 208 struct device_attribute *attr, in ad7816_show_value() 263 struct device_attribute *attr, in ad7816_show_oti() 283 struct device_attribute *attr, in ad7816_set_oti()
|
/linux-4.1.27/drivers/scsi/fnic/ |
D | fnic_attrs.c | 24 struct device_attribute *attr, char *buf) in fnic_show_state() 33 struct device_attribute *attr, char *buf) in fnic_show_drv_version() 39 struct device_attribute *attr, char *buf) in fnic_show_link_state()
|
/linux-4.1.27/drivers/scsi/mpt2sas/ |
D | mpt2sas_ctl.c | 2307 _ctl_version_fw_show(struct device *cdev, struct device_attribute *attr, in _ctl_version_fw_show() 2329 _ctl_version_bios_show(struct device *cdev, struct device_attribute *attr, in _ctl_version_bios_show() 2353 _ctl_version_mpi_show(struct device *cdev, struct device_attribute *attr, in _ctl_version_mpi_show() 2372 _ctl_version_product_show(struct device *cdev, struct device_attribute *attr, in _ctl_version_product_show() 2392 struct device_attribute *attr, char *buf) in _ctl_version_nvdata_persistent_show() 2412 struct device_attribute *attr, char *buf) in _ctl_version_nvdata_default_show() 2431 _ctl_board_name_show(struct device *cdev, struct device_attribute *attr, in _ctl_board_name_show() 2449 _ctl_board_assembly_show(struct device *cdev, struct device_attribute *attr, in _ctl_board_assembly_show() 2468 _ctl_board_tracer_show(struct device *cdev, struct device_attribute *attr, in _ctl_board_tracer_show() 2490 _ctl_io_delay_show(struct device *cdev, struct device_attribute *attr, in _ctl_io_delay_show() [all …]
|
/linux-4.1.27/drivers/staging/iio/light/ |
D | tsl2583.c | 485 struct device_attribute *attr, char *buf) in taos_power_state_show() 494 struct device_attribute *attr, const char *buf, size_t len) in taos_power_state_store() 511 struct device_attribute *attr, char *buf) in taos_gain_show() 536 struct device_attribute *attr, const char *buf, size_t len) in taos_gain_store() 567 struct device_attribute *attr, char *buf) in taos_gain_available_show() 573 struct device_attribute *attr, char *buf) in taos_als_time_show() 582 struct device_attribute *attr, const char *buf, size_t len) in taos_als_time_store() 603 struct device_attribute *attr, char *buf) in taos_als_time_available_show() 610 struct device_attribute *attr, char *buf) in taos_als_trim_show() 619 struct device_attribute *attr, const char *buf, size_t len) in taos_als_trim_store() [all …]
|
/linux-4.1.27/drivers/platform/x86/ |
D | msi-laptop.c | 320 struct device_attribute *attr, char *buf) in show_wlan() 338 struct device_attribute *attr, const char *buf, size_t count) in store_wlan() 344 struct device_attribute *attr, char *buf) in show_bluetooth() 362 struct device_attribute *attr, const char *buf, size_t count) in store_bluetooth() 368 struct device_attribute *attr, char *buf) in show_threeg() 385 struct device_attribute *attr, const char *buf, size_t count) in store_threeg() 391 struct device_attribute *attr, char *buf) in show_lcd_level() 404 struct device_attribute *attr, const char *buf, size_t count) in store_lcd_level() 421 struct device_attribute *attr, char *buf) in show_auto_brightness() 434 struct device_attribute *attr, const char *buf, size_t count) in store_auto_brightness() [all …]
|
D | hdaps.c | 355 struct device_attribute *attr, char *buf) in hdaps_position_show() 367 struct device_attribute *attr, char *buf) in hdaps_variance_show() 379 struct device_attribute *attr, char *buf) in hdaps_temp1_show() 392 struct device_attribute *attr, char *buf) in hdaps_temp2_show() 405 struct device_attribute *attr, in hdaps_keyboard_activity_show() 412 struct device_attribute *attr, in hdaps_mouse_activity_show() 419 struct device_attribute *attr, char *buf) in hdaps_calibrate_show() 425 struct device_attribute *attr, in hdaps_calibrate_store() 436 struct device_attribute *attr, char *buf) in hdaps_invert_show() 442 struct device_attribute *attr, in hdaps_invert_store()
|
D | intel-rst.c | 28 struct device_attribute *attr, in irst_show_wakeup_events() 45 struct device_attribute *attr, in irst_store_wakeup_events() 75 struct device_attribute *attr, char *buf) in irst_show_wakeup_time() 91 struct device_attribute *attr, in irst_store_wakeup_time()
|
/linux-4.1.27/drivers/ptp/ |
D | ptp_sysfs.c | 26 struct device_attribute *attr, char *page) in clock_name_show() 71 struct device_attribute *attr, in extts_enable_store() 96 struct device_attribute *attr, char *page) in extts_fifo_show() 129 struct device_attribute *attr, in period_store() 156 struct device_attribute *attr, in pps_enable_store() 191 static ssize_t ptp_pin_show(struct device *dev, struct device_attribute *attr, in ptp_pin_show() 213 static ssize_t ptp_pin_store(struct device *dev, struct device_attribute *attr, in ptp_pin_store()
|
/linux-4.1.27/drivers/platform/chrome/ |
D | cros_ec_lightbar.c | 41 struct device_attribute *attr, char *buf) in interval_msec_show() 49 struct device_attribute *attr, in interval_msec_store() 139 struct device_attribute *attr, char *buf) in version_show() 157 struct device_attribute *attr, in brightness_store() 195 static ssize_t led_rgb_store(struct device *dev, struct device_attribute *attr, in led_rgb_store() 260 struct device_attribute *attr, char *buf) in sequence_show() 290 static ssize_t sequence_store(struct device *dev, struct device_attribute *attr, in sequence_store()
|
/linux-4.1.27/drivers/staging/speakup/ |
D | kobjects.c | 29 struct kobj_attribute *attr, char *buf) in chars_chartab_show() 109 struct kobj_attribute *attr, const char *buf, size_t count) in chars_chartab_store() 224 static ssize_t keymap_show(struct kobject *kobj, struct kobj_attribute *attr, in keymap_show() 259 static ssize_t keymap_store(struct kobject *kobj, struct kobj_attribute *attr, in keymap_store() 326 static ssize_t silent_store(struct kobject *kobj, struct kobj_attribute *attr, in silent_store() 365 static ssize_t synth_show(struct kobject *kobj, struct kobj_attribute *attr, in synth_show() 380 static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr, in synth_store() 407 struct kobj_attribute *attr, const char *buf, size_t count) in synth_direct_store() 433 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, in version_show() 449 static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr, in punc_show() [all …]
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sysfs.c | 40 struct device_attribute *attr, in qlcnic_store_bridged_mode() 64 struct device_attribute *attr, in qlcnic_show_bridged_mode() 77 struct device_attribute *attr, in qlcnic_store_diag_mode() 93 struct device_attribute *attr, char *buf) in qlcnic_show_diag_mode() 219 struct device_attribute *attr, in qlcnic_store_beacon() 242 struct device_attribute *attr, char *buf) in qlcnic_show_beacon() 272 struct bin_attribute *attr, char *buf, in qlcnic_sysfs_read_crb() 289 struct bin_attribute *attr, char *buf, in qlcnic_sysfs_write_crb() 318 struct bin_attribute *attr, char *buf, in qlcnic_sysfs_read_mem() 340 struct bin_attribute *attr, char *buf, in qlcnic_sysfs_write_mem() [all …]
|
/linux-4.1.27/drivers/soc/versatile/ |
D | soc-realview.c | 55 struct device_attribute *attr, in realview_get_manf() 65 struct device_attribute *attr, in realview_get_board() 75 struct device_attribute *attr, in realview_get_arch() 85 struct device_attribute *attr, in realview_get_build()
|
D | soc-integrator.c | 64 struct device_attribute *attr, in integrator_get_manf() 74 struct device_attribute *attr, in integrator_get_arch() 84 struct device_attribute *attr, in integrator_get_fpga() 94 struct device_attribute *attr, in integrator_get_build()
|
/linux-4.1.27/drivers/scsi/bfa/ |
D | bfad_attr.c | 158 struct bfa_port_attr_s attr; in bfad_im_get_host_port_state() local 214 struct bfa_port_attr_s attr; in bfad_im_get_host_speed() local 712 bfad_im_serial_num_show(struct device *dev, struct device_attribute *attr, in bfad_im_serial_num_show() 726 bfad_im_model_show(struct device *dev, struct device_attribute *attr, in bfad_im_model_show() 740 bfad_im_model_desc_show(struct device *dev, struct device_attribute *attr, in bfad_im_model_desc_show() 820 bfad_im_node_name_show(struct device *dev, struct device_attribute *attr, in bfad_im_node_name_show() 834 bfad_im_symbolic_name_show(struct device *dev, struct device_attribute *attr, in bfad_im_symbolic_name_show() 851 bfad_im_hw_version_show(struct device *dev, struct device_attribute *attr, in bfad_im_hw_version_show() 865 bfad_im_drv_version_show(struct device *dev, struct device_attribute *attr, in bfad_im_drv_version_show() 873 struct device_attribute *attr, char *buf) in bfad_im_optionrom_version_show() [all …]
|
/linux-4.1.27/drivers/devfreq/ |
D | devfreq.c | 772 struct device_attribute *attr, char *buf) in governor_show() 780 static ssize_t governor_store(struct device *dev, struct device_attribute *attr, in governor_store() 825 struct device_attribute *attr, in available_governors_show() 847 static ssize_t cur_freq_show(struct device *dev, struct device_attribute *attr, in cur_freq_show() 862 struct device_attribute *attr, char *buf) in target_freq_show() 869 struct device_attribute *attr, char *buf) in polling_interval_show() 875 struct device_attribute *attr, in polling_interval_store() 896 static ssize_t min_freq_store(struct device *dev, struct device_attribute *attr, in min_freq_store() 923 static ssize_t min_freq_show(struct device *dev, struct device_attribute *attr, in min_freq_show() 929 static ssize_t max_freq_store(struct device *dev, struct device_attribute *attr, in max_freq_store() [all …]
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
D | opal-dump.c | 34 struct attribute attr; member 43 struct dump_attribute *attr, in dump_id_show() 60 struct dump_attribute *attr, in dump_type_show() 69 struct dump_attribute *attr, in dump_ack_show() 90 struct dump_attribute *attr, in dump_ack_store() 112 struct dump_attribute *attr, in init_dump_show() 130 struct dump_attribute *attr, in init_dump_store() 158 struct attribute *attr, in dump_attr_show() 174 struct attribute *attr, in dump_attr_store()
|
D | opal-elog.c | 34 struct attribute attr; member 43 struct elog_attribute *attr, in elog_id_show() 58 struct elog_attribute *attr, in elog_type_show() 67 struct elog_attribute *attr, in elog_ack_show() 74 struct elog_attribute *attr, in elog_ack_store() 94 struct attribute *attr, in elog_attr_show() 110 struct attribute *attr, in elog_attr_store()
|
/linux-4.1.27/drivers/block/zram/ |
D | zram_drv.c | 78 struct device_attribute *attr, const char *buf, size_t len) in compact_store() 99 struct device_attribute *attr, char *buf) in disksize_show() 107 struct device_attribute *attr, char *buf) in initstate_show() 120 struct device_attribute *attr, char *buf) in orig_data_size_show() 130 struct device_attribute *attr, char *buf) in mem_used_total_show() 147 struct device_attribute *attr, char *buf) in max_comp_streams_show() 160 struct device_attribute *attr, char *buf) in mem_limit_show() 174 struct device_attribute *attr, const char *buf, size_t len) in mem_limit_store() 192 struct device_attribute *attr, char *buf) in mem_used_max_show() 207 struct device_attribute *attr, const char *buf, size_t len) in mem_used_max_store() [all …]
|
/linux-4.1.27/drivers/mtd/ |
D | mtdcore.c | 108 struct device_attribute *attr, char *buf) in mtd_type_show() 147 struct device_attribute *attr, char *buf) in mtd_flags_show() 157 struct device_attribute *attr, char *buf) in mtd_size_show() 168 struct device_attribute *attr, char *buf) in mtd_erasesize_show() 178 struct device_attribute *attr, char *buf) in mtd_writesize_show() 188 struct device_attribute *attr, char *buf) in mtd_subpagesize_show() 199 struct device_attribute *attr, char *buf) in mtd_oobsize_show() 209 struct device_attribute *attr, char *buf) in mtd_numeraseregions_show() 220 struct device_attribute *attr, char *buf) in mtd_name_show() 230 struct device_attribute *attr, char *buf) in mtd_ecc_strength_show() [all …]
|
/linux-4.1.27/drivers/pci/hotplug/ |
D | rpadlpar_sysfs.c | 32 static ssize_t add_slot_store(struct kobject *kobj, struct kobj_attribute *attr, in add_slot_store() 57 struct kobj_attribute *attr, char *buf) in add_slot_show() 63 struct kobj_attribute *attr, in remove_slot_store() 88 struct kobj_attribute *attr, char *buf) in remove_slot_show()
|
/linux-4.1.27/arch/mips/txx9/generic/ |
D | 7segled.c | 41 struct device_attribute *attr, in ascii_store() 50 struct device_attribute *attr, in raw_store() 62 struct device_attribute *attr, in map_seg7_show() 70 struct device_attribute *attr, in map_seg7_store()
|
/linux-4.1.27/drivers/isdn/mISDN/ |
D | core.c | 41 struct device_attribute *attr, char *buf) in id_show() 52 struct device_attribute *attr, char *buf) in nrbchan_show() 63 struct device_attribute *attr, char *buf) in d_protocols_show() 74 struct device_attribute *attr, char *buf) in b_protocols_show() 85 struct device_attribute *attr, char *buf) in protocol_show() 96 struct device_attribute *attr, char *buf) in name_show() 126 struct device_attribute *attr, char *buf) in channelmap_show()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sysfs.c | 43 struct device_attribute *attr, in ixgbe_hwmon_show_location() 53 struct device_attribute *attr, in ixgbe_hwmon_show_temp() 72 struct device_attribute *attr, in ixgbe_hwmon_show_cautionthresh() 86 struct device_attribute *attr, in ixgbe_hwmon_show_maxopthresh()
|
/linux-4.1.27/drivers/cpuidle/ |
D | sysfs.c | 30 struct device_attribute *attr, in show_available_governors() 51 struct device_attribute *attr, in show_current_driver() 69 struct device_attribute *attr, in show_current_governor() 85 struct device_attribute *attr, in store_current_governor() 163 struct attribute attr; member 189 static ssize_t cpuidle_show(struct kobject *kobj, struct attribute *attr, in cpuidle_show() 204 static ssize_t cpuidle_store(struct kobject *kobj, struct attribute *attr, in cpuidle_store() 238 struct attribute attr; member 338 static ssize_t cpuidle_state_show(struct kobject *kobj, struct attribute *attr, in cpuidle_state_show() 352 static ssize_t cpuidle_state_store(struct kobject *kobj, struct attribute *attr, in cpuidle_state_store() [all …]
|
/linux-4.1.27/fs/xfs/ |
D | xfs_sysfs.c | 26 struct attribute attr; member 32 to_attr(struct attribute *attr) in to_attr() 95 struct attribute *attr, in xfs_dbg_show() 106 struct attribute *attr, in xfs_dbg_store() 208 struct attribute *attr, in xfs_log_show() 220 struct attribute *attr, in xfs_log_store()
|
/linux-4.1.27/drivers/uwb/ |
D | lc-dev.c | 119 struct device_attribute *attr, char *buf) in uwb_dev_EUI_48_show() 130 struct device_attribute *attr, char *buf) in uwb_dev_DevAddr_show() 147 struct device_attribute *attr, char *buf) in uwb_dev_BPST_show() 175 struct device_attribute *attr, char *buf) in uwb_dev_IEs_show() 184 struct device_attribute *attr, char *buf) in uwb_dev_LQE_show() 197 struct device_attribute *attr, in uwb_dev_LQE_store() 212 struct device_attribute *attr, char *buf) in uwb_dev_RSSI_show() 225 struct device_attribute *attr, in uwb_dev_RSSI_store()
|
/linux-4.1.27/kernel/bpf/ |
D | syscall.c | 23 static struct bpf_map *find_and_alloc_map(union bpf_attr *attr) in find_and_alloc_map() 89 static int map_create(union bpf_attr *attr) in map_create() 147 static int map_lookup_elem(union bpf_attr *attr) in map_lookup_elem() 205 static int map_update_elem(union bpf_attr *attr) in map_update_elem() 258 static int map_delete_elem(union bpf_attr *attr) in map_delete_elem() 297 static int map_get_next_key(union bpf_attr *attr) in map_get_next_key() 476 static int bpf_prog_load(union bpf_attr *attr) in bpf_prog_load() 553 union bpf_attr attr = {}; in SYSCALL_DEFINE3() local
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_hwmon.c | 44 struct device_attribute *attr, in igb_hwmon_show_location() 54 struct device_attribute *attr, in igb_hwmon_show_temp() 73 struct device_attribute *attr, in igb_hwmon_show_cautionthresh() 87 struct device_attribute *attr, in igb_hwmon_show_maxopthresh()
|
/linux-4.1.27/drivers/usb/host/ |
D | ehci-sysfs.c | 24 struct device_attribute *attr, in show_companion() 51 struct device_attribute *attr, in store_companion() 82 struct device_attribute *attr, in show_uframe_periodic_max() 95 struct device_attribute *attr, in store_uframe_periodic_max()
|
/linux-4.1.27/drivers/staging/iio/resolver/ |
D | ad2s1210.c | 196 struct device_attribute *attr, in ad2s1210_show_fclkin() 205 struct device_attribute *attr, in ad2s1210_store_fclkin() 235 struct device_attribute *attr, in ad2s1210_show_fexcit() 244 struct device_attribute *attr, in ad2s1210_store_fexcit() 272 struct device_attribute *attr, in ad2s1210_show_control() 285 struct device_attribute *attr, in ad2s1210_store_control() 333 struct device_attribute *attr, char *buf) in ad2s1210_show_resolution() 341 struct device_attribute *attr, in ad2s1210_store_resolution() 392 struct device_attribute *attr, char *buf) in ad2s1210_show_fault() 405 struct device_attribute *attr, in ad2s1210_clear_fault() [all …]
|
/linux-4.1.27/drivers/macintosh/ |
D | macio_sysfs.c | 16 compatible_show (struct device *dev, struct device_attribute *attr, char *buf) in compatible_show() 41 static ssize_t modalias_show (struct device *dev, struct device_attribute *attr, in modalias_show() 53 struct device_attribute *attr, char *buf) in devspec_show()
|
/linux-4.1.27/drivers/thermal/ |
D | thermal_core.c | 530 type_show(struct device *dev, struct device_attribute *attr, char *buf) in type_show() 538 temp_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_show() 553 mode_show(struct device *dev, struct device_attribute *attr, char *buf) in mode_show() 571 mode_store(struct device *dev, struct device_attribute *attr, in mode_store() 594 trip_point_type_show(struct device *dev, struct device_attribute *attr, in trip_point_type_show() 626 trip_point_temp_store(struct device *dev, struct device_attribute *attr, in trip_point_temp_store() 648 trip_point_temp_show(struct device *dev, struct device_attribute *attr, in trip_point_temp_show() 670 trip_point_hyst_store(struct device *dev, struct device_attribute *attr, in trip_point_hyst_store() 697 trip_point_hyst_show(struct device *dev, struct device_attribute *attr, in trip_point_hyst_show() 716 passive_store(struct device *dev, struct device_attribute *attr, in passive_store() [all …]
|
/linux-4.1.27/net/bluetooth/ |
D | hci_sysfs.c | 27 struct device_attribute *attr, char *buf) in show_link_type() 34 struct device_attribute *attr, char *buf) in show_link_address() 140 struct device_attribute *attr, char *buf) in show_type() 147 struct device_attribute *attr, char *buf) in show_name() 161 struct device_attribute *attr, char *buf) in show_address()
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
D | sysfs.c | 76 struct device_attribute *attr, in b43legacy_attr_interfmode_show() 110 struct device_attribute *attr, in b43legacy_attr_interfmode_store() 158 struct device_attribute *attr, in b43legacy_attr_preamble_show() 182 struct device_attribute *attr, in b43legacy_attr_preamble_store()
|
/linux-4.1.27/fs/ |
D | attr.c | 31 int inode_change_ok(const struct inode *inode, struct iattr *attr) in inode_change_ok() 142 void setattr_copy(struct inode *inode, const struct iattr *attr) in setattr_copy() 190 int notify_change(struct dentry * dentry, struct iattr * attr, struct inode **delegated_inode) in notify_change()
|
/linux-4.1.27/drivers/iio/ |
D | industrialio-event.c | 216 static enum iio_event_direction iio_ev_attr_dir(struct iio_dev_attr *attr) in iio_ev_attr_dir() 221 static enum iio_event_type iio_ev_attr_type(struct iio_dev_attr *attr) in iio_ev_attr_type() 226 static enum iio_event_info iio_ev_attr_info(struct iio_dev_attr *attr) in iio_ev_attr_info() 232 struct device_attribute *attr, in iio_ev_state_store() 253 struct device_attribute *attr, in iio_ev_state_show() 270 struct device_attribute *attr, in iio_ev_value_show() 290 struct device_attribute *attr, in iio_ev_value_store() 448 struct attribute **attr; in iio_device_register_eventset() local
|
D | industrialio-buffer.c | 188 struct device_attribute *attr, in iio_show_scan_index() 195 struct device_attribute *attr, in iio_show_fixed_type() 226 struct device_attribute *attr, in iio_scan_el_show() 320 struct device_attribute *attr, in iio_scan_el_store() 359 struct device_attribute *attr, in iio_scan_el_ts_show() 367 struct device_attribute *attr, in iio_scan_el_ts_store() 445 struct device_attribute *attr, in iio_buffer_read_length() 455 struct device_attribute *attr, in iio_buffer_write_length() 488 struct device_attribute *attr, in iio_buffer_show_enable() 781 struct device_attribute *attr, in iio_buffer_store_enable() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 43 struct ib_ah_attr *attr, union ib_gid *sgid, in set_av_attr() 100 struct ib_ah *ocrdma_create_ah(struct ib_pd *ibpd, struct ib_ah_attr *attr) in ocrdma_create_ah() 175 int ocrdma_query_ah(struct ib_ah *ibah, struct ib_ah_attr *attr) in ocrdma_query_ah() 198 int ocrdma_modify_ah(struct ib_ah *ibah, struct ib_ah_attr *attr) in ocrdma_modify_ah()
|
/linux-4.1.27/drivers/rapidio/ |
D | rio-sysfs.c | 41 static ssize_t routes_show(struct device *dev, struct device_attribute *attr, char *buf) in routes_show() 61 struct device_attribute *attr, char *buf) in lprev_show() 71 struct device_attribute *attr, char *buf) in lnext_show() 92 struct device_attribute *attr, char *buf) in modalias_show() 346 port_destid_show(struct device *dev, struct device_attribute *attr, in port_destid_show() 358 static ssize_t sys_size_show(struct device *dev, struct device_attribute *attr, in sys_size_show()
|
/linux-4.1.27/drivers/staging/olpc_dcon/ |
D | olpc_dcon.c | 399 struct device_attribute *attr, char *buf) in dcon_mode_show() 407 struct device_attribute *attr, char *buf) in dcon_sleep_show() 415 struct device_attribute *attr, char *buf) in dcon_freeze_show() 423 struct device_attribute *attr, char *buf) in dcon_mono_show() 431 struct device_attribute *attr, char *buf) in dcon_resumeline_show() 437 struct device_attribute *attr, const char *buf, size_t count) in dcon_mono_store() 452 struct device_attribute *attr, const char *buf, size_t count) in dcon_freeze_store() 482 struct device_attribute *attr, const char *buf, size_t count) in dcon_resumeline_store() 498 struct device_attribute *attr, const char *buf, size_t count) in dcon_sleep_store()
|
/linux-4.1.27/drivers/scsi/aacraid/ |
D | linit.c | 497 static ssize_t aac_show_raid_level(struct device *dev, struct device_attribute *attr, char *buf) in aac_show_raid_level() 774 struct device_attribute *attr, char *buf) in aac_show_model() 793 struct device_attribute *attr, char *buf) in aac_show_vendor() 812 struct device_attribute *attr, char *buf) in aac_show_flags() 838 struct device_attribute *attr, in aac_show_kernel_version() 852 struct device_attribute *attr, in aac_show_monitor_version() 866 struct device_attribute *attr, in aac_show_bios_version() 880 struct device_attribute *attr, char *buf) in aac_show_serial_number() 900 struct device_attribute *attr, char *buf) in aac_show_max_channel() 907 struct device_attribute *attr, char *buf) in aac_show_max_id() [all …]
|
/linux-4.1.27/fs/configfs/ |
D | file.c | 66 struct configfs_attribute * attr = to_attr(dentry); in fill_read_buffer() local 172 struct configfs_attribute * attr = to_attr(dentry); in flush_write_buffer() local 216 struct configfs_attribute * attr = to_attr(file->f_path.dentry); in check_perm() local 290 struct configfs_attribute * attr = to_attr(filp->f_path.dentry); in configfs_release() local 322 int configfs_create_file(struct config_item * item, const struct configfs_attribute * attr) in configfs_create_file()
|
/linux-4.1.27/drivers/edac/ |
D | edac_device_sysfs.c | 108 struct attribute attr; member 118 struct attribute *attr, char *buffer) in edac_dev_ctl_info_show() 130 struct attribute *attr, in edac_dev_ctl_info_store() 348 struct attribute attr; member 355 struct attribute *attr, char *buffer) in edac_dev_instance_show() 367 struct attribute *attr, in edac_dev_instance_store() 423 struct attribute *attr, char *data) in block_ue_count_show() 431 struct attribute *attr, char *data) in block_ce_count_show() 457 struct attribute *attr, char *buffer) in edac_dev_block_show() 469 struct attribute *attr, in edac_dev_block_store()
|