Home
last modified time | relevance | path

Searched refs:count0 (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_nbio.c56 void amdgpu_nbio_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, in amdgpu_nbio_get_pcie_usage() argument
60 adev->nbio.funcs->get_pcie_usage(adev, count0, count1); in amdgpu_nbio_get_pcie_usage()
H A Damdgpu_nbio.h103 void (*get_pcie_usage)(struct amdgpu_device *adev, uint64_t *count0,
117 void amdgpu_nbio_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, uint64_t *count1);
H A Dnbio_v7_9.c482 static void nbio_v7_9_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, in nbio_v7_9_get_pcie_usage() argument
529 *count0 = RREG32_PCIE(smnPCIE_PERF_COUNT0_TXCLK3) | in nbio_v7_9_get_pcie_usage()
H A Dsoc15.c727 static void soc15_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, in soc15_get_pcie_usage() argument
770 *count0 = RREG32_PCIE(smnPCIE_PERF_COUNT0_TXCLK) | (cnt0_of << 32); in soc15_get_pcie_usage()
774 static void vega20_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, in vega20_get_pcie_usage() argument
819 *count0 = RREG32_PCIE(smnPCIE_PERF_COUNT0_TXCLK3) | (cnt0_of << 32); in vega20_get_pcie_usage()
H A Dcik.c1900 static void cik_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, in cik_get_pcie_usage() argument
1942 *count0 = RREG32_PCIE(ixPCIE_PERF_COUNT0_TXCLK) | (cnt0_of << 32); in cik_get_pcie_usage()
H A Dvi.c1354 static void vi_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, in vi_get_pcie_usage() argument
1396 *count0 = RREG32_PCIE(ixPCIE_PERF_COUNT0_TXCLK) | (cnt0_of << 32); in vi_get_pcie_usage()
H A Dsi.c1580 static void si_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, in si_get_pcie_usage() argument
1622 *count0 = RREG32_PCIE(ixPCIE_PERF_COUNT0_TXCLK) | (cnt0_of << 32); in si_get_pcie_usage()
H A Damdgpu.h569 void (*get_pcie_usage)(struct amdgpu_device *adev, uint64_t *count0,
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dpmagb-b-fb.c190 u32 count0 = 8, count1 = 8, counttc = 16 * 256 + 8; in pmagbbfb_osc_setup() local
204 count0 += sfb_read(par, SFB_REG_VIDCLK_COUNT); in pmagbbfb_osc_setup()
220 freq0 = (freqtc * count0 + counttc / 2) / counttc; in pmagbbfb_osc_setup()
226 freq1 = (par->osc0 * count1 + count0 / 2) / count0; in pmagbbfb_osc_setup()
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dpmagb-b-fb.c188 u32 count0 = 8, count1 = 8, counttc = 16 * 256 + 8; in pmagbbfb_osc_setup() local
202 count0 += sfb_read(par, SFB_REG_VIDCLK_COUNT); in pmagbbfb_osc_setup()
218 freq0 = (freqtc * count0 + counttc / 2) / counttc; in pmagbbfb_osc_setup()
224 freq1 = (par->osc0 * count1 + count0 / 2) / count0; in pmagbbfb_osc_setup()
/kernel/linux/linux-5.10/drivers/crypto/nx/
H A Dnx-sha512.c186 u64 count0; in nx_sha512_final() local
214 count0 = sctx->count[0] * 8; in nx_sha512_final()
216 csbcpb->cpb.sha512.message_bit_length_lo = count0; in nx_sha512_final()
/kernel/linux/linux-6.6/drivers/crypto/nx/
H A Dnx-sha512.c191 u64 count0; in nx_sha512_final() local
219 count0 = sctx->count[0] * 8; in nx_sha512_final()
221 csbcpb->cpb.sha512.message_bit_length_lo = count0; in nx_sha512_final()
/kernel/linux/linux-5.10/arch/ia64/mm/
H A Dtlb.c290 unsigned long i, j, flags, count0, count1, stride0, stride1, addr; in local_flush_tlb_all() local
293 count0 = local_cpu_data->ptce_count[0]; in local_flush_tlb_all()
299 for (i = 0; i < count0; ++i) { in local_flush_tlb_all()
/kernel/linux/linux-6.6/arch/ia64/mm/
H A Dtlb.c290 unsigned long i, j, flags, count0, count1, stride0, stride1, addr; in local_flush_tlb_all() local
293 count0 = local_cpu_data->ptce_count[0]; in local_flush_tlb_all()
299 for (i = 0; i < count0; ++i) { in local_flush_tlb_all()
/kernel/linux/linux-6.6/drivers/memory/tegra/
H A Dtegra20.c451 u32 clocks, count0, count1, control_0, control_1; in tegra20_mc_stat_gather() local
470 count0 = mc_readl(mc, MC_STAT_EMC_COUNT_0); in tegra20_mc_stat_gather()
475 stat->gather0.result = DIV_ROUND_UP(count0, clocks); in tegra20_mc_stat_gather()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Dsoc15.c869 static void soc15_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, in soc15_get_pcie_usage() argument
912 *count0 = RREG32_PCIE(smnPCIE_PERF_COUNT0_TXCLK) | (cnt0_of << 32); in soc15_get_pcie_usage()
916 static void vega20_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, in vega20_get_pcie_usage() argument
961 *count0 = RREG32_PCIE(smnPCIE_PERF_COUNT0_TXCLK3) | (cnt0_of << 32); in vega20_get_pcie_usage()
H A Dvi.c1003 static void vi_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, in vi_get_pcie_usage() argument
1045 *count0 = RREG32_PCIE(ixPCIE_PERF_COUNT0_TXCLK) | (cnt0_of << 32); in vi_get_pcie_usage()
H A Dcik.c1835 static void cik_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, in cik_get_pcie_usage() argument
1877 *count0 = RREG32_PCIE(ixPCIE_PERF_COUNT0_TXCLK) | (cnt0_of << 32); in cik_get_pcie_usage()
H A Dsi.c1464 static void si_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, in si_get_pcie_usage() argument
1506 *count0 = RREG32_PCIE(ixPCIE_PERF_COUNT0_TXCLK) | (cnt0_of << 32); in si_get_pcie_usage()
H A Damdgpu.h617 void (*get_pcie_usage)(struct amdgpu_device *adev, uint64_t *count0,
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dirq_64.c900 u64 count0; member
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dirq_64.c903 u64 count0; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c1846 uint64_t count0 = 0, count1 = 0; in amdgpu_get_pcie_bw() local
1864 amdgpu_asic_get_pcie_usage(adev, &count0, &count1); in amdgpu_get_pcie_bw()
1870 count0, count1, pcie_get_mps(adev->pdev)); in amdgpu_get_pcie_bw()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c1566 uint64_t count0 = 0, count1 = 0; in amdgpu_get_pcie_bw() local
1586 amdgpu_asic_get_pcie_usage(adev, &count0, &count1); in amdgpu_get_pcie_bw()
1592 count0, count1, pcie_get_mps(adev->pdev)); in amdgpu_get_pcie_bw()

Completed in 61 milliseconds