Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Deq.c655 void *eqc; in mlx5_create_map_eq() local
696 eqc = MLX5_ADDR_OF(create_eq_in, in, eq_context_entry); in mlx5_create_map_eq()
697 MLX5_SET(eqc, eqc, log_eq_size, ilog2(eq->nent)); in mlx5_create_map_eq()
698 MLX5_SET(eqc, eqc, uar_page, priv->uar->index); in mlx5_create_map_eq()
699 MLX5_SET(eqc, eqc, intr, vecidx); in mlx5_create_map_eq()
700 MLX5_SET(eqc, eqc, log_page_size, in mlx5_create_map_eq()
Ddebugfs.c374 param = 1 << MLX5_GET(eqc, ctx, log_eq_size); in eq_read_field()
377 param = MLX5_GET(eqc, ctx, intr); in eq_read_field()
380 param = MLX5_GET(eqc, ctx, log_page_size) + 12; in eq_read_field()
/Linux-v4.19/arch/s390/include/asm/
Deadm.h30 u8 eqc; member
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c4592 struct hns_roce_eq_context *eqc; in hns_roce_config_eqc() local
4594 eqc = mb_buf; in hns_roce_config_eqc()
4595 memset(eqc, 0, sizeof(struct hns_roce_eq_context)); in hns_roce_config_eqc()
4614 roce_set_field(eqc->byte_4, in hns_roce_config_eqc()
4620 roce_set_field(eqc->byte_4, in hns_roce_config_eqc()
4625 roce_set_field(eqc->byte_4, in hns_roce_config_eqc()
4630 roce_set_field(eqc->byte_4, in hns_roce_config_eqc()
4635 roce_set_field(eqc->byte_4, in hns_roce_config_eqc()
4640 roce_set_field(eqc->byte_4, in hns_roce_config_eqc()
4645 roce_set_field(eqc->byte_4, in hns_roce_config_eqc()
[all …]
Dhns_roce_hw_v1.c4551 void __iomem *eqc = hr_dev->eq_table.eqc_base[eq_num]; in hns_roce_v1_enable_eq() local
4555 val = readl(eqc); in hns_roce_v1_enable_eq()
4570 writel(val, eqc); in hns_roce_v1_enable_eq()
4576 void __iomem *eqc = hr_dev->eq_table.eqc_base[eq->eqn]; in hns_roce_v1_create_eq() local
4623 writel(eqshift_val, eqc); in hns_roce_v1_create_eq()
4626 writel((u32)(eq->buf_list[0].map >> 12), eqc + 4); in hns_roce_v1_create_eq()
4640 writel(eqcuridx_val, eqc + 8); in hns_roce_v1_create_eq()
4646 writel(eqconsindx_val, eqc + 0xc); in hns_roce_v1_create_eq()
/Linux-v4.19/arch/mips/include/asm/octeon/
Dcvmx-pciercx-defs.h258 __BITFIELD_FIELD(uint32_t eqc:1,
/Linux-v4.19/drivers/s390/block/
Dscm_blk.c380 switch (scmrq->aob->response.eqc) { in scm_blk_handle_error()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c3050 static int eq_get_mtt_addr(struct mlx4_eq_context *eqc) in eq_get_mtt_addr() argument
3052 return be32_to_cpu(eqc->mtt_base_addr_l) & 0xfffffff8; in eq_get_mtt_addr()
3055 static int eq_get_mtt_size(struct mlx4_eq_context *eqc) in eq_get_mtt_size() argument
3057 int log_eq_size = eqc->log_eq_size & 0x1f; in eq_get_mtt_size()
3058 int page_shift = (eqc->log_page_size & 0x3f) + 12; in eq_get_mtt_size()
3091 struct mlx4_eq_context *eqc = inbox->buf; in mlx4_SW2HW_EQ_wrapper() local
3092 int mtt_base = eq_get_mtt_addr(eqc) / dev->caps.mtt_entry_sz; in mlx4_SW2HW_EQ_wrapper()
3093 int mtt_size = eq_get_mtt_size(eqc); in mlx4_SW2HW_EQ_wrapper()