Home
last modified time | relevance | path

Searched refs:base_ns (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/irqchip/
H A Dirq-renesas-rzt2h.c57 void __iomem *base_ns; member
74 val = readl(priv->base_ns + RZT2H_ICU_DMACn_RSSELi(dmac_index, y)); in rzt2h_icu_register_dma_req()
77 writel(val, priv->base_ns + RZT2H_ICU_DMACn_RSSELi(dmac_index, y)); in rzt2h_icu_register_dma_req()
98 *base = priv->base_ns; in rzt2h_icu_irq_to_offset()
245 priv->base_ns = devm_of_iomap(dev, dev->of_node, 0, NULL); in rzt2h_icu_init()
246 if (IS_ERR(priv->base_ns)) in rzt2h_icu_init()
247 return PTR_ERR(priv->base_ns); in rzt2h_icu_init()
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_b0.c1240 s64 base_ns = ((adj + NSEC_PER_SEC) * NSEC_PER_SEC); in hw_atl_b0_adj_params_get() local
1244 base_ns = div64_s64(base_ns, freq); in hw_atl_b0_adj_params_get()
1245 nsi = div64_u64(base_ns, NSEC_PER_SEC); in hw_atl_b0_adj_params_get()
1247 if (base_ns != nsi * NSEC_PER_SEC) { in hw_atl_b0_adj_params_get()
1249 base_ns - nsi * NSEC_PER_SEC); in hw_atl_b0_adj_params_get()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_struct.h245 u64 base_ns : 32; member
H A Dotx2_txrx.c777 u64 base_ns, bool udp_csum_crt) in otx2_sqe_add_mem() argument
790 mem->base_ns = base_ns; in otx2_sqe_add_mem()
1183 ptp_offset, pfvf->ptp->base_ns, udp_csum_crt); in otx2_set_txtstamp()
H A Dotx2_ptp.c334 ptp->base_ns = tstamp % NSEC_PER_SEC; in otx2_sync_tstamp()
/linux/kernel/time/
H A Dtimekeeping.c888 ktime_t base_ns, delta_ns, max_ns; in ktime_expiry_to_cycles() local
910 base_ns = tkrm->base + (tkrm->xtime_nsec >> tkrm->shift); in ktime_expiry_to_cycles()
919 delta_ns = min(expires_ns - base_ns, max_ns); in ktime_expiry_to_cycles()