Searched refs:RTASE_NUM_DESC (Results 1 – 2 of 2) sorted by relevance
264 #define RTASE_NUM_DESC 1024 macro266 #define RTASE_TX_RING_DESC_SIZE (RTASE_NUM_DESC * sizeof(struct rtase_tx_desc))267 #define RTASE_RX_RING_DESC_SIZE (RTASE_NUM_DESC * sizeof(union rtase_rx_desc))303 struct sk_buff *skbuff[RTASE_NUM_DESC];304 void *data_buf[RTASE_NUM_DESC];306 u32 len[RTASE_NUM_DESC];307 dma_addr_t data_phy_addr[RTASE_NUM_DESC];
213 u32 entry = (start + i) % RTASE_NUM_DESC; in rtase_tx_clear_range()240 rtase_tx_clear_range(ring, ring->dirty_idx, RTASE_NUM_DESC); in rtase_tx_clear()261 return READ_ONCE(ring->dirty_idx) + RTASE_NUM_DESC - in rtase_tx_avail()278 u32 entry = dirty_tx % RTASE_NUM_DESC; in tx_handler()335 for (i = 0; i < RTASE_NUM_DESC; i++) { in rtase_tx_desc_init()337 if ((RTASE_NUM_DESC - 1) == i) { in rtase_tx_desc_init()407 u32 i = cur % RTASE_NUM_DESC; in rtase_rx_ring_fill()435 for (i = 0; i < RTASE_NUM_DESC; i++) { in rtase_rx_ring_clear()499 entry = cur_rx % RTASE_NUM_DESC; in rx_handler()579 entry = cur_rx % RTASE_NUM_DESC; in rx_handler()[all …]