/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 | 831 cq_context->error_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn); in mthca_init_cq() 832 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 | 103 static int mlx5_cmd_destroy_eq(struct mlx5_core_dev *dev, u8 eqn) in mlx5_cmd_destroy_eq() argument 109 MLX5_SET(destroy_eq_in, in, eq_number, eqn); in mlx5_cmd_destroy_eq() 302 eq->eqn = MLX5_GET(create_eq_out, out, eq_number); in create_map_eq() 315 mlx5_cmd_destroy_eq(dev, eq->eqn); in create_map_eq() 372 err = mlx5_cmd_destroy_eq(dev, eq->eqn); in destroy_unmap_eq() 375 eq->eqn); in destroy_unmap_eq() 406 eq->eqn, cq->cqn); in mlx5_eq_del_cq() 412 eq->eqn, cq->cqn); in mlx5_eq_del_cq() 756 val = (eq->cons_index & 0xffffff) | (eq->eqn << 24); in mlx5_eq_update_ci() 774 eq->core.eqn); in destroy_comp_eqs() [all …]
|
D | cq.c | 93 int eqn = MLX5_GET(cqc, MLX5_ADDR_OF(create_cq_in, in, cq_context), c_eqn); in mlx5_core_create_cq() local 99 eq = mlx5_eqn2comp_eq(dev, eqn); in mlx5_core_create_cq()
|
D | debugfs.c | 293 MLX5_SET(query_eq_in, in, eq_number, eq->eqn); in mlx5_core_eq_query() 482 &eq->dbg, eq->eqn, eq_fields, in mlx5_debug_eq_add()
|
D | en_main.c | 1587 int eqn; in mlx5e_create_cq() local 1590 err = mlx5_vector2eqn(mdev, param->eq_ix, &eqn, &irqn_not_used); in mlx5e_create_cq() 1608 MLX5_SET(cqc, cqc, c_eqn, eqn); in mlx5e_create_cq() 1954 int eqn; in mlx5e_open_channel() local 1956 err = mlx5_vector2eqn(priv->mdev, ix, &eqn, &irq); in mlx5e_open_channel()
|
/drivers/net/ethernet/mellanox/mlx4/ |
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() 697 eq->eqn, eq->cons_index, ret); in mlx4_eq_int() 713 mlx4_warn(dev, "EQ overrun on EQN %d\n", eq->eqn); in mlx4_eq_int() 781 eqe->type, eqe->subtype, eq->eqn, in mlx4_eq_int() 806 eqe->type, eqe->subtype, eq->eqn, in mlx4_eq_int() 818 eqe->type, eqe->subtype, eq->eqn, in mlx4_eq_int() 884 u32 eqn = in_modifier & 0x3FF; in mlx4_MAP_EQ_wrapper() local 890 err = mlx4_cmd(dev, in_param, (in_modifier & 0x80000000) | eqn, in mlx4_MAP_EQ_wrapper() [all …]
|
D | resource_tracker.c | 3099 int eqn = vhcr->in_modifier; in mlx4_SW2HW_EQ_wrapper() local 3100 int res_id = (slave << 10) | eqn; in mlx4_SW2HW_EQ_wrapper() 3306 int eqn = vhcr->in_modifier; in mlx4_HW2SW_EQ_wrapper() local 3307 int res_id = eqn | (slave << 10); in mlx4_HW2SW_EQ_wrapper() 3360 if (event_eq->eqn < 0) in mlx4_GEN_EQE() 3364 res_id = (slave << 10) | event_eq->eqn; in mlx4_GEN_EQE() 3387 in_modifier = (slave & 0xff) | ((event_eq->eqn & 0x3ff) << 16); in mlx4_GEN_EQE() 3412 int eqn = vhcr->in_modifier; in mlx4_QUERY_EQ_wrapper() local 3413 int res_id = eqn | (slave << 10); in mlx4_QUERY_EQ_wrapper() 5124 int eqn; in rem_slave_eqs() local [all …]
|
D | mlx4.h | 394 int eqn; member 414 int eqn; member 566 u32 eqn; member
|
D | cq.c | 383 cq_context->comp_eqn = priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(vector)].eqn; in mlx4_cq_alloc()
|
D | main.c | 2899 static int mlx4_init_affinity_hint(struct mlx4_dev *dev, int port, int eqn) in mlx4_init_affinity_hint() argument 2907 if (eqn > dev->caps.num_comp_vectors) in mlx4_init_affinity_hint() 2913 requested_cpu = eqn - off - !!(eqn > MLX4_EQ_ASYNC); in mlx4_init_affinity_hint() 2919 eq = &priv->eq_table.eq[eqn]; in mlx4_init_affinity_hint()
|
D | cmd.c | 2119 slave_state[slave].event_eq[i].eqn = -1; in mlx4_master_do_cmd() 2400 s_state->event_eq[j].eqn = -1; in mlx4_multi_func_init()
|
/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | eq.h | 33 u8 eqn; member 65 u32 val = (eq->cons_index & 0xffffff) | (eq->eqn << 24); in eq_update_ci() 79 struct mlx5_eq_comp *mlx5_eqn2comp_eq(struct mlx5_core_dev *dev, int eqn);
|
/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/net/ethernet/mellanox/mlx5/core/en/ |
D | health.c | 183 eq->core.eqn, eq->core.cons_index, eq->core.irqn); in mlx5e_health_channel_eq_recover() 190 eqe_count, eq->core.eqn); in mlx5e_health_channel_eq_recover()
|
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_send.c | 700 int inlen, err, eqn; in dr_create_cq() local 734 err = mlx5_vector2eqn(mdev, vector, &eqn, &irqn); in dr_create_cq() 742 MLX5_SET(cqc, cqc, c_eqn, eqn); in dr_create_cq()
|
/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | conn.c | 436 int inlen, err, eqn; in mlx5_fpga_conn_create_cq() local 466 err = mlx5_vector2eqn(mdev, smp_processor_id(), &eqn, &irqn); in mlx5_fpga_conn_create_cq() 474 MLX5_SET(cqc, cqc, c_eqn, eqn); in mlx5_fpga_conn_create_cq()
|
/drivers/infiniband/hw/mlx5/ |
D | cq.c | 902 int eqn; in mlx5_ib_create_cq() local 940 err = mlx5_vector2eqn(dev->mdev, vector, &eqn, &irqn); in mlx5_ib_create_cq() 953 MLX5_SET(cqc, cqc, c_eqn, eqn); in mlx5_ib_create_cq()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma.h | 333 u16 eqn; member
|
D | ocrdma_hw.c | 541 cmd->eqn = eq->id; in ocrdma_mbx_mq_cq_create() 1831 cq->eqn = ocrdma_bind_eq(dev); in ocrdma_mbx_create_cq() 1856 cmd->cmd.eqn = cq->eqn; in ocrdma_mbx_create_cq() 1882 ocrdma_unbind_eq(dev, cq->eqn); in ocrdma_mbx_create_cq() 1904 ocrdma_unbind_eq(dev, cq->eqn); in ocrdma_mbx_destroy_cq()
|
D | ocrdma_sli.h | 794 u32 eqn; member
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 4963 HNS_ROCE_V2_EQ_DB_TAG_S, eq->eqn); in set_eq_cons_index_v2() 5088 event_type, eq->eqn, eq->cons_index); in hns_roce_v2_aeq_int() 5290 static void hns_roce_v2_destroy_eqc(struct hns_roce_dev *hr_dev, int eqn) in hns_roce_v2_destroy_eqc() argument 5295 if (eqn < hr_dev->caps.num_comp_vectors) in hns_roce_v2_destroy_eqc() 5296 ret = hns_roce_cmd_mbox(hr_dev, 0, 0, eqn & HNS_ROCE_V2_EQN_M, in hns_roce_v2_destroy_eqc() 5300 ret = hns_roce_cmd_mbox(hr_dev, 0, 0, eqn & HNS_ROCE_V2_EQN_M, in hns_roce_v2_destroy_eqc() 5304 dev_err(dev, "[mailbox cmd] destroy eqc(%d) failed.\n", eqn); in hns_roce_v2_destroy_eqc() 5447 HNS_ROCE_EQC_EQN_S, eq->eqn); in hns_roce_config_eqc() 5791 ret = hns_roce_cmd_mbox(hr_dev, mailbox->dma, 0, eq->eqn, 0, in hns_roce_v2_create_eq() 5938 eq->eqn = i; in hns_roce_v2_init_eq_table()
|
D | hns_roce_device.h | 759 int eqn; member
|
D | hns_roce_hw_v1.c | 3957 event_type, eq->eqn, eq->cons_index); in hns_roce_v1_aeq_int() 4228 void __iomem *eqc = hr_dev->eq_table.eqc_base[eq->eqn]; in hns_roce_v1_create_eq() 4337 eq->eqn = i; in hns_roce_v1_init_eq_table()
|