Home
last modified time | relevance | path

Searched refs:gem_writel (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/cadence/
Dmacb_ptp.c86 gem_writel(bp, TN, 0); /* clear to avoid overflow */ in gem_tsu_set_time()
87 gem_writel(bp, TSH, sech); in gem_tsu_set_time()
89 gem_writel(bp, TSL, secl); in gem_tsu_set_time()
90 gem_writel(bp, TN, ns); in gem_tsu_set_time()
108 gem_writel(bp, TISUBN, GEM_BF(SUBNSINCRL, incr_spec->sub_ns) | in gem_tsu_incr_set()
111 gem_writel(bp, TI, GEM_BF(NSINCR, incr_spec->ns)); in gem_tsu_incr_set()
172 gem_writel(bp, TA, adj); in gem_ptp_adjtime()
228 gem_writel(bp, TA, 0); in gem_ptp_init_tsu()
236 gem_writel(bp, TISUBN, GEM_BF(SUBNSINCR, 0)); in gem_ptp_clear_timer()
237 gem_writel(bp, TI, GEM_BF(NSINCR, 0)); in gem_ptp_clear_timer()
[all …]
Dmacb.h702 #define gem_writel(port, reg, value) (port)->macb_reg_writel((port), GEM_##reg, (value)) macro
718 gem_writel((__bp), __reg, __value); \
Dmacb_main.c1600 gem_writel(bp, WOL, 0); in gem_wol_interrupt()
2462 gem_writel(bp, DMACFG, dmacfg); in macb_configure_dma()
2489 gem_writel(bp, JML, bp->jumbo_max_len); in macb_init_hw()
3461 gem_writel(bp, DMACFG, val); in macb_set_txcsum_feature()
3479 gem_writel(bp, NCFGR, val); in macb_set_rxcsum_feature()
4736 gem_writel(bp, WOL, MACB_BIT(MAG)); in macb_suspend()
4803 gem_writel(bp, WOL, 0); in macb_resume()