Home
last modified time | relevance | path

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

12

/linux/drivers/infiniband/hw/mthca/
A Dmthca_eq.c209 mthca_write64(MTHCA_EQ_DB_REQ_NOT | eqn, 0, in tavor_eq_req_not()
277 disarm_cq(dev, eq->eqn, disarm_cqn); in mthca_eq_int()
358 eqe->type, eqe->subtype, eq->eqn); in mthca_eq_int()
425 tavor_eq_req_not(dev, eq->eqn); in mthca_tavor_msi_x_interrupt()
514 eq->eqn = mthca_alloc(&dev->eq_table.alloc); in mthca_create_eq()
515 if (eq->eqn == -1) in mthca_create_eq()
545 err = mthca_SW2HW_EQ(dev, mailbox, eq->eqn); in mthca_create_eq()
554 eq->eqn_mask = swab32(1 << eq->eqn); in mthca_create_eq()
560 eq->eqn, eq->nent); in mthca_create_eq()
568 mthca_free(&dev->eq_table.alloc, eq->eqn); in mthca_create_eq()
[all …]
A Dmthca_provider.h89 int eqn; member
A 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/drivers/net/ethernet/mellanox/mlx5/core/
A Deq.c84 MLX5_SET(destroy_eq_in, in, eq_number, eqn); in mlx5_cmd_destroy_eq()
343 mlx5_cmd_destroy_eq(dev, eq->eqn); in create_map_eq()
399 err = mlx5_cmd_destroy_eq(dev, eq->eqn); in destroy_unmap_eq()
402 eq->eqn); in destroy_unmap_eq()
432 eq->eqn, cq->cqn); in mlx5_eq_del_cq()
438 eq->eqn, cq->cqn); in mlx5_eq_del_cq()
793 eq->core.eqn); in destroy_comp_eqs()
873 if (eqn) in vector2eqnirqn()
874 *eqn = eq->core.eqn; in vector2eqnirqn()
885 return vector2eqnirqn(dev, vector, eqn, NULL); in mlx5_vector2eqn()
[all …]
A Dcq.c92 int eqn = MLX5_GET(cqc, MLX5_ADDR_OF(create_cq_in, in, cq_context), in mlx5_core_create_cq() local
98 eq = mlx5_eqn2comp_eq(dev, eqn); in mlx5_core_create_cq()
A Ddebugfs.c297 MLX5_SET(query_eq_in, in, eq_number, eq->eqn); in eq_read_field()
472 &eq->dbg, eq->eqn, eq_fields, in mlx5_debug_eq_add()
/linux/drivers/net/ethernet/mellanox/mlx4/
A 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()
697 eq->eqn, eq->cons_index, ret); 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
896 event_eq[i].eqn = in_modifier >> 31 ? -1 : eqn; in mlx4_MAP_EQ_wrapper()
949 eq->eqn); in mlx4_get_eq_uar()
1019 if (eq->eqn == -1) in mlx4_create_eq()
[all …]
A 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()
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
5137 eqn = eq->com.res_id; in rem_slave_eqs()
[all …]
A Dmlx4.h394 int eqn; member
414 int eqn; member
566 u32 eqn; member
A Dcq.c384 cq_context->comp_eqn = priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(vector)].eqn; in mlx4_cq_alloc()
A Dmain.c2905 static int mlx4_init_affinity_hint(struct mlx4_dev *dev, int port, int eqn) in mlx4_init_affinity_hint() argument
2913 if (eqn > dev->caps.num_comp_vectors) in mlx4_init_affinity_hint()
2919 requested_cpu = eqn - off - !!(eqn > MLX4_EQ_ASYNC); in mlx4_init_affinity_hint()
2925 eq = &priv->eq_table.eq[eqn]; in mlx4_init_affinity_hint()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A 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);
/linux/drivers/infiniband/hw/efa/
A Defa_com.h123 u16 eqn; member
138 u16 eqn; member
142 u16 eqn; member
A 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()
A Defa_admin_cmds_defs.h455 u16 eqn; member
875 u16 eqn; member
885 u16 eqn; member
A Defa_com_cmd.h76 u16 eqn; member
A Defa_com_cmd.c169 create_cmd.eqn = params->eqn; in efa_com_create_cq()
/linux/drivers/clk/spear/
A Dclk-aux-synth.c69 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A 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/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_send.c764 int inlen, err, eqn; in dr_create_cq() local
797 err = mlx5_vector2eqn(mdev, vector, &eqn); in dr_create_cq()
805 MLX5_SET(cqc, cqc, c_eqn_or_apu_element, eqn); in dr_create_cq()
/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/
A Dconn.c419 int inlen, err, eqn; in mlx5_fpga_conn_create_cq() local
448 err = mlx5_vector2eqn(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/infiniband/hw/mlx5/
A Dcq.c948 int eqn; in mlx5_ib_create_cq() local
986 err = mlx5_vector2eqn(dev->mdev, vector, &eqn); in mlx5_ib_create_cq()
999 MLX5_SET(cqc, cqc, c_eqn_or_apu_element, eqn); in mlx5_ib_create_cq()
/linux/drivers/infiniband/hw/ocrdma/
A Docrdma.h331 u16 eqn; member
A Docrdma_hw.c541 cmd->eqn = eq->id; in ocrdma_mbx_mq_cq_create()
1830 cq->eqn = ocrdma_bind_eq(dev); in ocrdma_mbx_create_cq()
1855 cmd->cmd.eqn = cq->eqn; in ocrdma_mbx_create_cq()
1881 ocrdma_unbind_eq(dev, cq->eqn); in ocrdma_mbx_create_cq()
1903 ocrdma_unbind_eq(dev, cq->eqn); in ocrdma_mbx_destroy_cq()
/linux/drivers/infiniband/hw/hns/
A Dhns_roce_hw_v2.c5650 hr_reg_write(&eq_db, EQ_DB_TAG, eq->eqn); in update_eq_db()
5733 event_type, eq->eqn, eq->cons_index); in hns_roce_v2_aeq_int()
5871 static void hns_roce_v2_destroy_eqc(struct hns_roce_dev *hr_dev, int eqn) in hns_roce_v2_destroy_eqc() argument
5876 if (eqn < hr_dev->caps.num_comp_vectors) in hns_roce_v2_destroy_eqc()
5877 ret = hns_roce_cmd_mbox(hr_dev, 0, 0, eqn & HNS_ROCE_V2_EQN_M, in hns_roce_v2_destroy_eqc()
5881 ret = hns_roce_cmd_mbox(hr_dev, 0, 0, eqn & HNS_ROCE_V2_EQN_M, in hns_roce_v2_destroy_eqc()
5885 dev_err(dev, "[mailbox cmd] destroy eqc(%d) failed.\n", eqn); in hns_roce_v2_destroy_eqc()
5929 hr_reg_write(eqc, EQC_EQN, eq->eqn); in config_eqc()
6008 ret = hns_roce_cmd_mbox(hr_dev, mailbox->dma, 0, eq->eqn, 0, in hns_roce_v2_create_eq()
6144 eq->eqn = i; in hns_roce_v2_init_eq_table()

Completed in 100 milliseconds

12