Home
last modified time | relevance | path

Searched refs:ring_frame (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Dthunderbolt.h604 struct ring_frame;
605 typedef void (*ring_cb)(struct tb_ring *, struct ring_frame *, bool canceled);
635 struct ring_frame { struct
649 static inline size_t tb_ring_frame_size(const struct ring_frame *frame) in tb_ring_frame_size() argument
672 int __tb_ring_enqueue(struct tb_ring *ring, struct ring_frame *frame);
690 static inline int tb_ring_rx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_rx()
711 static inline int tb_ring_tx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_tx()
718 struct ring_frame *tb_ring_poll(struct tb_ring *ring);
/linux/drivers/net/fjes/
H A Dfjes_hw.c939 struct esmem_frame *ring_frame; in fjes_hw_epbuf_rx_curpkt_get_addr() local
942 ring_frame = (struct esmem_frame *)&(epbh->ring[EP_RING_INDEX in fjes_hw_epbuf_rx_curpkt_get_addr()
947 *psize = (size_t)ring_frame->frame_size; in fjes_hw_epbuf_rx_curpkt_get_addr()
949 frame = ring_frame->frame_data; in fjes_hw_epbuf_rx_curpkt_get_addr()
968 struct esmem_frame *ring_frame; in fjes_hw_epbuf_tx_pkt_send() local
973 ring_frame = (struct esmem_frame *)&(epbh->ring[EP_RING_INDEX in fjes_hw_epbuf_tx_pkt_send()
978 ring_frame->frame_size = size; in fjes_hw_epbuf_tx_pkt_send()
979 memcpy((void *)(ring_frame->frame_data), (void *)frame, size); in fjes_hw_epbuf_tx_pkt_send()