/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_nbio.c | 56 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 D | amdgpu_nbio.h | 103 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 D | nbio_v7_9.c | 482 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 D | soc15.c | 727 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 D | cik.c | 1900 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 D | vi.c | 1354 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 D | si.c | 1580 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 D | amdgpu.h | 569 void (*get_pcie_usage)(struct amdgpu_device *adev, uint64_t *count0,
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | pmagb-b-fb.c | 190 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 D | pmagb-b-fb.c | 188 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 D | nx-sha512.c | 186 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 D | nx-sha512.c | 191 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 D | tlb.c | 290 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 D | tlb.c | 290 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 D | tegra20.c | 451 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 D | soc15.c | 869 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 D | vi.c | 1003 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 D | cik.c | 1835 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 D | si.c | 1464 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 D | amdgpu.h | 617 void (*get_pcie_usage)(struct amdgpu_device *adev, uint64_t *count0,
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | irq_64.c | 900 u64 count0; member
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | irq_64.c | 903 u64 count0; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_pm.c | 1846 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 D | amdgpu_pm.c | 1566 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()
|