/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eq.c | 287 void *eqc; in create_map_eq() local 326 eqc = MLX5_ADDR_OF(create_eq_in, in, eq_context_entry); in create_map_eq() 327 MLX5_SET(eqc, eqc, log_eq_size, ilog2(eq->nent)); in create_map_eq() 328 MLX5_SET(eqc, eqc, uar_page, priv->uar->index); in create_map_eq() 329 MLX5_SET(eqc, eqc, intr, vecidx); in create_map_eq() 330 MLX5_SET(eqc, eqc, log_page_size, in create_map_eq()
|
D | debugfs.c | 307 param = 1 << MLX5_GET(eqc, ctx, log_eq_size); in eq_read_field() 310 param = MLX5_GET(eqc, ctx, intr); in eq_read_field() 313 param = MLX5_GET(eqc, ctx, log_page_size) + 12; in eq_read_field()
|
/Linux-v5.10/arch/s390/include/asm/ |
D | eadm.h | 30 u8 eqc; member
|
/Linux-v5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 5743 struct hns_roce_eq_context *eqc; in config_eqc() local 5747 eqc = mb_buf; in config_eqc() 5748 memset(eqc, 0, sizeof(struct hns_roce_eq_context)); in config_eqc() 5767 roce_set_field(eqc->byte_4, HNS_ROCE_EQC_EQ_ST_M, HNS_ROCE_EQC_EQ_ST_S, in config_eqc() 5771 roce_set_field(eqc->byte_4, HNS_ROCE_EQC_HOP_NUM_M, in config_eqc() 5775 roce_set_field(eqc->byte_4, HNS_ROCE_EQC_OVER_IGNORE_M, in config_eqc() 5779 roce_set_field(eqc->byte_4, HNS_ROCE_EQC_COALESCE_M, in config_eqc() 5783 roce_set_field(eqc->byte_4, HNS_ROCE_EQC_ARM_ST_M, in config_eqc() 5787 roce_set_field(eqc->byte_4, HNS_ROCE_EQC_EQN_M, HNS_ROCE_EQC_EQN_S, in config_eqc() 5791 roce_set_field(eqc->byte_4, HNS_ROCE_EQC_EQE_CNT_M, in config_eqc() [all …]
|
D | hns_roce_hw_v1.c | 4104 void __iomem *eqc = hr_dev->eq_table.eqc_base[eq_num]; in hns_roce_v1_enable_eq() local 4108 val = readl(eqc); in hns_roce_v1_enable_eq() 4123 writel(val, eqc); in hns_roce_v1_enable_eq() 4129 void __iomem *eqc = hr_dev->eq_table.eqc_base[eq->eqn]; in hns_roce_v1_create_eq() local 4175 writel(eqshift_val, eqc); in hns_roce_v1_create_eq() 4178 writel((u32)(eq->buf_list[0].map >> 12), eqc + 4); in hns_roce_v1_create_eq() 4192 writel(eqcuridx_val, eqc + 8); in hns_roce_v1_create_eq() 4198 writel(eqconsindx_val, eqc + 0xc); in hns_roce_v1_create_eq()
|
/Linux-v5.10/drivers/crypto/hisilicon/ |
D | qm.c | 2521 struct qm_eqc *eqc; in qm_eq_ctx_cfg() local 2529 eqc = kzalloc(sizeof(struct qm_eqc), GFP_KERNEL); in qm_eq_ctx_cfg() 2530 if (!eqc) in qm_eq_ctx_cfg() 2532 eqc_dma = dma_map_single(dev, eqc, sizeof(struct qm_eqc), in qm_eq_ctx_cfg() 2535 kfree(eqc); in qm_eq_ctx_cfg() 2539 eqc->base_l = cpu_to_le32(lower_32_bits(qm->eqe_dma)); in qm_eq_ctx_cfg() 2540 eqc->base_h = cpu_to_le32(upper_32_bits(qm->eqe_dma)); in qm_eq_ctx_cfg() 2542 eqc->dw3 = cpu_to_le32(QM_EQE_AEQE_SIZE); in qm_eq_ctx_cfg() 2543 eqc->dw6 = cpu_to_le32((QM_EQ_DEPTH - 1) | (1 << QM_EQC_PHASE_SHIFT)); in qm_eq_ctx_cfg() 2546 kfree(eqc); in qm_eq_ctx_cfg()
|
/Linux-v5.10/arch/mips/include/asm/octeon/ |
D | cvmx-pciercx-defs.h | 258 __BITFIELD_FIELD(uint32_t eqc:1,
|
/Linux-v5.10/drivers/s390/block/ |
D | scm_blk.c | 381 switch (scmrq->aob->response.eqc) { in scm_blk_handle_error()
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 3060 static int eq_get_mtt_addr(struct mlx4_eq_context *eqc) in eq_get_mtt_addr() argument 3062 return be32_to_cpu(eqc->mtt_base_addr_l) & 0xfffffff8; in eq_get_mtt_addr() 3065 static int eq_get_mtt_size(struct mlx4_eq_context *eqc) in eq_get_mtt_size() argument 3067 int log_eq_size = eqc->log_eq_size & 0x1f; in eq_get_mtt_size() 3068 int page_shift = (eqc->log_page_size & 0x3f) + 12; in eq_get_mtt_size() 3101 struct mlx4_eq_context *eqc = inbox->buf; in mlx4_SW2HW_EQ_wrapper() local 3102 int mtt_base = eq_get_mtt_addr(eqc) / dev->caps.mtt_entry_sz; in mlx4_SW2HW_EQ_wrapper() 3103 int mtt_size = eq_get_mtt_size(eqc); in mlx4_SW2HW_EQ_wrapper()
|