Searched refs:eqc (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eq.c | 251 void *eqc; in create_map_eq() local 290 eqc = MLX5_ADDR_OF(create_eq_in, in, eq_context_entry); in create_map_eq() 291 MLX5_SET(eqc, eqc, log_eq_size, ilog2(eq->nent)); in create_map_eq() 292 MLX5_SET(eqc, eqc, uar_page, priv->uar->index); in create_map_eq() 293 MLX5_SET(eqc, eqc, intr, vecidx); in create_map_eq() 294 MLX5_SET(eqc, eqc, log_page_size, in create_map_eq()
|
D | debugfs.c | 319 param = 1 << MLX5_GET(eqc, ctx, log_eq_size); in eq_read_field() 322 param = MLX5_GET(eqc, ctx, intr); in eq_read_field() 325 param = MLX5_GET(eqc, ctx, log_page_size) + 12; in eq_read_field()
|
/Linux-v5.4/drivers/crypto/hisilicon/ |
D | qm.c | 1570 struct qm_eqc *eqc; in qm_eq_ctx_cfg() local 1578 eqc = kzalloc(sizeof(struct qm_eqc), GFP_KERNEL); in qm_eq_ctx_cfg() 1579 if (!eqc) in qm_eq_ctx_cfg() 1581 eqc_dma = dma_map_single(dev, eqc, sizeof(struct qm_eqc), in qm_eq_ctx_cfg() 1584 kfree(eqc); in qm_eq_ctx_cfg() 1588 eqc->base_l = lower_32_bits(qm->eqe_dma); in qm_eq_ctx_cfg() 1589 eqc->base_h = upper_32_bits(qm->eqe_dma); in qm_eq_ctx_cfg() 1591 eqc->dw3 = QM_EQE_AEQE_SIZE; in qm_eq_ctx_cfg() 1592 eqc->dw6 = (QM_Q_DEPTH - 1) | (1 << QM_EQC_PHASE_SHIFT); in qm_eq_ctx_cfg() 1595 kfree(eqc); in qm_eq_ctx_cfg()
|
/Linux-v5.4/arch/s390/include/asm/ |
D | eadm.h | 30 u8 eqc; member
|
/Linux-v5.4/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 5401 struct hns_roce_eq_context *eqc; in hns_roce_config_eqc() local 5403 eqc = mb_buf; in hns_roce_config_eqc() 5404 memset(eqc, 0, sizeof(struct hns_roce_eq_context)); in hns_roce_config_eqc() 5423 roce_set_field(eqc->byte_4, in hns_roce_config_eqc() 5429 roce_set_field(eqc->byte_4, in hns_roce_config_eqc() 5434 roce_set_field(eqc->byte_4, in hns_roce_config_eqc() 5439 roce_set_field(eqc->byte_4, in hns_roce_config_eqc() 5444 roce_set_field(eqc->byte_4, in hns_roce_config_eqc() 5449 roce_set_field(eqc->byte_4, in hns_roce_config_eqc() 5454 roce_set_field(eqc->byte_4, in hns_roce_config_eqc() [all …]
|
D | hns_roce_hw_v1.c | 4203 void __iomem *eqc = hr_dev->eq_table.eqc_base[eq_num]; in hns_roce_v1_enable_eq() local 4207 val = readl(eqc); in hns_roce_v1_enable_eq() 4222 writel(val, eqc); in hns_roce_v1_enable_eq() 4228 void __iomem *eqc = hr_dev->eq_table.eqc_base[eq->eqn]; in hns_roce_v1_create_eq() local 4274 writel(eqshift_val, eqc); in hns_roce_v1_create_eq() 4277 writel((u32)(eq->buf_list[0].map >> 12), eqc + 4); in hns_roce_v1_create_eq() 4291 writel(eqcuridx_val, eqc + 8); in hns_roce_v1_create_eq() 4297 writel(eqconsindx_val, eqc + 0xc); in hns_roce_v1_create_eq()
|
/Linux-v5.4/arch/mips/include/asm/octeon/ |
D | cvmx-pciercx-defs.h | 258 __BITFIELD_FIELD(uint32_t eqc:1,
|
/Linux-v5.4/drivers/s390/block/ |
D | scm_blk.c | 380 switch (scmrq->aob->response.eqc) { in scm_blk_handle_error()
|
/Linux-v5.4/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()
|