Home
last modified time | relevance | path

Searched refs:eqn (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.6.21/drivers/infiniband/hw/mthca/
Dmthca_eq.c184 mthca_write64(MTHCA_EQ_DB_SET_CI | eq->eqn, ci & (eq->nent - 1), in tavor_set_eq_ci()
194 dev->eq_regs.arbel.eq_set_ci_base + eq->eqn * 8); in arbel_set_eq_ci()
207 static inline void tavor_eq_req_not(struct mthca_dev *dev, int eqn) in tavor_eq_req_not() argument
209 mthca_write64(MTHCA_EQ_DB_REQ_NOT | eqn, 0, in tavor_eq_req_not()
219 static inline void disarm_cq(struct mthca_dev *dev, int eqn, int cqn) in disarm_cq() argument
222 mthca_write64(MTHCA_EQ_DB_DISARM_CQ | eqn, cqn, in disarm_cq()
277 disarm_cq(dev, eq->eqn, disarm_cqn); in mthca_eq_int()
349 mthca_warn(dev, "EQ overrun on EQN %d\n", eq->eqn); in mthca_eq_int()
358 eqe->type, eqe->subtype, eq->eqn); in mthca_eq_int()
412 tavor_eq_req_not(dev, dev->eq_table.eq[i].eqn); in mthca_tavor_interrupt()
[all …]
Dmthca_provider.h89 int eqn; member
Dmthca_cq.c833 cq_context->error_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn); in mthca_init_cq()
834 cq_context->comp_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_COMP].eqn); in mthca_init_cq()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Deq.c84 static int mlx5_cmd_destroy_eq(struct mlx5_core_dev *dev, u8 eqn) in mlx5_cmd_destroy_eq() argument
89 MLX5_SET(destroy_eq_in, in, eq_number, eqn); in mlx5_cmd_destroy_eq()
331 eq->eqn = MLX5_GET(create_eq_out, out, eq_number); in create_map_eq()
344 mlx5_cmd_destroy_eq(dev, eq->eqn); in create_map_eq()
398 err = mlx5_cmd_destroy_eq(dev, eq->eqn); in destroy_unmap_eq()
401 eq->eqn); in destroy_unmap_eq()
430 eq->eqn, cq->cqn); in mlx5_eq_del_cq()
436 eq->eqn, cq->cqn); in mlx5_eq_del_cq()
810 val = (eq->cons_index & 0xffffff) | (eq->eqn << 24); in mlx5_eq_update_ci()
981 eq->core.eqn); in destroy_comp_eq()
[all …]
Dcq.c92 int eqn = MLX5_GET(cqc, MLX5_ADDR_OF(create_cq_in, in, cq_context), in mlx5_create_cq() local
98 eq = mlx5_eqn2comp_eq(dev, eqn); in mlx5_create_cq()
Ddebugfs.c386 MLX5_SET(query_eq_in, in, eq_number, eq->eqn); in eq_read_field()
561 &eq->dbg, eq->eqn, eq_fields, in mlx5_debug_eq_add()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Deq.c543 eq->eqn, eq->cons_index, ret); in mlx4_eq_int()
560 eq->eqn); in mlx4_eq_int()
573 eq->eqn, eq->cons_index, ret); in mlx4_eq_int()
698 eq->eqn, eq->cons_index, ret); in mlx4_eq_int()
714 mlx4_warn(dev, "EQ overrun on EQN %d\n", eq->eqn); in mlx4_eq_int()
782 eqe->type, eqe->subtype, eq->eqn, in mlx4_eq_int()
807 eqe->type, eqe->subtype, eq->eqn, in mlx4_eq_int()
819 eqe->type, eqe->subtype, eq->eqn, in mlx4_eq_int()
885 u32 eqn = in_modifier & 0x3FF; in mlx4_MAP_EQ_wrapper() local
891 err = mlx4_cmd(dev, in_param, (in_modifier & 0x80000000) | eqn, in mlx4_MAP_EQ_wrapper()
[all …]
Dresource_tracker.c3100 int eqn = vhcr->in_modifier; in mlx4_SW2HW_EQ_wrapper() local
3101 int res_id = (slave << 10) | eqn; in mlx4_SW2HW_EQ_wrapper()
3307 int eqn = vhcr->in_modifier; in mlx4_HW2SW_EQ_wrapper() local
3308 int res_id = eqn | (slave << 10); in mlx4_HW2SW_EQ_wrapper()
3361 if (event_eq->eqn < 0) in mlx4_GEN_EQE()
3365 res_id = (slave << 10) | event_eq->eqn; in mlx4_GEN_EQE()
3388 in_modifier = (slave & 0xff) | ((event_eq->eqn & 0x3ff) << 16); in mlx4_GEN_EQE()
3413 int eqn = vhcr->in_modifier; in mlx4_QUERY_EQ_wrapper() local
3414 int res_id = eqn | (slave << 10); in mlx4_QUERY_EQ_wrapper()
5126 int eqn; in rem_slave_eqs() local
[all …]
Dmlx4.h396 int eqn; member
416 int eqn; member
568 u32 eqn; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Deq.h33 u8 eqn; member
71 u32 val = (eq->cons_index & 0xffffff) | (eq->eqn << 24); in eq_update_ci()
85 struct mlx5_eq_comp *mlx5_eqn2comp_eq(struct mlx5_core_dev *dev, int eqn);
Daso.c81 int inlen, eqn; in create_aso_cq() local
84 err = mlx5_comp_eqn_get(mdev, 0, &eqn); in create_aso_cq()
102 MLX5_SET(cqc, cqc, c_eqn_or_apu_element, eqn); in create_aso_cq()
/linux-6.6.21/drivers/infiniband/hw/efa/
Defa_com.h123 u16 eqn; member
138 u16 eqn; member
142 u16 eqn; member
Defa_com.c1123 result->eqn = resp.eqn; in efa_com_create_eq()
1137 cmd.eqn = params->eqn; in efa_com_destroy_eq()
1146 "Failed to destroy EQ-%u [%d]\n", cmd.eqn, in efa_com_destroy_eq()
1154 EFA_SET(&val, EFA_REGS_EQ_DB_EQN, eeq->eqn); in efa_com_arm_eq()
1202 .eqn = eeq->eqn, in efa_com_eq_destroy()
1233 eeq->eqn = result.eqn; in efa_com_eq_init()
Defa_admin_cmds_defs.h461 u16 eqn; member
897 u16 eqn; member
907 u16 eqn; member
Defa_com_cmd.h76 u16 eqn; member
Defa_com_cmd.c169 create_cmd.eqn = params->eqn; in efa_com_create_cq()
/linux-6.6.21/drivers/infiniband/hw/erdma/
Derdma_eq.c209 static int create_eq_cmd(struct erdma_dev *dev, u32 eqn, struct erdma_eq *eq) in create_eq_cmd() argument
216 req.eqn = eqn; in create_eq_cmd()
221 req.vector_idx = eqn; in create_eq_cmd()
271 req.eqn = ceqn + 1; in erdma_ceq_uninit_one()
Derdma_hw.h173 u8 eqn; member
184 u8 eqn; member
/linux-6.6.21/drivers/clk/spear/
Dclk-aux-synth.c66 unsigned int num = 1, den = 1, val, eqn; in clk_aux_recalc_rate() local
77 eqn = (val >> aux->masks->eq_sel_shift) & aux->masks->eq_sel_mask; in clk_aux_recalc_rate()
78 if (eqn == aux->masks->eq1_mask) in clk_aux_recalc_rate()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhealth.c115 err = devlink_fmsg_u8_pair_put(fmsg, "eqn", eq->core.eqn); in mlx5e_health_eq_diag_fmsg()
212 eq->core.eqn, eq->core.cons_index, eq->core.irqn); in mlx5e_health_channel_eq_recover()
219 eqe_count, eq->core.eqn); in mlx5e_health_channel_eq_recover()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dconn.c419 int inlen, err, eqn; in mlx5_fpga_conn_create_cq() local
448 err = mlx5_comp_eqn_get(mdev, smp_processor_id(), &eqn); in mlx5_fpga_conn_create_cq()
456 MLX5_SET(cqc, cqc, c_eqn_or_apu_element, eqn); in mlx5_fpga_conn_create_cq()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c1067 int inlen, err, eqn; in dr_create_cq() local
1100 err = mlx5_comp_eqn_get(mdev, vector, &eqn); in dr_create_cq()
1108 MLX5_SET(cqc, cqc, c_eqn_or_apu_element, eqn); in dr_create_cq()
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dcq.c958 int eqn; in mlx5_ib_create_cq() local
996 err = mlx5_comp_eqn_get(dev->mdev, vector, &eqn); in mlx5_ib_create_cq()
1009 MLX5_SET(cqc, cqc, c_eqn_or_apu_element, eqn); in mlx5_ib_create_cq()
/linux-6.6.21/drivers/infiniband/hw/ocrdma/
Docrdma.h331 u16 eqn; member
Docrdma_hw.c541 cmd->eqn = eq->id; in ocrdma_mbx_mq_cq_create()
1826 cq->eqn = ocrdma_bind_eq(dev); in ocrdma_mbx_create_cq()
1851 cmd->cmd.eqn = cq->eqn; in ocrdma_mbx_create_cq()
1877 ocrdma_unbind_eq(dev, cq->eqn); in ocrdma_mbx_create_cq()
1899 ocrdma_unbind_eq(dev, cq->eqn); in ocrdma_mbx_destroy_cq()

12