| /linux/tools/arch/x86/include/asm/ |
| H A D | inat.h | 121 static inline int inat_is_legacy_prefix(insn_attr_t attr) in inat_is_legacy_prefix() 127 static inline int inat_is_address_size_prefix(insn_attr_t attr) in inat_is_address_size_prefix() 132 static inline int inat_is_operand_size_prefix(insn_attr_t attr) in inat_is_operand_size_prefix() 137 static inline int inat_is_rex_prefix(insn_attr_t attr) in inat_is_rex_prefix() 142 static inline int inat_is_rex2_prefix(insn_attr_t attr) in inat_is_rex2_prefix() 147 static inline int inat_last_prefix_id(insn_attr_t attr) in inat_last_prefix_id() 155 static inline int inat_is_vex_prefix(insn_attr_t attr) in inat_is_vex_prefix() 162 static inline int inat_is_evex_prefix(insn_attr_t attr) in inat_is_evex_prefix() 167 static inline int inat_is_vex3_prefix(insn_attr_t attr) in inat_is_vex3_prefix() 172 static inline int inat_is_xop_prefix(insn_attr_t attr) in inat_is_xop_prefix() [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | inat.h | 121 static inline int inat_is_legacy_prefix(insn_attr_t attr) in inat_is_legacy_prefix() 127 static inline int inat_is_address_size_prefix(insn_attr_t attr) in inat_is_address_size_prefix() 132 static inline int inat_is_operand_size_prefix(insn_attr_t attr) in inat_is_operand_size_prefix() 137 static inline int inat_is_rex_prefix(insn_attr_t attr) in inat_is_rex_prefix() 142 static inline int inat_is_rex2_prefix(insn_attr_t attr) in inat_is_rex2_prefix() 147 static inline int inat_last_prefix_id(insn_attr_t attr) in inat_last_prefix_id() 155 static inline int inat_is_vex_prefix(insn_attr_t attr) in inat_is_vex_prefix() 162 static inline int inat_is_evex_prefix(insn_attr_t attr) in inat_is_evex_prefix() 167 static inline int inat_is_vex3_prefix(insn_attr_t attr) in inat_is_vex3_prefix() 172 static inline int inat_is_xop_prefix(insn_attr_t attr) in inat_is_xop_prefix() [all …]
|
| /linux/fs/nilfs2/ |
| H A D | sysfs.c | 95 nilfs_snapshot_inodes_count_show(struct nilfs_snapshot_attr *attr, in nilfs_snapshot_inodes_count_show() 103 nilfs_snapshot_blocks_count_show(struct nilfs_snapshot_attr *attr, in nilfs_snapshot_blocks_count_show() 116 nilfs_snapshot_README_show(struct nilfs_snapshot_attr *attr, in nilfs_snapshot_README_show() 135 struct attribute *attr, char *buf) in nilfs_snapshot_attr_show() 146 struct attribute *attr, in nilfs_snapshot_attr_store() 218 nilfs_mounted_snapshots_README_show(struct nilfs_mounted_snapshots_attr *attr, in nilfs_mounted_snapshots_README_show() 241 nilfs_checkpoints_checkpoints_number_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_checkpoints_number_show() 264 nilfs_checkpoints_snapshots_number_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_snapshots_number_show() 287 nilfs_checkpoints_last_seg_checkpoint_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_last_seg_checkpoint_show() 301 nilfs_checkpoints_next_checkpoint_show(struct nilfs_checkpoints_attr *attr, in nilfs_checkpoints_next_checkpoint_show() [all …]
|
| /linux/drivers/dma/idxd/ |
| H A D | sysfs.c | 21 struct device_attribute *attr, char *buf) in engine_group_id_show() 32 struct device_attribute *attr, in engine_group_id_store() 116 struct device_attribute *attr, in group_read_buffers_reserved_show() 125 struct device_attribute *attr, in group_tokens_reserved_show() 133 struct device_attribute *attr, in group_read_buffers_reserved_store() 166 struct device_attribute *attr, in group_tokens_reserved_store() 182 struct device_attribute *attr, in group_read_buffers_allowed_show() 191 struct device_attribute *attr, in group_tokens_allowed_show() 199 struct device_attribute *attr, in group_read_buffers_allowed_store() 229 struct device_attribute *attr, in group_tokens_allowed_store() [all …]
|
| /linux/drivers/net/bonding/ |
| H A D | bond_sysfs.c | 35 const struct class_attribute *attr, in bonding_show_bonds() argument 79 const struct class_attribute *attr, in bonding_store_bonds() argument 142 struct device_attribute *attr, in bonding_sysfs_store_option() argument 166 struct device_attribute *attr, char *buf) in bonding_show_slaves() argument 198 struct device_attribute *attr, cha in bonding_show_mode() argument 211 bonding_show_xmit_hash(struct device * d,struct device_attribute * attr,char * buf) bonding_show_xmit_hash() argument 226 bonding_show_arp_validate(struct device * d,struct device_attribute * attr,char * buf) bonding_show_arp_validate() argument 242 bonding_show_arp_all_targets(struct device * d,struct device_attribute * attr,char * buf) bonding_show_arp_all_targets() argument 258 bonding_show_fail_over_mac(struct device * d,struct device_attribute * attr,char * buf) bonding_show_fail_over_mac() argument 274 bonding_show_arp_interval(struct device * d,struct device_attribute * attr,char * buf) bonding_show_arp_interval() argument 286 bonding_show_arp_targets(struct device * d,struct device_attribute * attr,char * buf) bonding_show_arp_targets() argument 307 bonding_show_missed_max(struct device * d,struct device_attribute * attr,char * buf) bonding_show_missed_max() argument 319 bonding_show_downdelay(struct device * d,struct device_attribute * attr,char * buf) bonding_show_downdelay() argument 330 bonding_show_updelay(struct device * d,struct device_attribute * attr,char * buf) bonding_show_updelay() argument 342 bonding_show_peer_notif_delay(struct device * d,struct device_attribute * attr,char * buf) bonding_show_peer_notif_delay() argument 355 bonding_show_lacp_active(struct device * d,struct device_attribute * attr,char * buf) bonding_show_lacp_active() argument 369 bonding_show_lacp_rate(struct device * d,struct device_attribute * attr,char * buf) bonding_show_lacp_rate() argument 383 bonding_show_min_links(struct device * d,struct device_attribute * attr,char * buf) bonding_show_min_links() argument 394 bonding_show_ad_select(struct device * d,struct device_attribute * attr,char * buf) bonding_show_ad_select() argument 409 bonding_show_num_peer_notif(struct device * d,struct device_attribute * attr,char * buf) bonding_show_num_peer_notif() argument 423 bonding_show_miimon(struct device * d,struct device_attribute * attr,char * buf) bonding_show_miimon() argument 435 bonding_show_primary(struct device * d,struct device_attribute * attr,char * buf) bonding_show_primary() argument 455 bonding_show_primary_reselect(struct device * d,struct device_attribute * attr,char * buf) bonding_show_primary_reselect() argument 472 bonding_show_carrier(struct device * d,struct device_attribute * attr,char * buf) bonding_show_carrier() argument 483 bonding_show_active_slave(struct device * d,struct device_attribute * attr,char * buf) bonding_show_active_slave() argument 503 bonding_show_mii_status(struct device * d,struct device_attribute * attr,char * buf) bonding_show_mii_status() argument 515 bonding_show_ad_aggregator(struct device * d,struct device_attribute * attr,char * buf) bonding_show_ad_aggregator() argument 536 bonding_show_ad_num_ports(struct device * d,struct device_attribute * attr,char * buf) bonding_show_ad_num_ports() argument 557 bonding_show_ad_actor_key(struct device * d,struct device_attribute * attr,char * buf) bonding_show_ad_actor_key() argument 578 bonding_show_ad_partner_key(struct device * d,struct device_attribute * attr,char * buf) bonding_show_ad_partner_key() argument 599 bonding_show_ad_partner_mac(struct device * d,struct device_attribute * attr,char * buf) bonding_show_ad_partner_mac() argument 618 bonding_show_queue_id(struct device * d,struct device_attribute * attr,char * buf) bonding_show_queue_id() argument 653 bonding_show_slaves_active(struct device * d,struct device_attribute * attr,char * buf) bonding_show_slaves_active() argument 665 bonding_show_resend_igmp(struct device * d,struct device_attribute * attr,char * buf) bonding_show_resend_igmp() argument 677 bonding_show_lp_interval(struct device * d,struct device_attribute * attr,char * buf) bonding_show_lp_interval() argument 688 bonding_show_tlb_dynamic_lb(struct device * d,struct device_attribute * attr,char * buf) bonding_show_tlb_dynamic_lb() argument 699 bonding_show_packets_per_slave(struct device * d,struct device_attribute * attr,char * buf) bonding_show_packets_per_slave() argument 711 bonding_show_ad_actor_sys_prio(struct device * d,struct device_attribute * attr,char * buf) bonding_show_ad_actor_sys_prio() argument 725 bonding_show_ad_actor_system(struct device * d,struct device_attribute * attr,char * buf) bonding_show_ad_actor_system() argument 740 bonding_show_ad_user_port_key(struct device * d,struct device_attribute * attr,char * buf) bonding_show_ad_user_port_key() argument [all...] |
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-etm3x-sysfs.c | 14 struct device_attribute *attr, char *buf) in nr_addr_cmp_show() 25 struct device_attribute *attr, char *buf) in nr_cntr_show() 35 struct device_attribute *attr, char *buf) in nr_ctxid_cmp_show() 46 struct device_attribute *attr, char *buf) in etmsr_show() 66 struct device_attribute *attr, in reset_store() 97 struct device_attribute *attr, char *buf) in mode_show() 108 struct device_attribute *attr, in mode_store() 182 struct device_attribute *attr, char *buf) in trigger_event_show() 193 struct device_attribute *attr, in trigger_event_store() 212 struct device_attribute *attr, char *buf) in enable_event_show() [all …]
|
| H A D | coresight-cti-sysfs.c | 80 struct device_attribute *attr, in enable_show() 93 struct device_attribute *attr, in enable_store() 124 struct device_attribute *attr, in powered_show() 134 struct device_attribute *attr, char *buf) in ctmid_show() 143 struct device_attribute *attr, in nr_trigger_cons_show() 165 struct device_attribute *attr, char *buf) in coresight_cti_reg_show() 182 struct device_attribute *attr, in coresight_cti_reg_store() 324 struct device_attribute *attr, in inout_sel_show() 335 struct device_attribute *attr, in inout_sel_store() 355 struct device_attribute *attr, in inen_show() [all …]
|
| H A D | coresight-tpdm.c | 39 struct device_attribute *attr, in tpdm_simple_dataset_show() argument 113 struct device_attribute *attr, in tpdm_simple_dataset_store() argument 197 struct attribute *attr, int n) in tpdm_dsb_is_visible() argument 209 struct attribute *attr, int n) in tpdm_cmb_is_visible() argument 221 tpdm_dsb_msr_is_visible(struct kobject * kobj,struct attribute * attr,int n) tpdm_dsb_msr_is_visible() argument 237 tpdm_cmb_msr_is_visible(struct kobject * kobj,struct attribute * attr,int n) tpdm_cmb_msr_is_visible() argument 254 tpdm_mcmb_is_visible(struct kobject * kobj,struct attribute * attr,int n) tpdm_mcmb_is_visible() argument 628 reset_dataset_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t size) reset_dataset_store() argument 653 integration_test_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t size) integration_test_store() argument 698 traceid_show(struct device * dev,struct device_attribute * attr,char * buf) traceid_show() argument 721 dsb_mode_show(struct device * dev,struct device_attribute * attr,char * buf) dsb_mode_show() argument 730 dsb_mode_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t size) dsb_mode_store() argument 748 ctrl_idx_show(struct device * dev,struct device_attribute * attr,char * buf) ctrl_idx_show() argument 765 ctrl_idx_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t size) ctrl_idx_store() argument 792 ctrl_val_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t size) ctrl_val_store() argument 820 ctrl_mask_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t size) ctrl_mask_store() argument 851 enable_ts_show(struct device * dev,struct device_attribute * attr,char * buf) enable_ts_show() argument 873 enable_ts_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t size) enable_ts_store() argument 897 set_type_show(struct device * dev,struct device_attribute * attr,char * buf) set_type_show() argument 910 set_type_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t size) set_type_store() argument 927 dsb_trig_type_show(struct device * dev,struct device_attribute * attr,char * buf) dsb_trig_type_show() argument 941 dsb_trig_type_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t size) dsb_trig_type_store() argument 962 dsb_trig_ts_show(struct device * dev,struct device_attribute * attr,char * buf) dsb_trig_ts_show() argument 977 dsb_trig_ts_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t size) dsb_trig_ts_store() argument 998 cmb_mode_show(struct device * dev,struct device_attribute * attr,char * buf) cmb_mode_show() argument 1008 cmb_mode_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t size) cmb_mode_store() argument 1026 cmb_ts_all_show(struct device * dev,struct device_attribute * attr,char * buf) cmb_ts_all_show() argument 1036 cmb_ts_all_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t size) cmb_ts_all_store() argument 1057 cmb_trig_ts_show(struct device * dev,struct device_attribute * attr,char * buf) cmb_trig_ts_show() argument 1067 cmb_trig_ts_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t size) cmb_trig_ts_store() argument 1088 mcmb_trig_lane_show(struct device * dev,struct device_attribute * attr,char * buf) mcmb_trig_lane_show() argument 1098 mcmb_trig_lane_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t size) mcmb_trig_lane_store() argument 1116 mcmb_lanes_select_show(struct device * dev,struct device_attribute * attr,char * buf) mcmb_lanes_select_show() argument 1126 mcmb_lanes_select_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t size) mcmb_lanes_select_store() argument [all...] |
| /linux/drivers/nvme/host/ |
| H A D | sysfs.c | 14 nvme_sysfs_reset(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) nvme_sysfs_reset() argument 28 nvme_sysfs_rescan(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) nvme_sysfs_rescan() argument 39 nvme_adm_passthru_err_log_enabled_show(struct device * dev,struct device_attribute * attr,char * buf) nvme_adm_passthru_err_log_enabled_show() argument 48 nvme_adm_passthru_err_log_enabled_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) nvme_adm_passthru_err_log_enabled_store() argument 73 nvme_io_passthru_err_log_enabled_show(struct device * dev,struct device_attribute * attr,char * buf) nvme_io_passthru_err_log_enabled_show() argument 81 nvme_io_passthru_err_log_enabled_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) nvme_io_passthru_err_log_enabled_store() argument 103 wwid_show(struct device * dev,struct device_attribute * attr,char * buf) wwid_show() argument 134 nguid_show(struct device * dev,struct device_attribute * attr,char * buf) nguid_show() argument 141 uuid_show(struct device * dev,struct device_attribute * attr,char * buf) uuid_show() argument 158 eui_show(struct device * dev,struct device_attribute * attr,char * buf) eui_show() argument 165 nsid_show(struct device * dev,struct device_attribute * attr,char * buf) nsid_show() argument 172 csi_show(struct device * dev,struct device_attribute * attr,char * buf) csi_show() argument 180 metadata_bytes_show(struct device * dev,struct device_attribute * attr,char * buf) metadata_bytes_show() argument 231 nuse_show(struct device * dev,struct device_attribute * attr,char * buf) nuse_show() argument 340 multipath_sysfs_attr_visible(struct kobject * kobj,struct attribute * attr,int n) multipath_sysfs_attr_visible() argument 392 nvme_sysfs_delete(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) nvme_sysfs_delete() argument 407 nvme_sysfs_show_transport(struct device * dev,struct device_attribute * attr,char * buf) nvme_sysfs_show_transport() argument 417 nvme_sysfs_show_state(struct device * dev,struct device_attribute * attr,char * buf) nvme_sysfs_show_state() argument 441 nvme_sysfs_show_subsysnqn(struct device * dev,struct device_attribute * attr,char * buf) nvme_sysfs_show_subsysnqn() argument 451 nvme_sysfs_show_hostnqn(struct device * dev,struct device_attribute * attr,char * buf) nvme_sysfs_show_hostnqn() argument 461 nvme_sysfs_show_hostid(struct device * dev,struct device_attribute * attr,char * buf) nvme_sysfs_show_hostid() argument 471 nvme_sysfs_show_address(struct device * dev,struct device_attribute * attr,char * buf) nvme_sysfs_show_address() argument 481 nvme_ctrl_loss_tmo_show(struct device * dev,struct device_attribute * attr,char * buf) nvme_ctrl_loss_tmo_show() argument 493 nvme_ctrl_loss_tmo_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) nvme_ctrl_loss_tmo_store() argument 514 nvme_ctrl_reconnect_delay_show(struct device * dev,struct device_attribute * attr,char * buf) nvme_ctrl_reconnect_delay_show() argument 524 nvme_ctrl_reconnect_delay_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) nvme_ctrl_reconnect_delay_store() argument 541 nvme_ctrl_fast_io_fail_tmo_show(struct device * dev,struct device_attribute * attr,char * buf) nvme_ctrl_fast_io_fail_tmo_show() argument 551 nvme_ctrl_fast_io_fail_tmo_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) nvme_ctrl_fast_io_fail_tmo_store() argument 571 cntrltype_show(struct device * dev,struct device_attribute * attr,char * buf) cntrltype_show() argument 588 dctype_show(struct device * dev,struct device_attribute * attr,char * buf) dctype_show() argument 604 quirks_show(struct device * dev,struct device_attribute * attr,char * buf) quirks_show() argument 628 nvme_ctrl_dhchap_secret_show(struct device * dev,struct device_attribute * attr,char * buf) nvme_ctrl_dhchap_secret_show() argument 639 nvme_ctrl_dhchap_secret_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) nvme_ctrl_dhchap_secret_store() argument 686 nvme_ctrl_dhchap_ctrl_secret_show(struct device * dev,struct device_attribute * attr,char * buf) nvme_ctrl_dhchap_ctrl_secret_show() argument 697 nvme_ctrl_dhchap_ctrl_secret_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) nvme_ctrl_dhchap_ctrl_secret_store() argument 814 tls_key_show(struct device * dev,struct device_attribute * attr,char * buf) tls_key_show() argument 825 tls_configured_key_show(struct device * dev,struct device_attribute * attr,char * buf) tls_configured_key_show() argument 834 tls_configured_key_store(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) tls_configured_key_store() argument 877 tls_keyring_show(struct device * dev,struct device_attribute * attr,char * buf) tls_keyring_show() argument 887 tls_mode_show(struct device * dev,struct device_attribute * attr,char * buf) tls_mode_show() argument 953 nvme_subsys_show_nqn(struct device * dev,struct device_attribute * attr,char * buf) nvme_subsys_show_nqn() argument 964 nvme_subsys_show_type(struct device * dev,struct device_attribute * attr,char * buf) nvme_subsys_show_type() argument [all...] |
| /linux/drivers/base/power/ |
| H A D | sysfs.c | 100 static ssize_t control_show(struct device *dev, struct device_attribute *attr, in control_show() 107 static ssize_t control_store(struct device * dev, struct device_attribute *attr, in control_store() 124 struct device_attribute *attr, in runtime_active_time_show() 137 struct device_attribute *attr, in runtime_suspended_time_show() 150 struct device_attribute *attr, char *buf) in runtime_status_show() 182 struct device_attribute *attr, in autosuspend_delay_ms_show() 192 struct device_attribute *attr, const char *buf, size_t n) in autosuspend_delay_ms_store() 211 struct device_attribute *attr, in pm_qos_resume_latency_us_show() 225 struct device_attribute *attr, in pm_qos_resume_latency_us_store() 255 struct device_attribute *attr, in pm_qos_latency_tolerance_us_show() [all …]
|
| /linux/drivers/gpu/drm/amd/pm/ |
| H A D | amdgpu_pm.c | 216 struct device_attribute *attr, in amdgpu_get_power_dpm_state() argument 238 struct device_attribute *attr, in amdgpu_set_power_dpm_state() argument 328 amdgpu_get_power_dpm_force_performance_level(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_power_dpm_force_performance_level() argument 358 amdgpu_set_power_dpm_force_performance_level(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_power_dpm_force_performance_level() argument 410 amdgpu_get_pp_num_states(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_num_states() argument 440 amdgpu_get_pp_cur_state(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_cur_state() argument 474 amdgpu_get_pp_force_state(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_force_state() argument 487 amdgpu_set_pp_force_state(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_force_state() argument 552 amdgpu_get_pp_table(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_table() argument 580 amdgpu_set_pp_table(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_table() argument 751 amdgpu_set_pp_od_clk_voltage(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_od_clk_voltage() argument 845 amdgpu_get_pp_od_clk_voltage(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_od_clk_voltage() argument 896 amdgpu_set_pp_features(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_features() argument 924 amdgpu_get_pp_features(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_features() argument 1076 amdgpu_get_pp_dpm_sclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_sclk() argument 1083 amdgpu_set_pp_dpm_sclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_sclk() argument 1091 amdgpu_get_pp_dpm_mclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_mclk() argument 1098 amdgpu_set_pp_dpm_mclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_mclk() argument 1106 amdgpu_get_pp_dpm_socclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_socclk() argument 1113 amdgpu_set_pp_dpm_socclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_socclk() argument 1121 amdgpu_get_pp_dpm_fclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_fclk() argument 1128 amdgpu_set_pp_dpm_fclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_fclk() argument 1136 amdgpu_get_pp_dpm_vclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_vclk() argument 1143 amdgpu_set_pp_dpm_vclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_vclk() argument 1151 amdgpu_get_pp_dpm_vclk1(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_vclk1() argument 1158 amdgpu_set_pp_dpm_vclk1(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_vclk1() argument 1166 amdgpu_get_pp_dpm_dclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_dclk() argument 1173 amdgpu_set_pp_dpm_dclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_dclk() argument 1181 amdgpu_get_pp_dpm_dclk1(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_dclk1() argument 1188 amdgpu_set_pp_dpm_dclk1(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_dclk1() argument 1196 amdgpu_get_pp_dpm_dcefclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_dcefclk() argument 1203 amdgpu_set_pp_dpm_dcefclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_dcefclk() argument 1211 amdgpu_get_pp_dpm_pcie(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_pcie() argument 1218 amdgpu_set_pp_dpm_pcie(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_pcie() argument 1226 amdgpu_get_pp_sclk_od(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_sclk_od() argument 1246 amdgpu_set_pp_sclk_od(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_sclk_od() argument 1272 amdgpu_get_pp_mclk_od(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_mclk_od() argument 1292 amdgpu_set_pp_mclk_od(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_mclk_od() argument 1342 amdgpu_get_pp_power_profile_mode(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_power_profile_mode() argument 1365 amdgpu_set_pp_power_profile_mode(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_power_profile_mode() argument 1450 amdgpu_get_gpu_busy_percent(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_gpu_busy_percent() argument 1474 amdgpu_get_mem_busy_percent(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_mem_busy_percent() argument 1498 amdgpu_get_vcn_busy_percent(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_vcn_busy_percent() argument 1526 amdgpu_get_pcie_bw(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pcie_bw() argument 1563 amdgpu_get_unique_id(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_unique_id() argument 1591 amdgpu_get_thermal_throttling_logging(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_thermal_throttling_logging() argument 1604 amdgpu_set_thermal_throttling_logging(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_thermal_throttling_logging() argument 1648 amdgpu_get_apu_thermal_cap(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_apu_thermal_cap() argument 1672 amdgpu_set_apu_thermal_cap(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_apu_thermal_cap() argument 1707 amdgpu_pm_metrics_attr_update(struct amdgpu_device * adev,struct amdgpu_device_attr * attr,uint32_t mask,enum amdgpu_device_attr_states * states) amdgpu_pm_metrics_attr_update() argument 1718 amdgpu_get_pm_metrics(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pm_metrics() argument 1749 amdgpu_get_gpu_metrics(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_gpu_metrics() argument 1817 amdgpu_get_smartshift_apu_power(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_smartshift_apu_power() argument 1833 amdgpu_get_smartshift_dgpu_power(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_smartshift_dgpu_power() argument 1849 amdgpu_get_smartshift_bias(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_smartshift_bias() argument 1860 amdgpu_set_smartshift_bias(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_smartshift_bias() argument 1892 ss_power_attr_update(struct amdgpu_device * adev,struct amdgpu_device_attr * attr,uint32_t mask,enum amdgpu_device_attr_states * states) ss_power_attr_update() argument 1901 ss_bias_attr_update(struct amdgpu_device * adev,struct amdgpu_device_attr * attr,uint32_t mask,enum amdgpu_device_attr_states * states) ss_bias_attr_update() argument 1918 pp_od_clk_voltage_attr_update(struct amdgpu_device * adev,struct amdgpu_device_attr * attr,uint32_t mask,enum amdgpu_device_attr_states * states) pp_od_clk_voltage_attr_update() argument 1941 pp_dpm_dcefclk_attr_update(struct amdgpu_device * adev,struct amdgpu_device_attr * attr,uint32_t mask,enum amdgpu_device_attr_states * states) pp_dpm_dcefclk_attr_update() argument 1973 pp_dpm_clk_default_attr_update(struct amdgpu_device * adev,struct amdgpu_device_attr * attr,uint32_t mask,enum amdgpu_device_attr_states * states) pp_dpm_clk_default_attr_update() argument 2107 amdgpu_get_baseboard_temp_metrics(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_baseboard_temp_metrics() argument 2145 amdgpu_get_gpuboard_temp_metrics(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_gpuboard_temp_metrics() argument 2182 amdgpu_show_cur_node_power_limit(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_show_cur_node_power_limit() argument 2205 amdgpu_show_node_power(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_show_node_power() argument 2229 amdgpu_show_npm_status(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_show_npm_status() argument 2252 amdgpu_show_global_ppt_resid(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_show_global_ppt_resid() argument 2275 amdgpu_show_max_node_power_limit(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_show_max_node_power_limit() argument 2298 amdgpu_show_baseboard_power(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_show_baseboard_power() argument 2321 amdgpu_show_baseboard_power_limit(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_show_baseboard_power_limit() argument 2353 amdgpu_board_attr_visible(struct kobject * kobj,struct attribute * attr,int n) amdgpu_board_attr_visible() argument 2438 amdgpu_get_pm_policy_attr(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pm_policy_attr() argument 2452 amdgpu_set_pm_policy_attr(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pm_policy_attr() argument 2522 amdgpu_pm_policy_attr_visible(struct kobject * kobj,struct attribute * attr,int n) amdgpu_pm_policy_attr_visible() argument 2596 default_attr_update(struct amdgpu_device * adev,struct amdgpu_device_attr * attr,uint32_t mask,enum amdgpu_device_attr_states * states) default_attr_update() argument 2712 amdgpu_device_attr_create(struct amdgpu_device * adev,struct amdgpu_device_attr * attr,uint32_t mask,struct list_head * attr_list) amdgpu_device_attr_create() argument 2760 amdgpu_device_attr_remove(struct amdgpu_device * adev,struct amdgpu_device_attr * attr) amdgpu_device_attr_remove() argument 2809 amdgpu_hwmon_show_temp(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_temp() argument 2847 amdgpu_hwmon_show_temp_thresh(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_temp_thresh() argument 2863 amdgpu_hwmon_show_hotspot_temp_thresh(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_hotspot_temp_thresh() argument 2879 amdgpu_hwmon_show_mem_temp_thresh(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_mem_temp_thresh() argument 2895 amdgpu_hwmon_show_temp_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_temp_label() argument 2907 amdgpu_hwmon_show_temp_emergency(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_temp_emergency() argument 2933 amdgpu_hwmon_get_pwm1_enable(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_pwm1_enable() argument 2955 amdgpu_hwmon_set_pwm1_enable(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_hwmon_set_pwm1_enable() argument 2992 amdgpu_hwmon_get_pwm1_min(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_pwm1_min() argument 2999 amdgpu_hwmon_get_pwm1_max(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_pwm1_max() argument 3006 amdgpu_hwmon_set_pwm1(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_hwmon_set_pwm1() argument 3044 amdgpu_hwmon_get_pwm1(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_pwm1() argument 3066 amdgpu_hwmon_get_fan1_input(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_fan1_input() argument 3088 amdgpu_hwmon_get_fan1_min(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_fan1_min() argument 3105 amdgpu_hwmon_get_fan1_max(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_fan1_max() argument 3122 amdgpu_hwmon_get_fan1_target(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_fan1_target() argument 3144 amdgpu_hwmon_set_fan1_target(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_hwmon_set_fan1_target() argument 3181 amdgpu_hwmon_get_fan1_enable(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_fan1_enable() argument 3203 amdgpu_hwmon_set_fan1_enable(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_hwmon_set_fan1_enable() argument 3238 amdgpu_hwmon_show_vddgfx(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_vddgfx() argument 3255 amdgpu_hwmon_show_vddboard(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_vddboard() argument 3272 amdgpu_hwmon_show_vddgfx_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_vddgfx_label() argument 3279 amdgpu_hwmon_show_vddboard_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_vddboard_label() argument 3285 amdgpu_hwmon_show_vddnb(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_vddnb() argument 3306 amdgpu_hwmon_show_vddnb_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_vddnb_label() argument 3331 amdgpu_hwmon_show_power_avg(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_avg() argument 3344 amdgpu_hwmon_show_power_input(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_input() argument 3357 amdgpu_hwmon_show_power_cap_generic(struct device * dev,struct device_attribute * attr,char * buf,enum pp_power_limit_level pp_limit_level) amdgpu_hwmon_show_power_cap_generic() argument 3385 amdgpu_hwmon_show_power_cap_min(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_cap_min() argument 3392 amdgpu_hwmon_show_power_cap_max(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_cap_max() argument 3400 amdgpu_hwmon_show_power_cap(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_cap() argument 3408 amdgpu_hwmon_show_power_cap_default(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_cap_default() argument 3416 amdgpu_hwmon_show_power_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_label() argument 3433 amdgpu_hwmon_set_power_cap(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_hwmon_set_power_cap() argument 3463 amdgpu_hwmon_show_sclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_sclk() argument 3480 amdgpu_hwmon_show_sclk_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_sclk_label() argument 3487 amdgpu_hwmon_show_mclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_mclk() argument 3504 amdgpu_hwmon_show_mclk_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_mclk_label() argument 3695 hwmon_attributes_visible(struct kobject * kobj,struct attribute * attr,int index) hwmon_attributes_visible() argument 4052 fan_curve_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) fan_curve_show() argument 4062 fan_curve_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) fan_curve_store() argument 4110 acoustic_limit_threshold_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) acoustic_limit_threshold_show() argument 4120 acoustic_limit_threshold_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) acoustic_limit_threshold_store() argument 4170 acoustic_target_threshold_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) acoustic_target_threshold_show() argument 4180 acoustic_target_threshold_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) acoustic_target_threshold_store() argument 4231 fan_target_temperature_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) fan_target_temperature_show() argument 4241 fan_target_temperature_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) fan_target_temperature_store() argument 4290 fan_minimum_pwm_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) fan_minimum_pwm_show() argument 4300 fan_minimum_pwm_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) fan_minimum_pwm_store() argument 4344 fan_zero_rpm_enable_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) fan_zero_rpm_enable_show() argument 4354 fan_zero_rpm_enable_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) fan_zero_rpm_enable_store() argument 4401 fan_zero_rpm_stop_temp_show(struct kobject * kobj,struct kobj_attribute * attr,char * buf) fan_zero_rpm_stop_temp_show() argument 4411 fan_zero_rpm_stop_temp_store(struct kobject * kobj,struct kobj_attribute * attr,const char * buf,size_t count) fan_zero_rpm_stop_temp_store() argument [all...] |
| /linux/drivers/usb/core/ |
| H A D | sysfs.c | 53 struct device_attribute *attr, char *buf) in bMaxPower_show() 72 struct device_attribute *attr, char *buf) in configuration_show() 94 struct device_attribute *attr, in bConfigurationValue_store() 113 static ssize_t devspec_show(struct device *dev, struct device_attribute *attr, in devspec_show() 145 static ssize_t speed_show(struct device *dev, struct device_attribute *attr, in speed_show() 180 static ssize_t rx_lanes_show(struct device *dev, struct device_attribute *attr, in rx_lanes_show() 190 static ssize_t tx_lanes_show(struct device *dev, struct device_attribute *attr, in tx_lanes_show() 200 static ssize_t busnum_show(struct device *dev, struct device_attribute *attr, in busnum_show() 210 static ssize_t devnum_show(struct device *dev, struct device_attribute *attr, in devnum_show() 220 static ssize_t devpath_show(struct device *dev, struct device_attribute *attr, in devpath_show() [all …]
|
| /linux/drivers/usb/typec/ |
| H A D | pd.c | 37 dual_role_power_show(struct device *dev, struct device_attribute *attr, char *buf) in dual_role_power_show() 44 usb_suspend_supported_show(struct device *dev, struct device_attribute *attr, char *buf) in usb_suspend_supported_show() 51 higher_capability_show(struct device *dev, struct device_attribute *attr, char *buf) in higher_capability_show() 58 unconstrained_power_show(struct device *dev, struct device_attribute *attr, char *buf) in unconstrained_power_show() 65 usb_communication_capable_show(struct device *dev, struct device_attribute *attr, char *buf) in usb_communication_capable_show() 72 dual_role_data_show(struct device *dev, struct device_attribute *attr, char *buf) in dual_role_data_show() 80 struct device_attribute *attr, char *buf) in unchunked_extended_messages_supported_show() 87 peak_current_show(struct device *dev, struct device_attribute *attr, char *buf) in peak_current_show() 94 fast_role_swap_current_show(struct device *dev, struct device_attribute *attr, char *buf) in fast_role_swap_current_show() 100 static ssize_t voltage_show(struct device *dev, struct device_attribute *attr, char *buf) in voltage_show() [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_hw_engine_class_sysfs.c | 41 struct attribute *attr, in xe_hw_engine_class_sysfs_attr_show() 57 struct attribute *attr, in xe_hw_engine_class_sysfs_attr_store() 89 struct kobj_attribute *attr, in job_timeout_max_store() 114 struct kobj_attribute *attr, char *buf) in job_timeout_max_show() 125 struct kobj_attribute *attr, in job_timeout_min_store() 150 struct kobj_attribute *attr, char *buf) in job_timeout_min_show() 161 struct kobj_attribute *attr, in job_timeout_store() 183 struct kobj_attribute *attr, char *buf) in job_timeout_show() 194 struct kobj_attribute *attr, char *buf) in job_timeout_default() 205 struct kobj_attribute *attr, char *buf) in job_timeout_min_default() [all …]
|
| /linux/drivers/s390/net/ |
| H A D | qeth_l3_sys.c | 59 struct device_attribute *attr, char *buf) in qeth_l3_dev_route4_show() 105 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route4_store() 117 struct device_attribute *attr, char *buf) in qeth_l3_dev_route6_show() 125 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route6_store() 137 struct device_attribute *attr, char *buf) in qeth_l3_dev_sniffer_show() 145 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_sniffer_store() 193 struct device_attribute *attr, char *buf) in qeth_l3_dev_hsuid_show() 207 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_hsuid_store() 284 struct device_attribute *attr, char *buf) in qeth_l3_dev_ipato_enable_show() 292 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_ipato_enable_store() [all …]
|
| /linux/drivers/xen/ |
| H A D | sys-hypervisor.c | 31 struct attribute attr; member 40 static ssize_t type_show(struct hyp_sysfs_attr *attr, char *buffer) in type_show() 52 static ssize_t guest_type_show(struct hyp_sysfs_attr *attr, char *buffer) in guest_type_show() 82 static ssize_t major_show(struct hyp_sysfs_attr *attr, char *buffer) in major_show() 92 static ssize_t minor_show(struct hyp_sysfs_attr *attr, char *buffer) in minor_show() 102 static ssize_t extra_show(struct hyp_sysfs_attr *attr, char *buffer) in extra_show() 139 static ssize_t uuid_show_fallback(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show_fallback() 160 static ssize_t uuid_show(struct hyp_sysfs_attr *attr, char *buffer) in uuid_show() 180 static ssize_t compiler_show(struct hyp_sysfs_attr *attr, char *buffer) in compiler_show() 198 static ssize_t compiled_by_show(struct hyp_sysfs_attr *attr, char *buffer) in compiled_by_show() [all …]
|
| /linux/drivers/scsi/qla4xxx/ |
| H A D | ql4_attr.c | 119 const struct bin_attribute *attr; member 154 struct device_attribute *attr, char *buf) in qla4xxx_fw_version_show() 169 qla4xxx_serial_num_show(struct device *dev, struct device_attribute *attr, in qla4xxx_serial_num_show() 177 qla4xxx_iscsi_version_show(struct device *dev, struct device_attribute *attr, in qla4xxx_iscsi_version_show() 186 qla4xxx_optrom_version_show(struct device *dev, struct device_attribute *attr, in qla4xxx_optrom_version_show() 196 qla4xxx_board_id_show(struct device *dev, struct device_attribute *attr, in qla4xxx_board_id_show() 204 qla4xxx_fw_state_show(struct device *dev, struct device_attribute *attr, in qla4xxx_fw_state_show() 215 qla4xxx_phy_port_cnt_show(struct device *dev, struct device_attribute *attr, in qla4xxx_phy_port_cnt_show() 227 qla4xxx_phy_port_num_show(struct device *dev, struct device_attribute *attr, in qla4xxx_phy_port_num_show() 239 qla4xxx_iscsi_func_cnt_show(struct device *dev, struct device_attribute *attr, in qla4xxx_iscsi_func_cnt_show() [all …]
|
| /linux/tools/net/ynl/lib/ |
| H A D | ynl-priv.h | 190 static inline unsigned int ynl_attr_type(const struct nlattr *attr) in ynl_attr_type() 195 static inline unsigned int ynl_attr_data_len(const struct nlattr *attr) in ynl_attr_data_len() 200 static inline void *ynl_attr_data(const struct nlattr *attr) in ynl_attr_data() 205 static inline void *ynl_attr_data_end(const struct nlattr *attr) in ynl_attr_data_end() 210 #define ynl_attr_for_each(attr, nlh, fixed_hdr_sz) \ argument 215 #define ynl_attr_for_each_nested_off(attr, outer, offset) \ argument 221 #define ynl_attr_for_each_nested(attr, outer) \ argument 224 #define ynl_attr_for_each_payload(start, len, attr) \ argument 229 ynl_attr_if_good(const void *end, struct nlattr *attr) in ynl_attr_if_good() 241 struct nlattr *attr; in ynl_attr_next() local [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | sysfs_engines.c | 26 name_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in name_show() 35 class_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in class_show() 44 inst_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in inst_show() 53 mmio_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mmio_show() 122 caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in caps_show() 133 all_caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in all_caps_show() 142 max_spin_store(struct kobject *kobj, struct kobj_attribute *attr, in max_spin_store() 180 max_spin_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_show() 191 max_spin_default(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in max_spin_default() 202 timeslice_store(struct kobject *kobj, struct kobj_attribute *attr, in timeslice_store() [all …]
|
| /linux/kernel/power/ |
| H A D | main.c | 193 static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_show() 199 static ssize_t pm_async_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_async_store() 217 static ssize_t mem_sleep_show(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_show() 262 static ssize_t mem_sleep_store(struct kobject *kobj, struct kobj_attribute *attr, in mem_sleep_store() 299 struct kobj_attribute *attr, char *buf) in sync_on_suspend_show() 305 struct kobj_attribute *attr, in sync_on_suspend_store() 335 static ssize_t pm_test_show(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_show() 356 static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr, in pm_test_store() 500 struct kobj_attribute *attr, char *buf) in last_failed_dev_show() 514 struct kobj_attribute *attr, char *buf) in last_failed_errno_show() [all …]
|
| /linux/kernel/ |
| H A D | fail_function.c | 58 struct fei_attr *attr; in fei_attr_new() local 75 static void fei_attr_free(struct fei_attr *attr) in fei_attr_free() 85 struct fei_attr *attr; in fei_attr_lookup() local 97 struct fei_attr *attr; in fei_attr_is_valid() local 109 struct fei_attr *attr = data; in fei_retval_set() local 139 struct fei_attr *attr = data; in fei_retval_get() local 155 static void fei_debugfs_add_attr(struct fei_attr *attr) in fei_debugfs_add_attr() 164 static void fei_debugfs_remove_attr(struct fei_attr *attr) in fei_debugfs_remove_attr() 171 struct fei_attr *attr = container_of(kp, struct fei_attr, kp); in fei_kprobe_handler() local 201 struct fei_attr *attr = list_entry(v, struct fei_attr, list); in fei_seq_show() local [all …]
|
| /linux/drivers/pcmcia/ |
| H A D | socket_sysfs.c | 34 static ssize_t pccard_show_type(struct device *dev, struct device_attribute *attr, in pccard_show_type() 47 static ssize_t pccard_show_voltage(struct device *dev, struct device_attribute *attr, in pccard_show_voltage() 61 static ssize_t pccard_show_vpp(struct device *dev, struct device_attribute *attr, in pccard_show_vpp() 71 static ssize_t pccard_show_vcc(struct device *dev, struct device_attribute *attr, in pccard_show_vcc() 82 static ssize_t pccard_store_insert(struct device *dev, struct device_attribute *attr, in pccard_store_insert() 98 struct device_attribute *attr, in pccard_show_card_pm_state() 106 struct device_attribute *attr, in pccard_store_card_pm_state() 129 struct device_attribute *attr, in pccard_store_eject() 145 struct device_attribute *attr, in pccard_show_irq_mask() 153 struct device_attribute *attr, in pccard_store_irq_mask() [all …]
|
| /linux/drivers/misc/genwqe/ |
| H A D | card_sysfs.c | 39 static ssize_t status_show(struct device *dev, struct device_attribute *attr, in status_show() 49 static ssize_t appid_show(struct device *dev, struct device_attribute *attr, in appid_show() 60 static ssize_t version_show(struct device *dev, struct device_attribute *attr, in version_show() 73 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show() 85 static ssize_t tempsens_show(struct device *dev, struct device_attribute *attr, in tempsens_show() 97 struct device_attribute *attr, in freerunning_timer_show() 109 struct device_attribute *attr, in queue_working_time_show() 121 struct device_attribute *attr, in base_clock_show() 149 struct device_attribute *attr, char *buf) in curr_bitstream_show() 165 struct device_attribute *attr, char *buf) in next_bitstream_show() [all …]
|
| /linux/drivers/s390/crypto/ |
| H A D | ap_card.c | 22 struct device_attribute *attr, char *buf) in hwtype_show() 32 struct device_attribute *attr, char *buf) in raw_hwtype_show() 41 static ssize_t depth_show(struct device *dev, struct device_attribute *attr, in depth_show() 52 struct device_attribute *attr, char *buf) in ap_functions_show() 62 struct device_attribute *attr, in request_count_show() 76 struct device_attribute *attr, in request_count_store() 96 struct device_attribute *attr, char *buf) in requestq_count_show() 115 struct device_attribute *attr, char *buf) in pendingq_count_show() 134 struct device_attribute *attr, char *buf) in modalias_show() 142 struct device_attribute *attr, char *buf) in config_show() [all …]
|
| /linux/arch/x86/coco/ |
| H A D | core.c | 30 static bool noinstr intel_cc_platform_has(enum cc_attr attr) in intel_cc_platform_has() 47 static __maybe_unused __always_inline bool amd_cc_platform_vtom(enum cc_attr attr) in amd_cc_platform_vtom() 70 static bool noinstr amd_cc_platform_has(enum cc_attr attr) in amd_cc_platform_has() 118 bool noinstr cc_platform_has(enum cc_attr attr) in cc_platform_has() 170 static void amd_cc_platform_clear(enum cc_attr attr) in amd_cc_platform_clear() 181 void cc_platform_clear(enum cc_attr attr) in cc_platform_clear() 192 static void amd_cc_platform_set(enum cc_attr attr) in amd_cc_platform_set() 203 void cc_platform_set(enum cc_attr attr) in cc_platform_set()
|