Home
last modified time | relevance | path

Searched refs:eqc (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/erdma/
H A Derdma_eq.c175 struct erdma_eq_cb *eqc = &dev->ceqs[ceqn]; in erdma_set_ceq_irq() local
178 snprintf(eqc->irq.name, ERDMA_IRQNAME_SIZE, "erdma-ceq%u@pci:%s", ceqn, in erdma_set_ceq_irq()
180 eqc->irq.msix_vector = pci_irq_vector(dev->pdev, ceqn + 1); in erdma_set_ceq_irq()
186 &eqc->irq.affinity_hint_mask); in erdma_set_ceq_irq()
188 err = request_irq(eqc->irq.msix_vector, erdma_intr_ceq_handler, 0, in erdma_set_ceq_irq()
189 eqc->irq.name, eqc); in erdma_set_ceq_irq()
195 irq_set_affinity_hint(eqc->irq.msix_vector, in erdma_set_ceq_irq()
196 &eqc->irq.affinity_hint_mask); in erdma_set_ceq_irq()
203 struct erdma_eq_cb *eqc = &dev->ceqs[ceqn]; in erdma_free_ceq_irq() local
205 irq_set_affinity_hint(eqc->irq.msix_vector, NULL); in erdma_free_ceq_irq()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deq.c275 void *eqc; in create_map_eq() local
319 eqc = MLX5_ADDR_OF(create_eq_in, in, eq_context_entry); in create_map_eq()
320 MLX5_SET(eqc, eqc, log_eq_size, eq->fbc.log_sz); in create_map_eq()
321 MLX5_SET(eqc, eqc, uar_page, priv->uar->index); in create_map_eq()
322 MLX5_SET(eqc, eqc, intr, vecidx); in create_map_eq()
323 MLX5_SET(eqc, eqc, log_page_size, in create_map_eq()
H A Ddebugfs.c396 param = 1 << MLX5_GET(eqc, ctx, log_eq_size); in eq_read_field()
399 param = MLX5_GET(eqc, ctx, intr); in eq_read_field()
402 param = MLX5_GET(eqc, ctx, log_page_size) + 12; in eq_read_field()
/openbmc/linux/arch/s390/include/asm/
H A Deadm.h30 u8 eqc; member
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.c6313 struct hns_roce_eq_context *eqc; in config_eqc() local
6317 eqc = mb_buf; in config_eqc()
6331 hr_reg_write(eqc, EQC_EQE_HOP_NUM, eq->hop_num); in config_eqc()
6333 hr_reg_write(eqc, EQC_COALESCE, eq->coalesce); in config_eqc()
6334 hr_reg_write(eqc, EQC_ARM_ST, eq->arm_st); in config_eqc()
6335 hr_reg_write(eqc, EQC_EQN, eq->eqn); in config_eqc()
6337 hr_reg_write(eqc, EQC_EQE_BA_PG_SZ, in config_eqc()
6339 hr_reg_write(eqc, EQC_EQE_BUF_PG_SZ, in config_eqc()
6355 hr_reg_write(eqc, EQC_EQE_BA_L, bt_ba >> 3); in config_eqc()
6356 hr_reg_write(eqc, EQC_EQE_BA_H, bt_ba >> 35); in config_eqc()
[all …]
/openbmc/linux/drivers/crypto/hisilicon/
H A Dqm.c3042 struct qm_eqc *eqc; in qm_eq_ctx_cfg() local
3046 eqc = kzalloc(sizeof(struct qm_eqc), GFP_KERNEL); in qm_eq_ctx_cfg()
3047 if (!eqc) in qm_eq_ctx_cfg()
3050 eqc->base_l = cpu_to_le32(lower_32_bits(qm->eqe_dma)); in qm_eq_ctx_cfg()
3051 eqc->base_h = cpu_to_le32(upper_32_bits(qm->eqe_dma)); in qm_eq_ctx_cfg()
3053 eqc->dw3 = cpu_to_le32(QM_EQE_AEQE_SIZE); in qm_eq_ctx_cfg()
3054 eqc->dw6 = cpu_to_le32(((u32)qm->eq_depth - 1) | (1 << QM_EQC_PHASE_SHIFT)); in qm_eq_ctx_cfg()
3056 eqc_dma = dma_map_single(dev, eqc, sizeof(struct qm_eqc), in qm_eq_ctx_cfg()
3059 kfree(eqc); in qm_eq_ctx_cfg()
3065 kfree(eqc); in qm_eq_ctx_cfg()
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pciercx-defs.h258 __BITFIELD_FIELD(uint32_t eqc:1,
/openbmc/linux/drivers/s390/block/
H A Dscm_blk.c381 switch (scmrq->aob->response.eqc) { in scm_blk_handle_error()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c3061 static int eq_get_mtt_addr(struct mlx4_eq_context *eqc) in eq_get_mtt_addr() argument
3063 return be32_to_cpu(eqc->mtt_base_addr_l) & 0xfffffff8; in eq_get_mtt_addr()
3066 static int eq_get_mtt_size(struct mlx4_eq_context *eqc) in eq_get_mtt_size() argument
3068 int log_eq_size = eqc->log_eq_size & 0x1f; in eq_get_mtt_size()
3069 int page_shift = (eqc->log_page_size & 0x3f) + 12; in eq_get_mtt_size()
3102 struct mlx4_eq_context *eqc = inbox->buf; in mlx4_SW2HW_EQ_wrapper() local
3103 int mtt_base = eq_get_mtt_addr(eqc) / dev->caps.mtt_entry_sz; in mlx4_SW2HW_EQ_wrapper()
3104 int mtt_size = eq_get_mtt_size(eqc); in mlx4_SW2HW_EQ_wrapper()