Lines Matching refs:nt
2518 dr_get_dev_unit(dr_board_t *bp, sbd_comp_type_t nt, int unit_num) in dr_get_dev_unit() argument
2522 dp = DR_GET_BOARD_DEVUNIT(bp, nt, unit_num); in dr_get_dev_unit()
2525 ASSERT(dp->du_common.sbdev_type == nt); in dr_get_dev_unit()
2564 dr_get_common_unit(dr_board_t *bp, sbd_comp_type_t nt, int unum) in dr_get_common_unit() argument
2568 dp = dr_get_dev_unit(bp, nt, unum); in dr_get_common_unit()
2668 dr_nt_to_dev_type(int nt) in dr_nt_to_dev_type() argument
2673 if (dr_devattr[i].s_nodetype == nt) in dr_nt_to_dev_type()
2842 int nt; in dr_dev_found() local
2848 nt = dr_dev_type_to_nt((char *)name); in dr_dev_found()
2849 if (nt == SBD_COMP_UNKNOWN) { in dr_dev_found()
2858 dp = DR_GET_BOARD_DEVUNIT(bp, nt, unum); in dr_dev_found()
2863 ASSERT(dp->du_common.sbdev_type == nt); in dr_dev_found()
2868 (nt == SBD_COMP_MEM ? "%s::%s" : "%s::%s%d"), in dr_dev_found()
2869 bp->b_path, name, DR_UNUM2SBD_UNUM(unum, nt)); in dr_dev_found()
3046 sbd_comp_type_t nt; in dr_pt_try_drmach() local
3048 nt = dr_dev_type_to_nt(comp_id->c_name); in dr_pt_try_drmach()
3049 if (nt == SBD_COMP_UNKNOWN) { in dr_pt_try_drmach()
3055 cp = dr_get_common_unit(bp, nt, comp_id->c_unit); in dr_pt_try_drmach()