Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/silan/
Dsc92031.c59 #define RX_BUF_LEN (8192 << RX_BUF_LEN_IDX) macro
736 rx_ring_head &= (dma_addr_t)(RX_BUF_LEN - 1); in _sc92031_rx_tasklet()
737 rx_ring_head |= priv->rx_ring_dma_addr & ~(dma_addr_t)(RX_BUF_LEN - 1); in _sc92031_rx_tasklet()
739 rx_ring_head += RX_BUF_LEN; in _sc92031_rx_tasklet()
744 rx_len = RX_BUF_LEN - (priv->rx_ring_tail - rx_ring_head); in _sc92031_rx_tasklet()
749 if (unlikely(rx_len > RX_BUF_LEN)) { in _sc92031_rx_tasklet()
756 rx_ring_offset = (priv->rx_ring_tail - priv->rx_ring_dma_addr) % RX_BUF_LEN; in _sc92031_rx_tasklet()
770 rx_ring_offset = (rx_ring_offset + 4) % RX_BUF_LEN; in _sc92031_rx_tasklet()
796 if ((rx_ring_offset + pkt_size) > RX_BUF_LEN) { in _sc92031_rx_tasklet()
798 RX_BUF_LEN - rx_ring_offset); in _sc92031_rx_tasklet()
[all …]
/linux-5.19.10/drivers/media/rc/
Dfintek-cir.h44 #define RX_BUF_LEN 32 macro
53 u8 buf[RX_BUF_LEN];
Dnuvoton-cir.h40 #define RX_BUF_LEN 32 macro
64 u8 buf[RX_BUF_LEN];
Dnuvoton-cir.c689 for (i = 0; (i < nvt->pkts) && (i < RX_BUF_LEN); i++) in nvt_dump_rx_buf()
/linux-5.19.10/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)
1919 u32 left = RX_BUF_LEN - offset; in wrap_copy()
1962 u32 ring_offset = cur_rx % RX_BUF_LEN; in rtl8139_rx()