Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdkfd/
Dkfd_packet_manager.c71 map_queue_size = pm->pmf->map_queues_size; in pm_calc_rlib_size()
73 *rlib_size = process_count * pm->pmf->map_process_size + in pm_calc_rlib_size()
81 *rlib_size += pm->pmf->runlist_size; in pm_calc_rlib_size()
157 retval = pm->pmf->map_process(pm, &rl_buffer[rl_wptr], qpd); in pm_create_runlist_ib()
162 inc_wptr(&rl_wptr, pm->pmf->map_process_size, in pm_create_runlist_ib()
172 retval = pm->pmf->map_queues(pm, in pm_create_runlist_ib()
180 pm->pmf->map_queues_size, in pm_create_runlist_ib()
191 retval = pm->pmf->map_queues(pm, in pm_create_runlist_ib()
200 pm->pmf->map_queues_size, in pm_create_runlist_ib()
210 retval = pm->pmf->runlist(pm, &rl_buffer[rl_wptr], in pm_create_runlist_ib()
[all …]
Dkfd_device_queue_manager.c277 const struct packet_manager_funcs *pmf = qpd->dqm->packets.pmf; in flush_texture_cache_nocpsch() local
283 ret = pmf->release_mem(qpd->ib_base, (uint32_t *)qpd->ib_kaddr); in flush_texture_cache_nocpsch()
289 pmf->release_mem_size / sizeof(uint32_t)); in flush_texture_cache_nocpsch()
Dkfd_priv.h1027 const struct packet_manager_funcs *pmf; member
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c467 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in amdgpu_gfx_disable_kcq()
470 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size * in amdgpu_gfx_disable_kcq()
475 kiq->pmf->kiq_unmap_queues(kiq_ring, &adev->gfx.compute_ring[i], in amdgpu_gfx_disable_kcq()
501 if (!kiq->pmf || !kiq->pmf->kiq_map_queues || !kiq->pmf->kiq_set_resources) in amdgpu_gfx_enable_kcq()
522 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size * in amdgpu_gfx_enable_kcq()
524 kiq->pmf->set_resources_size); in amdgpu_gfx_enable_kcq()
530 kiq->pmf->kiq_set_resources(kiq_ring, queue_mask); in amdgpu_gfx_enable_kcq()
532 kiq->pmf->kiq_map_queues(kiq_ring, &adev->gfx.compute_ring[i]); in amdgpu_gfx_enable_kcq()
Dmes_v10_1.c793 if (!kiq->pmf || !kiq->pmf->kiq_map_queues)
796 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size);
802 kiq->pmf->kiq_map_queues(kiq_ring, &adev->mes.ring);
Dgmc_v9_0.c859 unsigned int ndw = kiq->pmf->invalidate_tlbs_size + 8; in gmc_v9_0_flush_gpu_tlb_pasid()
862 ndw += kiq->pmf->invalidate_tlbs_size; in gmc_v9_0_flush_gpu_tlb_pasid()
868 kiq->pmf->kiq_invalidate_tlbs(ring, in gmc_v9_0_flush_gpu_tlb_pasid()
870 kiq->pmf->kiq_invalidate_tlbs(ring, in gmc_v9_0_flush_gpu_tlb_pasid()
Dgmc_v10_0.c381 amdgpu_ring_alloc(ring, kiq->pmf->invalidate_tlbs_size + 8); in gmc_v10_0_flush_gpu_tlb_pasid()
382 kiq->pmf->kiq_invalidate_tlbs(ring, in gmc_v10_0_flush_gpu_tlb_pasid()
Damdgpu_gfx.h105 const struct kiq_pm4_funcs *pmf; member
Dgfx_v10_0.c3335 adev->gfx.kiq.pmf = &gfx_v10_0_kiq_pm4_funcs; in gfx_v10_0_set_kiq_pm4_funcs()
6306 if (!kiq->pmf || !kiq->pmf->kiq_map_queues) in gfx_v10_0_kiq_enable_kgq()
6309 r = amdgpu_ring_alloc(kiq_ring, kiq->pmf->map_queues_size * in gfx_v10_0_kiq_enable_kgq()
6317 kiq->pmf->kiq_map_queues(kiq_ring, &adev->gfx.gfx_ring[i]); in gfx_v10_0_kiq_enable_kgq()
7030 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in gfx_v10_0_kiq_disable_kgq()
7033 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size * in gfx_v10_0_kiq_disable_kgq()
7038 kiq->pmf->kiq_unmap_queues(kiq_ring, &adev->gfx.gfx_ring[i], in gfx_v10_0_kiq_disable_kgq()
8019 if (!kiq->pmf || !kiq->pmf->kiq_unmap_queues) in gfx_v10_0_ring_preempt_ib()
8024 if (amdgpu_ring_alloc(kiq_ring, kiq->pmf->unmap_queues_size)) { in gfx_v10_0_ring_preempt_ib()
8033 kiq->pmf->kiq_unmap_queues(kiq_ring, ring, PREEMPT_QUEUES_NO_UNMAP, in gfx_v10_0_ring_preempt_ib()
Dgfx_v9_0.c937 adev->gfx.kiq.pmf = &gfx_v9_0_kiq_pm4_funcs; in gfx_v9_0_set_kiq_pm4_funcs()
/drivers/media/platform/exynos4-is/
Dmedia-dev.c509 if (!fmd->pmf) in fimc_md_register_sensor_entities()
512 ret = pm_runtime_resume_and_get(fmd->pmf); in fimc_md_register_sensor_entities()
552 pm_runtime_put(fmd->pmf); in fimc_md_register_sensor_entities()
558 pm_runtime_put(fmd->pmf); in fimc_md_register_sensor_entities()
626 if (!fmd->pmf && fimc->pdev) in register_fimc_entity()
627 fmd->pmf = &fimc->pdev->dev; in register_fimc_entity()
1285 if (camclk->fmd->pmf == NULL) in cam_clk_prepare()
1288 return pm_runtime_resume_and_get(camclk->fmd->pmf); in cam_clk_prepare()
1295 if (camclk->fmd->pmf == NULL) in cam_clk_unprepare()
1298 pm_runtime_put_sync(camclk->fmd->pmf); in cam_clk_unprepare()
Dmedia-dev.h124 struct device *pmf; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_stats.c228 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()
1101 if (bp->port.pmf) { in bnx2x_storm_stats_update()
1229 if (bp->port.pmf) in bnx2x_stats_update()
1329 if (bp->port.pmf) in bnx2x_stats_stop()
1337 if (bp->port.pmf) in bnx2x_stats_stop()
1408 if (!bp->port.pmf || !bp->port.port_stx) { in bnx2x_port_stats_base_init()
1591 if (bp->port.pmf && bp->port.port_stx) in bnx2x_memset_stats()
1625 if (!bp->stats_init && bp->port.pmf && bp->port.port_stx) in bnx2x_stats_init()
[all …]
Dbnx2x_cmn.c2065 return bnx2x_config_rss_eth(bp, bp->port.pmf || !CHIP_IS_E1x(bp)); in bnx2x_init_rss()
2423 bp->port.pmf = 1; in bnx2x_nic_load_pmf()
2430 bp->port.pmf = 0; in bnx2x_nic_load_pmf()
2433 DP(NETIF_MSG_LINK, "pmf %d\n", bp->port.pmf); in bnx2x_nic_load_pmf()
2836 if (bp->port.pmf) { in bnx2x_nic_load()
2879 if (bp->port.pmf) in bnx2x_nic_load()
2916 if (bp->port.pmf && (bp->state != BNX2X_STATE_DIAG)) in bnx2x_nic_load()
2948 bp->port.pmf = 0; in bnx2x_nic_load()
3110 bp->port.pmf = 0; in bnx2x_nic_unload()
Dbnx2x_main.c1620 if (bp->port.pmf) in bnx2x_hc_int_enable()
1681 if (bp->port.pmf) in bnx2x_igu_int_enable()
2590 if (bp->port.pmf) in bnx2x_cmng_fns_init()
2987 bp->port.pmf = 1; in bnx2x_pmf_update()
2988 DP(BNX2X_MSG_MCP, "pmf %d\n", bp->port.pmf); in bnx2x_pmf_update()
3342 if (bp->port.pmf) in bnx2x_pf_init()
4185 if ((attn & bp->link_vars.aeu_int_mask) && bp->port.pmf) { in bnx2x_attn_int_deasserted0()
4310 if ((bp->port.pmf == 0) && (val & DRV_STATUS_PMF)) in bnx2x_attn_int_deasserted3()
4313 if (bp->port.pmf && in bnx2x_attn_int_deasserted3()
9233 if (!bp->port.pmf) in bnx2x_func_wait_started()
[all …]
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()
Dbnx2x_ethtool.c1205 if (!bp->port.pmf) in bnx2x_nway_reset()
1818 !bp->port.pmf) { in bnx2x_set_eeprom()
Dbnx2x.h1007 u32 pmf; member
/drivers/net/fddi/skfp/
DMakefile9 ecm.o pcmplc.o pmf.o queue.o rmt.o \
/drivers/net/wireless/ath/ath10k/
Dwmi.h6408 u32 pmf; member
Dwmi.c1656 .pmf = WMI_PEER_PMF,
1694 .pmf = WMI_10_2_PEER_PMF,
Dwmi-tlv.c4614 .pmf = WMI_TLV_PEER_PMF,
Dmac.c2223 arg->peer_flags |= ar->wmi.peer_flags->pmf; in ath10k_peer_assoc_h_crypto()