Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Deq.c107 u8 eqe_size) in get_eqe() argument
110 unsigned long offset = (entry & (eq->nent - 1)) * eqe_size; in get_eqe()
510 int eqe_size = dev->caps.eqe_size; in mlx4_eq_int() local
512 while ((eqe = next_eqe_sw(eq, dev->caps.eqe_factor, eqe_size))) { in mlx4_eq_int()
987 npages = PAGE_ALIGN(eq->nent * dev->caps.eqe_size) / PAGE_SIZE; in mlx4_create_eq()
1096 int npages = PAGE_ALIGN(dev->caps.eqe_size * eq->nent) / PAGE_SIZE; in mlx4_free_eq()
Dfw.h204 u16 eqe_size; /* For use only when EQE stride feature enabled */ member
Dfw.c1935 dev->caps.eqe_size = 64; in mlx4_INIT_HCA()
1938 dev->caps.eqe_size = 32; in mlx4_INIT_HCA()
1953 dev->caps.eqe_size = cache_line_size(); in mlx4_INIT_HCA()
1956 MLX4_PUT(inbox, (u8)((ilog2(dev->caps.eqe_size) - 5) << 4 | in mlx4_INIT_HCA()
1957 (ilog2(dev->caps.eqe_size) - 5)), in mlx4_INIT_HCA()
2180 param->eqe_size = 1 << (((byte_field & in mlx4_QUERY_HCA()
Dmain.c1042 dev->caps.eqe_size = 64; in mlx4_slave_cap()
1045 dev->caps.eqe_size = 32; in mlx4_slave_cap()
1057 dev->caps.eqe_size = hca_param->eqe_size; in mlx4_slave_cap()
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c4147 int npages = (PAGE_ALIGN(eq->eqe_size * eq->entries) + in hns_roce_v1_free_eq()
4202 num_bas = (PAGE_ALIGN(eq->entries * eq->eqe_size) + in hns_roce_v1_create_eq()
4205 if ((eq->entries * eq->eqe_size) > HNS_ROCE_BA_SIZE) { in hns_roce_v1_create_eq()
4207 (eq->entries * eq->eqe_size), HNS_ROCE_BA_SIZE, in hns_roce_v1_create_eq()
4313 eq->eqe_size = HNS_ROCE_CEQE_SIZE; in hns_roce_v1_init_eq_table()
4323 eq->eqe_size = HNS_ROCE_AEQE_SIZE; in hns_roce_v1_init_eq_table()
Dhns_roce_hw_v2.c5666 eq->eqe_size); in next_aeqe_sw_v2()
5754 eq->eqe_size); in next_ceqe_sw_v2()
5956 hr_reg_write(eqc, EQC_EQE_SIZE, eq->eqe_size == HNS_ROCE_V3_EQE_SIZE); in config_eqc()
5972 buf_attr.region[0].size = eq->entries * eq->eqe_size; in alloc_eq_buf()
6147 eq->eqe_size = hr_dev->caps.ceqe_size; in hns_roce_v2_init_eq_table()
6156 eq->eqe_size = hr_dev->caps.aeqe_size; in hns_roce_v2_init_eq_table()
Dhns_roce_device.h718 int eqe_size; member
/drivers/scsi/lpfc/
Dlpfc_sli4.h537 uint32_t eqe_size; member