Lines Matching refs:mlxsw_pci_queue

71 struct mlxsw_pci_queue {  struct
98 struct mlxsw_pci_queue *q; argument
133 static void mlxsw_pci_queue_tasklet_schedule(struct mlxsw_pci_queue *q) in mlxsw_pci_queue_tasklet_schedule()
138 static char *__mlxsw_pci_queue_elem_get(struct mlxsw_pci_queue *q, in __mlxsw_pci_queue_elem_get()
145 mlxsw_pci_queue_elem_info_get(struct mlxsw_pci_queue *q, int elem_index) in mlxsw_pci_queue_elem_info_get()
151 mlxsw_pci_queue_elem_info_producer_get(struct mlxsw_pci_queue *q) in mlxsw_pci_queue_elem_info_producer_get()
161 mlxsw_pci_queue_elem_info_consumer_get(struct mlxsw_pci_queue *q) in mlxsw_pci_queue_elem_info_consumer_get()
168 static char *mlxsw_pci_queue_elem_get(struct mlxsw_pci_queue *q, int elem_index) in mlxsw_pci_queue_elem_get()
173 static bool mlxsw_pci_elem_hw_owned(struct mlxsw_pci_queue *q, bool owner_bit) in mlxsw_pci_elem_hw_owned()
204 static struct mlxsw_pci_queue *
211 static struct mlxsw_pci_queue *mlxsw_pci_sdq_get(struct mlxsw_pci *mlxsw_pci, in mlxsw_pci_sdq_get()
218 static struct mlxsw_pci_queue *mlxsw_pci_rdq_get(struct mlxsw_pci *mlxsw_pci, in mlxsw_pci_rdq_get()
225 static struct mlxsw_pci_queue *mlxsw_pci_cq_get(struct mlxsw_pci *mlxsw_pci, in mlxsw_pci_cq_get()
231 static struct mlxsw_pci_queue *mlxsw_pci_eq_get(struct mlxsw_pci *mlxsw_pci, in mlxsw_pci_eq_get()
238 struct mlxsw_pci_queue *q, in __mlxsw_pci_queue_doorbell_set()
248 struct mlxsw_pci_queue *q, in __mlxsw_pci_queue_doorbell_arm_set()
258 struct mlxsw_pci_queue *q) in mlxsw_pci_queue_doorbell_producer_ring()
265 struct mlxsw_pci_queue *q) in mlxsw_pci_queue_doorbell_consumer_ring()
274 struct mlxsw_pci_queue *q) in mlxsw_pci_queue_doorbell_arm_consumer_ring()
280 static dma_addr_t __mlxsw_pci_queue_page_get(struct mlxsw_pci_queue *q, in __mlxsw_pci_queue_page_get()
287 struct mlxsw_pci_queue *q) in mlxsw_pci_sdq_init()
320 struct mlxsw_pci_queue *q) in mlxsw_pci_sdq_fini()
393 struct mlxsw_pci_queue *q) in mlxsw_pci_rdq_init()
444 struct mlxsw_pci_queue *q) in mlxsw_pci_rdq_fini()
457 struct mlxsw_pci_queue *q) in mlxsw_pci_cq_pre_init()
468 struct mlxsw_pci_queue *q) in mlxsw_pci_cq_init()
505 struct mlxsw_pci_queue *q) in mlxsw_pci_cq_fini()
533 struct mlxsw_pci_queue *q, in mlxsw_pci_cqe_sdq_handle()
620 struct mlxsw_pci_queue *q, in mlxsw_pci_cqe_rdq_handle()
691 static char *mlxsw_pci_cq_sw_cqe_get(struct mlxsw_pci_queue *q) in mlxsw_pci_cq_sw_cqe_get()
709 struct mlxsw_pci_queue *q = from_tasklet(q, t, tasklet); in mlxsw_pci_cq_tasklet()
725 struct mlxsw_pci_queue *sdq; in mlxsw_pci_cq_tasklet()
732 struct mlxsw_pci_queue *rdq; in mlxsw_pci_cq_tasklet()
746 static u16 mlxsw_pci_cq_elem_count(const struct mlxsw_pci_queue *q) in mlxsw_pci_cq_elem_count()
752 static u8 mlxsw_pci_cq_elem_size(const struct mlxsw_pci_queue *q) in mlxsw_pci_cq_elem_size()
759 struct mlxsw_pci_queue *q) in mlxsw_pci_eq_init()
789 struct mlxsw_pci_queue *q) in mlxsw_pci_eq_fini()
804 static char *mlxsw_pci_eq_sw_eqe_get(struct mlxsw_pci_queue *q) in mlxsw_pci_eq_sw_eqe_get()
822 struct mlxsw_pci_queue *q = from_tasklet(q, t, tasklet); in mlxsw_pci_eq_tasklet()
874 struct mlxsw_pci_queue *q);
876 struct mlxsw_pci_queue *q);
878 struct mlxsw_pci_queue *q);
880 u16 (*elem_count_f)(const struct mlxsw_pci_queue *q);
881 u8 (*elem_size_f)(const struct mlxsw_pci_queue *q);
923 struct mlxsw_pci_queue *q, u8 q_num) in mlxsw_pci_queue_init()
984 struct mlxsw_pci_queue *q) in mlxsw_pci_queue_fini()
1403 struct mlxsw_pci_queue *q; in mlxsw_pci_eq_irq_handler()
1673 static struct mlxsw_pci_queue *
1694 struct mlxsw_pci_queue *q = mlxsw_pci_sdq_pick(mlxsw_pci, tx_info); in mlxsw_pci_skb_transmit_busy()
1703 struct mlxsw_pci_queue *q; in mlxsw_pci_skb_transmit()