Home
last modified time | relevance | path

Searched defs:eq (Results 1 – 25 of 161) sorted by relevance

1234567

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_eqs.c27 #define GET_EQ_NUM_PAGES(eq, pg_size) \ argument
30 #define GET_EQ_NUM_ELEMS_IN_PG(eq, pg_size) ((pg_size) / (eq)->elem_size) argument
32 #define EQ_CONS_IDX_REG_ADDR(eq) (((eq)->type == HINIC_AEQ) ? \ argument
36 #define EQ_PROD_IDX_REG_ADDR(eq) (((eq)->type == HINIC_AEQ) ? \ argument
40 #define EQ_HI_PHYS_ADDR_REG(eq, pg_num) (((eq)->type == HINIC_AEQ) ? \ argument
44 #define EQ_LO_PHYS_ADDR_REG(eq, pg_num) (((eq)->type == HINIC_AEQ) ? \ argument
48 #define GET_EQ_ELEMENT(eq, idx) \ argument
52 #define GET_AEQ_ELEM(eq, idx) ((struct hinic_aeq_elem *) \ argument
55 #define GET_CEQ_ELEM(eq, idx) ((u32 *) \ argument
58 #define GET_CURR_AEQ_ELEM(eq) GET_AEQ_ELEM(eq, (eq)->cons_idx) argument
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_eqs.c27 #define GET_EQ_NUM_PAGES(eq, pg_size) \ argument
30 #define GET_EQ_NUM_ELEMS_IN_PG(eq, pg_size) ((pg_size) / (eq)->elem_size) argument
32 #define EQ_CONS_IDX_REG_ADDR(eq) (((eq)->type == HINIC_AEQ) ? \ argument
36 #define EQ_PROD_IDX_REG_ADDR(eq) (((eq)->type == HINIC_AEQ) ? \ argument
40 #define EQ_HI_PHYS_ADDR_REG(eq, pg_num) (((eq)->type == HINIC_AEQ) ? \ argument
44 #define EQ_LO_PHYS_ADDR_REG(eq, pg_num) (((eq)->type == HINIC_AEQ) ? \ argument
48 #define GET_EQ_ELEMENT(eq, idx) \ argument
52 #define GET_AEQ_ELEM(eq, idx) ((struct hinic_aeq_elem *) \ argument
55 #define GET_CEQ_ELEM(eq, idx) ((u32 *) \ argument
58 #define GET_CURR_AEQ_ELEM(eq) GET_AEQ_ELEM(eq, (eq)->cons_idx) argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Deq.c112 static struct mlx5_core_cq *mlx5_eq_cq_get(struct mlx5_eq *eq, u32 cqn) in mlx5_eq_cq_get()
132 struct mlx5_eq *eq = &eq_comp->core; in mlx5_eq_comp_int() local
179 u32 mlx5_eq_poll_irq_disabled(struct mlx5_eq_comp *eq) in mlx5_eq_poll_irq_disabled()
192 static void mlx5_eq_async_int_lock(struct mlx5_eq_async *eq, unsigned long *flags) in mlx5_eq_async_int_lock()
201 static void mlx5_eq_async_int_unlock(struct mlx5_eq_async *eq, unsigned long *flags) in mlx5_eq_async_int_unlock()
220 struct mlx5_eq *eq = &eq_async->core; in mlx5_eq_async_int() local
259 struct mlx5_eq_async *eq = &dev->priv.eq_table->cmd_eq; in mlx5_cmd_eq_recover() local
267 static void init_eq_buf(struct mlx5_eq *eq) in init_eq_buf()
279 create_map_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq, in create_map_eq()
371 int mlx5_eq_enable(struct mlx5_core_dev *dev, struct mlx5_eq *eq, in mlx5_eq_enable()
[all …]
Ddebugfs.c282 static u64 eq_read_field(struct mlx5_core_dev *dev, struct mlx5_eq *eq, in eq_read_field()
464 int mlx5_debug_eq_add(struct mlx5_core_dev *dev, struct mlx5_eq *eq) in mlx5_debug_eq_add()
480 void mlx5_debug_eq_remove(struct mlx5_core_dev *dev, struct mlx5_eq *eq) in mlx5_debug_eq_remove()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
Deq.c94 static struct mlx5_core_cq *mlx5_eq_cq_get(struct mlx5_eq *eq, u32 cqn) in mlx5_eq_cq_get()
114 struct mlx5_eq *eq = &eq_comp->core; in mlx5_eq_comp_int() local
161 u32 mlx5_eq_poll_irq_disabled(struct mlx5_eq_comp *eq) in mlx5_eq_poll_irq_disabled()
174 static void mlx5_eq_async_int_lock(struct mlx5_eq_async *eq, bool recovery, in mlx5_eq_async_int_lock()
184 static void mlx5_eq_async_int_unlock(struct mlx5_eq_async *eq, bool recovery, in mlx5_eq_async_int_unlock()
204 struct mlx5_eq *eq = &eq_async->core; in mlx5_eq_async_int() local
245 struct mlx5_eq_async *eq = &dev->priv.eq_table->cmd_eq; in mlx5_cmd_eq_recover() local
253 static void init_eq_buf(struct mlx5_eq *eq) in init_eq_buf()
265 create_map_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq, in create_map_eq()
364 int mlx5_eq_enable(struct mlx5_core_dev *dev, struct mlx5_eq *eq, in mlx5_eq_enable()
[all …]
/kernel/linux/linux-6.6/drivers/infiniband/hw/erdma/
Derdma_eq.c11 void notify_eq(struct erdma_eq *eq) in notify_eq()
22 void *get_next_valid_eqe(struct erdma_eq *eq) in get_next_valid_eqe()
85 struct erdma_eq *eq = &dev->aeq; in erdma_aeq_init() local
117 struct erdma_eq *eq = &dev->aeq; in erdma_aeq_destroy() local
209 static int create_eq_cmd(struct erdma_dev *dev, u32 eqn, struct erdma_eq *eq) in create_eq_cmd()
231 struct erdma_eq *eq = &dev->ceqs[ceqn].eq; in erdma_ceq_init_one() local
261 struct erdma_eq *eq = &dev->ceqs[ceqn].eq; in erdma_ceq_uninit_one() local
/kernel/linux/linux-6.6/sound/pci/au88x0/
Dau88x0_eq.c495 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_GetLeftGain() local
506 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetLeftGain() local
520 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_GetRightGain() local
531 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetRightGain() local
568 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetAllBandsFromActiveCoeffSet() local
579 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetAllBands() local
597 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetA3dBypassGain() local
613 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_ProgramA3dBypassGain() local
633 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetBypass() local
650 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_ReadAndSetActiveCoefSet() local
[all …]
/kernel/linux/linux-5.10/sound/pci/au88x0/
Dau88x0_eq.c495 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_GetLeftGain() local
506 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetLeftGain() local
520 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_GetRightGain() local
531 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetRightGain() local
568 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetAllBandsFromActiveCoeffSet() local
579 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetAllBands() local
597 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetA3dBypassGain() local
613 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_ProgramA3dBypassGain() local
633 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetBypass() local
650 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_ReadAndSetActiveCoefSet() local
[all …]
/kernel/linux/linux-5.10/drivers/pci/controller/
Dpcie-iproc-msi.c64 unsigned int eq; member
130 unsigned int eq) in iproc_msi_read_reg()
139 int eq, u32 val) in iproc_msi_write_reg()
160 static inline unsigned int iproc_msi_eq_offset(struct iproc_msi *msi, u32 eq) in iproc_msi_eq_offset()
303 static inline u32 decode_msi_hwirq(struct iproc_msi *msi, u32 eq, u32 head) in decode_msi_hwirq()
327 u32 eq, head, tail, nr_events; in iproc_msi_handler() local
389 int i, eq; in iproc_msi_enable() local
432 u32 eq, val; in iproc_msi_disable() local
/kernel/linux/linux-6.6/drivers/pci/controller/
Dpcie-iproc-msi.c64 unsigned int eq; member
130 unsigned int eq) in iproc_msi_read_reg()
139 int eq, u32 val) in iproc_msi_write_reg()
160 static inline unsigned int iproc_msi_eq_offset(struct iproc_msi *msi, u32 eq) in iproc_msi_eq_offset()
303 static inline u32 decode_msi_hwirq(struct iproc_msi *msi, u32 eq, u32 head) in decode_msi_hwirq()
327 u32 eq, head, tail, nr_events; in iproc_msi_handler() local
387 int i, eq; in iproc_msi_enable() local
430 u32 eq, val; in iproc_msi_disable() local
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Deq.c97 static void eq_set_ci(struct mlx4_eq *eq, int req_not) in eq_set_ci()
106 static struct mlx4_eqe *get_eqe(struct mlx4_eq *eq, u32 entry, u8 eqe_factor, in get_eqe()
121 static struct mlx4_eqe *next_eqe_sw(struct mlx4_eq *eq, u8 eqe_factor, u8 size) in next_eqe_sw()
241 struct mlx4_eq *eq = &priv->eq_table.eq[vec]; in mlx4_set_eq_affinity_hint() local
494 static int mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq) in mlx4_eq_int()
865 struct mlx4_eq *eq = eq_ptr; in mlx4_msi_x_interrupt() local
934 static void __iomem *mlx4_get_eq_uar(struct mlx4_dev *dev, struct mlx4_eq *eq) in mlx4_get_eq_uar()
970 u8 intr, struct mlx4_eq *eq) in mlx4_create_eq()
1088 struct mlx4_eq *eq) in mlx4_free_eq()
1227 struct mlx4_eq *eq = &priv->eq_table.eq[i]; in mlx4_init_eq_table() local
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
Deq.c97 static void eq_set_ci(struct mlx4_eq *eq, int req_not) in eq_set_ci()
106 static struct mlx4_eqe *get_eqe(struct mlx4_eq *eq, u32 entry, u8 eqe_factor, in get_eqe()
121 static struct mlx4_eqe *next_eqe_sw(struct mlx4_eq *eq, u8 eqe_factor, u8 size) in next_eqe_sw()
241 struct mlx4_eq *eq = &priv->eq_table.eq[vec]; in mlx4_set_eq_affinity_hint() local
494 static int mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq) in mlx4_eq_int()
866 struct mlx4_eq *eq = eq_ptr; in mlx4_msi_x_interrupt() local
935 static void __iomem *mlx4_get_eq_uar(struct mlx4_dev *dev, struct mlx4_eq *eq) in mlx4_get_eq_uar()
971 u8 intr, struct mlx4_eq *eq) in mlx4_create_eq()
1089 struct mlx4_eq *eq) in mlx4_free_eq()
1226 struct mlx4_eq *eq = &priv->eq_table.eq[i]; in mlx4_init_eq_table() local
[all …]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/
Dmthca_eq.c173 static inline void tavor_set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) in tavor_set_eq_ci()
189 static inline void arbel_set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) in arbel_set_eq_ci()
199 static inline void set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) in set_eq_ci()
228 static inline struct mthca_eqe *get_eqe(struct mthca_eq *eq, u32 entry) in get_eqe()
234 static inline struct mthca_eqe *next_eqe_sw(struct mthca_eq *eq) in next_eqe_sw()
260 static int mthca_eq_int(struct mthca_dev *dev, struct mthca_eq *eq) in mthca_eq_int()
420 struct mthca_eq *eq = eq_ptr; in mthca_tavor_msi_x_interrupt() local
454 struct mthca_eq *eq = eq_ptr; in mthca_arbel_msi_x_interrupt() local
468 struct mthca_eq *eq) in mthca_create_eq()
589 struct mthca_eq *eq) in mthca_free_eq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_eq.c173 static inline void tavor_set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) in tavor_set_eq_ci()
189 static inline void arbel_set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) in arbel_set_eq_ci()
199 static inline void set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) in set_eq_ci()
228 static inline struct mthca_eqe *get_eqe(struct mthca_eq *eq, u32 entry) in get_eqe()
234 static inline struct mthca_eqe *next_eqe_sw(struct mthca_eq *eq) in next_eqe_sw()
260 static int mthca_eq_int(struct mthca_dev *dev, struct mthca_eq *eq) in mthca_eq_int()
420 struct mthca_eq *eq = eq_ptr; in mthca_tavor_msi_x_interrupt() local
454 struct mthca_eq *eq = eq_ptr; in mthca_arbel_msi_x_interrupt() local
468 struct mthca_eq *eq) in mthca_create_eq()
589 struct mthca_eq *eq) in mthca_free_eq()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Deq.h51 static inline u32 eq_get_size(struct mlx5_eq *eq) in eq_get_size()
56 static inline struct mlx5_eqe *get_eqe(struct mlx5_eq *eq, u32 entry) in get_eqe()
61 static inline struct mlx5_eqe *next_eqe_sw(struct mlx5_eq *eq) in next_eqe_sw()
68 static inline void eq_update_ci(struct mlx5_eq *eq, int arm) in eq_update_ci()
/kernel/linux/linux-6.6/drivers/scsi/elx/efct/
Defct_hw_queues.c14 struct hw_eq *eq = NULL; in efct_hw_init_queues() local
130 struct hw_eq *eq = kzalloc(sizeof(*eq), GFP_KERNEL); in efct_hw_new_eq() local
159 efct_hw_new_cq(struct hw_eq *eq, u32 entry_count) in efct_hw_new_cq()
388 efct_hw_del_eq(struct hw_eq *eq) in efct_hw_del_eq()
473 struct hw_eq *eq; in efct_hw_queue_teardown() local
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Deq.h50 static inline struct mlx5_eqe *get_eqe(struct mlx5_eq *eq, u32 entry) in get_eqe()
55 static inline struct mlx5_eqe *next_eqe_sw(struct mlx5_eq *eq) in next_eqe_sw()
62 static inline void eq_update_ci(struct mlx5_eq *eq, int arm) in eq_update_ci()
/kernel/linux/linux-6.6/drivers/infiniband/hw/efa/
Defa_main.c105 struct efa_eq *eq = data; in efa_intr_msix_comp() local
139 static void efa_setup_comp_irq(struct efa_dev *dev, struct efa_eq *eq, in efa_setup_comp_irq()
289 static void efa_destroy_eq(struct efa_dev *dev, struct efa_eq *eq) in efa_destroy_eq()
295 static int efa_create_eq(struct efa_dev *dev, struct efa_eq *eq, u8 msix_vec) in efa_create_eq()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhealth.c107 int mlx5e_health_eq_diag_fmsg(struct mlx5_eq_comp *eq, struct devlink_fmsg *fmsg) in mlx5e_health_eq_diag_fmsg()
206 int mlx5e_health_channel_eq_recover(struct net_device *dev, struct mlx5_eq_comp *eq, in mlx5e_health_channel_eq_recover()
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c111 static inline void *ocrdma_get_eqe(struct ocrdma_eq *eq) in ocrdma_get_eqe()
116 static inline void ocrdma_eq_inc_tail(struct ocrdma_eq *eq) in ocrdma_eq_inc_tail()
433 static int ocrdma_mbx_create_eq(struct ocrdma_dev *dev, struct ocrdma_eq *eq) in ocrdma_mbx_create_eq()
461 struct ocrdma_eq *eq, u16 q_len) in ocrdma_create_eq()
482 int ocrdma_get_irq(struct ocrdma_dev *dev, struct ocrdma_eq *eq) in ocrdma_get_irq()
493 static void _ocrdma_destroy_eq(struct ocrdma_dev *dev, struct ocrdma_eq *eq) in _ocrdma_destroy_eq()
501 static void ocrdma_destroy_eq(struct ocrdma_dev *dev, struct ocrdma_eq *eq) in ocrdma_destroy_eq()
525 struct ocrdma_queue_info *eq) in ocrdma_mbx_mq_cq_create()
996 struct ocrdma_eq *eq = handle; in ocrdma_irq_handler() local
3113 static int ocrdma_mbx_modify_eqd(struct ocrdma_dev *dev, struct ocrdma_eq *eq, in ocrdma_mbx_modify_eqd()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c111 static inline void *ocrdma_get_eqe(struct ocrdma_eq *eq) in ocrdma_get_eqe()
116 static inline void ocrdma_eq_inc_tail(struct ocrdma_eq *eq) in ocrdma_eq_inc_tail()
433 static int ocrdma_mbx_create_eq(struct ocrdma_dev *dev, struct ocrdma_eq *eq) in ocrdma_mbx_create_eq()
461 struct ocrdma_eq *eq, u16 q_len) in ocrdma_create_eq()
482 int ocrdma_get_irq(struct ocrdma_dev *dev, struct ocrdma_eq *eq) in ocrdma_get_irq()
493 static void _ocrdma_destroy_eq(struct ocrdma_dev *dev, struct ocrdma_eq *eq) in _ocrdma_destroy_eq()
501 static void ocrdma_destroy_eq(struct ocrdma_dev *dev, struct ocrdma_eq *eq) in ocrdma_destroy_eq()
525 struct ocrdma_queue_info *eq) in ocrdma_mbx_mq_cq_create()
996 struct ocrdma_eq *eq = handle; in ocrdma_irq_handler() local
3117 static int ocrdma_mbx_modify_eqd(struct ocrdma_dev *dev, struct ocrdma_eq *eq, in ocrdma_mbx_modify_eqd()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhealth.c108 int mlx5e_health_eq_diag_fmsg(struct mlx5_eq_comp *eq, struct devlink_fmsg *fmsg) in mlx5e_health_eq_diag_fmsg()
209 int mlx5e_health_channel_eq_recover(struct mlx5_eq_comp *eq, struct mlx5e_channel *channel) in mlx5e_health_channel_eq_recover()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c3677 static void set_eq_cons_index_v1(struct hns_roce_eq *eq, int req_not) in set_eq_cons_index_v1()
3845 static struct hns_roce_aeqe *get_aeqe_v1(struct hns_roce_eq *eq, u32 entry) in get_aeqe_v1()
3854 static struct hns_roce_aeqe *next_aeqe_sw_v1(struct hns_roce_eq *eq) in next_aeqe_sw_v1()
3863 struct hns_roce_eq *eq) in hns_roce_v1_aeq_int()
3949 static struct hns_roce_ceqe *get_ceqe_v1(struct hns_roce_eq *eq, u32 entry) in get_ceqe_v1()
3958 static struct hns_roce_ceqe *next_ceqe_sw_v1(struct hns_roce_eq *eq) in next_ceqe_sw_v1()
3968 struct hns_roce_eq *eq) in hns_roce_v1_ceq_int()
4000 struct hns_roce_eq *eq = eq_ptr; in hns_roce_v1_msix_interrupt_eq() local
4153 struct hns_roce_eq *eq) in hns_roce_v1_free_eq()
4195 struct hns_roce_eq *eq) in hns_roce_v1_create_eq()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dodp.c77 struct mlx5_ib_pf_eq *eq; member
1454 struct mlx5_ib_pf_eq *eq = pfault->eq; in mlx5_ib_eqe_pf_action() local
1460 static void mlx5_ib_eq_pf_process(struct mlx5_ib_pf_eq *eq) in mlx5_ib_eq_pf_process()
1550 struct mlx5_ib_pf_eq *eq = in mlx5_ib_eq_pf_int() local
1576 struct mlx5_ib_pf_eq *eq = in mlx5_ib_eq_pf_action() local
1592 mlx5_ib_create_pf_eq(struct mlx5_ib_dev *dev, struct mlx5_ib_pf_eq *eq) in mlx5_ib_create_pf_eq()
1642 mlx5_ib_destroy_pf_eq(struct mlx5_ib_dev *dev, struct mlx5_ib_pf_eq *eq) in mlx5_ib_destroy_pf_eq()
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
Dodp.c79 struct mlx5_ib_pf_eq *eq; member
1386 struct mlx5_ib_pf_eq *eq = pfault->eq; in mlx5_ib_eqe_pf_action() local
1392 static void mlx5_ib_eq_pf_process(struct mlx5_ib_pf_eq *eq) in mlx5_ib_eq_pf_process()
1482 struct mlx5_ib_pf_eq *eq = in mlx5_ib_eq_pf_int() local
1508 struct mlx5_ib_pf_eq *eq = in mlx5_ib_eq_pf_action() local
1523 int mlx5r_odp_create_eq(struct mlx5_ib_dev *dev, struct mlx5_ib_pf_eq *eq) in mlx5r_odp_create_eq()
1581 mlx5_ib_odp_destroy_eq(struct mlx5_ib_dev *dev, struct mlx5_ib_pf_eq *eq) in mlx5_ib_odp_destroy_eq()

1234567