Home
last modified time | relevance | path

Searched refs:pmf (Results 1 – 25 of 27) sorted by relevance

12

/linux/drivers/platform/x86/amd/pmf/
H A Dsps.c268 int amd_pmf_set_sps_power_limits(struct amd_pmf_dev *pmf) in amd_pmf_set_sps_power_limits() argument
272 mode = amd_pmf_get_pprof_modes(pmf); in amd_pmf_set_sps_power_limits()
276 if (pmf->pmf_if_version == PMF_IF_V2) in amd_pmf_set_sps_power_limits()
277 return amd_pmf_update_sps_power_limits_v2(pmf, mode); in amd_pmf_set_sps_power_limits()
279 amd_pmf_update_slider(pmf, SLIDER_OP_SET, mode, NULL); in amd_pmf_set_sps_power_limits()
284 bool is_pprof_balanced(struct amd_pmf_dev *pmf) in is_pprof_balanced() argument
286 return pmf->current_profile == PLATFORM_PROFILE_BALANCED; in is_pprof_balanced()
292 struct amd_pmf_dev *pmf = dev_get_drvdata(dev); in amd_pmf_profile_get() local
294 *profile = pmf->current_profile; in amd_pmf_profile_get()
298 int amd_pmf_get_pprof_modes(struct amd_pmf_dev *pmf) in amd_pmf_get_pprof_modes() argument
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gfx.c572 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in amdgpu_gfx_disable_kcq()
579 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size * in amdgpu_gfx_disable_kcq()
587 kiq->pmf->kiq_unmap_queues(kiq_ring, in amdgpu_gfx_disable_kcq()
624 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in amdgpu_gfx_disable_kgq()
632 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size * in amdgpu_gfx_disable_kgq()
640 kiq->pmf->kiq_unmap_queues(kiq_ring, in amdgpu_gfx_disable_kgq()
683 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->set_resources_size); in amdgpu_gfx_mes_enable_kcq()
690 kiq->pmf->kiq_set_resources(kiq_ring, queue_mask); in amdgpu_gfx_mes_enable_kcq()
721 if (!kiq->pmf || !kiq->pmf->kiq_map_queues || !kiq->pmf->kiq_set_resources) in amdgpu_gfx_enable_kcq()
745 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size * in amdgpu_gfx_enable_kcq()
[all …]
H A Damdgpu_amdkfd.c854 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in amdgpu_amdkfd_unmap_hiq()
876 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) { in amdgpu_amdkfd_unmap_hiq()
882 kiq->pmf->kiq_unmap_queues(kiq_ring, ring, RESET_QUEUES, 0, 0); in amdgpu_amdkfd_unmap_hiq()
H A Damdgpu_gmc.c814 ndw = kiq->pmf->invalidate_tlbs_size + 8; in amdgpu_gmc_flush_gpu_tlb_pasid()
817 ndw += kiq->pmf->invalidate_tlbs_size; in amdgpu_gmc_flush_gpu_tlb_pasid()
820 ndw += kiq->pmf->invalidate_tlbs_size; in amdgpu_gmc_flush_gpu_tlb_pasid()
829 kiq->pmf->kiq_invalidate_tlbs(ring, pasid, 2, all_hub); in amdgpu_gmc_flush_gpu_tlb_pasid()
832 kiq->pmf->kiq_invalidate_tlbs(ring, pasid, 0, all_hub); in amdgpu_gmc_flush_gpu_tlb_pasid()
834 kiq->pmf->kiq_invalidate_tlbs(ring, pasid, flush_type, all_hub); in amdgpu_gmc_flush_gpu_tlb_pasid()
H A Dmes_v11_0.c1282 if (!kiq->pmf || !kiq->pmf->kiq_map_queues) in mes_v11_0_kiq_enable_queue()
1285 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size); in mes_v11_0_kiq_enable_queue()
1291 kiq->pmf->kiq_map_queues(kiq_ring, &adev->mes.ring[0]); in mes_v11_0_kiq_enable_queue()
H A Dmes_v12_0.c1447 if (!kiq->pmf || !kiq->pmf->kiq_map_queues) in mes_v12_0_kiq_enable_queue()
1450 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size); in mes_v12_0_kiq_enable_queue()
1456 kiq->pmf->kiq_map_queues(kiq_ring, &adev->mes.ring[0]); in mes_v12_0_kiq_enable_queue()
H A Dmes_v12_1.c1355 if (!kiq->pmf || !kiq->pmf->kiq_map_queues) in mes_v12_1_kiq_enable_queue()
1358 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size); in mes_v12_1_kiq_enable_queue()
1364 kiq->pmf->kiq_map_queues(kiq_ring, &adev->mes.ring[inst]); in mes_v12_1_kiq_enable_queue()
H A Dgfx_v9_0.c1093 adev->gfx.kiq[0].pmf = &gfx_v9_0_kiq_pm4_funcs; in gfx_v9_0_set_kiq_pm4_funcs()
5728 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in gfx_v9_0_ring_preempt_ib()
5733 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) { in gfx_v9_0_ring_preempt_ib()
5747 kiq->pmf->kiq_unmap_queues(kiq_ring, ring, PREEMPT_QUEUES_NO_UNMAP, in gfx_v9_0_ring_preempt_ib()
7269 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in gfx_v9_0_reset_kcq()
7276 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) { in gfx_v9_0_reset_kcq()
7281 kiq->pmf->kiq_unmap_queues(kiq_ring, ring, RESET_QUEUES, in gfx_v9_0_reset_kcq()
7316 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size); in gfx_v9_0_reset_kcq()
7321 kiq->pmf->kiq_map_queues(kiq_ring, ring); in gfx_v9_0_reset_kcq()
H A Dgfx_v12_0.c426 adev->gfx.kiq[0].pmf = &gfx_v12_0_kiq_pm4_funcs; in gfx_v12_0_set_kiq_pm4_funcs()
4632 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in gfx_v12_0_ring_preempt_ib()
4637 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) { in gfx_v12_0_ring_preempt_ib()
4646 kiq->pmf->kiq_unmap_queues(kiq_ring, ring, PREEMPT_QUEUES_NO_UNMAP, in gfx_v12_0_ring_preempt_ib()
H A Dgfx_v11_0.c496 adev->gfx.kiq[0].pmf = &gfx_v11_0_kiq_pm4_funcs; in gfx_v11_0_set_kiq_pm4_funcs()
6241 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in gfx_v11_0_ring_preempt_ib()
6246 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) { in gfx_v11_0_ring_preempt_ib()
6255 kiq->pmf->kiq_unmap_queues(kiq_ring, ring, PREEMPT_QUEUES_NO_UNMAP, in gfx_v11_0_ring_preempt_ib()
H A Dgfx_v12_1.c230 adev->gfx.kiq[i].pmf = &gfx_v12_1_kiq_pm4_funcs; in gfx_v12_1_set_kiq_pm4_funcs()
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dmedia-dev.c507 if (!fmd->pmf) in fimc_md_register_sensor_entities()
510 ret = pm_runtime_resume_and_get(fmd->pmf); in fimc_md_register_sensor_entities()
546 pm_runtime_put(fmd->pmf); in fimc_md_register_sensor_entities()
552 pm_runtime_put(fmd->pmf); in fimc_md_register_sensor_entities()
620 if (!fmd->pmf && fimc->pdev) in register_fimc_entity()
621 fmd->pmf = &fimc->pdev->dev; in register_fimc_entity()
1275 if (camclk->fmd->pmf == NULL) in cam_clk_prepare()
1278 return pm_runtime_resume_and_get(camclk->fmd->pmf); in cam_clk_prepare()
1285 if (camclk->fmd->pmf == NULL) in cam_clk_unprepare()
1288 pm_runtime_put_sync(camclk->fmd->pmf); in cam_clk_unprepare()
/linux/sound/aoa/core/
H A DMakefile5 gpio-pmf.o \
/linux/drivers/platform/x86/amd/
H A DMakefile11 obj-$(CONFIG_AMD_PMF) += pmf/
H A DKconfig7 source "drivers/platform/x86/amd/pmf/Kconfig"
/linux/drivers/net/fddi/skfp/
H A DMakefile9 ecm.o pcmplc.o pmf.o queue.o rmt.o \
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_stats.c226 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 …]
H A Dbnx2x_cmn.c2077 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()
H A Dbnx2x_main.c1621 if (bp->port.pmf) in bnx2x_hc_int_enable()
1682 if (bp->port.pmf) in bnx2x_igu_int_enable()
2591 if (bp->port.pmf) in bnx2x_cmng_fns_init()
2988 bp->port.pmf = 1; in bnx2x_pmf_update()
2989 DP(BNX2X_MSG_MCP, "pmf %d\n", bp->port.pmf); in bnx2x_pmf_update()
3343 if (bp->port.pmf) in bnx2x_pf_init()
4186 if ((attn & bp->link_vars.aeu_int_mask) && bp->port.pmf) { in bnx2x_attn_int_deasserted0()
4311 if ((bp->port.pmf == 0) && (val & DRV_STATUS_PMF)) in bnx2x_attn_int_deasserted3()
4314 if (bp->port.pmf && in bnx2x_attn_int_deasserted3()
9233 if (!bp->port.pmf) in bnx2x_func_wait_started()
[all …]
H A Dbnx2x_dcb.c1028 if ((!bp->port.pmf) && (!(bp->flags & BC_SUPPORTS_DCBX_MSG_NON_PMF))) in bnx2x_dcbx_init()
1040 bp->dcb_state, bp->port.pmf); in bnx2x_dcbx_init()
H A Dbnx2x.h1007 u32 pmf; member
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_device_queue_manager.c590 const struct packet_manager_funcs *pmf = qpd->dqm->packet_mgr.pmf; in flush_texture_cache_nocpsch() local
596 ret = pmf->release_mem(qpd->ib_base, (uint32_t *)qpd->ib_kaddr); in flush_texture_cache_nocpsch()
602 pmf->release_mem_size / sizeof(uint32_t)); in flush_texture_cache_nocpsch()
H A Dkfd_priv.h1455 const struct packet_manager_funcs *pmf; member
/linux/Documentation/admin-guide/
H A Ddynamic-debug-howto.rst282 modprobe foo dyndbg==pmf # override previous settings
/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi.c1657 .pmf = WMI_PEER_PMF,
1695 .pmf = WMI_10_2_PEER_PMF,

12