Searched refs:eqe_size (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/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() 986 npages = PAGE_ALIGN(eq->nent * dev->caps.eqe_size) / PAGE_SIZE; in mlx4_create_eq() 1098 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 | 1929 dev->caps.eqe_size = 64; in mlx4_INIT_HCA() 1932 dev->caps.eqe_size = 32; in mlx4_INIT_HCA() 1947 dev->caps.eqe_size = cache_line_size(); in mlx4_INIT_HCA() 1950 MLX4_PUT(inbox, (u8)((ilog2(dev->caps.eqe_size) - 5) << 4 | in mlx4_INIT_HCA() 1951 (ilog2(dev->caps.eqe_size) - 5)), in mlx4_INIT_HCA() 2160 param->eqe_size = 1 << (((byte_field & in mlx4_QUERY_HCA()
|
D | main.c | 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()
|
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 4520 eq->eqe_size), eq->bt_l0, eq->l0_dma); in hns_roce_mhop_free_eq() 4529 eqe_alloc = i * (buf_chk_sz / eq->eqe_size); in hns_roce_mhop_free_eq() 4530 size = (eq->entries - eqe_alloc) * eq->eqe_size; in hns_roce_mhop_free_eq() 4547 eqe_alloc = (buf_chk_sz / eq->eqe_size) in hns_roce_mhop_free_eq() 4550 * eq->eqe_size; in hns_roce_mhop_free_eq() 4760 ba_num = (PAGE_ALIGN(eq->entries * eq->eqe_size) + buf_chk_sz - 1) in hns_roce_mhop_alloc_eq() 4766 if (eq->entries > buf_chk_sz / eq->eqe_size) { in hns_roce_mhop_alloc_eq() 4771 eq->bt_l0 = dma_alloc_coherent(dev, eq->entries * eq->eqe_size, in hns_roce_mhop_alloc_eq() 4779 memset(eq->bt_l0, 0, eq->entries * eq->eqe_size); in hns_roce_mhop_alloc_eq() 4816 eqe_alloc = i * (buf_chk_sz / eq->eqe_size); in hns_roce_mhop_alloc_eq() [all …]
|
D | hns_roce_hw_v1.c | 4534 int npages = (PAGE_ALIGN(eq->eqe_size * eq->entries) + in hns_roce_v1_free_eq() 4589 num_bas = (PAGE_ALIGN(eq->entries * eq->eqe_size) + in hns_roce_v1_create_eq() 4592 if ((eq->entries * eq->eqe_size) > HNS_ROCE_BA_SIZE) { in hns_roce_v1_create_eq() 4594 (eq->entries * eq->eqe_size), HNS_ROCE_BA_SIZE, in hns_roce_v1_create_eq() 4701 eq->eqe_size = HNS_ROCE_CEQ_ENTRY_SIZE; in hns_roce_v1_init_eq_table() 4711 eq->eqe_size = HNS_ROCE_AEQ_ENTRY_SIZE; in hns_roce_v1_init_eq_table()
|
D | hns_roce_device.h | 624 int eqe_size; member
|
/Linux-v4.19/drivers/scsi/lpfc/ |
D | lpfc_sli4.h | 471 uint32_t eqe_size; member
|
D | lpfc_init.c | 10557 sli4_params->eqe_size = bf_get(eqe_size, &mqe->un.sli4_params); in lpfc_pc_sli4_params_get()
|
/Linux-v4.19/include/linux/mlx4/ |
D | device.h | 617 u32 eqe_size; member
|