Searched refs:bt_l0 (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/drivers/infiniband/hw/hns/ |
| D | hns_roce_hem.c | 506 !table->bt_l0[bt_l0_idx]) { in hns_roce_table_mhop_get() 507 table->bt_l0[bt_l0_idx] = dma_alloc_coherent(dev, bt_chunk_size, in hns_roce_table_mhop_get() 510 if (!table->bt_l0[bt_l0_idx]) { in hns_roce_table_mhop_get() 538 *(table->bt_l0[bt_l0_idx] + mhop.l1_idx) = in hns_roce_table_mhop_get() 573 *(table->bt_l0[bt_l0_idx] + mhop.l1_idx) = bt_ba; in hns_roce_table_mhop_get() 589 *(table->bt_l0[bt_l0_idx] + mhop.l1_idx) = bt_ba; in hns_roce_table_mhop_get() 604 dma_free_coherent(dev, bt_chunk_size, table->bt_l0[bt_l0_idx], in hns_roce_table_mhop_get() 606 table->bt_l0[bt_l0_idx] = NULL; in hns_roce_table_mhop_get() 738 table->bt_l0[mhop.l0_idx], in hns_roce_table_mhop_put() 740 table->bt_l0[mhop.l0_idx] = NULL; in hns_roce_table_mhop_put() [all …]
|
| D | hns_roce_hw_v2.c | 5005 return (struct hns_roce_aeqe *)((u8 *)(eq->bt_l0) + in mhop_get_aeqe() 5135 return (struct hns_roce_ceqe *)((u8 *)(eq->bt_l0) + in mhop_get_ceqe() 5330 eq->eqe_size), eq->bt_l0, eq->l0_dma); in hns_roce_mhop_free_eq() 5334 dma_free_coherent(dev, bt_chk_sz, eq->bt_l0, eq->l0_dma); in hns_roce_mhop_free_eq() 5579 eq->bt_l0 = dma_alloc_coherent(dev, eq->entries * eq->eqe_size, in hns_roce_mhop_alloc_eq() 5581 if (!eq->bt_l0) in hns_roce_mhop_alloc_eq() 5608 eq->bt_l0 = dma_alloc_coherent(dev, bt_chk_sz, &eq->l0_dma, GFP_KERNEL); in hns_roce_mhop_alloc_eq() 5609 if (!eq->bt_l0) in hns_roce_mhop_alloc_eq() 5631 *(eq->bt_l0 + i) = eq->buf_dma[i]; in hns_roce_mhop_alloc_eq() 5649 *(eq->bt_l0 + i) = eq->l1_dma[i]; in hns_roce_mhop_alloc_eq() [all …]
|
| D | hns_roce_device.h | 337 u64 **bt_l0; member 774 u64 *bt_l0; /* Base address table for L0 */ member
|