Searched refs:uar_ida (Results 1 – 4 of 4) sorted by relevance
88 struct hns_roce_ida *uar_ida = &hr_dev->uar_ida; in hns_roce_uar_alloc() local93 id = ida_alloc_range(&uar_ida->ida, uar_ida->min, uar_ida->max, in hns_roce_uar_alloc()110 ida_free(&uar_ida->ida, id); in hns_roce_uar_alloc()125 struct hns_roce_ida *uar_ida = &hr_dev->uar_ida; in hns_roce_init_uar_table() local127 ida_init(&uar_ida->ida); in hns_roce_init_uar_table()128 uar_ida->max = hr_dev->caps.num_uars - 1; in hns_roce_init_uar_table()129 uar_ida->min = hr_dev->caps.reserved_uars; in hns_roce_init_uar_table()
186 ida_destroy(&hr_dev->uar_ida.ida); in hns_roce_cleanup_bitmap()
409 ida_free(&hr_dev->uar_ida.ida, (int)context->uar.logic_idx); in hns_roce_alloc_ucontext()422 ida_free(&hr_dev->uar_ida.ida, (int)context->uar.logic_idx); in hns_roce_dealloc_ucontext()857 ida_destroy(&hr_dev->uar_ida.ida); in hns_roce_setup_hca()
987 struct hns_roce_ida uar_ida; member
Completed in 14 milliseconds