eqn 69 drivers/clk/spear/clk-aux-synth.c unsigned int num = 1, den = 1, val, eqn; eqn 80 drivers/clk/spear/clk-aux-synth.c eqn = (val >> aux->masks->eq_sel_shift) & aux->masks->eq_sel_mask; eqn 81 drivers/clk/spear/clk-aux-synth.c if (eqn == aux->masks->eq1_mask) eqn 758 drivers/infiniband/hw/hns/hns_roce_device.h int eqn; eqn 3952 drivers/infiniband/hw/hns/hns_roce_hw_v1.c event_type, eq->eqn, eq->cons_index); eqn 4223 drivers/infiniband/hw/hns/hns_roce_hw_v1.c void __iomem *eqc = hr_dev->eq_table.eqc_base[eq->eqn]; eqn 4332 drivers/infiniband/hw/hns/hns_roce_hw_v1.c eq->eqn = i; eqn 4965 drivers/infiniband/hw/hns/hns_roce_hw_v2.c HNS_ROCE_V2_EQ_DB_TAG_S, eq->eqn); eqn 5090 drivers/infiniband/hw/hns/hns_roce_hw_v2.c event_type, eq->eqn, eq->cons_index); eqn 5292 drivers/infiniband/hw/hns/hns_roce_hw_v2.c static void hns_roce_v2_destroy_eqc(struct hns_roce_dev *hr_dev, int eqn) eqn 5297 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (eqn < hr_dev->caps.num_comp_vectors) eqn 5298 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ret = hns_roce_cmd_mbox(hr_dev, 0, 0, eqn & HNS_ROCE_V2_EQN_M, eqn 5302 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ret = hns_roce_cmd_mbox(hr_dev, 0, 0, eqn & HNS_ROCE_V2_EQN_M, eqn 5306 drivers/infiniband/hw/hns/hns_roce_hw_v2.c dev_err(dev, "[mailbox cmd] destroy eqc(%d) failed.\n", eqn); eqn 5449 drivers/infiniband/hw/hns/hns_roce_hw_v2.c HNS_ROCE_EQC_EQN_S, eq->eqn); eqn 5793 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ret = hns_roce_cmd_mbox(hr_dev, mailbox->dma, 0, eq->eqn, 0, eqn 5940 drivers/infiniband/hw/hns/hns_roce_hw_v2.c eq->eqn = i; eqn 925 drivers/infiniband/hw/mlx5/cq.c int eqn; eqn 963 drivers/infiniband/hw/mlx5/cq.c err = mlx5_vector2eqn(dev->mdev, vector, &eqn, &irqn); eqn 976 drivers/infiniband/hw/mlx5/cq.c MLX5_SET(cqc, cqc, c_eqn, eqn); eqn 831 drivers/infiniband/hw/mthca/mthca_cq.c cq_context->error_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn); eqn 832 drivers/infiniband/hw/mthca/mthca_cq.c cq_context->comp_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_COMP].eqn); eqn 184 drivers/infiniband/hw/mthca/mthca_eq.c mthca_write64(MTHCA_EQ_DB_SET_CI | eq->eqn, ci & (eq->nent - 1), eqn 194 drivers/infiniband/hw/mthca/mthca_eq.c dev->eq_regs.arbel.eq_set_ci_base + eq->eqn * 8); eqn 207 drivers/infiniband/hw/mthca/mthca_eq.c static inline void tavor_eq_req_not(struct mthca_dev *dev, int eqn) eqn 209 drivers/infiniband/hw/mthca/mthca_eq.c mthca_write64(MTHCA_EQ_DB_REQ_NOT | eqn, 0, eqn 219 drivers/infiniband/hw/mthca/mthca_eq.c static inline void disarm_cq(struct mthca_dev *dev, int eqn, int cqn) eqn 222 drivers/infiniband/hw/mthca/mthca_eq.c mthca_write64(MTHCA_EQ_DB_DISARM_CQ | eqn, cqn, eqn 277 drivers/infiniband/hw/mthca/mthca_eq.c disarm_cq(dev, eq->eqn, disarm_cqn); eqn 349 drivers/infiniband/hw/mthca/mthca_eq.c mthca_warn(dev, "EQ overrun on EQN %d\n", eq->eqn); eqn 358 drivers/infiniband/hw/mthca/mthca_eq.c eqe->type, eqe->subtype, eq->eqn); eqn 412 drivers/infiniband/hw/mthca/mthca_eq.c tavor_eq_req_not(dev, dev->eq_table.eq[i].eqn); eqn 425 drivers/infiniband/hw/mthca/mthca_eq.c tavor_eq_req_not(dev, eq->eqn); eqn 514 drivers/infiniband/hw/mthca/mthca_eq.c eq->eqn = mthca_alloc(&dev->eq_table.alloc); eqn 515 drivers/infiniband/hw/mthca/mthca_eq.c if (eq->eqn == -1) eqn 545 drivers/infiniband/hw/mthca/mthca_eq.c err = mthca_SW2HW_EQ(dev, mailbox, eq->eqn); eqn 554 drivers/infiniband/hw/mthca/mthca_eq.c eq->eqn_mask = swab32(1 << eq->eqn); eqn 560 drivers/infiniband/hw/mthca/mthca_eq.c eq->eqn, eq->nent); eqn 568 drivers/infiniband/hw/mthca/mthca_eq.c mthca_free(&dev->eq_table.alloc, eq->eqn); eqn 601 drivers/infiniband/hw/mthca/mthca_eq.c err = mthca_HW2SW_EQ(dev, mailbox, eq->eqn); eqn 608 drivers/infiniband/hw/mthca/mthca_eq.c mthca_dbg(dev, "Dumping EQ context %02x:\n", eq->eqn); eqn 851 drivers/infiniband/hw/mthca/mthca_eq.c 0, dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn); eqn 854 drivers/infiniband/hw/mthca/mthca_eq.c dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn, err); eqn 857 drivers/infiniband/hw/mthca/mthca_eq.c 0, dev->eq_table.eq[MTHCA_EQ_CMD].eqn); eqn 860 drivers/infiniband/hw/mthca/mthca_eq.c dev->eq_table.eq[MTHCA_EQ_CMD].eqn, err); eqn 866 drivers/infiniband/hw/mthca/mthca_eq.c tavor_eq_req_not(dev, dev->eq_table.eq[i].eqn); eqn 895 drivers/infiniband/hw/mthca/mthca_eq.c 1, dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn); eqn 897 drivers/infiniband/hw/mthca/mthca_eq.c 1, dev->eq_table.eq[MTHCA_EQ_CMD].eqn); eqn 107 drivers/infiniband/hw/mthca/mthca_provider.h int eqn; eqn 333 drivers/infiniband/hw/ocrdma/ocrdma.h u16 eqn; eqn 541 drivers/infiniband/hw/ocrdma/ocrdma_hw.c cmd->eqn = eq->id; eqn 1831 drivers/infiniband/hw/ocrdma/ocrdma_hw.c cq->eqn = ocrdma_bind_eq(dev); eqn 1856 drivers/infiniband/hw/ocrdma/ocrdma_hw.c cmd->cmd.eqn = cq->eqn; eqn 1882 drivers/infiniband/hw/ocrdma/ocrdma_hw.c ocrdma_unbind_eq(dev, cq->eqn); eqn 1904 drivers/infiniband/hw/ocrdma/ocrdma_hw.c ocrdma_unbind_eq(dev, cq->eqn); eqn 794 drivers/infiniband/hw/ocrdma/ocrdma_sli.h u32 eqn; eqn 1076 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c indx = ocrdma_get_eq_table_index(dev, cq->eqn); eqn 2119 drivers/net/ethernet/mellanox/mlx4/cmd.c slave_state[slave].event_eq[i].eqn = -1; eqn 2400 drivers/net/ethernet/mellanox/mlx4/cmd.c s_state->event_eq[j].eqn = -1; eqn 383 drivers/net/ethernet/mellanox/mlx4/cq.c cq_context->comp_eqn = priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(vector)].eqn; eqn 543 drivers/net/ethernet/mellanox/mlx4/eq.c eq->eqn, eq->cons_index, ret); eqn 560 drivers/net/ethernet/mellanox/mlx4/eq.c eq->eqn); eqn 573 drivers/net/ethernet/mellanox/mlx4/eq.c eq->eqn, eq->cons_index, ret); eqn 697 drivers/net/ethernet/mellanox/mlx4/eq.c eq->eqn, eq->cons_index, ret); eqn 713 drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_warn(dev, "EQ overrun on EQN %d\n", eq->eqn); eqn 781 drivers/net/ethernet/mellanox/mlx4/eq.c eqe->type, eqe->subtype, eq->eqn, eqn 806 drivers/net/ethernet/mellanox/mlx4/eq.c eqe->type, eqe->subtype, eq->eqn, eqn 818 drivers/net/ethernet/mellanox/mlx4/eq.c eqe->type, eqe->subtype, eq->eqn, eqn 884 drivers/net/ethernet/mellanox/mlx4/eq.c u32 eqn = in_modifier & 0x3FF; eqn 890 drivers/net/ethernet/mellanox/mlx4/eq.c err = mlx4_cmd(dev, in_param, (in_modifier & 0x80000000) | eqn, eqn 896 drivers/net/ethernet/mellanox/mlx4/eq.c event_eq[i].eqn = in_modifier >> 31 ? -1 : eqn; eqn 939 drivers/net/ethernet/mellanox/mlx4/eq.c index = eq->eqn / 4 - dev->caps.reserved_eqs / 4; eqn 945 drivers/net/ethernet/mellanox/mlx4/eq.c ((eq->eqn / 4) << (dev->uar_page_shift)), eqn 949 drivers/net/ethernet/mellanox/mlx4/eq.c eq->eqn); eqn 954 drivers/net/ethernet/mellanox/mlx4/eq.c return priv->eq_table.uar_map[index] + 0x800 + 8 * (eq->eqn % 4); eqn 1018 drivers/net/ethernet/mellanox/mlx4/eq.c eq->eqn = mlx4_bitmap_alloc(&priv->eq_table.bitmap); eqn 1019 drivers/net/ethernet/mellanox/mlx4/eq.c if (eq->eqn == -1) eqn 1046 drivers/net/ethernet/mellanox/mlx4/eq.c err = mlx4_SW2HW_EQ(dev, mailbox, eq->eqn); eqn 1069 drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_bitmap_free(&priv->eq_table.bitmap, eq->eqn, MLX4_USE_RR); eqn 1099 drivers/net/ethernet/mellanox/mlx4/eq.c err = mlx4_HW2SW_EQ(dev, eq->eqn); eqn 1113 drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_bitmap_free(&priv->eq_table.bitmap, eq->eqn, MLX4_USE_RR); eqn 1295 drivers/net/ethernet/mellanox/mlx4/eq.c priv->eq_table.eq[MLX4_EQ_ASYNC].eqn); eqn 1298 drivers/net/ethernet/mellanox/mlx4/eq.c priv->eq_table.eq[MLX4_EQ_ASYNC].eqn, err); eqn 1338 drivers/net/ethernet/mellanox/mlx4/eq.c priv->eq_table.eq[MLX4_EQ_ASYNC].eqn); eqn 1385 drivers/net/ethernet/mellanox/mlx4/eq.c priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(vector)].eqn); eqn 1399 drivers/net/ethernet/mellanox/mlx4/eq.c priv->eq_table.eq[MLX4_EQ_ASYNC].eqn); eqn 2901 drivers/net/ethernet/mellanox/mlx4/main.c static int mlx4_init_affinity_hint(struct mlx4_dev *dev, int port, int eqn) eqn 2909 drivers/net/ethernet/mellanox/mlx4/main.c if (eqn > dev->caps.num_comp_vectors) eqn 2915 drivers/net/ethernet/mellanox/mlx4/main.c requested_cpu = eqn - off - !!(eqn > MLX4_EQ_ASYNC); eqn 2921 drivers/net/ethernet/mellanox/mlx4/main.c eq = &priv->eq_table.eq[eqn]; eqn 394 drivers/net/ethernet/mellanox/mlx4/mlx4.h int eqn; eqn 414 drivers/net/ethernet/mellanox/mlx4/mlx4.h int eqn; eqn 566 drivers/net/ethernet/mellanox/mlx4/mlx4.h u32 eqn; eqn 3099 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int eqn = vhcr->in_modifier; eqn 3100 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int res_id = (slave << 10) | eqn; eqn 3306 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int eqn = vhcr->in_modifier; eqn 3307 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int res_id = eqn | (slave << 10); eqn 3360 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (event_eq->eqn < 0) eqn 3364 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c res_id = (slave << 10) | event_eq->eqn; eqn 3387 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c in_modifier = (slave & 0xff) | ((event_eq->eqn & 0x3ff) << 16); eqn 3412 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int eqn = vhcr->in_modifier; eqn 3413 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int res_id = eqn | (slave << 10); eqn 5124 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c int eqn; eqn 5135 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c eqn = eq->com.res_id; eqn 5150 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c err = mlx4_cmd(dev, slave, eqn & 0x3ff, eqn 5156 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c slave, eqn & 0x3ff); eqn 93 drivers/net/ethernet/mellanox/mlx5/core/cq.c int eqn = MLX5_GET(cqc, MLX5_ADDR_OF(create_cq_in, in, cq_context), c_eqn); eqn 99 drivers/net/ethernet/mellanox/mlx5/core/cq.c eq = mlx5_eqn2comp_eq(dev, eqn); eqn 293 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c MLX5_SET(query_eq_in, in, eq_number, eq->eqn); eqn 482 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c &eq->dbg, eq->eqn, eq_fields, eqn 183 drivers/net/ethernet/mellanox/mlx5/core/en/health.c eq->core.eqn, eq->core.cons_index, eq->core.irqn); eqn 190 drivers/net/ethernet/mellanox/mlx5/core/en/health.c eqe_count, eq->core.eqn); eqn 1607 drivers/net/ethernet/mellanox/mlx5/core/en_main.c int eqn; eqn 1610 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_vector2eqn(mdev, param->eq_ix, &eqn, &irqn_not_used); eqn 1628 drivers/net/ethernet/mellanox/mlx5/core/en_main.c MLX5_SET(cqc, cqc, c_eqn, eqn); eqn 1974 drivers/net/ethernet/mellanox/mlx5/core/en_main.c int eqn; eqn 1976 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_vector2eqn(priv->mdev, ix, &eqn, &irq); eqn 103 drivers/net/ethernet/mellanox/mlx5/core/eq.c static int mlx5_cmd_destroy_eq(struct mlx5_core_dev *dev, u8 eqn) eqn 109 drivers/net/ethernet/mellanox/mlx5/core/eq.c MLX5_SET(destroy_eq_in, in, eq_number, eqn); eqn 302 drivers/net/ethernet/mellanox/mlx5/core/eq.c eq->eqn = MLX5_GET(create_eq_out, out, eq_number); eqn 315 drivers/net/ethernet/mellanox/mlx5/core/eq.c mlx5_cmd_destroy_eq(dev, eq->eqn); eqn 372 drivers/net/ethernet/mellanox/mlx5/core/eq.c err = mlx5_cmd_destroy_eq(dev, eq->eqn); eqn 375 drivers/net/ethernet/mellanox/mlx5/core/eq.c eq->eqn); eqn 406 drivers/net/ethernet/mellanox/mlx5/core/eq.c eq->eqn, cq->cqn); eqn 412 drivers/net/ethernet/mellanox/mlx5/core/eq.c eq->eqn, cq->cqn); eqn 756 drivers/net/ethernet/mellanox/mlx5/core/eq.c val = (eq->cons_index & 0xffffff) | (eq->eqn << 24); eqn 774 drivers/net/ethernet/mellanox/mlx5/core/eq.c eq->core.eqn); eqn 825 drivers/net/ethernet/mellanox/mlx5/core/eq.c mlx5_core_dbg(dev, "allocated completion EQN %d\n", eq->core.eqn); eqn 837 drivers/net/ethernet/mellanox/mlx5/core/eq.c int mlx5_vector2eqn(struct mlx5_core_dev *dev, int vector, int *eqn, eqn 847 drivers/net/ethernet/mellanox/mlx5/core/eq.c *eqn = eq->core.eqn; eqn 881 drivers/net/ethernet/mellanox/mlx5/core/eq.c struct mlx5_eq_comp *mlx5_eqn2comp_eq(struct mlx5_core_dev *dev, int eqn) eqn 887 drivers/net/ethernet/mellanox/mlx5/core/eq.c if (eq->core.eqn == eqn) eqn 436 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c int inlen, err, eqn; eqn 466 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c err = mlx5_vector2eqn(mdev, smp_processor_id(), &eqn, &irqn); eqn 474 drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c MLX5_SET(cqc, cqc, c_eqn, eqn); eqn 33 drivers/net/ethernet/mellanox/mlx5/core/lib/eq.h u8 eqn; eqn 65 drivers/net/ethernet/mellanox/mlx5/core/lib/eq.h u32 val = (eq->cons_index & 0xffffff) | (eq->eqn << 24); eqn 79 drivers/net/ethernet/mellanox/mlx5/core/lib/eq.h struct mlx5_eq_comp *mlx5_eqn2comp_eq(struct mlx5_core_dev *dev, int eqn); eqn 707 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c int inlen, err, eqn; eqn 741 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c err = mlx5_vector2eqn(mdev, vector, &eqn, &irqn); eqn 749 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c MLX5_SET(cqc, cqc, c_eqn, eqn); eqn 976 include/linux/mlx5/driver.h int mlx5_vector2eqn(struct mlx5_core_dev *dev, int vector, int *eqn,