/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_packet_manager.c | 72 map_queue_size = pm->pmf->map_queues_size; in pm_calc_rlib_size() 74 *rlib_size = process_count * pm->pmf->map_process_size + in pm_calc_rlib_size() 82 *rlib_size += pm->pmf->runlist_size; in pm_calc_rlib_size() 158 retval = pm->pmf->map_process(pm, &rl_buffer[rl_wptr], qpd); in pm_create_runlist_ib() 163 inc_wptr(&rl_wptr, pm->pmf->map_process_size, in pm_create_runlist_ib() 173 retval = pm->pmf->map_queues(pm, in pm_create_runlist_ib() 181 pm->pmf->map_queues_size, in pm_create_runlist_ib() 192 retval = pm->pmf->map_queues(pm, in pm_create_runlist_ib() 201 pm->pmf->map_queues_size, in pm_create_runlist_ib() 211 retval = pm->pmf->runlist(pm, &rl_buffer[rl_wptr], in pm_create_runlist_ib() [all …]
|
D | kfd_device_queue_manager.c | 495 const struct packet_manager_funcs *pmf = qpd->dqm->packet_mgr.pmf; in flush_texture_cache_nocpsch() local 501 ret = pmf->release_mem(qpd->ib_base, (uint32_t *)qpd->ib_kaddr); in flush_texture_cache_nocpsch() 507 pmf->release_mem_size / sizeof(uint32_t)); in flush_texture_cache_nocpsch()
|
D | kfd_priv.h | 1368 const struct packet_manager_funcs *pmf; member
|
/linux-6.6.21/drivers/platform/x86/amd/pmf/ |
D | sps.c | 128 int amd_pmf_set_sps_power_limits(struct amd_pmf_dev *pmf) in amd_pmf_set_sps_power_limits() argument 132 mode = amd_pmf_get_pprof_modes(pmf); in amd_pmf_set_sps_power_limits() 136 amd_pmf_update_slider(pmf, SLIDER_OP_SET, mode, NULL); in amd_pmf_set_sps_power_limits() 141 bool is_pprof_balanced(struct amd_pmf_dev *pmf) in is_pprof_balanced() argument 143 return (pmf->current_profile == PLATFORM_PROFILE_BALANCED) ? true : false; in is_pprof_balanced() 149 struct amd_pmf_dev *pmf = container_of(pprof, struct amd_pmf_dev, pprof); in amd_pmf_profile_get() local 151 *profile = pmf->current_profile; in amd_pmf_profile_get() 155 int amd_pmf_get_pprof_modes(struct amd_pmf_dev *pmf) in amd_pmf_get_pprof_modes() argument 159 switch (pmf->current_profile) { in amd_pmf_get_pprof_modes() 170 dev_err(pmf->dev, "Unknown Platform Profile.\n"); in amd_pmf_get_pprof_modes() [all …]
|
D | core.c | 63 struct amd_pmf_dev *pmf = container_of(nb, struct amd_pmf_dev, pwr_src_notifier); in amd_pmf_pwr_src_notify_call() local 68 if (is_apmf_func_supported(pmf, APMF_FUNC_AUTO_MODE) || in amd_pmf_pwr_src_notify_call() 69 is_apmf_func_supported(pmf, APMF_FUNC_DYN_SLIDER_DC) || in amd_pmf_pwr_src_notify_call() 70 is_apmf_func_supported(pmf, APMF_FUNC_DYN_SLIDER_AC)) { in amd_pmf_pwr_src_notify_call() 71 if ((pmf->amt_enabled || pmf->cnqf_enabled) && is_pprof_balanced(pmf)) in amd_pmf_pwr_src_notify_call() 75 if (is_apmf_func_supported(pmf, APMF_FUNC_STATIC_SLIDER_GRANULAR)) in amd_pmf_pwr_src_notify_call() 76 amd_pmf_set_sps_power_limits(pmf); in amd_pmf_pwr_src_notify_call() 78 if (is_apmf_func_supported(pmf, APMF_FUNC_OS_POWER_SLIDER_UPDATE)) in amd_pmf_pwr_src_notify_call() 79 amd_pmf_power_slider_update_event(pmf); in amd_pmf_pwr_src_notify_call()
|
D | Makefile | 7 obj-$(CONFIG_AMD_PMF) += amd-pmf.o 8 amd-pmf-objs := core.o acpi.o sps.o \
|
D | pmf.h | 403 int amd_pmf_get_pprof_modes(struct amd_pmf_dev *pmf); 410 bool is_pprof_balanced(struct amd_pmf_dev *pmf); 415 int amd_pmf_set_sps_power_limits(struct amd_pmf_dev *pmf);
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gfx.c | 509 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in amdgpu_gfx_disable_kcq() 513 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size * in amdgpu_gfx_disable_kcq() 521 kiq->pmf->kiq_unmap_queues(kiq_ring, in amdgpu_gfx_disable_kcq() 540 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in amdgpu_gfx_disable_kgq() 545 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size * in amdgpu_gfx_disable_kgq() 553 kiq->pmf->kiq_unmap_queues(kiq_ring, in amdgpu_gfx_disable_kgq() 586 if (!kiq->pmf || !kiq->pmf->kiq_map_queues || !kiq->pmf->kiq_set_resources) in amdgpu_gfx_enable_kcq() 609 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size * in amdgpu_gfx_enable_kcq() 611 kiq->pmf->set_resources_size); in amdgpu_gfx_enable_kcq() 621 kiq->pmf->kiq_set_resources(kiq_ring, queue_mask); in amdgpu_gfx_enable_kcq() [all …]
|
D | amdgpu_amdkfd.c | 829 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in amdgpu_amdkfd_unmap_hiq() 848 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) { in amdgpu_amdkfd_unmap_hiq() 854 kiq->pmf->kiq_unmap_queues(kiq_ring, ring, RESET_QUEUES, 0, 0); in amdgpu_amdkfd_unmap_hiq()
|
D | mes_v10_1.c | 807 if (!kiq->pmf || !kiq->pmf->kiq_map_queues) in mes_v10_1_kiq_enable_queue() 810 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size); in mes_v10_1_kiq_enable_queue() 816 kiq->pmf->kiq_map_queues(kiq_ring, &adev->mes.ring); in mes_v10_1_kiq_enable_queue()
|
D | mes_v11_0.c | 881 if (!kiq->pmf || !kiq->pmf->kiq_map_queues) in mes_v11_0_kiq_enable_queue() 884 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size); in mes_v11_0_kiq_enable_queue() 890 kiq->pmf->kiq_map_queues(kiq_ring, &adev->mes.ring); in mes_v11_0_kiq_enable_queue()
|
D | gmc_v9_0.c | 972 unsigned int ndw = kiq->pmf->invalidate_tlbs_size + 8; in gmc_v9_0_flush_gpu_tlb_pasid() 975 ndw += kiq->pmf->invalidate_tlbs_size; in gmc_v9_0_flush_gpu_tlb_pasid() 981 kiq->pmf->kiq_invalidate_tlbs(ring, in gmc_v9_0_flush_gpu_tlb_pasid() 987 kiq->pmf->kiq_invalidate_tlbs(ring, in gmc_v9_0_flush_gpu_tlb_pasid() 990 kiq->pmf->kiq_invalidate_tlbs(ring, in gmc_v9_0_flush_gpu_tlb_pasid()
|
D | gmc_v11_0.c | 341 amdgpu_ring_alloc(ring, kiq->pmf->invalidate_tlbs_size + 8); in gmc_v11_0_flush_gpu_tlb_pasid() 342 kiq->pmf->kiq_invalidate_tlbs(ring, in gmc_v11_0_flush_gpu_tlb_pasid()
|
D | gmc_v10_0.c | 431 amdgpu_ring_alloc(ring, kiq->pmf->invalidate_tlbs_size + 8); in gmc_v10_0_flush_gpu_tlb_pasid() 432 kiq->pmf->kiq_invalidate_tlbs(ring, in gmc_v10_0_flush_gpu_tlb_pasid()
|
D | amdgpu_gfx.h | 160 const struct kiq_pm4_funcs *pmf; member
|
/linux-6.6.21/drivers/platform/x86/amd/ |
D | Makefile | 10 obj-$(CONFIG_AMD_PMF) += pmf/
|
D | Kconfig | 6 source "drivers/platform/x86/amd/pmf/Kconfig"
|
/linux-6.6.21/sound/aoa/core/ |
D | Makefile | 5 gpio-pmf.o \
|
/linux-6.6.21/drivers/media/platform/samsung/exynos4-is/ |
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()
|
D | media-dev.h | 128 struct device *pmf; member
|
/linux-6.6.21/drivers/net/fddi/skfp/ |
D | Makefile | 9 ecm.o pcmplc.o pmf.o queue.o rmt.o \
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_stats.c | 228 if (!bp->port.pmf || !bp->port.port_stx) { in bnx2x_stats_pmf_update() 277 if (!bp->link_vars.link_up || !bp->port.pmf) { in bnx2x_port_stats_init() 521 if (bp->port.pmf) in bnx2x_stats_start() 1102 if (bp->port.pmf) { in bnx2x_storm_stats_update() 1230 if (bp->port.pmf) in bnx2x_stats_update() 1330 if (bp->port.pmf) in bnx2x_stats_stop() 1338 if (bp->port.pmf) in bnx2x_stats_stop() 1409 if (!bp->port.pmf || !bp->port.port_stx) { in bnx2x_port_stats_base_init() 1592 if (bp->port.pmf && bp->port.port_stx) in bnx2x_memset_stats() 1626 if (!bp->stats_init && bp->port.pmf && bp->port.port_stx) in bnx2x_stats_init() [all …]
|
D | bnx2x_cmn.c | 2076 return bnx2x_config_rss_eth(bp, bp->port.pmf || !CHIP_IS_E1x(bp)); in bnx2x_init_rss() 2434 bp->port.pmf = 1; in bnx2x_nic_load_pmf() 2441 bp->port.pmf = 0; in bnx2x_nic_load_pmf() 2444 DP(NETIF_MSG_LINK, "pmf %d\n", bp->port.pmf); in bnx2x_nic_load_pmf() 2848 if (bp->port.pmf) { in bnx2x_nic_load() 2891 if (bp->port.pmf) in bnx2x_nic_load() 2928 if (bp->port.pmf && (bp->state != BNX2X_STATE_DIAG)) in bnx2x_nic_load() 2960 bp->port.pmf = 0; in bnx2x_nic_load() 3126 bp->port.pmf = 0; in bnx2x_nic_unload()
|
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() 4183 if ((attn & bp->link_vars.aeu_int_mask) && bp->port.pmf) { in bnx2x_attn_int_deasserted0() 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() [all …]
|
/linux-6.6.21/Documentation/admin-guide/ |
D | dynamic-debug-howto.rst | 276 modprobe foo dyndbg==pmf # override previous settings
|