Home
last modified time | relevance | path

Searched refs:ring_info (Results 1 – 18 of 18) sorted by relevance

/linux-6.3-rc2/drivers/hv/
A Dring_buffer.c93 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 Dhyperv_vmbus.h177 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 Dpasemi_mac.h31 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 Dpasemi_mac.c383 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 Db44.h281 struct ring_info { struct
368 struct ring_info *rx_buffers;
369 struct ring_info *tx_buffers;
A Db44.c601 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 Dtg3.h2862 struct ring_info { struct
2994 struct ring_info *rx_std_buffers;
2995 struct ring_info *rx_jmb_buffers;
A Dtg3.c176 (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 Dtulip.h395 struct ring_info { struct
409 struct ring_info tx_buffers[TX_RING_SIZE]; argument
411 struct ring_info rx_buffers[RX_RING_SIZE];
A Dde2104x.c286 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 Dacenic.h592 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 Dacenic.c640 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 Ds2io.h692 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 Ds2io.c699 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 Dmessages.c37 struct catpt_ring_info ring_info; member
77 input.ring_info = *rinfo; in catpt_ipc_alloc_stream()
/linux-6.3-rc2/include/linux/
A Dhyperv.h1338 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 Damdgpu_ring_mux.c33 static const struct ring_info { struct
/linux-6.3-rc2/drivers/net/ethernet/realtek/
A Dr8169_main.c547 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()

Completed in 124 milliseconds