Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dthunderbolt.h563 struct ring_frame;
564 typedef void (*ring_cb)(struct tb_ring *, struct ring_frame *, bool canceled);
594 struct ring_frame { struct
617 int __tb_ring_enqueue(struct tb_ring *ring, struct ring_frame *frame); argument
635 static inline int tb_ring_rx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_rx()
656 static inline int tb_ring_tx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_tx()
663 struct ring_frame *tb_ring_poll(struct tb_ring *ring);
/openbmc/linux/drivers/net/fjes/
H A Dfjes_hw.c934 struct esmem_frame *ring_frame; in fjes_hw_epbuf_rx_curpkt_get_addr() local
937 ring_frame = (struct esmem_frame *)&(epbh->ring[EP_RING_INDEX in fjes_hw_epbuf_rx_curpkt_get_addr()
942 *psize = (size_t)ring_frame->frame_size; in fjes_hw_epbuf_rx_curpkt_get_addr()
944 frame = ring_frame->frame_data; in fjes_hw_epbuf_rx_curpkt_get_addr()
963 struct esmem_frame *ring_frame; in fjes_hw_epbuf_tx_pkt_send() local
968 ring_frame = (struct esmem_frame *)&(epbh->ring[EP_RING_INDEX in fjes_hw_epbuf_tx_pkt_send()
973 ring_frame->frame_size = size; in fjes_hw_epbuf_tx_pkt_send()
974 memcpy((void *)(ring_frame->frame_data), (void *)frame, size); in fjes_hw_epbuf_tx_pkt_send()
/openbmc/linux/drivers/thunderbolt/
H A Dctl.h49 struct ring_frame frame;
H A Ddma_test.c30 struct ring_frame frame;
230 static void dma_test_rx_callback(struct tb_ring *ring, struct ring_frame *frame, in dma_test_rx_callback()
299 static void dma_test_tx_callback(struct tb_ring *ring, struct ring_frame *frame, in dma_test_tx_callback()
H A Dnhi.c241 struct ring_frame *frame, *n; in ring_write_descriptors()
276 struct ring_frame *frame; in ring_work()
323 int __tb_ring_enqueue(struct tb_ring *ring, struct ring_frame *frame) in __tb_ring_enqueue()
349 struct ring_frame *tb_ring_poll(struct tb_ring *ring) in tb_ring_poll()
351 struct ring_frame *frame = NULL; in tb_ring_poll()
H A Dctl.c337 static void tb_ctl_tx_callback(struct tb_ring *ring, struct ring_frame *frame, in tb_ctl_tx_callback()
426 static void tb_ctl_rx_callback(struct tb_ring *ring, struct ring_frame *frame, in tb_ctl_rx_callback()
/openbmc/linux/drivers/net/thunderbolt/
H A Dmain.c138 struct ring_frame frame;
569 static void tbnet_tx_callback(struct tb_ring *ring, struct ring_frame *frame, in tbnet_tx_callback()
813 struct ring_frame *frame; in tbnet_poll()