/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_eq.c | 184 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 …]
|
H A D | mthca_provider.h | 89 int eqn; member
|
H A D | mthca_cq.c | 833 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/drivers/net/ethernet/mellanox/mlx4/ |
H A D | eq.c | 543 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 …]
|
H A D | resource_tracker.c | 3100 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 …]
|
H A D | mlx4.h | 396 int eqn; member 416 int eqn; member 568 u32 eqn; member
|
H A D | cq.c | 384 cq_context->comp_eqn = priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(vector)].eqn; in mlx4_cq_alloc()
|
H A D | main.c | 2926 static int mlx4_init_affinity_hint(struct mlx4_dev *dev, int port, int eqn) in mlx4_init_affinity_hint() argument 2934 if (eqn > dev->caps.num_comp_vectors) in mlx4_init_affinity_hint() 2940 requested_cpu = eqn - off - !!(eqn > MLX4_EQ_ASYNC); in mlx4_init_affinity_hint() 2946 eq = &priv->eq_table.eq[eqn]; in mlx4_init_affinity_hint()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eq.c | 84 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() 322 eq->eqn = MLX5_GET(create_eq_out, out, eq_number); in create_map_eq() 335 mlx5_cmd_destroy_eq(dev, eq->eqn); in create_map_eq() 389 err = mlx5_cmd_destroy_eq(dev, eq->eqn); in destroy_unmap_eq() 392 eq->eqn); in destroy_unmap_eq() 421 eq->eqn, cq->cqn); in mlx5_eq_del_cq() 427 eq->eqn, cq->cqn); in mlx5_eq_del_cq() 953 eq->core.eqn); in destroy_comp_eq() 1025 mlx5_core_dbg(dev, "allocated completion EQN %d\n", eq->core.eqn); in create_comp_eq() [all …]
|
H A D | wc.c | 75 int err, inlen, eqn; in create_wc_cq() local 78 err = mlx5_comp_eqn_get(mdev, 0, &eqn); in create_wc_cq() 96 MLX5_SET(cqc, cqc, c_eqn_or_apu_element, eqn); in create_wc_cq()
|
H A D | debugfs.c | 398 MLX5_SET(query_eq_in, in, eq_number, eq->eqn); in eq_read_field() 573 &eq->dbg, eq->eqn, eq_fields, in mlx5_debug_eq_add()
|
/linux/drivers/infiniband/hw/efa/ |
H A D | efa_com.h | 123 u16 eqn; member 138 u16 eqn; member 142 u16 eqn; member
|
H A D | efa_com.c | 1127 result->eqn = resp.eqn; in efa_com_create_eq() 1141 cmd.eqn = params->eqn; in efa_com_destroy_eq() 1150 "Failed to destroy EQ-%u [%d]\n", cmd.eqn, in efa_com_destroy_eq() 1158 EFA_SET(&val, EFA_REGS_EQ_DB_EQN, eeq->eqn); in efa_com_arm_eq() 1206 .eqn = eeq->eqn, in efa_com_eq_destroy() 1237 eeq->eqn = result.eqn; in efa_com_eq_init()
|
/linux/drivers/infiniband/hw/erdma/ |
H A D | erdma_eq.c | 224 static int create_eq_cmd(struct erdma_dev *dev, u32 eqn, struct erdma_eq *eq) in create_eq_cmd() argument 230 req.eqn = eqn; in create_eq_cmd() 235 req.vector_idx = eqn; in create_eq_cmd() 277 req.eqn = ceqn + 1; in erdma_ceq_uninit_one()
|
H A D | erdma_hw.h | 172 u8 eqn; member 183 u8 eqn; member
|
/linux/drivers/clk/spear/ |
H A D | clk-aux-synth.c | 66 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/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | health.c | 55 devlink_fmsg_u8_pair_put(fmsg, "eqn", eq->core.eqn); in mlx5e_health_eq_diag_fmsg() 137 eq->core.eqn, eq->core.cons_index, eq->core.irqn); in mlx5e_health_channel_eq_recover() 144 eqe_count, eq->core.eqn); in mlx5e_health_channel_eq_recover()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | aso.c | 81 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/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | conn.c | 419 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/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
H A D | send.c | 799 int inlen, eqn; in hws_send_ring_create_cq() local 802 err = mlx5_comp_eqn_get(mdev, 0, &eqn); in hws_send_ring_create_cq() 817 MLX5_SET(cqc, cqc, c_eqn_or_apu_element, eqn); in hws_send_ring_create_cq()
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | cq.c | 967 int eqn; in mlx5_ib_create_cq() local 1005 err = mlx5_comp_eqn_get(dev->mdev, vector, &eqn); in mlx5_ib_create_cq() 1018 MLX5_SET(cqc, cqc, c_eqn_or_apu_element, eqn); in mlx5_ib_create_cq()
|
/linux/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma.h | 331 u16 eqn; member
|
H A D | ocrdma_hw.c | 541 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()
|
/linux/drivers/vfio/pci/mlx5/ |
H A D | cmd.c | 1102 int inlen, err, eqn; in mlx5vf_create_cq() local 1132 err = mlx5_comp_eqn_get(mdev, vector, &eqn); in mlx5vf_create_cq() 1138 MLX5_SET(cqc, cqc, c_eqn_or_apu_element, eqn); in mlx5vf_create_cq()
|
/linux/include/linux/mlx5/ |
H A D | driver.h | 1055 int mlx5_comp_eqn_get(struct mlx5_core_dev *dev, u16 vecidx, int *eqn);
|