Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/silan/
Dsc92031.c58 #define RX_BUF_LEN (8192 << RX_BUF_LEN_IDX) macro
737 rx_ring_head &= (dma_addr_t)(RX_BUF_LEN - 1); in _sc92031_rx_tasklet()
738 rx_ring_head |= priv->rx_ring_dma_addr & ~(dma_addr_t)(RX_BUF_LEN - 1); in _sc92031_rx_tasklet()
740 rx_ring_head += RX_BUF_LEN; in _sc92031_rx_tasklet()
745 rx_len = RX_BUF_LEN - (priv->rx_ring_tail - rx_ring_head); in _sc92031_rx_tasklet()
750 if (unlikely(rx_len > RX_BUF_LEN)) { in _sc92031_rx_tasklet()
757 rx_ring_offset = (priv->rx_ring_tail - priv->rx_ring_dma_addr) % RX_BUF_LEN; in _sc92031_rx_tasklet()
771 rx_ring_offset = (rx_ring_offset + 4) % RX_BUF_LEN; in _sc92031_rx_tasklet()
797 if ((rx_ring_offset + pkt_size) > RX_BUF_LEN) { in _sc92031_rx_tasklet()
799 RX_BUF_LEN - rx_ring_offset); in _sc92031_rx_tasklet()
[all …]
/Linux-v4.19/drivers/media/rc/
Dfintek-cir.h53 #define RX_BUF_LEN 32 macro
62 u8 buf[RX_BUF_LEN];
Dnuvoton-cir.h49 #define RX_BUF_LEN 32 macro
73 u8 buf[RX_BUF_LEN];
Dnuvoton-cir.c721 for (i = 0; (i < nvt->pkts) && (i < RX_BUF_LEN); i++) in nvt_dump_rx_buf()
/Linux-v4.19/drivers/net/ethernet/realtek/
D8139too.c173 #define RX_BUF_LEN (8192 << RX_BUF_IDX) macro
177 #if RX_BUF_LEN == 65536
178 #define RX_BUF_TOT_LEN RX_BUF_LEN
180 #define RX_BUF_TOT_LEN (RX_BUF_LEN + RX_BUF_PAD + RX_BUF_WRAP_PAD)
1917 u32 left = RX_BUF_LEN - offset; in wrap_copy()
1960 u32 ring_offset = cur_rx % RX_BUF_LEN; in rtl8139_rx()