/drivers/infiniband/hw/mthca/ |
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 …]
|
D | mthca_provider.h | 107 int eqn; member
|
D | mthca_cq.c | 841 cq_context->error_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn); in mthca_init_cq() 842 cq_context->comp_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_COMP].eqn); in mthca_init_cq()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eq.c | 81 u8 eqn; member 84 static int mlx5_cmd_destroy_eq(struct mlx5_core_dev *dev, u8 eqn) in mlx5_cmd_destroy_eq() argument 93 in.eqn = eqn; in mlx5_cmd_destroy_eq() 191 u32 val = (eq->cons_index & 0xffffff) | (eq->eqn << 24); in eq_update_ci() 214 eq->eqn, eqe_type_str(eqe->type)); in mlx5_eq_int() 292 eqe->type, eq->eqn); in mlx5_eq_int() 384 eq->eqn = out.eq_number; in mlx5_create_map_eq() 408 mlx5_cmd_destroy_eq(dev, eq->eqn); in mlx5_create_map_eq() 425 err = mlx5_cmd_destroy_eq(dev, eq->eqn); in mlx5_destroy_unmap_eq() 428 eq->eqn); in mlx5_destroy_unmap_eq() [all …]
|
D | main.c | 570 int mlx5_vector2eqn(struct mlx5_core_dev *dev, int vector, int *eqn, in mlx5_vector2eqn() argument 580 *eqn = eq->eqn; in mlx5_vector2eqn() 603 eq->eqn); in free_comp_eqs() 638 mlx5_core_dbg(dev, "allocated completion EQN %d\n", eq->eqn); in alloc_comp_eqs()
|
D | debugfs.c | 570 &eq->dbg, eq->eqn, eq_fields, in mlx5_debug_eq_add()
|
D | en_main.c | 804 int eqn; in mlx5e_enable_cq() local 820 mlx5_vector2eqn(mdev, param->eq_ix, &eqn, &irqn_not_used); in mlx5e_enable_cq() 822 MLX5_SET(cqc, cqc, c_eqn, eqn); in mlx5e_enable_cq()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | eq.c | 531 eq->eqn, eq->cons_index, ret); in mlx4_eq_int() 548 eq->eqn); in mlx4_eq_int() 560 eq->eqn, eq->cons_index, ret); in mlx4_eq_int() 680 eq->eqn, eq->cons_index, ret); in mlx4_eq_int() 696 mlx4_warn(dev, "EQ overrun on EQN %d\n", eq->eqn); in mlx4_eq_int() 764 eqe->type, eqe->subtype, eq->eqn, in mlx4_eq_int() 789 eqe->type, eqe->subtype, eq->eqn, in mlx4_eq_int() 801 eqe->type, eqe->subtype, eq->eqn, in mlx4_eq_int() 874 u32 eqn = in_modifier & 0x3FF; in mlx4_MAP_EQ_wrapper() local 880 err = mlx4_cmd(dev, in_param, (in_modifier & 0x80000000) | eqn, in mlx4_MAP_EQ_wrapper() [all …]
|
D | resource_tracker.c | 3034 int eqn = vhcr->in_modifier; in mlx4_SW2HW_EQ_wrapper() local 3035 int res_id = (slave << 10) | eqn; in mlx4_SW2HW_EQ_wrapper() 3241 int eqn = vhcr->in_modifier; in mlx4_HW2SW_EQ_wrapper() local 3242 int res_id = eqn | (slave << 10); in mlx4_HW2SW_EQ_wrapper() 3295 if (event_eq->eqn < 0) in mlx4_GEN_EQE() 3299 res_id = (slave << 10) | event_eq->eqn; in mlx4_GEN_EQE() 3322 in_modifier = (slave & 0xff) | ((event_eq->eqn & 0x3ff) << 16); in mlx4_GEN_EQE() 3347 int eqn = vhcr->in_modifier; in mlx4_QUERY_EQ_wrapper() local 3348 int res_id = eqn | (slave << 10); in mlx4_QUERY_EQ_wrapper() 4914 int eqn; in rem_slave_eqs() local [all …]
|
D | mlx4.h | 395 int eqn; member 415 int eqn; member 564 u32 eqn; member
|
D | cq.c | 324 cq_context->comp_eqn = priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(vector)].eqn; in mlx4_cq_alloc()
|
D | main.c | 2645 static int mlx4_init_affinity_hint(struct mlx4_dev *dev, int port, int eqn) in mlx4_init_affinity_hint() argument 2653 if (eqn > dev->caps.num_comp_vectors) in mlx4_init_affinity_hint() 2659 requested_cpu = eqn - off - !!(eqn > MLX4_EQ_ASYNC); in mlx4_init_affinity_hint() 2665 eq = &priv->eq_table.eq[eqn]; in mlx4_init_affinity_hint()
|
D | cmd.c | 2091 slave_state[slave].event_eq[i].eqn = -1; in mlx4_master_do_cmd() 2369 s_state->event_eq[j].eqn = -1; in mlx4_multi_func_init()
|
/drivers/clk/spear/ |
D | clk-aux-synth.c | 69 unsigned int num = 1, den = 1, val, eqn; in clk_aux_recalc_rate() local 80 eqn = (val >> aux->masks->eq_sel_shift) & aux->masks->eq_sel_mask; in clk_aux_recalc_rate() 81 if (eqn == aux->masks->eq1_mask) in clk_aux_recalc_rate()
|
/drivers/infiniband/hw/mlx5/ |
D | cq.c | 760 int eqn; in mlx5_ib_create_cq() local 800 err = mlx5_vector2eqn(dev->mdev, vector, &eqn, &irqn); in mlx5_ib_create_cq() 804 cqb->ctx.c_eqn = cpu_to_be16(eqn); in mlx5_ib_create_cq()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma.h | 335 u16 eqn; member
|
D | ocrdma_hw.c | 538 cmd->eqn = eq->id; in ocrdma_mbx_mq_cq_create() 1828 cq->eqn = ocrdma_bind_eq(dev); in ocrdma_mbx_create_cq() 1853 cmd->cmd.eqn = cq->eqn; in ocrdma_mbx_create_cq() 1879 ocrdma_unbind_eq(dev, cq->eqn); in ocrdma_mbx_create_cq() 1902 ocrdma_unbind_eq(dev, cq->eqn); in ocrdma_mbx_destroy_cq()
|
D | ocrdma_sli.h | 785 u32 eqn; member
|
D | ocrdma_verbs.c | 1173 indx = ocrdma_get_eq_table_index(dev, cq->eqn); in ocrdma_destroy_cq()
|