| /linux/drivers/gpu/drm/amd/amdkfd/ |
| A D | kfd_packet_manager.c | 83 *rlib_size += pm->pmf->runlist_size; in pm_calc_rlib_size() 178 retval = pm->pmf->map_queues(pm, in pm_create_runlist_ib() 186 pm->pmf->map_queues_size, in pm_create_runlist_ib() 198 retval = pm->pmf->map_queues(pm, in pm_create_runlist_ib() 207 pm->pmf->map_queues_size, in pm_create_runlist_ib() 246 pm->pmf = &kfd_vi_pm_funcs; in pm_init() 254 pm->pmf = &kfd_v9_pm_funcs; in pm_init() 289 size = pm->pmf->set_resources_size; in pm_send_set_resources() 365 size = pm->pmf->query_status_size; in pm_send_query_status() 430 size = pm->pmf->unmap_queues_size; in pm_send_unmap_queue() [all …]
|
| A D | kfd_device_queue_manager.c | 548 const struct packet_manager_funcs *pmf = qpd->dqm->packet_mgr.pmf; in flush_texture_cache_nocpsch() local 554 ret = pmf->release_mem(qpd->ib_base, (uint32_t *)qpd->ib_kaddr); in flush_texture_cache_nocpsch() 560 pmf->release_mem_size / sizeof(uint32_t)); in flush_texture_cache_nocpsch()
|
| A D | kfd_priv.h | 1401 const struct packet_manager_funcs *pmf; member
|
| /linux/drivers/platform/x86/amd/pmf/ |
| A D | sps.c | 268 mode = amd_pmf_get_pprof_modes(pmf); in amd_pmf_set_sps_power_limits() 272 if (pmf->pmf_if_version == PMF_IF_V2) in amd_pmf_set_sps_power_limits() 273 return amd_pmf_update_sps_power_limits_v2(pmf, mode); in amd_pmf_set_sps_power_limits() 280 bool is_pprof_balanced(struct amd_pmf_dev *pmf) in is_pprof_balanced() argument 290 *profile = pmf->current_profile; in amd_pmf_profile_get() 294 int amd_pmf_get_pprof_modes(struct amd_pmf_dev *pmf) in amd_pmf_get_pprof_modes() argument 298 switch (pmf->current_profile) { in amd_pmf_get_pprof_modes() 309 dev_err(pmf->dev, "Unknown Platform Profile.\n"); in amd_pmf_get_pprof_modes() 372 pmf->current_profile = profile; in amd_pmf_profile_set() 376 ret = amd_pmf_power_slider_update_event(pmf); in amd_pmf_profile_set() [all …]
|
| A D | Makefile | 7 obj-$(CONFIG_AMD_PMF) += amd-pmf.o 8 amd-pmf-objs := core.o acpi.o sps.o \ 10 tee-if.o spc.o pmf-quirks.o
|
| A D | core.c | 58 struct amd_pmf_dev *pmf = container_of(nb, struct amd_pmf_dev, pwr_src_notifier); in amd_pmf_pwr_src_notify_call() local 63 if (is_apmf_func_supported(pmf, APMF_FUNC_AUTO_MODE) || in amd_pmf_pwr_src_notify_call() 64 is_apmf_func_supported(pmf, APMF_FUNC_DYN_SLIDER_DC) || in amd_pmf_pwr_src_notify_call() 65 is_apmf_func_supported(pmf, APMF_FUNC_DYN_SLIDER_AC)) { in amd_pmf_pwr_src_notify_call() 66 if ((pmf->amt_enabled || pmf->cnqf_enabled) && is_pprof_balanced(pmf)) in amd_pmf_pwr_src_notify_call() 70 if (is_apmf_func_supported(pmf, APMF_FUNC_STATIC_SLIDER_GRANULAR)) in amd_pmf_pwr_src_notify_call() 71 amd_pmf_set_sps_power_limits(pmf); in amd_pmf_pwr_src_notify_call() 73 if (is_apmf_func_supported(pmf, APMF_FUNC_OS_POWER_SLIDER_UPDATE)) in amd_pmf_pwr_src_notify_call() 74 amd_pmf_power_slider_update_event(pmf); in amd_pmf_pwr_src_notify_call()
|
| A D | pmf.h | 748 int amd_pmf_get_pprof_modes(struct amd_pmf_dev *pmf); 755 bool is_pprof_balanced(struct amd_pmf_dev *pmf); 762 int amd_pmf_set_sps_power_limits(struct amd_pmf_dev *pmf);
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_gfx.c | 525 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in amdgpu_gfx_disable_kcq() 537 kiq->pmf->kiq_unmap_queues(kiq_ring, in amdgpu_gfx_disable_kcq() 579 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in amdgpu_gfx_disable_kgq() 592 kiq->pmf->kiq_unmap_queues(kiq_ring, in amdgpu_gfx_disable_kgq() 636 kiq->pmf->kiq_set_resources(kiq_ring, queue_mask); in amdgpu_gfx_mes_enable_kcq() 666 if (!kiq->pmf || !kiq->pmf->kiq_map_queues || !kiq->pmf->kiq_set_resources) in amdgpu_gfx_enable_kcq() 692 kiq->pmf->set_resources_size); in amdgpu_gfx_enable_kcq() 699 kiq->pmf->kiq_set_resources(kiq_ring, queue_mask); in amdgpu_gfx_enable_kcq() 702 kiq->pmf->kiq_map_queues(kiq_ring, in amdgpu_gfx_enable_kcq() 720 if (!kiq->pmf || !kiq->pmf->kiq_map_queues) in amdgpu_gfx_enable_kgq() [all …]
|
| A D | amdgpu_gmc.c | 713 ndw = kiq->pmf->invalidate_tlbs_size + 8; in amdgpu_gmc_flush_gpu_tlb_pasid() 716 ndw += kiq->pmf->invalidate_tlbs_size; in amdgpu_gmc_flush_gpu_tlb_pasid() 719 ndw += kiq->pmf->invalidate_tlbs_size; in amdgpu_gmc_flush_gpu_tlb_pasid() 728 kiq->pmf->kiq_invalidate_tlbs(ring, pasid, 2, all_hub); in amdgpu_gmc_flush_gpu_tlb_pasid() 731 kiq->pmf->kiq_invalidate_tlbs(ring, pasid, 0, all_hub); in amdgpu_gmc_flush_gpu_tlb_pasid() 733 kiq->pmf->kiq_invalidate_tlbs(ring, pasid, flush_type, all_hub); in amdgpu_gmc_flush_gpu_tlb_pasid()
|
| A D | amdgpu_amdkfd.c | 834 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in amdgpu_amdkfd_unmap_hiq() 853 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) { in amdgpu_amdkfd_unmap_hiq() 859 kiq->pmf->kiq_unmap_queues(kiq_ring, ring, RESET_QUEUES, 0, 0); in amdgpu_amdkfd_unmap_hiq()
|
| A D | mes_v12_0.c | 1176 if (!kiq->pmf || !kiq->pmf->kiq_map_queues) in mes_v12_0_kiq_enable_queue() 1179 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size); in mes_v12_0_kiq_enable_queue() 1185 kiq->pmf->kiq_map_queues(kiq_ring, &adev->mes.ring[0]); in mes_v12_0_kiq_enable_queue()
|
| A D | mes_v11_0.c | 1203 if (!kiq->pmf || !kiq->pmf->kiq_map_queues) in mes_v11_0_kiq_enable_queue() 1206 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size); in mes_v11_0_kiq_enable_queue() 1212 kiq->pmf->kiq_map_queues(kiq_ring, &adev->mes.ring[0]); in mes_v11_0_kiq_enable_queue()
|
| A D | gfx_v9_0.c | 1066 adev->gfx.kiq[0].pmf = &gfx_v9_0_kiq_pm4_funcs; in gfx_v9_0_set_kiq_pm4_funcs() 5703 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in gfx_v9_0_ring_preempt_ib() 5708 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) { in gfx_v9_0_ring_preempt_ib() 5722 kiq->pmf->kiq_unmap_queues(kiq_ring, ring, PREEMPT_QUEUES_NO_UNMAP, in gfx_v9_0_ring_preempt_ib() 7198 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in gfx_v9_0_reset_kgq() 7247 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in gfx_v9_0_reset_kcq() 7252 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) { in gfx_v9_0_reset_kcq() 7257 kiq->pmf->kiq_unmap_queues(kiq_ring, ring, RESET_QUEUES, in gfx_v9_0_reset_kcq() 7303 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size); in gfx_v9_0_reset_kcq() 7308 kiq->pmf->kiq_map_queues(kiq_ring, ring); in gfx_v9_0_reset_kcq()
|
| A D | amdgpu_gfx.h | 160 const struct kiq_pm4_funcs *pmf; member
|
| A D | gfx_v9_4_3.c | 339 adev->gfx.kiq[i].pmf = &gfx_v9_4_3_kiq_pm4_funcs; in gfx_v9_4_3_set_kiq_pm4_funcs() 3583 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in gfx_v9_4_3_reset_kcq() 3588 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) { in gfx_v9_4_3_reset_kcq() 3593 kiq->pmf->kiq_unmap_queues(kiq_ring, ring, RESET_QUEUES, in gfx_v9_4_3_reset_kcq() 3636 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size); in gfx_v9_4_3_reset_kcq() 3641 kiq->pmf->kiq_map_queues(kiq_ring, ring); in gfx_v9_4_3_reset_kcq()
|
| A D | gfx_v10_0.c | 3801 adev->gfx.kiq[0].pmf = &gfx_v10_0_kiq_pm4_funcs; in gfx_v10_0_set_kiq_pm4_funcs() 8764 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in gfx_v10_0_ring_preempt_ib() 8769 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) { in gfx_v10_0_ring_preempt_ib() 8778 kiq->pmf->kiq_unmap_queues(kiq_ring, ring, PREEMPT_QUEUES_NO_UNMAP, in gfx_v10_0_ring_preempt_ib() 9434 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in gfx_v10_0_reset_kgq() 9459 kiq->pmf->kiq_map_queues(kiq_ring, ring); in gfx_v10_0_reset_kgq() 9500 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in gfx_v10_0_reset_kcq() 9505 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) { in gfx_v10_0_reset_kcq() 9510 kiq->pmf->kiq_unmap_queues(kiq_ring, ring, RESET_QUEUES, in gfx_v10_0_reset_kcq() 9556 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size)) { in gfx_v10_0_reset_kcq() [all …]
|
| /linux/sound/aoa/core/ |
| A D | Makefile | 5 gpio-pmf.o \
|
| /linux/drivers/platform/x86/amd/ |
| A D | Makefile | 10 obj-$(CONFIG_AMD_PMF) += pmf/
|
| A D | Kconfig | 6 source "drivers/platform/x86/amd/pmf/Kconfig"
|
| /linux/drivers/media/platform/samsung/exynos4-is/ |
| A D | media-dev.c | 511 if (!fmd->pmf) in fimc_md_register_sensor_entities() 514 ret = pm_runtime_resume_and_get(fmd->pmf); in fimc_md_register_sensor_entities() 554 pm_runtime_put(fmd->pmf); in fimc_md_register_sensor_entities() 560 pm_runtime_put(fmd->pmf); in fimc_md_register_sensor_entities() 628 if (!fmd->pmf && fimc->pdev) in register_fimc_entity() 629 fmd->pmf = &fimc->pdev->dev; in register_fimc_entity() 1286 if (camclk->fmd->pmf == NULL) in cam_clk_prepare() 1289 return pm_runtime_resume_and_get(camclk->fmd->pmf); in cam_clk_prepare() 1296 if (camclk->fmd->pmf == NULL) in cam_clk_unprepare() 1299 pm_runtime_put_sync(camclk->fmd->pmf); in cam_clk_unprepare()
|
| A D | media-dev.h | 128 struct device *pmf; member
|
| /linux/drivers/net/fddi/skfp/ |
| A D | Makefile | 9 ecm.o pcmplc.o pmf.o queue.o rmt.o \
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| A D | bnx2x_stats.c | 226 if (!bp->port.pmf || !bp->port.port_stx) { in bnx2x_stats_pmf_update() 275 if (!bp->link_vars.link_up || !bp->port.pmf) { in bnx2x_port_stats_init() 519 if (bp->port.pmf) in bnx2x_stats_start() 1100 if (bp->port.pmf) { in bnx2x_storm_stats_update() 1228 if (bp->port.pmf) in bnx2x_stats_update() 1328 if (bp->port.pmf) in bnx2x_stats_stop() 1336 if (bp->port.pmf) in bnx2x_stats_stop() 1407 if (!bp->port.pmf || !bp->port.port_stx) { in bnx2x_port_stats_base_init() 1590 if (bp->port.pmf && bp->port.port_stx) in bnx2x_memset_stats() 1624 if (!bp->stats_init && bp->port.pmf && bp->port.port_stx) in bnx2x_stats_init() [all …]
|
| A D | bnx2x_cmn.c | 2077 return bnx2x_config_rss_eth(bp, bp->port.pmf || !CHIP_IS_E1x(bp)); in bnx2x_init_rss() 2435 bp->port.pmf = 1; in bnx2x_nic_load_pmf() 2442 bp->port.pmf = 0; in bnx2x_nic_load_pmf() 2445 DP(NETIF_MSG_LINK, "pmf %d\n", bp->port.pmf); in bnx2x_nic_load_pmf() 2849 if (bp->port.pmf) { in bnx2x_nic_load() 2892 if (bp->port.pmf) in bnx2x_nic_load() 2929 if (bp->port.pmf && (bp->state != BNX2X_STATE_DIAG)) in bnx2x_nic_load() 2961 bp->port.pmf = 0; in bnx2x_nic_load() 3127 bp->port.pmf = 0; in bnx2x_nic_unload()
|
| A D | bnx2x_main.c | 1618 if (bp->port.pmf) in bnx2x_hc_int_enable() 1679 if (bp->port.pmf) in bnx2x_igu_int_enable() 2588 if (bp->port.pmf) in bnx2x_cmng_fns_init() 2985 bp->port.pmf = 1; in bnx2x_pmf_update() 2986 DP(BNX2X_MSG_MCP, "pmf %d\n", bp->port.pmf); in bnx2x_pmf_update() 3340 if (bp->port.pmf) in bnx2x_pf_init() 4308 if ((bp->port.pmf == 0) && (val & DRV_STATUS_PMF)) in bnx2x_attn_int_deasserted3() 4311 if (bp->port.pmf && in bnx2x_attn_int_deasserted3() 9231 if (!bp->port.pmf) in bnx2x_func_wait_started() 10384 if (bp->port.pmf) { in bnx2x_period_task() [all …]
|