Searched refs:eqe_size (Results 1 – 8 of 8) sorted by relevance
107 u8 eqe_size) in get_eqe() argument110 unsigned long offset = (entry & (eq->nent - 1)) * eqe_size; in get_eqe()510 int eqe_size = dev->caps.eqe_size; in mlx4_eq_int() local512 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()
204 u16 eqe_size; /* For use only when EQE stride feature enabled */ member
1935 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()
1042 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()
4147 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()
5666 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()
718 int eqe_size; member
537 uint32_t eqe_size; member