Lines Matching refs:nt
2519 dr_get_dev_unit(dr_board_t *bp, sbd_comp_type_t nt, int unit_num) in dr_get_dev_unit() argument
2523 dp = DR_GET_BOARD_DEVUNIT(bp, nt, unit_num); in dr_get_dev_unit()
2526 ASSERT(dp->du_common.sbdev_type == nt); in dr_get_dev_unit()
2565 dr_get_common_unit(dr_board_t *bp, sbd_comp_type_t nt, int unum) in dr_get_common_unit() argument
2569 dp = dr_get_dev_unit(bp, nt, unum); in dr_get_common_unit()
2669 dr_nt_to_dev_type(int nt) in dr_nt_to_dev_type() argument
2674 if (dr_devattr[i].s_nodetype == nt) in dr_nt_to_dev_type()
2843 int nt; in dr_dev_found() local
2849 nt = dr_dev_type_to_nt((char *)name); in dr_dev_found()
2850 if (nt == SBD_COMP_UNKNOWN) { in dr_dev_found()
2859 dp = DR_GET_BOARD_DEVUNIT(bp, nt, unum); in dr_dev_found()
2864 ASSERT(dp->du_common.sbdev_type == nt); in dr_dev_found()
2869 (nt == SBD_COMP_MEM ? "%s::%s" : "%s::%s%d"), in dr_dev_found()
2870 bp->b_path, name, DR_UNUM2SBD_UNUM(unum, nt)); in dr_dev_found()
3047 sbd_comp_type_t nt; in dr_pt_try_drmach() local
3049 nt = dr_dev_type_to_nt(comp_id->c_name); in dr_pt_try_drmach()
3050 if (nt == SBD_COMP_UNKNOWN) { in dr_pt_try_drmach()
3056 cp = dr_get_common_unit(bp, nt, comp_id->c_unit); in dr_pt_try_drmach()