/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_psp.c | 57 struct amdgpu_device *adev = psp->adev; in psp_ring_init() local 96 struct amdgpu_device *adev = psp->adev; in psp_check_pmfw_centralized_cstate_management() local 125 struct amdgpu_device *adev = psp->adev; in psp_init_sriov_microcode() local 162 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in psp_early_init() local 327 static bool psp_get_runtime_db_entry(struct amdgpu_device *adev, in psp_get_runtime_db_entry() 401 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in psp_sw_init() local 507 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in psp_sw_fini() local 544 struct amdgpu_device *adev = psp->adev; in psp_wait_for() local 569 struct amdgpu_device *adev = psp->adev; in psp_wait_for_spirom_update() local 722 struct amdgpu_device *adev = psp->adev; in psp_prep_tmr_cmd_buf() local [all …]
|
H A D | psp_v10_0.c | 49 struct amdgpu_device *adev = psp->adev; in psp_v10_0_init_microcode() local 75 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_create() local 106 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_stop() local 127 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_destroy() local 148 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_get_wptr() local 155 struct amdgpu_device *adev = psp->adev; in psp_v10_0_ring_set_wptr() local
|
H A D | atombios_crtc.c | 43 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_overscan_setup() local 86 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_scaler_setup() local 116 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_lock() local 133 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_enable() local 149 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_blank() local 165 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_powergate() local 177 void amdgpu_atombios_crtc_powergate_init(struct amdgpu_device *adev) in amdgpu_atombios_crtc_powergate_init() 194 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_set_dtd_timing() local 240 static void amdgpu_atombios_crtc_program_ss(struct amdgpu_device *adev, in amdgpu_atombios_crtc_program_ss() 309 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_adjust_pll() local [all …]
|
H A D | amdgpu_ids.c | 161 bool amdgpu_vmid_had_gpu_reset(struct amdgpu_device *adev, in amdgpu_vmid_had_gpu_reset() 204 struct amdgpu_device *adev = ring->adev; in amdgpu_vmid_grab_idle() local 279 struct amdgpu_device *adev = ring->adev; in amdgpu_vmid_grab_reserved() local 340 struct amdgpu_device *adev = ring->adev; in amdgpu_vmid_grab_used() local 400 struct amdgpu_device *adev = ring->adev; in amdgpu_vmid_grab() local 475 int amdgpu_vmid_alloc_reserved(struct amdgpu_device *adev, in amdgpu_vmid_alloc_reserved() 497 void amdgpu_vmid_free_reserved(struct amdgpu_device *adev, in amdgpu_vmid_free_reserved() 521 void amdgpu_vmid_reset(struct amdgpu_device *adev, unsigned vmhub, in amdgpu_vmid_reset() 545 void amdgpu_vmid_reset_all(struct amdgpu_device *adev) in amdgpu_vmid_reset_all() 565 void amdgpu_vmid_mgr_init(struct amdgpu_device *adev) in amdgpu_vmid_mgr_init() [all …]
|
H A D | amdgpu_amdkfd_aldebaran.c | 40 uint32_t kgd_aldebaran_enable_debug_trap(struct amdgpu_device *adev, in kgd_aldebaran_enable_debug_trap() 54 static uint32_t kgd_aldebaran_disable_debug_trap(struct amdgpu_device *adev, in kgd_aldebaran_disable_debug_trap() 67 static int kgd_aldebaran_validate_trap_override_request(struct amdgpu_device *adev, in kgd_aldebaran_validate_trap_override_request() 89 static uint32_t kgd_aldebaran_set_wave_launch_trap_override(struct amdgpu_device *adev, in kgd_aldebaran_set_wave_launch_trap_override() 111 uint32_t kgd_aldebaran_set_wave_launch_mode(struct amdgpu_device *adev, in kgd_aldebaran_set_wave_launch_mode() 124 struct amdgpu_device *adev, in kgd_gfx_aldebaran_set_address_watch()
|
H A D | amdgpu_ih.c | 41 int amdgpu_ih_ring_init(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih, in amdgpu_ih_ring_init() 116 void amdgpu_ih_ring_fini(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) in amdgpu_ih_ring_fini() 149 void amdgpu_ih_ring_write(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih, in amdgpu_ih_ring_write() 179 int amdgpu_ih_wait_on_checkpoint_process_ts(struct amdgpu_device *adev, in amdgpu_ih_wait_on_checkpoint_process_ts() 208 int amdgpu_ih_process(struct amdgpu_device *adev, struct amdgpu_ih_ring *ih) in amdgpu_ih_process() 252 void amdgpu_ih_decode_iv_helper(struct amdgpu_device *adev, in amdgpu_ih_decode_iv_helper()
|
H A D | psp_v11_0_8.c | 35 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_stop() local 66 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_create() local 132 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_destroy() local 148 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_get_wptr() local 160 struct amdgpu_device *adev = psp->adev; in psp_v11_0_8_ring_set_wptr() local
|
H A D | amdgpu_nbio.c | 25 int amdgpu_nbio_ras_sw_init(struct amdgpu_device *adev) in amdgpu_nbio_ras_sw_init() 48 u64 amdgpu_nbio_get_pcie_replay_count(struct amdgpu_device *adev) in amdgpu_nbio_get_pcie_replay_count() 56 void amdgpu_nbio_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, in amdgpu_nbio_get_pcie_usage() 64 int amdgpu_nbio_ras_late_init(struct amdgpu_device *adev, struct ras_common_if *ras_block) in amdgpu_nbio_ras_late_init()
|
H A D | smuio_v9_0.c | 28 static u32 smuio_v9_0_get_rom_index_offset(struct amdgpu_device *adev) in smuio_v9_0_get_rom_index_offset() 33 static u32 smuio_v9_0_get_rom_data_offset(struct amdgpu_device *adev) in smuio_v9_0_get_rom_data_offset() 38 static void smuio_v9_0_update_rom_clock_gating(struct amdgpu_device *adev, bool enable) in smuio_v9_0_update_rom_clock_gating() 59 static void smuio_v9_0_get_clock_gating_state(struct amdgpu_device *adev, u64 *flags) in smuio_v9_0_get_clock_gating_state()
|
H A D | smuio_v11_0.c | 28 static u32 smuio_v11_0_get_rom_index_offset(struct amdgpu_device *adev) in smuio_v11_0_get_rom_index_offset() 33 static u32 smuio_v11_0_get_rom_data_offset(struct amdgpu_device *adev) in smuio_v11_0_get_rom_data_offset() 38 static void smuio_v11_0_update_rom_clock_gating(struct amdgpu_device *adev, bool enable) in smuio_v11_0_update_rom_clock_gating() 62 static void smuio_v11_0_get_clock_gating_state(struct amdgpu_device *adev, u64 *flags) in smuio_v11_0_get_clock_gating_state()
|
H A D | smuio_v11_0_6.c | 28 static u32 smuio_v11_0_6_get_rom_index_offset(struct amdgpu_device *adev) in smuio_v11_0_6_get_rom_index_offset() 33 static u32 smuio_v11_0_6_get_rom_data_offset(struct amdgpu_device *adev) in smuio_v11_0_6_get_rom_data_offset() 38 static void smuio_v11_0_6_update_rom_clock_gating(struct amdgpu_device *adev, bool enable) in smuio_v11_0_6_update_rom_clock_gating() 59 static void smuio_v11_0_6_get_clock_gating_state(struct amdgpu_device *adev, u64 *flags) in smuio_v11_0_6_get_clock_gating_state()
|
H A D | amdgpu_fence.c | 144 struct amdgpu_device *adev = ring->adev; in amdgpu_fence_emit() local 276 struct amdgpu_device *adev = ring->adev; in amdgpu_fence_process() local 476 struct amdgpu_device *adev = ring->adev; in amdgpu_fence_driver_start_ring() local 510 struct amdgpu_device *adev = ring->adev; in amdgpu_fence_driver_init_ring() local 549 int amdgpu_fence_driver_sw_init(struct amdgpu_device *adev) in amdgpu_fence_driver_sw_init() 567 struct amdgpu_device *adev = ring->adev; in amdgpu_fence_need_ring_interrupt_restore() local 597 void amdgpu_fence_driver_hw_fini(struct amdgpu_device *adev) in amdgpu_fence_driver_hw_fini() 627 void amdgpu_fence_driver_isr_toggle(struct amdgpu_device *adev, bool stop) in amdgpu_fence_driver_isr_toggle() 644 void amdgpu_fence_driver_sw_fini(struct amdgpu_device *adev) in amdgpu_fence_driver_sw_fini() 683 void amdgpu_fence_driver_hw_init(struct amdgpu_device *adev) in amdgpu_fence_driver_hw_init() [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | thermal_acpi.c | 24 static int thermal_acpi_trip_temp(struct acpi_device *adev, char *obj_name, in thermal_acpi_trip_temp() 59 int thermal_acpi_active_trip_temp(struct acpi_device *adev, int id, int *ret_temp) in thermal_acpi_active_trip_temp() 80 int thermal_acpi_passive_trip_temp(struct acpi_device *adev, int *ret_temp) in thermal_acpi_passive_trip_temp() 97 int thermal_acpi_hot_trip_temp(struct acpi_device *adev, int *ret_temp) in thermal_acpi_hot_trip_temp() 113 int thermal_acpi_critical_trip_temp(struct acpi_device *adev, int *ret_temp) in thermal_acpi_critical_trip_temp()
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | skl.c | 16 avs_skl_enable_logs(struct avs_dev *adev, enum avs_log_enable enable, u32 aging_period, in avs_skl_enable_logs() 48 int avs_skl_log_buffer_offset(struct avs_dev *adev, u32 core) in avs_skl_log_buffer_offset() 56 static int avs_skl_log_buffer_status(struct avs_dev *adev, union avs_notify_msg *msg) in avs_skl_log_buffer_status() 76 static int avs_skl_coredump(struct avs_dev *adev, union avs_notify_msg *msg) in avs_skl_coredump() 90 static bool avs_skl_d0ix_toggle(struct avs_dev *adev, struct avs_ipc_msg *tx, bool wake) in avs_skl_d0ix_toggle() 96 static int avs_skl_set_d0ix(struct avs_dev *adev, bool enable) in avs_skl_set_d0ix()
|
H A D | board_selection.c | 378 static const struct avs_acpi_boards *avs_get_i2s_boards(struct avs_dev *adev) in avs_get_i2s_boards() 395 static int __maybe_unused avs_register_probe_board(struct avs_dev *adev) in avs_register_probe_board() 422 static int avs_register_dmic_board(struct avs_dev *adev) in avs_register_dmic_board() 469 static int avs_register_i2s_board(struct avs_dev *adev, struct snd_soc_acpi_mach *mach) in avs_register_i2s_board() 511 static int avs_register_i2s_boards(struct avs_dev *adev) in avs_register_i2s_boards() 562 static int avs_register_hda_board(struct avs_dev *adev, struct hda_codec *codec) in avs_register_hda_board() 602 static int avs_register_hda_boards(struct avs_dev *adev) in avs_register_hda_boards() 627 int avs_register_all_boards(struct avs_dev *adev) in avs_register_all_boards() 655 void avs_unregister_all_boards(struct avs_dev *adev) in avs_unregister_all_boards()
|
H A 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() 249 int avs_cldma_transfer_modules(struct avs_dev *adev, bool load, in avs_cldma_transfer_modules() 282 avs_hda_init_rom(struct avs_dev *adev, unsigned int dma_id, bool purge) in avs_hda_init_rom() 332 static int avs_imr_load_basefw(struct avs_dev *adev) in avs_imr_load_basefw() 354 int avs_hda_load_basefw(struct avs_dev *adev, struct firmware *fw) in avs_hda_load_basefw() 421 int avs_hda_load_library(struct avs_dev *adev, struct firmware *lib, u32 id) in avs_hda_load_library() 472 int avs_hda_transfer_modules(struct avs_dev *adev, bool load, in avs_hda_transfer_modules() [all …]
|
H A D | apl.c | 17 avs_apl_enable_logs(struct avs_dev *adev, enum avs_log_enable enable, u32 aging_period, in avs_apl_enable_logs() 51 static int avs_apl_log_buffer_status(struct avs_dev *adev, union avs_notify_msg *msg) in avs_apl_log_buffer_status() 80 static int avs_apl_wait_log_entry(struct avs_dev *adev, u32 core, in avs_apl_wait_log_entry() 105 static int avs_apl_coredump(struct avs_dev *adev, union avs_notify_msg *msg) in avs_apl_coredump() 169 static bool avs_apl_lp_streaming(struct avs_dev *adev) in avs_apl_lp_streaming() 205 static bool avs_apl_d0ix_toggle(struct avs_dev *adev, struct avs_ipc_msg *tx, bool wake) in avs_apl_d0ix_toggle() 222 static int avs_apl_set_d0ix(struct avs_dev *adev, bool enable) in avs_apl_set_d0ix()
|
H A D | core.c | 50 void avs_hda_power_gating_enable(struct avs_dev *adev, bool enable) in avs_hda_power_gating_enable() 64 void avs_hda_clock_gating_enable(struct avs_dev *adev, bool enable) in avs_hda_clock_gating_enable() 69 void avs_hda_l1sen_enable(struct avs_dev *adev, bool enable) in avs_hda_l1sen_enable() 187 struct avs_dev *adev = container_of(work, struct avs_dev, probe_work); in avs_hda_probe_work() local 322 static int avs_hdac_acquire_irq(struct avs_dev *adev) in avs_hdac_acquire_irq() 358 static int avs_bus_init(struct avs_dev *adev, struct pci_dev *pci, const struct pci_device_id *id) in avs_bus_init() 403 struct avs_dev *adev; in avs_pci_probe() local 487 struct avs_dev *adev = hdac_to_avs(bus); in avs_pci_shutdown() local 511 struct avs_dev *adev = hdac_to_avs(bus); in avs_pci_remove() local 566 static int avs_suspend_standby(struct avs_dev *adev) in avs_suspend_standby() [all …]
|
H A 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 72 #define avs_sram_offset(adev, window_idx) \ argument 76 #define avs_sram_addr(adev, window_idx) \ argument 79 #define avs_uplink_addr(adev) \ argument 81 #define avs_downlink_addr(adev) \ argument
|
/openbmc/linux/drivers/platform/chrome/ |
H A 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()
|
/openbmc/linux/sound/ac97/ |
H A 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
|
/openbmc/linux/drivers/usb/typec/ |
H A D | bus.c | 59 static int typec_altmode_set_state(struct typec_altmode *adev, in typec_altmode_set_state() 86 int typec_altmode_notify(struct typec_altmode *adev, in typec_altmode_notify() 126 int typec_altmode_enter(struct typec_altmode *adev, u32 *vdo) in typec_altmode_enter() 157 int typec_altmode_exit(struct typec_altmode *adev) in typec_altmode_exit() 186 int typec_altmode_attention(struct typec_altmode *adev, u32 vdo) in typec_altmode_attention() 214 int typec_altmode_vdm(struct typec_altmode *adev, in typec_altmode_vdm() 238 typec_altmode_get_partner(struct typec_altmode *adev) in typec_altmode_get_partner() 258 struct typec_altmode *typec_altmode_get_plug(struct typec_altmode *adev, in typec_altmode_get_plug() 401 struct typec_altmode *adev = to_typec_altmode(dev); in typec_probe() local 425 struct typec_altmode *adev = to_typec_altmode(dev); in typec_remove() local
|
/openbmc/linux/drivers/acpi/ |
H A D | scan.c | 74 void acpi_initialize_hp_context(struct acpi_device *adev, in acpi_initialize_hp_context() 109 bool acpi_scan_is_offline(struct acpi_device *adev, bool uevent) in acpi_scan_is_offline() 292 static int acpi_scan_device_not_present(struct acpi_device *adev) in acpi_scan_device_not_present() 302 static int acpi_scan_device_check(struct acpi_device *adev) in acpi_scan_device_check() 331 static int acpi_scan_bus_check(struct acpi_device *adev, void *not_used) in acpi_scan_bus_check() 352 static int acpi_generic_hotplug_event(struct acpi_device *adev, u32 type) in acpi_generic_hotplug_event() 372 void acpi_device_hotplug(struct acpi_device *adev, u32 src) in acpi_device_hotplug() 496 struct acpi_device *adev; in acpi_device_del_work_fn() local 539 struct acpi_device *adev = context; in acpi_scan_drop_device() local 566 struct acpi_device *adev = NULL; in handle_to_device() local [all …]
|
H A D | glue.c | 81 static int match_any(struct acpi_device *adev, void *not_used) in match_any() 86 static bool acpi_dev_has_children(struct acpi_device *adev) in acpi_dev_has_children() 91 static int find_child_checks(struct acpi_device *adev, bool check_children) in find_child_checks() 129 struct acpi_device *adev; member 136 static int check_one_child(struct acpi_device *adev, void *data) in check_one_child() 212 struct acpi_device *acpi_find_child_by_adr(struct acpi_device *adev, in acpi_find_child_by_adr() 354 struct acpi_device *adev; in acpi_device_notify() local 403 struct acpi_device *adev = ACPI_COMPANION(dev); in acpi_device_notify_remove() local
|
/openbmc/linux/drivers/vfio/platform/ |
H A D | vfio_amba.c | 24 struct amba_device *adev = (struct amba_device *) vdev->opaque; in get_amba_resource() local 34 struct amba_device *adev = (struct amba_device *) vdev->opaque; in get_amba_irq() local 48 struct amba_device *adev = to_amba_device(core_vdev->dev); in vfio_amba_init_dev() local 68 static int vfio_amba_probe(struct amba_device *adev, const struct amba_id *id) in vfio_amba_probe() 100 static void vfio_amba_remove(struct amba_device *adev) in vfio_amba_remove()
|