Searched refs:gem_writel (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/cadence/ |
D | macb_ptp.c | 91 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 …]
|
D | macb_main.c | 290 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() 1878 gem_writel(bp, WOL, 0); in gem_wol_interrupt() 2641 gem_writel(bp, PBUFRXCUT, 0); in macb_reset_hw() 2767 gem_writel(bp, DMACFG, dmacfg); in macb_configure_dma() 2794 gem_writel(bp, JML, bp->jumbo_max_len); in macb_init_hw() [all …]
|
D | macb.h | 780 #define gem_writel(port, reg, value) (port)->macb_reg_writel((port), GEM_##reg, (value)) macro 794 gem_writel((__bp), __reg, __value); \
|