Searched refs:GEM_BF (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/ethernet/cadence/ |
H A D | macb_ptp.c | 113 gem_writel(bp, TISUBN, GEM_BF(SUBNSINCRL, incr_spec->sub_ns) | in gem_tsu_incr_set() 114 GEM_BF(SUBNSINCRH, (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() 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() 371 gem_writel(bp, TXBDCTRL, GEM_BF(TXTSMODE, tx_bd_control)); in gem_ptp_set_ts_mode() 372 gem_writel(bp, RXBDCTRL, GEM_BF(RXTSMODE, rx_bd_control)); in gem_ptp_set_ts_mode()
|
H A D | macb_main.c | 2666 config = GEM_BF(CLK, GEM_CLK_DIV8); in gem_mdc_clk_div() 2668 config = GEM_BF(CLK, GEM_CLK_DIV16); in gem_mdc_clk_div() 2670 config = GEM_BF(CLK, GEM_CLK_DIV32); in gem_mdc_clk_div() 2672 config = GEM_BF(CLK, GEM_CLK_DIV48); in gem_mdc_clk_div() 2674 config = GEM_BF(CLK, GEM_CLK_DIV64); in gem_mdc_clk_div() 2676 config = GEM_BF(CLK, GEM_CLK_DIV96); in gem_mdc_clk_div() 2678 config = GEM_BF(CLK, GEM_CLK_DIV128); in gem_mdc_clk_div() 2680 config = GEM_BF(CLK, GEM_CLK_DIV224); in gem_mdc_clk_div() 2717 return GEM_BF(DBW, GEM_DBW128); in macb_dbw() 2719 return GEM_BF(DBW, GEM_DBW64); in macb_dbw() [all …]
|
H A D | macb.h | 765 #define GEM_BF(name, value) \ macro 774 | GEM_BF(name, value))
|
/openbmc/u-boot/drivers/net/ |
H A D | macb.c | 834 config = GEM_BF(CLK, GEM_CLK_DIV8); in gem_mdc_clk_div() 836 config = GEM_BF(CLK, GEM_CLK_DIV16); in gem_mdc_clk_div() 838 config = GEM_BF(CLK, GEM_CLK_DIV32); in gem_mdc_clk_div() 840 config = GEM_BF(CLK, GEM_CLK_DIV48); in gem_mdc_clk_div() 842 config = GEM_BF(CLK, GEM_CLK_DIV64); in gem_mdc_clk_div() 844 config = GEM_BF(CLK, GEM_CLK_DIV96); in gem_mdc_clk_div() 858 return GEM_BF(DBW, GEM_DBW128); in macb_dbw() 860 return GEM_BF(DBW, GEM_DBW64); in macb_dbw() 863 return GEM_BF(DBW, GEM_DBW32); in macb_dbw()
|
H A D | macb.h | 299 #define GEM_BF(name, value) \ macro 308 | GEM_BF(name, value))
|