Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dthunderbolt.h530 struct tb_ring **tx_rings;
531 struct tb_ring **rx_rings;
543 * struct tb_ring - thunderbolt TX or RX ring associated with a NHI
575 struct tb_ring { argument
613 typedef void (*ring_cb)(struct tb_ring *, struct ring_frame *, bool canceled);
664 static inline size_t tb_ring_size(const struct tb_ring *ring)
669 struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size,
671 struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size,
675 void tb_ring_start(struct tb_ring *ring);
676 bool tb_ring_flush(struct tb_ring *rin
571 struct tb_ring { global() struct
572 locktb_ring global() argument
573 nhitb_ring global() argument
574 sizetb_ring global() argument
576 headtb_ring global() argument
577 tailtb_ring global() argument
578 descriptorstb_ring global() argument
579 descriptors_dmatb_ring global() argument
580 queuetb_ring global() argument
581 in_flighttb_ring global() argument
582 worktb_ring global() argument
583 is_txtb_ring global() argument
584 runningtb_ring global() argument
608 lock_keytb_ring global() argument
[all...]
/linux/drivers/thunderbolt/
H A Dnhi.c45 static int ring_interrupt_index(const struct tb_ring *ring) in ring_interrupt_index()
95 static void ring_interrupt_active(struct tb_ring *ring, bool active) in ring_interrupt_active()
194 static void __iomem *ring_desc_base(struct tb_ring *ring) in ring_iowrite_cons()
202 static void __iomem *ring_options_base(struct tb_ring *ring) in ring_iowrite_prod()
210 static void ring_iowrite_cons(struct tb_ring *ring, u16 cons) in ring_iowrite64desc()
220 static void ring_iowrite_prod(struct tb_ring *ring, u16 prod) in ring_full()
226 static void ring_iowrite32desc(struct tb_ring *ring, u32 value, u32 offset) in ring_empty()
231 static void ring_iowrite64desc(struct tb_ring *ring, u64 value, u32 offset)
237 static void ring_iowrite32options(struct tb_ring *ring, u32 value, u32 offset) in ring_write_descriptors()
242 static bool ring_full(struct tb_ring *rin in ring_write_descriptors()
[all...]
H A Dnhi.h67 int (*request_ring_irq)(struct tb_ring *ring, bool no_suspend);
68 void (*release_ring_irq)(struct tb_ring *ring);
H A Dctl.c41 struct tb_ring *tx;
42 struct tb_ring *rx;
352 static void tb_ctl_tx_callback(struct tb_ring *ring, struct ring_frame *frame, in tb_ctl_tx_callback()
445 static void tb_ctl_rx_callback(struct tb_ring *ring, struct ring_frame *frame, in tb_ctl_rx_callback()
H A Dpci.c260 static int nhi_pci_ring_request_msix(struct tb_ring *ring, bool no_suspend)
296 static void nhi_pci_ring_release_msix(struct tb_ring *ring) in icl_nhi_force_power()
H A Dstream.c116 struct tb_ring *ring;
373 tbstream_dev_rx_callback(struct tb_ring *ring, struct ring_frame *frame, in tbstream_dev_completed_rx()
477 tbstream_dev_tx_callback(struct tb_ring *ring, struct ring_frame *frame, in tbstream_dev_alloc_tx_buffers()
633 struct tb_ring *ring; in tbstream_dev_start()
/linux/drivers/net/thunderbolt/
H A Dmain.c147 struct tb_ring *ring;
577 static void tbnet_tx_callback(struct tb_ring *ring, struct ring_frame *frame, in tbnet_tx_callback()
945 struct tb_ring *ring; in tbnet_open()