/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_uvd.c | 184 int amdgpu_uvd_sw_init(struct amdgpu_device *adev) in amdgpu_uvd_sw_init() 370 int amdgpu_uvd_sw_fini(struct amdgpu_device *adev) in amdgpu_uvd_sw_fini() 403 int amdgpu_uvd_entity_init(struct amdgpu_device *adev) in amdgpu_uvd_entity_init() 421 int amdgpu_uvd_suspend(struct amdgpu_device *adev) in amdgpu_uvd_suspend() 470 int amdgpu_uvd_resume(struct amdgpu_device *adev) in amdgpu_uvd_resume() 812 struct amdgpu_device *adev = ctx->parser->adev; in amdgpu_uvd_cs_msg() local 1122 struct amdgpu_device *adev = ring->adev; in amdgpu_uvd_send_msg() local 1197 struct amdgpu_device *adev = ring->adev; in amdgpu_uvd_get_create_msg() local 1225 struct amdgpu_device *adev = ring->adev; in amdgpu_uvd_get_destroy_msg() local 1257 struct amdgpu_device *adev = in amdgpu_uvd_idle_work_handler() local [all …]
|
H A D | amdgpu_dma_buf.c | 59 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev); in amdgpu_dma_buf_attach() local 89 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev); in amdgpu_dma_buf_detach() local 145 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev); in amdgpu_dma_buf_map() local 239 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev); in amdgpu_dma_buf_begin_cpu_access() local 321 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_dma_buf_create_obj() local 369 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev); in amdgpu_dma_buf_move_notify() local 479 bool amdgpu_dmabuf_is_xgmi_accessible(struct amdgpu_device *adev, in amdgpu_dmabuf_is_xgmi_accessible()
|
H A D | amdgpu_reset.c | 37 int amdgpu_reset_init(struct amdgpu_device *adev) in amdgpu_reset_init() 59 int amdgpu_reset_fini(struct amdgpu_device *adev) in amdgpu_reset_fini() 81 int amdgpu_reset_prepare_hwcontext(struct amdgpu_device *adev, in amdgpu_reset_prepare_hwcontext() 96 int amdgpu_reset_perform_reset(struct amdgpu_device *adev, in amdgpu_reset_perform_reset()
|
H A D | amdgpu_drv.c | 2049 struct amdgpu_device *adev; in amdgpu_pci_probe() local 2236 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_pci_remove() local 2293 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_pci_shutdown() local 2317 struct amdgpu_device *adev; in amdgpu_drv_delayed_reset_work_handler() local 2384 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_prepare() local 2411 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_suspend() local 2426 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_suspend_noirq() local 2438 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_resume() local 2459 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_freeze() local 2498 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_runtime_idle_check_display() local [all …]
|
H A D | amdgpu_vram_mgr.c | 94 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_vram_total_show() local 111 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_vis_vram_total_show() local 129 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_vram_used_show() local 148 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_vis_vram_used_show() local 167 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_vram_vendor() local 272 struct amdgpu_device *adev = to_amdgpu_device(mgr); in amdgpu_vram_mgr_do_reserve() local 429 struct amdgpu_device *adev = to_amdgpu_device(mgr); in amdgpu_vram_mgr_new() local 620 struct amdgpu_device *adev = to_amdgpu_device(mgr); in amdgpu_vram_mgr_del() local 653 int amdgpu_vram_mgr_alloc_sgt(struct amdgpu_device *adev, in amdgpu_vram_mgr_alloc_sgt() 883 int amdgpu_vram_mgr_init(struct amdgpu_device *adev) in amdgpu_vram_mgr_init() [all …]
|
H A D | amdgpu_xcp.c | 122 struct amdgpu_device *adev = xcp_mgr->adev; in amdgpu_xcp_init() local 229 static int amdgpu_xcp_dev_alloc(struct amdgpu_device *adev) in amdgpu_xcp_dev_alloc() 265 int amdgpu_xcp_mgr_init(struct amdgpu_device *adev, int init_mode, in amdgpu_xcp_mgr_init() 327 int amdgpu_xcp_dev_register(struct amdgpu_device *adev, in amdgpu_xcp_dev_register() 347 void amdgpu_xcp_dev_unplug(struct amdgpu_device *adev) in amdgpu_xcp_dev_unplug() 368 int amdgpu_xcp_open_device(struct amdgpu_device *adev, in amdgpu_xcp_open_device() 400 void amdgpu_xcp_release_sched(struct amdgpu_device *adev, in amdgpu_xcp_release_sched()
|
H A D | smuio_v13_0_3.c | 38 static u32 smuio_v13_0_3_get_die_id(struct amdgpu_device *adev) in smuio_v13_0_3_get_die_id() 55 static u32 smuio_v13_0_3_get_socket_id(struct amdgpu_device *adev) in smuio_v13_0_3_get_socket_id() 73 static enum amdgpu_pkg_type smuio_v13_0_3_get_pkg_type(struct amdgpu_device *adev) in smuio_v13_0_3_get_pkg_type()
|
H A D | hdp_v6_0.c | 31 static void hdp_v6_0_flush_hdp(struct amdgpu_device *adev, in hdp_v6_0_flush_hdp() 40 static void hdp_v6_0_update_clock_gating(struct amdgpu_device *adev, in hdp_v6_0_update_clock_gating() 123 static void hdp_v6_0_get_clockgating_state(struct amdgpu_device *adev, in hdp_v6_0_get_clockgating_state()
|
H A D | amdgpu_ctx.c | 140 struct amdgpu_device *adev = ctx->mgr->adev; in amdgpu_ctx_get_hw_prio() local 207 struct amdgpu_device *adev = ctx->mgr->adev; in amdgpu_ctx_init_entity() local 294 struct amdgpu_device *adev = ctx->mgr->adev; in amdgpu_ctx_get_stable_pstate() local 358 struct amdgpu_device *adev = ctx->mgr->adev; in amdgpu_ctx_set_stable_pstate() local 410 struct amdgpu_device *adev = mgr->adev; in amdgpu_ctx_fini() local 472 static int amdgpu_ctx_alloc(struct amdgpu_device *adev, in amdgpu_ctx_alloc() 536 static int amdgpu_ctx_query(struct amdgpu_device *adev, in amdgpu_ctx_query() 574 static int amdgpu_ctx_query2(struct amdgpu_device *adev, in amdgpu_ctx_query2() 672 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_ctx_ioctl() local 817 struct amdgpu_device *adev = ctx->mgr->adev; in amdgpu_ctx_set_entity_priority() local [all …]
|
H A D | amdgpu_psp_ta.c | 152 struct amdgpu_device *adev = (struct amdgpu_device *)file_inode(fp)->i_private; in ta_if_load_debugfs_write() local 254 struct amdgpu_device *adev = (struct amdgpu_device *)file_inode(fp)->i_private; in ta_if_unload_debugfs_write() local 303 struct amdgpu_device *adev = (struct amdgpu_device *)file_inode(fp)->i_private; in ta_if_invoke_debugfs_write() local 377 void amdgpu_ta_if_debugfs_init(struct amdgpu_device *adev) in amdgpu_ta_if_debugfs_init() 394 void amdgpu_ta_if_debugfs_init(struct amdgpu_device *adev) in amdgpu_ta_if_debugfs_init()
|
/openbmc/linux/drivers/ata/ |
H A D | pata_optidma.c | 116 static void optidma_mode_setup(struct ata_port *ap, struct ata_device *adev, u8 mode) in optidma_mode_setup() 201 static void optiplus_mode_setup(struct ata_port *ap, struct ata_device *adev, u8 mode) in optiplus_mode_setup() 239 static void optidma_set_pio_mode(struct ata_port *ap, struct ata_device *adev) in optidma_set_pio_mode() 254 static void optidma_set_dma_mode(struct ata_port *ap, struct ata_device *adev) in optidma_set_dma_mode() 269 static void optiplus_set_pio_mode(struct ata_port *ap, struct ata_device *adev) in optiplus_set_pio_mode() 284 static void optiplus_set_dma_mode(struct ata_port *ap, struct ata_device *adev) in optiplus_set_dma_mode() 297 static u8 optidma_make_bits43(struct ata_device *adev) in optidma_make_bits43()
|
H A D | pata_pdc202xx_old.c | 77 static void pdc202xx_configure_piomode(struct ata_port *ap, struct ata_device *adev, int pio) in pdc202xx_configure_piomode() 110 static void pdc202xx_set_piomode(struct ata_port *ap, struct ata_device *adev) in pdc202xx_set_piomode() 124 static void pdc202xx_set_dmamode(struct ata_port *ap, struct ata_device *adev) in pdc202xx_set_dmamode() 178 struct ata_device *adev = qc->dev; in pdc2026x_bmdma_start() local 228 struct ata_device *adev = qc->dev; in pdc2026x_bmdma_stop() local 258 static void pdc2026x_dev_config(struct ata_device *adev) in pdc2026x_dev_config()
|
H A D | pata_it821x.c | 126 static void it821x_program(struct ata_port *ap, struct ata_device *adev, u16 timing) in it821x_program() 154 static void it821x_program_udma(struct ata_port *ap, struct ata_device *adev, u16 timing) in it821x_program_udma() 185 static void it821x_clock_strategy(struct ata_port *ap, struct ata_device *adev) in it821x_clock_strategy() 255 static void it821x_passthru_set_piomode(struct ata_port *ap, struct ata_device *adev) in it821x_passthru_set_piomode() 285 static void it821x_passthru_set_dmamode(struct ata_port *ap, struct ata_device *adev) in it821x_passthru_set_dmamode() 348 struct ata_device *adev = qc->dev; in it821x_passthru_bmdma_start() local 371 struct ata_device *adev = qc->dev; in it821x_passthru_bmdma_stop() local 394 struct ata_device *adev = &ap->link.device[device]; in it821x_passthru_dev_select() local 500 static void it821x_dev_config(struct ata_device *adev) in it821x_dev_config() 539 static unsigned int it821x_read_id(struct ata_device *adev, in it821x_read_id()
|
H A D | pata_ali.c | 118 static unsigned int ali_20_filter(struct ata_device *adev, unsigned int mask) in ali_20_filter() 141 static void ali_fifo_control(struct ata_port *ap, struct ata_device *adev, int on) in ali_fifo_control() 170 static void ali_program_modes(struct ata_port *ap, struct ata_device *adev, struct ata_timing *t, u… in ali_program_modes() 207 static void ali_set_piomode(struct ata_port *ap, struct ata_device *adev) in ali_set_piomode() 241 static void ali_set_dmamode(struct ata_port *ap, struct ata_device *adev) in ali_set_dmamode() 284 static void ali_warn_atapi_dma(struct ata_device *adev) in ali_warn_atapi_dma() 308 static void ali_lock_sectors(struct ata_device *adev) in ali_lock_sectors()
|
H A D | pata_artop.c | 99 static void artop6210_load_piomode(struct ata_port *ap, struct ata_device *adev, unsigned int pio) in artop6210_load_piomode() 126 static void artop6210_set_piomode(struct ata_port *ap, struct ata_device *adev) in artop6210_set_piomode() 153 static void artop6260_load_piomode (struct ata_port *ap, struct ata_device *adev, unsigned int pio) in artop6260_load_piomode() 180 static void artop6260_set_piomode(struct ata_port *ap, struct ata_device *adev) in artop6260_set_piomode() 204 static void artop6210_set_dmamode (struct ata_port *ap, struct ata_device *adev) in artop6210_set_dmamode() 244 static void artop6260_set_dmamode (struct ata_port *ap, struct ata_device *adev) in artop6260_set_dmamode()
|
H A D | pata_acpi.c | 73 static unsigned long pacpi_discover_modes(struct ata_port *ap, struct ata_device *adev) in pacpi_discover_modes() 100 static unsigned int pacpi_mode_filter(struct ata_device *adev, unsigned int mask) in pacpi_mode_filter() 112 static void pacpi_set_piomode(struct ata_port *ap, struct ata_device *adev) in pacpi_set_piomode() 135 static void pacpi_set_dmamode(struct ata_port *ap, struct ata_device *adev) in pacpi_set_dmamode() 170 struct ata_device *adev = qc->dev; in pacpi_qc_issue() local
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_csi2_bridge.c | 121 static char *gmin_cfg_get_dsm(struct acpi_device *adev, const char *key) in gmin_cfg_get_dsm() 154 static char *gmin_cfg_get_dmi_override(struct acpi_device *adev, const char *key) in gmin_cfg_get_dmi_override() 178 static char *gmin_cfg_get(struct acpi_device *adev, const char *key) in gmin_cfg_get() 189 static int gmin_cfg_get_int(struct acpi_device *adev, const char *key, int default_val) in gmin_cfg_get_int() 212 static int atomisp_csi2_get_pmc_clk_nr_from_acpi_pr0(struct acpi_device *adev) in atomisp_csi2_get_pmc_clk_nr_from_acpi_pr0() 257 static int atomisp_csi2_set_pmc_clk_freq(struct acpi_device *adev, int clock_num) in atomisp_csi2_set_pmc_clk_freq() 293 static int atomisp_csi2_get_port(struct acpi_device *adev, int clock_num) in atomisp_csi2_get_port() 402 static int atomisp_csi2_add_gpio_mappings(struct acpi_device *adev) in atomisp_csi2_add_gpio_mappings() 503 static char *atomisp_csi2_get_vcm_type(struct acpi_device *adev) in atomisp_csi2_get_vcm_type() 528 static int atomisp_csi2_parse_sensor_fwnode(struct acpi_device *adev, in atomisp_csi2_parse_sensor_fwnode()
|
/openbmc/linux/drivers/acpi/ |
H A D | dock.c | 44 struct acpi_device *adev; member 72 struct acpi_device *adev) in add_dock_dependent_device() 90 struct acpi_device *adev = dd->adev; in dock_hotplug_event() local 150 find_dock_dependent_device(struct dock_station *ds, struct acpi_device *adev) in find_dock_dependent_device() 161 void register_dock_dependent_device(struct acpi_device *adev, in register_dock_dependent_device() 182 int is_dock_device(struct acpi_device *adev) in is_dock_device() 270 struct acpi_device *adev = dd->adev; in hotplug_dock_devices() local 422 int dock_notify(struct acpi_device *adev, u32 event) in dock_notify() 492 struct acpi_device *adev = acpi_fetch_acpi_dev(dock_station->handle); in docked_show() local 587 void acpi_dock_add(struct acpi_device *adev) in acpi_dock_add()
|
H A D | acpi_platform.c | 36 static struct platform_device *acpi_platform_device_find_by_companion(struct acpi_device *adev) in acpi_platform_device_find_by_companion() 47 struct acpi_device *adev = arg; in acpi_platform_device_remove_notify() local 74 static void acpi_platform_fill_resource(struct acpi_device *adev, in acpi_platform_fill_resource() 110 struct platform_device *acpi_create_platform_device(struct acpi_device *adev, in acpi_create_platform_device()
|
H A D | bus.c | 469 struct acpi_device *adev; in acpi_bus_notify() local 557 int acpi_dev_install_notify_handler(struct acpi_device *adev, in acpi_dev_install_notify_handler() 572 void acpi_dev_remove_notify_handler(struct acpi_device *adev, in acpi_dev_remove_notify_handler() 682 bool acpi_device_is_first_physical_node(struct acpi_device *adev, in acpi_device_is_first_physical_node() 711 struct acpi_device *adev; in acpi_companion_match() local 733 static bool acpi_of_match_device(const struct acpi_device *adev, in acpi_of_match_device() 769 static bool acpi_of_modalias(struct acpi_device *adev, in acpi_of_modalias() 888 const struct acpi_device *adev) in acpi_match_acpi_device() 917 struct acpi_device *adev = ACPI_COMPANION(dev); in acpi_of_device_get_match_data() local 1104 int acpi_dev_for_each_child(struct acpi_device *adev, in acpi_dev_for_each_child() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/ |
H A D | amdgpu_smu.c | 168 struct amdgpu_device *adev = smu->adev; in smu_set_gfx_power_up_by_imu() local 208 struct amdgpu_device *adev = smu->adev; in smu_set_gfx_imu_enable() local 710 struct amdgpu_device *adev = smu->adev; in smu_apply_default_config_table_settings() local 797 struct amdgpu_device *adev = smu->adev; in smu_init_fb_allocations() local 891 struct amdgpu_device *adev = smu->adev; in smu_alloc_memory_pool() local 948 struct amdgpu_device *adev = smu->adev; in smu_alloc_dummy_read_table() local 1081 struct amdgpu_device *adev = smu->adev; in smu_swctf_delayed_work_handler() local 1199 struct amdgpu_device *adev = smu->adev; in smu_get_thermal_temperature_range() local 1227 struct amdgpu_device *adev = smu->adev; in smu_smc_hw_setup() local 1418 struct amdgpu_device *adev = smu->adev; in smu_start_smc_engine() local [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
H A D | smu_v13_0.c | 92 struct amdgpu_device *adev = smu->adev; in smu_v13_0_init_microcode() local 133 struct amdgpu_device *adev = smu->adev; in smu_v13_0_fini_microcode() local 183 struct amdgpu_device *adev = smu->adev; in smu_v13_0_init_pptable_microcode() local 234 struct amdgpu_device *adev = smu->adev; in smu_v13_0_check_fw_status() local 258 struct amdgpu_device *adev = smu->adev; in smu_v13_0_check_fw_version() local 301 struct amdgpu_device *adev = smu->adev; in smu_v13_0_set_pptable_v2_0() local 317 struct amdgpu_device *adev = smu->adev; in smu_v13_0_set_pptable_v2_1() local 343 struct amdgpu_device *adev = smu->adev; in smu_v13_0_get_pptable_from_vbios() local 369 struct amdgpu_device *adev = smu->adev; in smu_v13_0_get_pptable_from_firmware() local 404 struct amdgpu_device *adev = smu->adev; in smu_v13_0_setup_pptable() local [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm.c | 321 get_crtc_by_otg_inst(struct amdgpu_device *adev, in get_crtc_by_otg_inst() 411 struct amdgpu_device *adev = irq_params->adev; in dm_pflip_high_irq() local 507 struct amdgpu_device *adev = irq_params->adev; in dm_vupdate_high_irq() local 1336 struct amdgpu_device *adev; in dm_handle_hpd_rx_offload_work() local 2067 struct amdgpu_device *adev = ctx; in amdgpu_dm_dmub_reg_read() local 2075 struct amdgpu_device *adev = ctx; in amdgpu_dm_dmub_reg_write() local 2626 struct amdgpu_device *adev = handle; in dm_suspend() local 2807 struct amdgpu_device *adev = handle; in dm_resume() local 3074 struct amdgpu_device *adev; in update_connector_ext_caps() local 7870 struct amdgpu_device *adev = dm->adev; in update_freesync_state_on_stream() local [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu7_baco.c | 38 struct amdgpu_device *adev = (struct amdgpu_device *)(hwmgr->adev); in smu7_baco_get_capability() local 55 struct amdgpu_device *adev = (struct amdgpu_device *)(hwmgr->adev); in smu7_baco_get_state() local 70 struct amdgpu_device *adev = (struct amdgpu_device *)(hwmgr->adev); in smu7_baco_set_state() local
|
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_migrate.c | 43 svm_migrate_direct_mapping_addr(struct amdgpu_device *adev, uint64_t addr) in svm_migrate_direct_mapping_addr() 52 struct amdgpu_device *adev = ring->adev; in svm_migrate_gart_map() local 124 svm_migrate_copy_memory_gart(struct amdgpu_device *adev, dma_addr_t *sys, in svm_migrate_copy_memory_gart() 193 svm_migrate_copy_done(struct amdgpu_device *adev, struct dma_fence *mfence) in svm_migrate_copy_done() 207 svm_migrate_addr_to_pfn(struct amdgpu_device *adev, unsigned long addr) in svm_migrate_addr_to_pfn() 224 svm_migrate_put_vram_page(struct amdgpu_device *adev, unsigned long addr) in svm_migrate_put_vram_page() 234 svm_migrate_addr(struct amdgpu_device *adev, struct page *page) in svm_migrate_addr() 295 struct amdgpu_device *adev = node->adev; in svm_migrate_copy_to_vram() local 400 struct amdgpu_device *adev = node->adev; in svm_migrate_vma_to_vram() local 693 struct amdgpu_device *adev = node->adev; in svm_migrate_vma_to_ram() local [all …]
|