Searched refs:ring_frame (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/thunderbolt/
H A Dnhi.h49 struct ring_frame;
50 typedef void (*ring_cb)(struct tb_ring*, struct ring_frame*, bool canceled);
53 * struct ring_frame - for use with ring_rx/ring_tx
55 struct ring_frame { struct
73 int __ring_enqueue(struct tb_ring *ring, struct ring_frame *frame);
89 static inline int ring_rx(struct tb_ring *ring, struct ring_frame *frame) ring_rx()
108 static inline int ring_tx(struct tb_ring *ring, struct ring_frame *frame) ring_tx()
H A Dnhi.c135 struct ring_frame *frame, *n; ring_write_descriptors()
167 struct ring_frame *frame; ring_work()
227 int __ring_enqueue(struct tb_ring *ring, struct ring_frame *frame) __ring_enqueue()
396 * Must NOT be called from ring_frame->callback!
H A Dctl.c20 struct ring_frame frame;
322 static void tb_ctl_tx_callback(struct tb_ring *ring, struct ring_frame *frame, tb_ctl_tx_callback()
397 static void tb_ctl_rx_callback(struct tb_ring *ring, struct ring_frame *frame, tb_ctl_rx_callback()
/linux-4.4.14/drivers/net/fjes/
H A Dfjes_hw.c877 struct esmem_frame *ring_frame; fjes_hw_epbuf_rx_curpkt_get_addr() local
880 ring_frame = (struct esmem_frame *)&(epbh->ring[EP_RING_INDEX fjes_hw_epbuf_rx_curpkt_get_addr()
885 *psize = (size_t)ring_frame->frame_size; fjes_hw_epbuf_rx_curpkt_get_addr()
887 frame = ring_frame->frame_data; fjes_hw_epbuf_rx_curpkt_get_addr()
906 struct esmem_frame *ring_frame; fjes_hw_epbuf_tx_pkt_send() local
911 ring_frame = (struct esmem_frame *)&(epbh->ring[EP_RING_INDEX fjes_hw_epbuf_tx_pkt_send()
916 ring_frame->frame_size = size; fjes_hw_epbuf_tx_pkt_send()
917 memcpy((void *)(ring_frame->frame_data), (void *)frame, size); fjes_hw_epbuf_tx_pkt_send()

Completed in 124 milliseconds