/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | athub_v1_0.c | 32 static void athub_update_medium_grain_clock_gating(struct amdgpu_device *adev, in athub_update_medium_grain_clock_gating() 48 static void athub_update_medium_grain_light_sleep(struct amdgpu_device *adev, in athub_update_medium_grain_light_sleep() 65 int athub_v1_0_set_clockgating(struct amdgpu_device *adev, in athub_v1_0_set_clockgating() 90 void athub_v1_0_get_clockgating(struct amdgpu_device *adev, u64 *flags) in athub_v1_0_get_clockgating()
|
H A D | athub_v2_0.c | 34 athub_v2_0_update_medium_grain_clock_gating(struct amdgpu_device *adev, in athub_v2_0_update_medium_grain_clock_gating() 54 athub_v2_0_update_medium_grain_light_sleep(struct amdgpu_device *adev, in athub_v2_0_update_medium_grain_light_sleep() 74 int athub_v2_0_set_clockgating(struct amdgpu_device *adev, in athub_v2_0_set_clockgating() 96 void athub_v2_0_get_clockgating(struct amdgpu_device *adev, u64 *flags) in athub_v2_0_get_clockgating()
|
H A D | athub_v2_1.c | 33 athub_v2_1_update_medium_grain_clock_gating(struct amdgpu_device *adev, in athub_v2_1_update_medium_grain_clock_gating() 50 athub_v2_1_update_medium_grain_light_sleep(struct amdgpu_device *adev, in athub_v2_1_update_medium_grain_light_sleep() 67 int athub_v2_1_set_clockgating(struct amdgpu_device *adev, in athub_v2_1_set_clockgating() 88 void athub_v2_1_get_clockgating(struct amdgpu_device *adev, u64 *flags) in athub_v2_1_get_clockgating()
|
H A 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
|
H A D | amdgpu_amdkfd_gpuvm.c | 286 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev); in amdgpu_amdkfd_release_notify() local 306 create_dmamap_sg_bo(struct amdgpu_device *adev, in create_dmamap_sg_bo() 441 struct amdgpu_device *adev = amdgpu_ttm_adev(pd->tbo.bdev); in vm_validate_pt_pd_bos() local 522 struct amdgpu_device *adev = attachment->adev; in kfd_mem_dmamap_userptr() local 612 struct amdgpu_device *adev = attachment->adev; in kfd_mem_dmamap_sg_bo() local 689 struct amdgpu_device *adev = attachment->adev; in kfd_mem_dmaunmap_userptr() local 735 struct amdgpu_device *adev = attachment->adev; in kfd_mem_dmaunmap_sg_bo() local 1201 struct amdgpu_device *adev = entry->adev; in unmap_bo_from_gpuvm() local 1216 struct amdgpu_device *adev = entry->adev; in update_gpuvm_pte() local 1636 struct amdgpu_device *adev, uint64_t va, uint64_t size, in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() [all …]
|
H A D | atombios_encoders.c | 74 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_get_backlight_level() local 88 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_set_backlight_level() local 154 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_get_backlight_brightness() local 168 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_init_backlight() local 238 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_fini_backlight() local 316 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_setup_dac() local 379 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_setup_dvo() local 564 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_setup_dig_encoder() local 753 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_setup_dig_transmitter() local 1148 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_set_edp_panel_power() local [all …]
|
H A D | sdma_v4_4.c | 36 static uint32_t sdma_v4_4_get_reg_offset(struct amdgpu_device *adev, in sdma_v4_4_get_reg_offset() 166 static void sdma_v4_4_get_ras_error_count(struct amdgpu_device *adev, in sdma_v4_4_get_ras_error_count() 195 static int sdma_v4_4_query_ras_error_count_by_instance(struct amdgpu_device *adev, in sdma_v4_4_query_ras_error_count_by_instance() 236 static void sdma_v4_4_reset_ras_error_count(struct amdgpu_device *adev) in sdma_v4_4_reset_ras_error_count() 252 static void sdma_v4_4_query_ras_error_count(struct amdgpu_device *adev, void *ras_error_status) in sdma_v4_4_query_ras_error_count()
|
H A D | amdgpu_ras_eeprom.c | 261 struct amdgpu_device *adev = to_amdgpu_device(control); in __write_table_header() local 316 struct amdgpu_device *adev = to_amdgpu_device(control); in __write_table_ras_info() local 416 struct amdgpu_device *adev = to_amdgpu_device(control); in amdgpu_ras_eeprom_reset_table() local 576 struct amdgpu_device *adev = to_amdgpu_device(control); in __amdgpu_ras_eeprom_write() local 719 struct amdgpu_device *adev = to_amdgpu_device(control); in amdgpu_ras_eeprom_update_header() local 822 struct amdgpu_device *adev = to_amdgpu_device(control); in amdgpu_ras_eeprom_append() local 862 struct amdgpu_device *adev = to_amdgpu_device(control); in __amdgpu_ras_eeprom_read() local 905 struct amdgpu_device *adev = to_amdgpu_device(control); in amdgpu_ras_eeprom_read() local 1233 struct amdgpu_device *adev = to_amdgpu_device(control); in __verify_ras_table_checksum() local 1275 struct amdgpu_device *adev = to_amdgpu_device(control); in __read_table_ras_info() local [all …]
|
H A D | amdgpu_gem.c | 133 void amdgpu_gem_force_release(struct amdgpu_device *adev) in amdgpu_gem_force_release() 165 struct amdgpu_device *adev = amdgpu_ttm_adev(abo->tbo.bdev); in amdgpu_gem_object_open() local 197 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev); in amdgpu_gem_object_close() local 281 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_gem_create_ioctl() local 382 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_gem_userptr_ioctl() local 676 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_gem_va_ioctl() local 807 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_gem_op_ioctl() local 881 static int amdgpu_gem_align_pitch(struct amdgpu_device *adev, in amdgpu_gem_align_pitch() 911 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_mode_dumb_create() local 953 struct amdgpu_device *adev = m->private; in amdgpu_debugfs_gem_info_show() local [all …]
|
H A 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() 976 static void gfx_v9_4_query_ras_error_status(struct amdgpu_device *adev) in gfx_v9_4_query_ras_error_status()
|
H A D | lsdma_v6_0.c | 32 static int lsdma_v6_0_wait_pio_status(struct amdgpu_device *adev) in lsdma_v6_0_wait_pio_status() 39 static int lsdma_v6_0_copy_mem(struct amdgpu_device *adev, in lsdma_v6_0_copy_mem() 72 static int lsdma_v6_0_fill_mem(struct amdgpu_device *adev, in lsdma_v6_0_fill_mem() 104 static void lsdma_v6_0_update_memory_power_gating(struct amdgpu_device *adev, in lsdma_v6_0_update_memory_power_gating()
|
H A D | amdgpu_ucode.c | 521 amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type) in amdgpu_ucode_get_load_type() 730 int amdgpu_ucode_sysfs_init(struct amdgpu_device *adev) in amdgpu_ucode_sysfs_init() 735 void amdgpu_ucode_sysfs_fini(struct amdgpu_device *adev) in amdgpu_ucode_sysfs_fini() 740 static int amdgpu_ucode_init_single_fw(struct amdgpu_device *adev, in amdgpu_ucode_init_single_fw() 994 int amdgpu_ucode_create_bo(struct amdgpu_device *adev) in amdgpu_ucode_create_bo() 1012 void amdgpu_ucode_free_bo(struct amdgpu_device *adev) in amdgpu_ucode_free_bo() 1019 int amdgpu_ucode_init_bo(struct amdgpu_device *adev) in amdgpu_ucode_init_bo() 1061 static const char *amdgpu_ucode_legacy_naming(struct amdgpu_device *adev, int block_type) in amdgpu_ucode_legacy_naming() 1271 void amdgpu_ucode_ip_version_decode(struct amdgpu_device *adev, int block_type, char *ucode_prefix,… in amdgpu_ucode_ip_version_decode() 1322 int amdgpu_ucode_request(struct amdgpu_device *adev, const struct firmware **fw, in amdgpu_ucode_request()
|
H A D | amdgpu_virt.h | 272 #define amdgpu_sriov_enabled(adev) \ argument 275 #define amdgpu_sriov_vf(adev) \ argument 278 #define amdgpu_sriov_bios(adev) \ argument 281 #define amdgpu_sriov_runtime(adev) \ argument 284 #define amdgpu_sriov_fullaccess(adev) \ argument 287 #define amdgpu_sriov_reg_indirect_en(adev) \ argument 306 #define amdgpu_passthrough(adev) \ argument 323 #define amdgpu_sriov_is_pp_one_vf(adev) \ argument 325 #define amdgpu_sriov_is_debug(adev) \ argument 327 #define amdgpu_sriov_is_normal(adev) \ argument [all …]
|
H A D | amdgpu_csa.c | 29 uint64_t amdgpu_csa_vaddr(struct amdgpu_device *adev) in amdgpu_csa_vaddr() 39 int amdgpu_allocate_static_csa(struct amdgpu_device *adev, struct amdgpu_bo **bo, in amdgpu_allocate_static_csa() 66 int amdgpu_map_static_csa(struct amdgpu_device *adev, struct amdgpu_vm *vm, in amdgpu_map_static_csa() 106 int amdgpu_unmap_static_csa(struct amdgpu_device *adev, struct amdgpu_vm *vm, in amdgpu_unmap_static_csa()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega20_thermal.c | 92 struct amdgpu_device *adev = hwmgr->adev; in vega20_fan_ctrl_set_static_mode() local 120 struct amdgpu_device *adev = hwmgr->adev; in vega20_fan_ctrl_get_fan_speed_pwm() local 142 struct amdgpu_device *adev = hwmgr->adev; in vega20_fan_ctrl_set_fan_speed_pwm() local 190 struct amdgpu_device *adev = hwmgr->adev; in vega20_fan_ctrl_set_fan_speed_rpm() local 220 struct amdgpu_device *adev = hwmgr->adev; in vega20_thermal_get_temperature() local 246 struct amdgpu_device *adev = hwmgr->adev; in vega20_thermal_set_temperature_range() local 282 struct amdgpu_device *adev = hwmgr->adev; in vega20_thermal_enable_alert() local 300 struct amdgpu_device *adev = hwmgr->adev; in vega20_thermal_disable_alert() local
|
H A D | vega10_powertune.c | 885 struct amdgpu_device *adev = hwmgr->adev; in vega10_enable_cac_driving_se_didt_config() local 923 struct amdgpu_device *adev = hwmgr->adev; in vega10_disable_cac_driving_se_didt_config() local 936 struct amdgpu_device *adev = hwmgr->adev; in vega10_enable_psm_gc_didt_config() local 975 struct amdgpu_device *adev = hwmgr->adev; in vega10_disable_psm_gc_didt_config() local 997 struct amdgpu_device *adev = hwmgr->adev; in vega10_enable_se_edc_config() local 1031 struct amdgpu_device *adev = hwmgr->adev; in vega10_disable_se_edc_config() local 1044 struct amdgpu_device *adev = hwmgr->adev; in vega10_enable_psm_gc_edc_config() local 1089 struct amdgpu_device *adev = hwmgr->adev; in vega10_disable_psm_gc_edc_config() local 1111 struct amdgpu_device *adev = hwmgr->adev; in vega10_enable_se_edc_force_stall_config() local
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
H A D | smu_v11_0.c | 84 struct amdgpu_device *adev = smu->adev; in smu_v11_0_poll_baco_exit() local 95 struct amdgpu_device *adev = smu->adev; in smu_v11_0_init_microcode() local 137 struct amdgpu_device *adev = smu->adev; in smu_v11_0_fini_microcode() local 145 struct amdgpu_device *adev = smu->adev; in smu_v11_0_load_microcode() local 185 struct amdgpu_device *adev = smu->adev; in smu_v11_0_check_fw_status() local 200 struct amdgpu_device *adev = smu->adev; in smu_v11_0_check_fw_version() local 275 struct amdgpu_device *adev = smu->adev; in smu_v11_0_set_pptable_v2_0() local 291 struct amdgpu_device *adev = smu->adev; in smu_v11_0_set_pptable_v2_1() local 317 struct amdgpu_device *adev = smu->adev; in smu_v11_0_setup_pptable() local 475 struct amdgpu_device *adev = smu->adev; in smu_v11_0_init_power() local [all …]
|
/openbmc/linux/drivers/base/ |
H A D | component.c | 67 struct aggregate_device *adev; member 153 static struct component *find_component(struct aggregate_device *adev, in find_component() 173 static int find_components(struct aggregate_device *adev) in find_components() 264 struct aggregate_device *adev; in try_to_bring_up_masters() local 278 static void take_down_aggregate_device(struct aggregate_device *adev) in take_down_aggregate_device() 481 static void free_aggregate_device(struct aggregate_device *adev) in free_aggregate_device() 516 struct aggregate_device *adev; in component_master_add_with_match() local 560 struct aggregate_device *adev; in component_master_del() local 573 struct aggregate_device *adev, void *data) in component_unbind() 596 struct aggregate_device *adev; in component_unbind_all() local [all …]
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | probes.c | 16 static int avs_dsp_init_probe(struct avs_dev *adev, union avs_connector_node_id node_id, in avs_dsp_init_probe() 42 static void avs_dsp_delete_probe(struct avs_dev *adev) in avs_dsp_delete_probe() 60 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_open() local 85 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_free() local 129 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_set_params() local 185 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_trigger() local 294 int avs_probe_platform_register(struct avs_dev *adev, const char *name) in avs_probe_platform_register()
|
/openbmc/linux/drivers/pci/pcie/ |
H A D | edr.c | 30 struct acpi_device *adev = ACPI_COMPANION(&pdev->dev); in acpi_enable_dpc() local 78 struct acpi_device *adev = ACPI_COMPANION(&pdev->dev); in acpi_dpc_port_get() local 135 struct acpi_device *adev = ACPI_COMPANION(&pdev->dev); in acpi_send_edr_status() local 223 struct acpi_device *adev = ACPI_COMPANION(&pdev->dev); in pci_acpi_add_edr_notifier() local 247 struct acpi_device *adev = ACPI_COMPANION(&pdev->dev); in pci_acpi_remove_edr_notifier() local
|
/openbmc/linux/drivers/i2c/ |
H A D | i2c-core-acpi.c | 90 int i2c_acpi_client_count(struct acpi_device *adev) in i2c_acpi_client_count() 145 static int i2c_acpi_do_lookup(struct acpi_device *adev, in i2c_acpi_do_lookup() 204 struct acpi_device *adev = ACPI_COMPANION(&client->dev); in i2c_acpi_get_irq() local 232 static int i2c_acpi_get_info(struct acpi_device *adev, in i2c_acpi_get_info() 278 struct acpi_device *adev, in i2c_acpi_register_device() 299 struct acpi_device *adev = acpi_fetch_acpi_dev(handle); in i2c_acpi_add_device() local 322 struct acpi_device *adev; in i2c_acpi_register_devices() local 362 struct acpi_device *adev = acpi_fetch_acpi_dev(handle); in i2c_acpi_lookup_speed() local 456 struct acpi_device *adev = arg; in i2c_acpi_notify() local 524 struct acpi_device *adev; in i2c_acpi_new_device_by_fwnode() local [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | pata_sis.c | 86 static int sis_old_port_base(struct ata_device *adev) in sis_old_port_base() 99 static int sis_port_base(struct ata_device *adev) in sis_port_base() 194 static void sis_set_fifo(struct ata_port *ap, struct ata_device *adev) in sis_set_fifo() 226 static void sis_old_set_piomode (struct ata_port *ap, struct ata_device *adev) in sis_old_set_piomode() 263 static void sis_100_set_piomode (struct ata_port *ap, struct ata_device *adev) in sis_100_set_piomode() 288 static void sis_133_set_piomode (struct ata_port *ap, struct ata_device *adev) in sis_133_set_piomode() 336 static void sis_old_set_dmamode (struct ata_port *ap, struct ata_device *adev) in sis_old_set_dmamode() 375 static void sis_66_set_dmamode (struct ata_port *ap, struct ata_device *adev) in sis_66_set_dmamode() 414 static void sis_100_set_dmamode (struct ata_port *ap, struct ata_device *adev) in sis_100_set_dmamode() 481 static void sis_133_set_dmamode (struct ata_port *ap, struct ata_device *adev) in sis_133_set_dmamode() [all …]
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | acpiphp_glue.c | 59 static struct acpiphp_context *acpiphp_init_context(struct acpi_device *adev) in acpiphp_init_context() 80 static struct acpiphp_context *acpiphp_get_context(struct acpi_device *adev) in acpiphp_get_context() 189 static void acpiphp_post_dock_fixup(struct acpi_device *adev) in acpiphp_post_dock_fixup() 229 struct acpi_device *adev = acpi_fetch_acpi_dev(handle); in acpiphp_add_context() local 346 struct acpi_device *adev = func_to_acpi_device(func); in cleanup_bridge() local 435 struct acpi_device *adev = func_to_acpi_device(func); in acpiphp_rescan_slot() local 655 struct acpi_device *adev = ACPI_COMPANION(&dev->dev); in trim_stale_devices() local 760 void acpiphp_check_host_bridge(struct acpi_device *adev) in acpiphp_check_host_bridge() 837 static int acpiphp_hotplug_notify(struct acpi_device *adev, u32 type) in acpiphp_hotplug_notify() 860 struct acpi_device *adev; in acpiphp_enumerate_slots() local [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | container.c | 26 static int check_offline(struct acpi_device *adev, void *not_used) in check_offline() 45 static int container_device_attach(struct acpi_device *adev, in container_device_attach() 74 static void container_device_detach(struct acpi_device *adev) in container_device_detach() 83 static void container_device_online(struct acpi_device *adev) in container_device_online()
|
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_plane.c | 262 static int validate_dcc(struct amdgpu_device *adev, in validate_dcc() 358 static void add_gfx10_1_modifiers(const struct amdgpu_device *adev, in add_gfx10_1_modifiers() 403 static void add_gfx9_modifiers(const struct amdgpu_device *adev, in add_gfx9_modifiers() 509 static void add_gfx10_3_modifiers(const struct amdgpu_device *adev, in add_gfx10_3_modifiers() 581 static void add_gfx11_modifiers(struct amdgpu_device *adev, in add_gfx11_modifiers() 840 struct amdgpu_device *adev; in dm_plane_helper_prepare_fb() local 960 struct amdgpu_device *adev = drm_to_adev(dev); in get_min_max_dc_plane_scaling() local 1052 int amdgpu_dm_plane_fill_dc_scaling_info(struct amdgpu_device *adev, in amdgpu_dm_plane_fill_dc_scaling_info() 1140 struct amdgpu_device *adev = drm_to_adev(plane->dev); in dm_plane_atomic_check() local 1231 struct amdgpu_device *adev = drm_to_adev(plane->dev); in amdgpu_dm_plane_handle_cursor_update() local [all …]
|