/Linux-v4.19/drivers/hv/ |
D | ring_buffer.c | 83 hv_get_next_write_location(struct hv_ring_buffer_info *ring_info) in hv_get_next_write_location() argument 85 u32 next = ring_info->ring_buffer->write_index; in hv_get_next_write_location() 92 hv_set_next_write_location(struct hv_ring_buffer_info *ring_info, in hv_set_next_write_location() argument 95 ring_info->ring_buffer->write_index = next_write_location; in hv_set_next_write_location() 100 hv_set_next_read_location(struct hv_ring_buffer_info *ring_info, in hv_set_next_read_location() argument 103 ring_info->ring_buffer->read_index = next_read_location; in hv_set_next_read_location() 104 ring_info->priv_read_index = next_read_location; in hv_set_next_read_location() 109 hv_get_ring_buffersize(const struct hv_ring_buffer_info *ring_info) in hv_get_ring_buffersize() argument 111 return ring_info->ring_datasize; in hv_get_ring_buffersize() 116 hv_get_ring_bufferindices(struct hv_ring_buffer_info *ring_info) in hv_get_ring_bufferindices() argument [all …]
|
D | hyperv_vmbus.h | 267 int hv_ringbuffer_init(struct hv_ring_buffer_info *ring_info, 270 void hv_ringbuffer_cleanup(struct hv_ring_buffer_info *ring_info);
|
/Linux-v4.19/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.h | 42 struct pasemi_mac_buffer *ring_info; member 55 struct pasemi_mac_buffer *ring_info; member 106 #define TX_DESC_INFO(tx, num) ((tx)->ring_info[(num) & (TX_RING_SIZE-1)]) 108 #define RX_DESC_INFO(rx, num) ((rx)->ring_info[(num) & (RX_RING_SIZE-1)])
|
D | pasemi_mac.c | 393 ring->ring_info = kcalloc(RX_RING_SIZE, in pasemi_mac_setup_rx_resources() 397 if (!ring->ring_info) in pasemi_mac_setup_rx_resources() 448 kfree(ring->ring_info); in pasemi_mac_setup_rx_resources() 477 ring->ring_info = kcalloc(TX_RING_SIZE, in pasemi_mac_setup_tx_resources() 480 if (!ring->ring_info) in pasemi_mac_setup_tx_resources() 511 kfree(ring->ring_info); in pasemi_mac_setup_tx_resources() 535 info = &txring->ring_info[(i+1) & (TX_RING_SIZE-1)]; in pasemi_mac_free_tx_resources() 539 dmas[j] = txring->ring_info[(i+1+j) & in pasemi_mac_free_tx_resources() 548 kfree(txring->ring_info); in pasemi_mac_free_tx_resources() 583 kfree(rx_ring(mac)->ring_info); in pasemi_mac_free_rx_resources() [all …]
|
/Linux-v4.19/drivers/net/ethernet/broadcom/ |
D | b44.h | 281 struct ring_info { struct 368 struct ring_info *rx_buffers; 369 struct ring_info *tx_buffers;
|
D | b44.c | 627 struct ring_info *rp = &bp->tx_buffers[cons]; in b44_tx() 661 struct ring_info *src_map, *map; in b44_alloc_rx_skb() 736 struct ring_info *src_map, *dest_map; in b44_recycle_rx() 790 struct ring_info *rp = &bp->rx_buffers[cons]; in b44_rx() 1096 struct ring_info *rp; in b44_free_rings() 1194 size = B44_RX_RING_SIZE * sizeof(struct ring_info); in b44_alloc_consistent() 1199 size = B44_TX_RING_SIZE * sizeof(struct ring_info); in b44_alloc_consistent()
|
D | tg3.h | 2862 struct ring_info { struct 2994 struct ring_info *rx_std_buffers; 2995 struct ring_info *rx_jmb_buffers;
|
D | tg3.c | 183 (sizeof(struct ring_info) * TG3_RX_STD_RING_SIZE(tp)) 186 (sizeof(struct ring_info) * TG3_RX_JMB_RING_SIZE(tp)) 6642 static void tg3_rx_data_free(struct tg3 *tp, struct ring_info *ri, u32 map_sz) in tg3_rx_data_free() 6673 struct ring_info *map; in tg3_alloc_rx_data() 6744 struct ring_info *src_map, *dest_map; in tg3_recycle_rx() 6828 struct ring_info *ri; in tg3_rx() 7086 cpycnt * sizeof(struct ring_info)); in tg3_rx_prodring_xfer() 7144 cpycnt * sizeof(struct ring_info)); in tg3_rx_prodring_xfer()
|
/Linux-v4.19/drivers/net/ethernet/dec/tulip/ |
D | tulip.h | 395 struct ring_info { struct 409 struct ring_info tx_buffers[TX_RING_SIZE]; argument 411 struct ring_info rx_buffers[RX_RING_SIZE];
|
D | de2104x.c | 292 struct ring_info { struct 308 struct ring_info tx_skb[DE_TX_RING_SIZE]; argument 309 struct ring_info rx_skb[DE_RX_RING_SIZE]; 1363 memset(&de->rx_skb, 0, sizeof(struct ring_info) * DE_RX_RING_SIZE); in de_clean_rings() 1364 memset(&de->tx_skb, 0, sizeof(struct ring_info) * DE_TX_RING_SIZE); in de_clean_rings()
|
/Linux-v4.19/drivers/net/ethernet/alteon/ |
D | acenic.h | 592 struct ring_info { struct 618 struct ring_info rx_std_skbuff[RX_STD_RING_ENTRIES]; 619 struct ring_info rx_mini_skbuff[RX_MINI_RING_ENTRIES]; 620 struct ring_info rx_jumbo_skbuff[RX_JUMBO_RING_ENTRIES];
|
D | acenic.c | 644 struct ring_info *ringp; in acenic_remove_one() 664 struct ring_info *ringp; in acenic_remove_one() 683 struct ring_info *ringp; in acenic_remove_one() 1935 struct ring_info *rip; in ace_rx_int()
|
/Linux-v4.19/drivers/net/ethernet/neterion/ |
D | s2io.h | 691 struct ring_info { struct 806 struct ring_info rings[MAX_RX_RINGS]; 1083 static int rx_intr_handler(struct ring_info *ring_data, int budget); 1090 static int rx_osm_handler(struct ring_info *ring_data, struct RxD_t * rxdp); 1122 static int s2io_club_tcp_session(struct ring_info *ring_data, u8 *buffer,
|
D | s2io.c | 697 struct ring_info *ring = &mac_control->rings[i]; in init_shared_mem() 717 struct ring_info *ring = &mac_control->rings[i]; in init_shared_mem() 790 struct ring_info *ring = &mac_control->rings[i]; in init_shared_mem() 934 struct ring_info *ring = &mac_control->rings[i]; in free_shared_mem() 955 struct ring_info *ring = &mac_control->rings[i]; in free_shared_mem() 2213 struct ring_info *ring = &mac_control->rings[i]; in start_nic() 2441 static int fill_rx_buffers(struct s2io_nic *nic, struct ring_info *ring, in fill_rx_buffers() 2717 struct ring_info *ring = &mac_control->rings[i]; in free_rx_buffers() 2732 static int s2io_chk_rx_buffers(struct s2io_nic *nic, struct ring_info *ring) in s2io_chk_rx_buffers() 2756 struct ring_info *ring = container_of(napi, struct ring_info, napi); in s2io_poll_msix() [all …]
|
/Linux-v4.19/include/linux/ |
D | hyperv.h | 1162 void hv_ringbuffer_get_debuginfo(const struct hv_ring_buffer_info *ring_info, 1460 hv_get_ring_buffer(const struct hv_ring_buffer_info *ring_info) in hv_get_ring_buffer() argument 1462 return ring_info->ring_buffer->buffer; in hv_get_ring_buffer()
|
/Linux-v4.19/drivers/net/ethernet/realtek/ |
D | r8169.c | 605 struct ring_info { struct 664 struct ring_info tx_skb[NUM_TX_DESC]; /* Tx data buffers */ 5836 static void rtl8169_unmap_tx_skb(struct device *d, struct ring_info *tx_skb, in rtl8169_unmap_tx_skb() 5856 struct ring_info *tx_skb = tp->tx_skb + entry; in rtl8169_tx_clear_range() 6284 struct ring_info *tx_skb = tp->tx_skb + entry; in rtl_tx()
|