Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.h51 HEM_TYPE_MTT, enumerator
64 ((type) < HEM_TYPE_MTT && (hop_num) == 2)
67 (((type) < HEM_TYPE_MTT && (hop_num) == 1) || \
68 ((type) >= HEM_TYPE_MTT && (hop_num) == 2))
71 (((type) < HEM_TYPE_MTT && (hop_num) == HNS_ROCE_HOP_NUM_0) || \
72 ((type) >= HEM_TYPE_MTT && (hop_num) == 1) || \
73 ((type) >= HEM_TYPE_MTT && (hop_num) == HNS_ROCE_HOP_NUM_0))
H A Dhns_roce_hem.c224 chunk_size = table->type < HEM_TYPE_MTT ? mhop->buf_chunk_size : in hns_roce_calc_hem_mhop()
457 size = table->type < HEM_TYPE_MTT ? mhop->buf_chunk_size : bt_size; in alloc_mhop_hem()
469 if (table->type < HEM_TYPE_MTT) { in alloc_mhop_hem()
551 if (table->type < HEM_TYPE_MTT) { in hns_roce_table_mhop_get()
640 if (table->type < HEM_TYPE_MTT) { in clear_mhop_hem()
828 if (type >= HEM_TYPE_MTT) in hns_roce_init_hem_table()
906 buf_chunk_size = table->type < HEM_TYPE_MTT ? mhop.buf_chunk_size : in hns_roce_cleanup_mhop_hem_table()
H A Dhns_roce_hw_v2.c1973 if (hem_type >= HEM_TYPE_MTT) in calc_pg_sz()