| /Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| D | vega10_thermal.c | 70 struct amdgpu_device *adev = hwmgr->adev; in vega10_fan_ctrl_get_fan_speed_pwm() local 91 struct amdgpu_device *adev = hwmgr->adev; in vega10_fan_ctrl_get_fan_speed_rpm() local 128 struct amdgpu_device *adev = hwmgr->adev; in vega10_fan_ctrl_set_static_mode() local 157 struct amdgpu_device *adev = hwmgr->adev; in vega10_fan_ctrl_set_default_mode() local 250 struct amdgpu_device *adev = hwmgr->adev; in vega10_fan_ctrl_set_fan_speed_pwm() local 304 struct amdgpu_device *adev = hwmgr->adev; in vega10_fan_ctrl_set_fan_speed_rpm() local 336 struct amdgpu_device *adev = hwmgr->adev; in vega10_thermal_get_temperature() local 365 struct amdgpu_device *adev = hwmgr->adev; in vega10_thermal_set_temperature_range() local 411 struct amdgpu_device *adev = hwmgr->adev; in vega10_thermal_initialize() local 434 struct amdgpu_device *adev = hwmgr->adev; in vega10_thermal_enable_alert() local [all …]
|
| /Linux-v6.1/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_atomfirmware.c | 46 uint32_t amdgpu_atomfirmware_query_firmware_capability(struct amdgpu_device *adev) in amdgpu_atomfirmware_query_firmware_capability() 78 bool amdgpu_atomfirmware_gpu_virtualization_supported(struct amdgpu_device *adev) in amdgpu_atomfirmware_gpu_virtualization_supported() 87 void amdgpu_atomfirmware_scratch_regs_init(struct amdgpu_device *adev) in amdgpu_atomfirmware_scratch_regs_init() 104 int amdgpu_atomfirmware_allocate_fb_scratch(struct amdgpu_device *adev) in amdgpu_atomfirmware_allocate_fb_scratch() 175 static int convert_atom_mem_type_to_vram_type(struct amdgpu_device *adev, in convert_atom_mem_type_to_vram_type() 229 amdgpu_atomfirmware_get_vram_info(struct amdgpu_device *adev, in amdgpu_atomfirmware_get_vram_info() 426 bool amdgpu_atomfirmware_mem_ecc_supported(struct amdgpu_device *adev) in amdgpu_atomfirmware_mem_ecc_supported() 480 bool amdgpu_atomfirmware_sram_ecc_supported(struct amdgpu_device *adev) in amdgpu_atomfirmware_sram_ecc_supported() 496 bool amdgpu_atomfirmware_dynamic_boot_config_supported(struct amdgpu_device *adev) in amdgpu_atomfirmware_dynamic_boot_config_supported() 515 bool amdgpu_atomfirmware_ras_rom_addr(struct amdgpu_device *adev, in amdgpu_atomfirmware_ras_rom_addr() [all …]
|
| D | amdgpu_ib.c | 64 int amdgpu_ib_get(struct amdgpu_device *adev, struct amdgpu_vm *vm, in amdgpu_ib_get() 98 void amdgpu_ib_free(struct amdgpu_device *adev, struct amdgpu_ib *ib, in amdgpu_ib_free() 130 struct amdgpu_device *adev = ring->adev; in amdgpu_ib_schedule() local 301 int amdgpu_ib_pool_init(struct amdgpu_device *adev) in amdgpu_ib_pool_init() 334 void amdgpu_ib_pool_fini(struct amdgpu_device *adev) in amdgpu_ib_pool_fini() 356 int amdgpu_ib_ring_tests(struct amdgpu_device *adev) in amdgpu_ib_ring_tests() 438 struct amdgpu_device *adev = (struct amdgpu_device *)m->private; in amdgpu_debugfs_sa_info_show() local 456 void amdgpu_debugfs_sa_init(struct amdgpu_device *adev) in amdgpu_debugfs_sa_init()
|
| D | psp_v10_0.c | 49 struct amdgpu_device *adev = psp->adev; in psp_v10_0_init_microcode() local 134 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_init() local 161 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_create() local 192 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_stop() local 213 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_destroy() local 234 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_get_wptr() local 241 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_set_wptr() local
|
| D | amdgpu_psp.c | 72 struct amdgpu_device *adev = psp->adev; in psp_check_pmfw_centralized_cstate_management() local 101 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in psp_early_init() local 257 static bool psp_get_runtime_db_entry(struct amdgpu_device *adev, in psp_get_runtime_db_entry() 328 struct amdgpu_device *adev = psp->adev; in psp_init_sriov_microcode() local 364 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in psp_sw_init() local 484 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in psp_sw_fini() local 536 struct amdgpu_device *adev = psp->adev; in psp_wait_for() local 698 struct amdgpu_device *adev = psp->adev; in psp_prep_tmr_cmd_buf() local 882 static int psp_boot_config_get(struct amdgpu_device *adev, uint32_t *boot_cfg) in psp_boot_config_get() 907 static int psp_boot_config_set(struct amdgpu_device *adev, uint32_t boot_cfg) in psp_boot_config_set() [all …]
|
| D | atombios_crtc.c | 44 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_overscan_setup() local 87 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_scaler_setup() local 117 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_lock() local 134 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_enable() local 150 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_blank() local 166 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_powergate() local 178 void amdgpu_atombios_crtc_powergate_init(struct amdgpu_device *adev) in amdgpu_atombios_crtc_powergate_init() 195 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_set_dtd_timing() local 241 static void amdgpu_atombios_crtc_program_ss(struct amdgpu_device *adev, in amdgpu_atombios_crtc_program_ss() 310 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_adjust_pll() local [all …]
|
| D | psp_v11_0_8.c | 36 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_init() local 61 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_stop() local 92 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_create() local 158 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_destroy() local 174 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_get_wptr() local 186 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_set_wptr() local
|
| D | hdp_v5_2.c | 31 static void hdp_v5_2_flush_hdp(struct amdgpu_device *adev, in hdp_v5_2_flush_hdp() 43 static void hdp_v5_2_update_mem_power_gating(struct amdgpu_device *adev, in hdp_v5_2_update_mem_power_gating() 128 static void hdp_v5_2_update_medium_grain_clock_gating(struct amdgpu_device *adev, in hdp_v5_2_update_medium_grain_clock_gating() 159 static void hdp_v5_2_get_clockgating_state(struct amdgpu_device *adev, in hdp_v5_2_get_clockgating_state() 184 static void hdp_v5_2_update_clock_gating(struct amdgpu_device *adev, in hdp_v5_2_update_clock_gating()
|
| D | amdgpu_ids.c | 161 bool amdgpu_vmid_had_gpu_reset(struct amdgpu_device *adev, in amdgpu_vmid_had_gpu_reset() 184 struct amdgpu_device *adev = ring->adev; in amdgpu_vmid_grab_idle() local 260 struct amdgpu_device *adev = ring->adev; in amdgpu_vmid_grab_reserved() local 321 struct amdgpu_device *adev = ring->adev; in amdgpu_vmid_grab_used() local 383 struct amdgpu_device *adev = ring->adev; in amdgpu_vmid_grab() local 436 int amdgpu_vmid_alloc_reserved(struct amdgpu_device *adev, in amdgpu_vmid_alloc_reserved() 467 void amdgpu_vmid_free_reserved(struct amdgpu_device *adev, in amdgpu_vmid_free_reserved() 492 void amdgpu_vmid_reset(struct amdgpu_device *adev, unsigned vmhub, in amdgpu_vmid_reset() 516 void amdgpu_vmid_reset_all(struct amdgpu_device *adev) in amdgpu_vmid_reset_all() 536 void amdgpu_vmid_mgr_init(struct amdgpu_device *adev) in amdgpu_vmid_mgr_init() [all …]
|
| D | amdgpu_fence.c | 144 struct amdgpu_device *adev = ring->adev; in amdgpu_fence_emit() local 274 struct amdgpu_device *adev = ring->adev; in amdgpu_fence_process() local 426 struct amdgpu_device *adev = ring->adev; in amdgpu_fence_driver_start_ring() local 460 struct amdgpu_device *adev = ring->adev; in amdgpu_fence_driver_init_ring() local 499 int amdgpu_fence_driver_sw_init(struct amdgpu_device *adev) in amdgpu_fence_driver_sw_init() 512 void amdgpu_fence_driver_hw_fini(struct amdgpu_device *adev) in amdgpu_fence_driver_hw_fini() 540 void amdgpu_fence_driver_isr_toggle(struct amdgpu_device *adev, bool stop) in amdgpu_fence_driver_isr_toggle() 557 void amdgpu_fence_driver_sw_fini(struct amdgpu_device *adev) in amdgpu_fence_driver_sw_fini() 590 void amdgpu_fence_driver_hw_init(struct amdgpu_device *adev) in amdgpu_fence_driver_hw_init() 769 struct amdgpu_device *adev = (struct amdgpu_device *)m->private; in amdgpu_debugfs_fence_info_show() local [all …]
|
| D | amdgpu_vcn.c | 83 int amdgpu_vcn_sw_init(struct amdgpu_device *adev) in amdgpu_vcn_sw_init() 311 int amdgpu_vcn_sw_fini(struct amdgpu_device *adev) in amdgpu_vcn_sw_fini() 346 struct amdgpu_device *adev = ring->adev; in amdgpu_vcn_using_unified_queue() local 355 bool amdgpu_vcn_is_disabled_vcn(struct amdgpu_device *adev, enum vcn_ring_type type, uint32_t vcn_i… in amdgpu_vcn_is_disabled_vcn() 371 int amdgpu_vcn_suspend(struct amdgpu_device *adev) in amdgpu_vcn_suspend() 400 int amdgpu_vcn_resume(struct amdgpu_device *adev) in amdgpu_vcn_resume() 445 struct amdgpu_device *adev = in amdgpu_vcn_idle_work_handler() local 489 struct amdgpu_device *adev = ring->adev; in amdgpu_vcn_ring_begin_use() local 542 struct amdgpu_device *adev = ring->adev; in amdgpu_vcn_dec_ring_test_ring() local 573 struct amdgpu_device *adev = ring->adev; in amdgpu_vcn_dec_sw_ring_test_ring() local [all …]
|
| D | gfx_v9_4.c | 93 static void gfx_v9_4_select_se_sh(struct amdgpu_device *adev, u32 se_num, in gfx_v9_4_select_se_sh() 689 static int gfx_v9_4_query_utc_edc_status(struct amdgpu_device *adev, in gfx_v9_4_query_utc_edc_status() 827 static int gfx_v9_4_ras_error_count(struct amdgpu_device *adev, in gfx_v9_4_ras_error_count() 866 static void gfx_v9_4_query_ras_error_count(struct amdgpu_device *adev, in gfx_v9_4_query_ras_error_count() 908 static void gfx_v9_4_reset_ras_error_count(struct amdgpu_device *adev) in gfx_v9_4_reset_ras_error_count() 973 static int gfx_v9_4_ras_error_inject(struct amdgpu_device *adev, in gfx_v9_4_ras_error_inject() 999 static void gfx_v9_4_query_ras_error_status(struct amdgpu_device *adev) in gfx_v9_4_query_ras_error_status()
|
| D | amdgpu_acp.c | 103 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in acp_sw_init() local 117 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in acp_sw_fini() local 126 void *adev; member 133 struct amdgpu_device *adev; in acp_poweroff() local 150 struct amdgpu_device *adev; in acp_poweron() local 233 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in acp_hw_init() local 513 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in acp_hw_fini() local 570 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in acp_suspend() local 580 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in acp_resume() local 617 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in acp_set_powergating_state() local
|
| /Linux-v6.1/drivers/usb/typec/ |
| D | bus.c | 30 static int typec_altmode_set_state(struct typec_altmode *adev, in typec_altmode_set_state() 57 int typec_altmode_notify(struct typec_altmode *adev, in typec_altmode_notify() 97 int typec_altmode_enter(struct typec_altmode *adev, u32 *vdo) in typec_altmode_enter() 128 int typec_altmode_exit(struct typec_altmode *adev) in typec_altmode_exit() 157 void typec_altmode_attention(struct typec_altmode *adev, u32 vdo) in typec_altmode_attention() 177 int typec_altmode_vdm(struct typec_altmode *adev, in typec_altmode_vdm() 201 typec_altmode_get_partner(struct typec_altmode *adev) in typec_altmode_get_partner() 221 struct typec_altmode *typec_altmode_get_plug(struct typec_altmode *adev, in typec_altmode_get_plug() 364 struct typec_altmode *adev = to_typec_altmode(dev); in typec_probe() local 388 struct typec_altmode *adev = to_typec_altmode(dev); in typec_remove() local
|
| /Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
| D | smu10_smumgr.c | 51 struct amdgpu_device *adev = hwmgr->adev; in smu10_wait_for_response() local 65 struct amdgpu_device *adev = hwmgr->adev; in smu10_send_msg_to_smc_without_waiting() local 74 struct amdgpu_device *adev = hwmgr->adev; in smu10_read_arg_from_smc() local 81 struct amdgpu_device *adev = hwmgr->adev; in smu10_send_msg_to_smc() local 99 struct amdgpu_device *adev = hwmgr->adev; in smu10_send_msg_to_smc_with_parameter() local 121 struct amdgpu_device *adev = hwmgr->adev; in smu10_copy_table_from_smc() local 155 struct amdgpu_device *adev = hwmgr->adev; in smu10_copy_table_to_smc() local 223 struct amdgpu_device *adev = hwmgr->adev; in smu10_start_smu() local
|
| D | smu9_smumgr.c | 41 struct amdgpu_device *adev = hwmgr->adev; in smu9_is_smc_ram_running() local 61 struct amdgpu_device *adev = hwmgr->adev; in smu9_wait_for_response() local 96 struct amdgpu_device *adev = hwmgr->adev; in smu9_send_msg_to_smc_without_waiting() local 115 struct amdgpu_device *adev = hwmgr->adev; in smu9_send_msg_to_smc() local 144 struct amdgpu_device *adev = hwmgr->adev; in smu9_send_msg_to_smc_with_parameter() local 168 struct amdgpu_device *adev = hwmgr->adev; in smu9_get_argument() local
|
| /Linux-v6.1/sound/soc/intel/avs/ |
| D | loader.c | 99 static int avs_fw_manifest_strip_verify(struct avs_dev *adev, struct firmware *fw, in avs_fw_manifest_strip_verify() 135 int avs_cldma_load_basefw(struct avs_dev *adev, struct firmware *fw) in avs_cldma_load_basefw() 189 int avs_cldma_load_library(struct avs_dev *adev, struct firmware *lib, u32 id) in avs_cldma_load_library() 210 static int avs_cldma_load_module(struct avs_dev *adev, struct avs_module_entry *mentry) in avs_cldma_load_module() 241 int avs_cldma_transfer_modules(struct avs_dev *adev, bool load, in avs_cldma_transfer_modules() 274 avs_hda_init_rom(struct avs_dev *adev, unsigned int dma_id, bool purge) in avs_hda_init_rom() 324 static int avs_imr_load_basefw(struct avs_dev *adev) in avs_imr_load_basefw() 346 int avs_hda_load_basefw(struct avs_dev *adev, struct firmware *fw) in avs_hda_load_basefw() 413 int avs_hda_load_library(struct avs_dev *adev, struct firmware *lib, u32 id) in avs_hda_load_library() 464 int avs_hda_transfer_modules(struct avs_dev *adev, bool load, in avs_hda_transfer_modules() [all …]
|
| D | skl.c | 15 static int skl_enable_logs(struct avs_dev *adev, enum avs_log_enable enable, u32 aging_period, in skl_enable_logs() 47 int skl_log_buffer_offset(struct avs_dev *adev, u32 core) in skl_log_buffer_offset() 56 skl_log_buffer_status(struct avs_dev *adev, union avs_notify_msg *msg) in skl_log_buffer_status() 82 static int skl_coredump(struct avs_dev *adev, union avs_notify_msg *msg) in skl_coredump() 97 skl_d0ix_toggle(struct avs_dev *adev, struct avs_ipc_msg *tx, bool wake) in skl_d0ix_toggle() 103 static int skl_set_d0ix(struct avs_dev *adev, bool enable) in skl_set_d0ix()
|
| D | apl.c | 16 static int apl_enable_logs(struct avs_dev *adev, enum avs_log_enable enable, u32 aging_period, in apl_enable_logs() 50 static int apl_log_buffer_status(struct avs_dev *adev, union avs_notify_msg *msg) in apl_log_buffer_status() 86 static int apl_wait_log_entry(struct avs_dev *adev, u32 core, struct apl_log_buffer_layout *layout) in apl_wait_log_entry() 110 static int apl_coredump(struct avs_dev *adev, union avs_notify_msg *msg) in apl_coredump() 172 static bool apl_lp_streaming(struct avs_dev *adev) in apl_lp_streaming() 204 static bool apl_d0ix_toggle(struct avs_dev *adev, struct avs_ipc_msg *tx, bool wake) in apl_d0ix_toggle() 221 static int apl_set_d0ix(struct avs_dev *adev, bool enable) in apl_set_d0ix()
|
| D | board_selection.c | 255 static const struct avs_acpi_boards *avs_get_i2s_boards(struct avs_dev *adev) in avs_get_i2s_boards() 272 static int avs_register_dmic_board(struct avs_dev *adev) in avs_register_dmic_board() 319 static int avs_register_i2s_board(struct avs_dev *adev, struct snd_soc_acpi_mach *mach) in avs_register_i2s_board() 361 static int avs_register_i2s_boards(struct avs_dev *adev) in avs_register_i2s_boards() 412 static int avs_register_hda_board(struct avs_dev *adev, struct hda_codec *codec) in avs_register_hda_board() 452 static int avs_register_hda_boards(struct avs_dev *adev) in avs_register_hda_boards() 477 int avs_register_all_boards(struct avs_dev *adev) in avs_register_all_boards() 499 void avs_unregister_all_boards(struct avs_dev *adev) in avs_unregister_all_boards()
|
| D | registers.h | 58 #define AVS_FW_REG_BASE(adev) ((adev)->spec->sram_base_offset) argument 59 #define AVS_FW_REG_STATUS(adev) (AVS_FW_REG_BASE(adev) + 0x0) argument 60 #define AVS_FW_REG_ERROR_CODE(adev) (AVS_FW_REG_BASE(adev) + 0x4) argument 71 #define avs_sram_offset(adev, window_idx) \ argument 75 #define avs_sram_addr(adev, window_idx) \ argument 78 #define avs_uplink_addr(adev) \ argument 80 #define avs_downlink_addr(adev) \ argument
|
| /Linux-v6.1/drivers/acpi/ |
| D | scan.c | 75 void acpi_initialize_hp_context(struct acpi_device *adev, in acpi_initialize_hp_context() 110 bool acpi_scan_is_offline(struct acpi_device *adev, bool uevent) in acpi_scan_is_offline() 293 static int acpi_scan_device_not_present(struct acpi_device *adev) in acpi_scan_device_not_present() 303 static int acpi_scan_device_check(struct acpi_device *adev) in acpi_scan_device_check() 336 static int acpi_scan_bus_check(struct acpi_device *adev, void *not_used) in acpi_scan_bus_check() 357 static int acpi_generic_hotplug_event(struct acpi_device *adev, u32 type) in acpi_generic_hotplug_event() 377 void acpi_device_hotplug(struct acpi_device *adev, u32 src) in acpi_device_hotplug() 501 struct acpi_device *adev; in acpi_device_del_work_fn() local 544 struct acpi_device *adev = context; in acpi_scan_drop_device() local 571 struct acpi_device *adev = NULL; in handle_to_device() local [all …]
|
| D | glue.c | 80 static int match_any(struct acpi_device *adev, void *not_used) in match_any() 85 static bool acpi_dev_has_children(struct acpi_device *adev) in acpi_dev_has_children() 90 static int find_child_checks(struct acpi_device *adev, bool check_children) in find_child_checks() 119 struct acpi_device *adev; member 126 static int check_one_child(struct acpi_device *adev, void *data) in check_one_child() 202 struct acpi_device *acpi_find_child_by_adr(struct acpi_device *adev, in acpi_find_child_by_adr() 344 struct acpi_device *adev; in acpi_device_notify() local 393 struct acpi_device *adev = ACPI_COMPANION(dev); in acpi_device_notify_remove() local
|
| /Linux-v6.1/sound/ac97/ |
| D | snd_ac97_compat.c | 22 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_reset() local 31 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_warm_reset() local 41 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_write() local 50 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in compat_ac97_read() local 67 struct snd_ac97 *snd_ac97_compat_alloc(struct ac97_codec_device *adev) in snd_ac97_compat_alloc() 101 struct ac97_codec_device *adev = to_ac97_device(ac97->private_data); in snd_ac97_reset() local
|
| /Linux-v6.1/drivers/platform/chrome/ |
| D | chromeos_tbmc.c | 24 static int chromeos_tbmc_query_switch(struct acpi_device *adev, in chromeos_tbmc_query_switch() 43 struct acpi_device *adev = to_acpi_device(dev); in chromeos_tbmc_resume() local 48 static void chromeos_tbmc_notify(struct acpi_device *adev, u32 event) in chromeos_tbmc_notify() 62 struct acpi_device *adev = input_get_drvdata(idev); in chromeos_tbmc_open() local 67 static int chromeos_tbmc_add(struct acpi_device *adev) in chromeos_tbmc_add()
|