Lines Matching refs:mlxsw_pci_queue

71 struct mlxsw_pci_queue {  struct
98 struct mlxsw_pci_queue *q; argument
130 static void mlxsw_pci_queue_tasklet_schedule(struct mlxsw_pci_queue *q) in mlxsw_pci_queue_tasklet_schedule()
135 static char *__mlxsw_pci_queue_elem_get(struct mlxsw_pci_queue *q, in __mlxsw_pci_queue_elem_get()
142 mlxsw_pci_queue_elem_info_get(struct mlxsw_pci_queue *q, int elem_index) in mlxsw_pci_queue_elem_info_get()
148 mlxsw_pci_queue_elem_info_producer_get(struct mlxsw_pci_queue *q) in mlxsw_pci_queue_elem_info_producer_get()
158 mlxsw_pci_queue_elem_info_consumer_get(struct mlxsw_pci_queue *q) in mlxsw_pci_queue_elem_info_consumer_get()
165 static char *mlxsw_pci_queue_elem_get(struct mlxsw_pci_queue *q, int elem_index) in mlxsw_pci_queue_elem_get()
170 static bool mlxsw_pci_elem_hw_owned(struct mlxsw_pci_queue *q, bool owner_bit) in mlxsw_pci_elem_hw_owned()
201 static struct mlxsw_pci_queue *
208 static struct mlxsw_pci_queue *mlxsw_pci_sdq_get(struct mlxsw_pci *mlxsw_pci, in mlxsw_pci_sdq_get()
215 static struct mlxsw_pci_queue *mlxsw_pci_rdq_get(struct mlxsw_pci *mlxsw_pci, in mlxsw_pci_rdq_get()
222 static struct mlxsw_pci_queue *mlxsw_pci_cq_get(struct mlxsw_pci *mlxsw_pci, in mlxsw_pci_cq_get()
228 static struct mlxsw_pci_queue *mlxsw_pci_eq_get(struct mlxsw_pci *mlxsw_pci, in mlxsw_pci_eq_get()
235 struct mlxsw_pci_queue *q, in __mlxsw_pci_queue_doorbell_set()
245 struct mlxsw_pci_queue *q, in __mlxsw_pci_queue_doorbell_arm_set()
255 struct mlxsw_pci_queue *q) in mlxsw_pci_queue_doorbell_producer_ring()
262 struct mlxsw_pci_queue *q) in mlxsw_pci_queue_doorbell_consumer_ring()
271 struct mlxsw_pci_queue *q) in mlxsw_pci_queue_doorbell_arm_consumer_ring()
277 static dma_addr_t __mlxsw_pci_queue_page_get(struct mlxsw_pci_queue *q, in __mlxsw_pci_queue_page_get()
284 struct mlxsw_pci_queue *q) in mlxsw_pci_sdq_init()
310 struct mlxsw_pci_queue *q) in mlxsw_pci_sdq_fini()
386 struct mlxsw_pci_queue *q) in mlxsw_pci_rdq_init()
437 struct mlxsw_pci_queue *q) in mlxsw_pci_rdq_fini()
450 struct mlxsw_pci_queue *q) in mlxsw_pci_cq_pre_init()
461 struct mlxsw_pci_queue *q) in mlxsw_pci_cq_init()
498 struct mlxsw_pci_queue *q) in mlxsw_pci_cq_fini()
504 struct mlxsw_pci_queue *q, in mlxsw_pci_cqe_sdq_handle()
529 struct mlxsw_pci_queue *q, in mlxsw_pci_cqe_rdq_handle()
579 static char *mlxsw_pci_cq_sw_cqe_get(struct mlxsw_pci_queue *q) in mlxsw_pci_cq_sw_cqe_get()
597 struct mlxsw_pci_queue *q = (struct mlxsw_pci_queue *) data; in mlxsw_pci_cq_tasklet()
609 struct mlxsw_pci_queue *sdq; in mlxsw_pci_cq_tasklet()
616 struct mlxsw_pci_queue *rdq; in mlxsw_pci_cq_tasklet()
632 static u16 mlxsw_pci_cq_elem_count(const struct mlxsw_pci_queue *q) in mlxsw_pci_cq_elem_count()
638 static u8 mlxsw_pci_cq_elem_size(const struct mlxsw_pci_queue *q) in mlxsw_pci_cq_elem_size()
645 struct mlxsw_pci_queue *q) in mlxsw_pci_eq_init()
675 struct mlxsw_pci_queue *q) in mlxsw_pci_eq_fini()
690 static char *mlxsw_pci_eq_sw_eqe_get(struct mlxsw_pci_queue *q) in mlxsw_pci_eq_sw_eqe_get()
708 struct mlxsw_pci_queue *q = (struct mlxsw_pci_queue *) data; in mlxsw_pci_eq_tasklet()
760 struct mlxsw_pci_queue *q);
762 struct mlxsw_pci_queue *q);
764 struct mlxsw_pci_queue *q);
766 u16 (*elem_count_f)(const struct mlxsw_pci_queue *q);
767 u8 (*elem_size_f)(const struct mlxsw_pci_queue *q);
809 struct mlxsw_pci_queue *q, u8 q_num) in mlxsw_pci_queue_init()
871 struct mlxsw_pci_queue *q) in mlxsw_pci_queue_fini()
1308 struct mlxsw_pci_queue *q; in mlxsw_pci_eq_irq_handler()
1532 static struct mlxsw_pci_queue *
1545 struct mlxsw_pci_queue *q = mlxsw_pci_sdq_pick(mlxsw_pci, tx_info); in mlxsw_pci_skb_transmit_busy()
1554 struct mlxsw_pci_queue *q; in mlxsw_pci_skb_transmit()