Searched refs:pmf (Results 1 - 25 of 34) sorted by relevance

12

/linux-master/drivers/platform/x86/amd/pmf/
H A DMakefile3 # Makefile for linux/drivers/platform/x86/amd/pmf
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
H A Dsps.c11 #include "pmf.h"
264 int amd_pmf_set_sps_power_limits(struct amd_pmf_dev *pmf) argument
268 mode = amd_pmf_get_pprof_modes(pmf);
272 if (pmf->pmf_if_version == PMF_IF_V2)
273 return amd_pmf_update_sps_power_limits_v2(pmf, mode);
275 amd_pmf_update_slider(pmf, SLIDER_OP_SET, mode, NULL);
280 bool is_pprof_balanced(struct amd_pmf_dev *pmf) argument
282 return (pmf->current_profile == PLATFORM_PROFILE_BALANCED) ? true : false;
288 struct amd_pmf_dev *pmf = container_of(pprof, struct amd_pmf_dev, pprof); local
290 *profile = pmf
294 amd_pmf_get_pprof_modes(struct amd_pmf_dev *pmf) argument
369 struct amd_pmf_dev *pmf = container_of(pprof, struct amd_pmf_dev, pprof); local
[all...]
H A Dcore.c18 #include "pmf.h"
63 struct amd_pmf_dev *pmf = container_of(nb, struct amd_pmf_dev, pwr_src_notifier); local
68 if (is_apmf_func_supported(pmf, APMF_FUNC_AUTO_MODE) ||
69 is_apmf_func_supported(pmf, APMF_FUNC_DYN_SLIDER_DC) ||
70 is_apmf_func_supported(pmf, APMF_FUNC_DYN_SLIDER_AC)) {
71 if ((pmf->amt_enabled || pmf->cnqf_enabled) && is_pprof_balanced(pmf))
75 if (is_apmf_func_supported(pmf, APMF_FUNC_STATIC_SLIDER_GRANULAR))
76 amd_pmf_set_sps_power_limits(pmf);
[all...]
H A Dpmf.h674 int amd_pmf_get_pprof_modes(struct amd_pmf_dev *pmf);
681 bool is_pprof_balanced(struct amd_pmf_dev *pmf);
688 int amd_pmf_set_sps_power_limits(struct amd_pmf_dev *pmf);
H A Dspc.c13 #include <linux/amd-pmf-io.h>
16 #include "pmf.h"
/linux-master/sound/aoa/core/
H A DMakefile5 gpio-pmf.o \
/linux-master/drivers/platform/x86/amd/
H A DMakefile10 obj-$(CONFIG_AMD_PMF) += pmf/
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_packet_manager.c72 map_queue_size = pm->pmf->map_queues_size;
74 *rlib_size = process_count * pm->pmf->map_process_size +
82 *rlib_size += pm->pmf->runlist_size;
158 retval = pm->pmf->map_process(pm, &rl_buffer[rl_wptr], qpd);
163 inc_wptr(&rl_wptr, pm->pmf->map_process_size,
173 retval = pm->pmf->map_queues(pm,
181 pm->pmf->map_queues_size,
192 retval = pm->pmf->map_queues(pm,
201 pm->pmf->map_queues_size,
211 retval = pm->pmf
[all...]
H A Dkfd_priv.h1368 const struct packet_manager_funcs *pmf; member in struct:packet_manager
H A Dkfd_device_queue_manager.c499 const struct packet_manager_funcs *pmf = qpd->dqm->packet_mgr.pmf; local
505 ret = pmf->release_mem(qpd->ib_base, (uint32_t *)qpd->ib_kaddr);
511 pmf->release_mem_size / sizeof(uint32_t));
/linux-master/drivers/net/fddi/skfp/
H A DMakefile9 ecm.o pcmplc.o pmf.o queue.o rmt.o \
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gfx.c514 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues)
518 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size *
526 kiq->pmf->kiq_unmap_queues(kiq_ring,
562 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues)
567 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size *
575 kiq->pmf->kiq_unmap_queues(kiq_ring,
608 if (!kiq->pmf || !kiq->pmf
[all...]
H A Damdgpu_amdkfd.c826 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues)
845 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) {
851 kiq->pmf->kiq_unmap_queues(kiq_ring, ring, RESET_QUEUES, 0, 0);
H A Damdgpu_gmc.c710 ndw = kiq->pmf->invalidate_tlbs_size + 8;
713 ndw += kiq->pmf->invalidate_tlbs_size;
716 ndw += kiq->pmf->invalidate_tlbs_size;
721 kiq->pmf->kiq_invalidate_tlbs(ring, pasid, 2, all_hub);
724 kiq->pmf->kiq_invalidate_tlbs(ring, pasid, 0, all_hub);
726 kiq->pmf->kiq_invalidate_tlbs(ring, pasid, flush_type, all_hub);
H A Dmes_v10_1.c807 if (!kiq->pmf || !kiq->pmf->kiq_map_queues)
810 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size);
816 kiq->pmf->kiq_map_queues(kiq_ring, &adev->mes.ring);
H A Dmes_v11_0.c845 if (!kiq->pmf || !kiq->pmf->kiq_map_queues)
848 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size);
854 kiq->pmf->kiq_map_queues(kiq_ring, &adev->mes.ring);
H A Damdgpu_gfx.h155 const struct kiq_pm4_funcs *pmf; member in struct:amdgpu_kiq
H A Dgfx_v9_0.c893 adev->gfx.kiq[0].pmf = &gfx_v9_0_kiq_pm4_funcs;
5467 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues)
5472 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) {
5486 kiq->pmf->kiq_unmap_queues(kiq_ring, ring, PREEMPT_QUEUES_NO_UNMAP,
/linux-master/drivers/media/platform/samsung/exynos4-is/
H A Dmedia-dev.c511 if (!fmd->pmf)
514 ret = pm_runtime_resume_and_get(fmd->pmf);
554 pm_runtime_put(fmd->pmf);
560 pm_runtime_put(fmd->pmf);
628 if (!fmd->pmf && fimc->pdev)
629 fmd->pmf = &fimc->pdev->dev;
1286 if (camclk->fmd->pmf == NULL)
1289 return pm_runtime_resume_and_get(camclk->fmd->pmf);
1296 if (camclk->fmd->pmf == NULL)
1299 pm_runtime_put_sync(camclk->fmd->pmf);
[all...]
H A Dmedia-dev.h107 * @pmf: handle to the CAMCLK clock control FIMC helper device
128 struct device *pmf; member in struct:fimc_md
/linux-master/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_interface.c10 #include <linux/amd-pmf-io.h>
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_stats.c228 if (!bp->port.pmf || !bp->port.port_stx) {
277 if (!bp->link_vars.link_up || !bp->port.pmf) {
521 if (bp->port.pmf)
1102 if (bp->port.pmf) {
1230 if (bp->port.pmf)
1330 if (bp->port.pmf)
1338 if (bp->port.pmf)
1409 if (!bp->port.pmf || !bp->port.port_stx) {
1592 if (bp->port.pmf && bp->port.port_stx)
1625 /* pmf shoul
[all...]
H A Dbnx2x_cmn.c2077 return bnx2x_config_rss_eth(bp, bp->port.pmf || !CHIP_IS_E1x(bp));
2435 bp->port.pmf = 1;
2437 * writing to bp->port.pmf here and reading it from the
2442 bp->port.pmf = 0;
2445 DP(NETIF_MSG_LINK, "pmf %d\n", bp->port.pmf);
2742 /* mark pmf if applicable */
2849 if (bp->port.pmf) {
2892 if (bp->port.pmf)
2929 if (bp->port.pmf
[all...]
H A Dbnx2x_dcb.c1028 if ((!bp->port.pmf) && (!(bp->flags & BC_SUPPORTS_DCBX_MSG_NON_PMF)))
1039 DP(BNX2X_MSG_DCB, "dcb_state %d bp->port.pmf %d\n",
1040 bp->dcb_state, bp->port.pmf);
H A Dbnx2x_main.c1618 if (bp->port.pmf)
1679 if (bp->port.pmf)
2588 if (bp->port.pmf)
2985 bp->port.pmf = 1;
2986 DP(BNX2X_MSG_MCP, "pmf %d\n", bp->port.pmf);
2990 * bp->port.pmf here and reading it from the bnx2x_periodic_task().
3340 if (bp->port.pmf)
3543 /* called due to MCP event (on pmf):
4183 if ((attn & bp->link_vars.aeu_int_mask) && bp->port.pmf) {
[all...]

Completed in 267 milliseconds

12