Searched refs:rdesc_count (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-desc.c | 132 for (i = 0; i < ring->rdesc_count; i++) { in xgbe_free_ring() 166 ring->rdesc_count), in xgbe_free_ring() 216 struct xgbe_ring *ring, unsigned int rdesc_count) in xgbe_init_ring() argument 224 size = rdesc_count * sizeof(struct xgbe_ring_desc); in xgbe_init_ring() 226 ring->rdesc_count = rdesc_count; in xgbe_init_ring() 233 size = rdesc_count * sizeof(struct xgbe_ring_data); in xgbe_init_ring() 407 for (j = 0; j < ring->rdesc_count; j++) { in xgbe_wrapper_tx_descriptor_init() 448 for (j = 0; j < ring->rdesc_count; j++) { in xgbe_wrapper_rx_descriptor_init() 542 packet->rdesc_count = 0; in xgbe_map_tx_skb() 646 packet->rdesc_count = cur_index - start_index; in xgbe_map_tx_skb() [all …]
|
D | xgbe-drv.c | 265 return (ring->rdesc_count - (ring->cur - ring->dirty)); in xgbe_tx_avail_desc() 1124 for (j = 0; j < ring->rdesc_count; j++) { in xgbe_free_tx_data() 1147 for (j = 0; j < ring->rdesc_count; j++) { in xgbe_free_rx_data() 1756 packet->rdesc_count = 0; in xgbe_packet_info() 1765 packet->rdesc_count++; in xgbe_packet_info() 1769 packet->rdesc_count++; in xgbe_packet_info() 1789 packet->rdesc_count++; in xgbe_packet_info() 1802 packet->rdesc_count++; in xgbe_packet_info() 1809 packet->rdesc_count++; in xgbe_packet_info() 1953 ret = xgbe_maybe_stop_tx_queue(channel, ring, packet->rdesc_count); in xgbe_xmit()
|
D | xgbe.h | 260 ((_idx) & ((_ring)->rdesc_count - 1))) 357 unsigned int rdesc_count; member 458 unsigned int rdesc_count; member
|
D | xgbe-dev.c | 1418 for (i = 0; i < ring->rdesc_count; i++) { in xgbe_tx_desc_init() 1426 XGMAC_DMA_IOWRITE(channel, DMA_CH_TDRLR, ring->rdesc_count - 1); in xgbe_tx_desc_init() 1497 for (i = 0; i < ring->rdesc_count; i++) { in xgbe_rx_desc_init() 1505 XGMAC_DMA_IOWRITE(channel, DMA_CH_RDRLR, ring->rdesc_count - 1); in xgbe_rx_desc_init() 1515 rdata = XGBE_GET_DESC_DATA(ring, start_index + ring->rdesc_count - 1); in xgbe_rx_desc_init() 1832 for (i = cur_index - start_index + 1; i < packet->rdesc_count; i++) { in xgbe_dev_xmit() 1884 packet->rdesc_count, 1); in xgbe_dev_xmit() 1898 channel->name, start_index & (ring->rdesc_count - 1), in xgbe_dev_xmit() 1899 (ring->cur - 1) & (ring->rdesc_count - 1)); in xgbe_dev_xmit() 2059 ring->cur & (ring->rdesc_count - 1), ring->cur); in xgbe_dev_read()
|