Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/cadence/
H 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()
113 gem_writel(bp, TISUBN, GEM_BF(SUBNSINCRL, incr_spec->sub_ns) | in gem_tsu_incr_set()
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()
[all …]
H A Dmacb_main.c290 gem_writel(bp, RXPTPUNI, bottom); in macb_set_hwaddr()
291 gem_writel(bp, TXPTPUNI, bottom); in macb_set_hwaddr()
577 gem_writel(bp, USX_CONTROL, config); in macb_usx_pcs_link_up()
605 gem_writel(bp, USX_CONTROL, gem_readl(bp, USX_CONTROL) | in macb_usx_pcs_config()
695 gem_writel(bp, PCSCNTRL, pcsctrl); in macb_mac_config()
773 gem_writel(bp, HS_MAC_CONFIG, GEM_BFINS(HS_MAC_SPEED, HS_SPEED_10000M, in macb_mac_link_up()
1886 gem_writel(bp, WOL, 0); in gem_wol_interrupt()
2649 gem_writel(bp, PBUFRXCUT, 0); in macb_reset_hw()
2775 gem_writel(bp, DMACFG, dmacfg); in macb_configure_dma()
2802 gem_writel(bp, JML, bp->jumbo_max_len); in macb_init_hw()
[all …]
H A Dmacb.h780 #define gem_writel(port, reg, value) (port)->macb_reg_writel((port), GEM_##reg, (value)) macro
794 gem_writel((__bp), __reg, __value); \
/openbmc/u-boot/drivers/net/
H A Dmacb.c714 gem_writel(macb, UR, GEM_BIT(RGMII)); in _macb_init()
716 gem_writel(macb, UR, 0); in _macb_init()
719 gem_writel(macb, UR, GEM_BIT(RGMII)); in _macb_init()
721 gem_writel(macb, UR, 0); in _macb_init()
H A Dmacb.h317 #define gem_writel(port, reg, value) \ macro