Home
last modified time | relevance | path

Searched refs:count0 (Results 1 – 17 of 17) sorted by relevance

/openbmc/u-boot/drivers/usb/musb/
H A Dmusb_udc.c361 u16 count0; in musb_peri_ep0_idle() local
395 count0 = readw(&musbr->ep[0].ep0.count0); in musb_peri_ep0_idle()
396 if (count0 == 0) in musb_peri_ep0_idle()
399 if (count0 != 8) { in musb_peri_ep0_idle()
402 __PRETTY_FUNCTION__, count0); in musb_peri_ep0_idle()
407 read_fifo(0, count0, &ep0_urb->device_request); in musb_peri_ep0_idle()
454 u16 count0; in musb_peri_ep0_rx() local
476 count0 = readw(&musbr->ep[0].ep0.count0); in musb_peri_ep0_rx()
478 if (count0) { in musb_peri_ep0_rx()
492 if (count0 > remaining_space) in musb_peri_ep0_rx()
[all …]
H A Dmusb_core.h23 u16 count0; member
/openbmc/linux/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,
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/Documentation/devicetree/bindings/timer/
H A Drenesas,rz-mtu3.yaml83 count0 - MTU1 16-bit phase counting
/openbmc/linux/arch/sparc/kernel/
H A Dirq_64.c903 u64 count0; member
/openbmc/linux/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()