Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/cadence/
A Dmacb_ptp.c91 gem_writel(bp, TN, 0); /* clear to avoid overflow */ in gem_tsu_set_time()
92 gem_writel(bp, TSH, sech); in gem_tsu_set_time()
94 gem_writel(bp, TSL, secl); in gem_tsu_set_time()
95 gem_writel(bp, TN, ns); in gem_tsu_set_time()
116 gem_writel(bp, TI, GEM_BF(NSINCR, incr_spec->ns)); in gem_tsu_incr_set()
177 gem_writel(bp, TA, adj); in gem_ptp_adjtime()
233 gem_writel(bp, TA, 0); in gem_ptp_init_tsu()
241 gem_writel(bp, TISUBN, GEM_BF(SUBNSINCR, 0)); in gem_ptp_clear_timer()
242 gem_writel(bp, TI, GEM_BF(NSINCR, 0)); in gem_ptp_clear_timer()
243 gem_writel(bp, TA, 0); in gem_ptp_clear_timer()
[all …]
A Dmacb_main.c589 gem_writel(bp, USX_CONTROL, config); in macb_usx_pcs_link_up()
617 gem_writel(bp, USX_CONTROL, gem_readl(bp, USX_CONTROL) | in macb_usx_pcs_config()
707 gem_writel(bp, PCSCNTRL, pcsctrl); in macb_mac_config()
787 gem_writel(bp, HS_MAC_CONFIG, GEM_BFINS(HS_MAC_SPEED, HS_SPEED_10000M, in macb_mac_link_up()
1731 gem_writel(bp, WOL, 0); in gem_wol_interrupt()
2600 gem_writel(bp, DMACFG, dmacfg); in macb_configure_dma()
2627 gem_writel(bp, JML, bp->jumbo_max_len); in macb_init_hw()
3599 gem_writel(bp, DMACFG, val); in macb_set_txcsum_feature()
3617 gem_writel(bp, NCFGR, val); in macb_set_rxcsum_feature()
4912 gem_writel(bp, WOL, MACB_BIT(MAG)); in macb_suspend()
[all …]
A Dmacb.h763 #define gem_writel(port, reg, value) (port)->macb_reg_writel((port), GEM_##reg, (value)) macro
779 gem_writel((__bp), __reg, __value); \

Completed in 19 milliseconds