Home
last modified time | relevance | path

Searched refs:HEM_TYPE_MTT (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/hns/
Dhns_roce_hem.h51 HEM_TYPE_MTT, enumerator
60 ((type) < HEM_TYPE_MTT && (hop_num) == 2)
63 (((type) < HEM_TYPE_MTT && (hop_num) == 1) || \
64 ((type) >= HEM_TYPE_MTT && (hop_num) == 2))
67 (((type) < HEM_TYPE_MTT && (hop_num) == HNS_ROCE_HOP_NUM_0) || \
68 ((type) >= HEM_TYPE_MTT && (hop_num) == 1) || \
69 ((type) >= HEM_TYPE_MTT && (hop_num) == HNS_ROCE_HOP_NUM_0))
Dhns_roce_hem.c224 chunk_size = table->type < HEM_TYPE_MTT ? mhop->buf_chunk_size : in hns_roce_calc_hem_mhop()
419 size = table->type < HEM_TYPE_MTT ? mhop->buf_chunk_size : bt_size; in alloc_mhop_hem()
430 if (table->type < HEM_TYPE_MTT) { in alloc_mhop_hem()
512 if (table->type < HEM_TYPE_MTT) { in hns_roce_table_mhop_get()
600 if (table->type < HEM_TYPE_MTT) { in clear_mhop_hem()
771 if (type >= HEM_TYPE_MTT) in hns_roce_init_hem_table()
849 buf_chunk_size = table->type < HEM_TYPE_MTT ? mhop.buf_chunk_size : in hns_roce_cleanup_mhop_hem_table()
Dhns_roce_hw_v2.c2001 if (hem_type >= HEM_TYPE_MTT) in calc_pg_sz()