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()
537 struct mlxsw_pci_queue *q, in mlxsw_pci_cqe_sdq_handle()
624 struct mlxsw_pci_queue *q, in mlxsw_pci_cqe_rdq_handle()
695 static char *mlxsw_pci_cq_sw_cqe_get(struct mlxsw_pci_queue *q) in mlxsw_pci_cq_sw_cqe_get()
713 struct mlxsw_pci_queue *q = from_tasklet(q, t, tasklet); in mlxsw_pci_cq_tasklet()
729 struct mlxsw_pci_queue *sdq; in mlxsw_pci_cq_tasklet()
736 struct mlxsw_pci_queue *rdq; in mlxsw_pci_cq_tasklet()
750 static u16 mlxsw_pci_cq_elem_count(const struct mlxsw_pci_queue *q) in mlxsw_pci_cq_elem_count()
756 static u8 mlxsw_pci_cq_elem_size(const struct mlxsw_pci_queue *q) in mlxsw_pci_cq_elem_size()
763 struct mlxsw_pci_queue *q) in mlxsw_pci_eq_init()
793 struct mlxsw_pci_queue *q) in mlxsw_pci_eq_fini()
808 static char *mlxsw_pci_eq_sw_eqe_get(struct mlxsw_pci_queue *q) in mlxsw_pci_eq_sw_eqe_get()
826 struct mlxsw_pci_queue *q = from_tasklet(q, t, tasklet); in mlxsw_pci_eq_tasklet()
878 struct mlxsw_pci_queue *q);
880 struct mlxsw_pci_queue *q);
882 struct mlxsw_pci_queue *q);
884 u16 (*elem_count_f)(const struct mlxsw_pci_queue *q);
885 u8 (*elem_size_f)(const struct mlxsw_pci_queue *q);
927 struct mlxsw_pci_queue *q, u8 q_num) in mlxsw_pci_queue_init()
988 struct mlxsw_pci_queue *q) in mlxsw_pci_queue_fini()
1407 struct mlxsw_pci_queue *q; in mlxsw_pci_eq_irq_handler()
1677 static struct mlxsw_pci_queue *
1698 struct mlxsw_pci_queue *q = mlxsw_pci_sdq_pick(mlxsw_pci, tx_info); in mlxsw_pci_skb_transmit_busy()
1707 struct mlxsw_pci_queue *q; in mlxsw_pci_skb_transmit()