Searched refs:eqe_size (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
D | eq.c | 107 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() 1097 int npages = PAGE_ALIGN(dev->caps.eqe_size * eq->nent) / PAGE_SIZE; in mlx4_free_eq()
|
D | fw.h | 203 u16 eqe_size; /* For use only when EQE stride feature enabled */ member
|
D | fw.c | 1932 dev->caps.eqe_size = 64; in mlx4_INIT_HCA() 1935 dev->caps.eqe_size = 32; in mlx4_INIT_HCA() 1950 dev->caps.eqe_size = cache_line_size(); in mlx4_INIT_HCA() 1953 MLX4_PUT(inbox, (u8)((ilog2(dev->caps.eqe_size) - 5) << 4 | in mlx4_INIT_HCA() 1954 (ilog2(dev->caps.eqe_size) - 5)), in mlx4_INIT_HCA() 2177 param->eqe_size = 1 << (((byte_field & in mlx4_QUERY_HCA()
|
D | main.c | 1041 dev->caps.eqe_size = 64; in mlx4_slave_cap() 1044 dev->caps.eqe_size = 32; in mlx4_slave_cap() 1056 dev->caps.eqe_size = hca_param->eqe_size; in mlx4_slave_cap()
|
/Linux-v5.4/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 5330 eq->eqe_size), eq->bt_l0, eq->l0_dma); in hns_roce_mhop_free_eq() 5338 eqe_alloc = i * (buf_chk_sz / eq->eqe_size); in hns_roce_mhop_free_eq() 5339 size = (eq->entries - eqe_alloc) * eq->eqe_size; in hns_roce_mhop_free_eq() 5356 eqe_alloc = (buf_chk_sz / eq->eqe_size) in hns_roce_mhop_free_eq() 5359 * eq->eqe_size; in hns_roce_mhop_free_eq() 5569 ba_num = DIV_ROUND_UP(PAGE_ALIGN(eq->entries * eq->eqe_size), in hns_roce_mhop_alloc_eq() 5574 if (eq->entries > buf_chk_sz / eq->eqe_size) { in hns_roce_mhop_alloc_eq() 5579 eq->bt_l0 = dma_alloc_coherent(dev, eq->entries * eq->eqe_size, in hns_roce_mhop_alloc_eq() 5622 eqe_alloc = i * (buf_chk_sz / eq->eqe_size); in hns_roce_mhop_alloc_eq() 5623 size = (eq->entries - eqe_alloc) * eq->eqe_size; in hns_roce_mhop_alloc_eq() [all …]
|
D | hns_roce_hw_v1.c | 4186 int npages = (PAGE_ALIGN(eq->eqe_size * eq->entries) + in hns_roce_v1_free_eq() 4241 num_bas = (PAGE_ALIGN(eq->entries * eq->eqe_size) + in hns_roce_v1_create_eq() 4244 if ((eq->entries * eq->eqe_size) > HNS_ROCE_BA_SIZE) { in hns_roce_v1_create_eq() 4246 (eq->entries * eq->eqe_size), HNS_ROCE_BA_SIZE, in hns_roce_v1_create_eq() 4352 eq->eqe_size = HNS_ROCE_CEQ_ENTRY_SIZE; in hns_roce_v1_init_eq_table() 4362 eq->eqe_size = HNS_ROCE_AEQ_ENTRY_SIZE; in hns_roce_v1_init_eq_table()
|
D | hns_roce_device.h | 762 int eqe_size; member
|
/Linux-v5.4/drivers/scsi/lpfc/ |
D | lpfc_sli4.h | 493 uint32_t eqe_size; member
|
D | lpfc_init.c | 11450 sli4_params->eqe_size = bf_get(eqe_size, &mqe->un.sli4_params); in lpfc_pc_sli4_params_get()
|
/Linux-v5.4/include/linux/mlx4/ |
D | device.h | 618 u32 eqe_size; member
|