Searched refs:GEM_BFEXT (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/cadence/ |
H A D | macb_ptp.c | 251 ts->tv_sec = (GEM_BFEXT(DMA_SECH, dma_desc_ts_2) << GEM_DMA_SECL_SIZE) | in gem_hw_timestamp() 252 GEM_BFEXT(DMA_SECL, dma_desc_ts_1); in gem_hw_timestamp() 253 ts->tv_nsec = GEM_BFEXT(DMA_NSEC, dma_desc_ts_1); in gem_hw_timestamp() 281 if (GEM_BFEXT(DMA_RXVALID, desc->addr)) { in gem_ptp_rxstamp() 302 if (!GEM_BFEXT(DMA_TXVALID, desc->ctrl)) { in gem_ptp_txstamp()
|
H A D | macb_main.c | 1460 GEM_BFEXT(RX_CSUM, ctrl) & GEM_RX_CSUM_CHECKED_MASK) in gem_rx() 2747 switch (GEM_BFEXT(DBWDEF, gem_readl(bp, DCFG1))) { in macb_dbw() 3470 num_t2_scr = GEM_BFEXT(T2SCR, gem_readl(bp, DCFG8)); in gem_enable_flow_filters() 3956 if (GEM_BFEXT(IRQCOR, dcfg) == 0) in macb_configure_caps() 3958 if (GEM_BFEXT(NO_PCS, dcfg) == 0) in macb_configure_caps() 3961 if (GEM_BFEXT(HIGH_SPEED, dcfg) == 1) in macb_configure_caps() 3967 if (!GEM_BFEXT(TSU, gem_readl(bp, DCFG5))) in macb_configure_caps() 4202 if (GEM_BFEXT(PBUF_LSO, gem_readl(bp, DCFG6))) in macb_init() 4217 bp->max_tuples = min((GEM_BFEXT(SCR2CMP, reg) / 3), in macb_init() 4218 GEM_BFEXT(T2SCR, reg)); in macb_init() [all …]
|
H A D | macb.h | 774 #define GEM_BFEXT(name, value)\ macro
|