/drivers/hv/ |
D | ring_buffer.c | 72 hv_get_next_write_location(struct hv_ring_buffer_info *ring_info) in hv_get_next_write_location() argument 74 u32 next = ring_info->ring_buffer->write_index; in hv_get_next_write_location() 81 hv_set_next_write_location(struct hv_ring_buffer_info *ring_info, in hv_set_next_write_location() argument 84 ring_info->ring_buffer->write_index = next_write_location; in hv_set_next_write_location() 89 hv_set_next_read_location(struct hv_ring_buffer_info *ring_info, in hv_set_next_read_location() argument 92 ring_info->ring_buffer->read_index = next_read_location; in hv_set_next_read_location() 93 ring_info->priv_read_index = next_read_location; in hv_set_next_read_location() 98 hv_get_ring_buffersize(const struct hv_ring_buffer_info *ring_info) in hv_get_ring_buffersize() argument 100 return ring_info->ring_datasize; in hv_get_ring_buffersize() 105 hv_get_ring_bufferindices(struct hv_ring_buffer_info *ring_info) in hv_get_ring_bufferindices() argument [all …]
|
D | hyperv_vmbus.h | 177 int hv_ringbuffer_init(struct hv_ring_buffer_info *ring_info, 180 void hv_ringbuffer_cleanup(struct hv_ring_buffer_info *ring_info);
|
/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.h | 31 struct pasemi_mac_buffer *ring_info; member 44 struct pasemi_mac_buffer *ring_info; member 95 #define TX_DESC_INFO(tx, num) ((tx)->ring_info[(num) & (TX_RING_SIZE-1)]) 97 #define RX_DESC_INFO(rx, num) ((rx)->ring_info[(num) & (RX_RING_SIZE-1)])
|
D | pasemi_mac.c | 382 ring->ring_info = kcalloc(RX_RING_SIZE, in pasemi_mac_setup_rx_resources() 386 if (!ring->ring_info) in pasemi_mac_setup_rx_resources() 437 kfree(ring->ring_info); in pasemi_mac_setup_rx_resources() 466 ring->ring_info = kcalloc(TX_RING_SIZE, in pasemi_mac_setup_tx_resources() 469 if (!ring->ring_info) in pasemi_mac_setup_tx_resources() 500 kfree(ring->ring_info); in pasemi_mac_setup_tx_resources() 524 info = &txring->ring_info[(i+1) & (TX_RING_SIZE-1)]; in pasemi_mac_free_tx_resources() 528 dmas[j] = txring->ring_info[(i+1+j) & in pasemi_mac_free_tx_resources() 537 kfree(txring->ring_info); in pasemi_mac_free_tx_resources() 572 kfree(rx_ring(mac)->ring_info); in pasemi_mac_free_rx_resources() [all …]
|
/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 | 622 struct ring_info *rp = &bp->tx_buffers[cons]; in b44_tx() 656 struct ring_info *src_map, *map; in b44_alloc_rx_skb() 731 struct ring_info *src_map, *dest_map; in b44_recycle_rx() 785 struct ring_info *rp = &bp->rx_buffers[cons]; in b44_rx() 1091 struct ring_info *rp; in b44_free_rings() 1189 size = B44_RX_RING_SIZE * sizeof(struct ring_info); in b44_alloc_consistent() 1194 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 | 176 (sizeof(struct ring_info) * TG3_RX_STD_RING_SIZE(tp)) 179 (sizeof(struct ring_info) * TG3_RX_JMB_RING_SIZE(tp)) 6656 static void tg3_rx_data_free(struct tg3 *tp, struct ring_info *ri, u32 map_sz) in tg3_rx_data_free() 6687 struct ring_info *map; in tg3_alloc_rx_data() 6758 struct ring_info *src_map, *dest_map; in tg3_recycle_rx() 6842 struct ring_info *ri; in tg3_rx() 7099 cpycnt * sizeof(struct ring_info)); in tg3_rx_prodring_xfer() 7157 cpycnt * sizeof(struct ring_info)); in tg3_rx_prodring_xfer()
|
/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 | 286 struct ring_info { struct 302 struct ring_info tx_skb[DE_TX_RING_SIZE]; argument 303 struct ring_info rx_skb[DE_RX_RING_SIZE]; 1369 memset(&de->rx_skb, 0, sizeof(struct ring_info) * DE_RX_RING_SIZE); in de_clean_rings() 1370 memset(&de->tx_skb, 0, sizeof(struct ring_info) * DE_TX_RING_SIZE); in de_clean_rings()
|
/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 | 641 struct ring_info *ringp; in acenic_remove_one() 660 struct ring_info *ringp; in acenic_remove_one() 679 struct ring_info *ringp; in acenic_remove_one() 1927 struct ring_info *rip; in ace_rx_int()
|
/drivers/net/ethernet/neterion/ |
D | s2io.h | 692 struct ring_info { struct 807 struct ring_info rings[MAX_RX_RINGS]; 1063 static int rx_intr_handler(struct ring_info *ring_data, int budget); 1070 static int rx_osm_handler(struct ring_info *ring_data, struct RxD_t * rxdp); 1102 static int s2io_club_tcp_session(struct ring_info *ring_data, u8 *buffer,
|
D | s2io.c | 699 struct ring_info *ring = &mac_control->rings[i]; in init_shared_mem() 719 struct ring_info *ring = &mac_control->rings[i]; in init_shared_mem() 791 struct ring_info *ring = &mac_control->rings[i]; in init_shared_mem() 935 struct ring_info *ring = &mac_control->rings[i]; in free_shared_mem() 956 struct ring_info *ring = &mac_control->rings[i]; in free_shared_mem() 2218 struct ring_info *ring = &mac_control->rings[i]; in start_nic() 2451 static int fill_rx_buffers(struct s2io_nic *nic, struct ring_info *ring, in fill_rx_buffers() 2721 struct ring_info *ring = &mac_control->rings[i]; in free_rx_buffers() 2736 static int s2io_chk_rx_buffers(struct s2io_nic *nic, struct ring_info *ring) in s2io_chk_rx_buffers() 2760 struct ring_info *ring = container_of(napi, struct ring_info, napi); in s2io_poll_msix() [all …]
|
/drivers/net/ethernet/realtek/ |
D | r8169_main.c | 554 struct ring_info { struct 614 struct ring_info tx_skb[NUM_TX_DESC]; /* Tx data buffers */ 3951 struct ring_info *tx_skb = tp->tx_skb + entry; in rtl8169_unmap_tx_skb() 3967 struct ring_info *tx_skb = tp->tx_skb + entry; in rtl8169_tx_clear_range()
|