/linux-6.3-rc2/drivers/hv/ |
A D | ring_buffer.c | 93 return ring_info->ring_datasize; in hv_get_ring_buffersize() 157 if (!ring_info->ring_buffer) { in hv_ringbuffer_get_debuginfo() 217 if (!ring_info->ring_buffer) in hv_ringbuffer_init() 239 if (!ring_info->ring_buffer) in hv_ringbuffer_init() 253 ring_info->ring_datasize = ring_info->ring_size - in hv_ringbuffer_init() 255 ring_info->priv_read_index = 0; in hv_ringbuffer_init() 260 if (!ring_info->pkt_buffer) in hv_ringbuffer_init() 274 vunmap(ring_info->ring_buffer); in hv_ringbuffer_cleanup() 275 ring_info->ring_buffer = NULL; in hv_ringbuffer_cleanup() 278 kfree(ring_info->pkt_buffer); in hv_ringbuffer_cleanup() [all …]
|
A 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);
|
/linux-6.3-rc2/drivers/net/ethernet/pasemi/ |
A 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)])
|
A D | pasemi_mac.c | 383 ring->ring_info = kcalloc(RX_RING_SIZE, in pasemi_mac_setup_rx_resources() 387 if (!ring->ring_info) in pasemi_mac_setup_rx_resources() 438 kfree(ring->ring_info); in pasemi_mac_setup_rx_resources() 467 ring->ring_info = kcalloc(TX_RING_SIZE, in pasemi_mac_setup_tx_resources() 470 if (!ring->ring_info) in pasemi_mac_setup_tx_resources() 501 kfree(ring->ring_info); in pasemi_mac_setup_tx_resources() 525 info = &txring->ring_info[(i+1) & (TX_RING_SIZE-1)]; in pasemi_mac_free_tx_resources() 529 dmas[j] = txring->ring_info[(i+1+j) & in pasemi_mac_free_tx_resources() 538 kfree(txring->ring_info); in pasemi_mac_free_tx_resources() 571 kfree(rx_ring(mac)->ring_info); in pasemi_mac_free_rx_resources() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/ |
A D | b44.h | 281 struct ring_info { struct 368 struct ring_info *rx_buffers; 369 struct ring_info *tx_buffers;
|
A D | b44.c | 601 struct ring_info *rp = &bp->tx_buffers[cons]; in b44_tx() 635 struct ring_info *src_map, *map; in b44_alloc_rx_skb() 710 struct ring_info *src_map, *dest_map; in b44_recycle_rx() 764 struct ring_info *rp = &bp->rx_buffers[cons]; in b44_rx() 1070 struct ring_info *rp; in b44_free_rings() 1168 size = B44_RX_RING_SIZE * sizeof(struct ring_info); in b44_alloc_consistent() 1173 size = B44_TX_RING_SIZE * sizeof(struct ring_info); in b44_alloc_consistent()
|
A D | tg3.h | 2862 struct ring_info { struct 2994 struct ring_info *rx_std_buffers; 2995 struct ring_info *rx_jmb_buffers;
|
A 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)) 6630 static void tg3_rx_data_free(struct tg3 *tp, struct ring_info *ri, u32 map_sz) in tg3_rx_data_free() 6661 struct ring_info *map; in tg3_alloc_rx_data() 6730 struct ring_info *src_map, *dest_map; in tg3_recycle_rx() 6814 struct ring_info *ri; in tg3_rx() 7073 cpycnt * sizeof(struct ring_info)); in tg3_rx_prodring_xfer() 7131 cpycnt * sizeof(struct ring_info)); in tg3_rx_prodring_xfer()
|
/linux-6.3-rc2/drivers/net/ethernet/dec/tulip/ |
A 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];
|
A 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()
|
/linux-6.3-rc2/drivers/net/ethernet/alteon/ |
A 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];
|
A D | acenic.c | 640 struct ring_info *ringp; in acenic_remove_one() 659 struct ring_info *ringp; in acenic_remove_one() 678 struct ring_info *ringp; in acenic_remove_one() 1924 struct ring_info *rip; in ace_rx_int()
|
/linux-6.3-rc2/drivers/net/ethernet/neterion/ |
A D | s2io.h | 692 struct ring_info { struct 807 struct ring_info rings[MAX_RX_RINGS]; 1062 static int rx_intr_handler(struct ring_info *ring_data, int budget); 1069 static int rx_osm_handler(struct ring_info *ring_data, struct RxD_t * rxdp); 1101 static int s2io_club_tcp_session(struct ring_info *ring_data, u8 *buffer,
|
A 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() 2220 struct ring_info *ring = &mac_control->rings[i]; in start_nic() 2723 struct ring_info *ring = &mac_control->rings[i]; in free_rx_buffers() 2762 struct ring_info *ring = container_of(napi, struct ring_info, napi); in s2io_poll_msix() 2803 struct ring_info *ring = &mac_control->rings[i]; in s2io_poll_inta() 2857 struct ring_info *ring = &mac_control->rings[i]; in s2io_netpoll() [all …]
|
/linux-6.3-rc2/sound/soc/intel/catpt/ |
A D | messages.c | 37 struct catpt_ring_info ring_info; member 77 input.ring_info = *rinfo; in catpt_ipc_alloc_stream()
|
/linux-6.3-rc2/include/linux/ |
A D | hyperv.h | 1338 int hv_ringbuffer_get_debuginfo(struct hv_ring_buffer_info *ring_info, 1659 hv_get_ring_buffer(const struct hv_ring_buffer_info *ring_info) in hv_get_ring_buffer() argument 1661 return ring_info->ring_buffer->buffer; in hv_get_ring_buffer()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_ring_mux.c | 33 static const struct ring_info { struct
|
/linux-6.3-rc2/drivers/net/ethernet/realtek/ |
A D | r8169_main.c | 547 struct ring_info { struct 605 struct ring_info tx_skb[NUM_TX_DESC]; /* Tx data buffers */ 3841 struct ring_info *tx_skb = tp->tx_skb + entry; in rtl8169_unmap_tx_skb() 3857 struct ring_info *tx_skb = tp->tx_skb + entry; in rtl8169_tx_clear_range()
|