Lines Matching refs:nt
2485 dr_get_dev_unit(dr_board_t *bp, sbd_comp_type_t nt, int unit_num)
2489 dp = DR_GET_BOARD_DEVUNIT(bp, nt, unit_num);
2492 ASSERT(dp->du_common.sbdev_type == nt);
2531 dr_get_common_unit(dr_board_t *bp, sbd_comp_type_t nt, int unum)
2535 dp = dr_get_dev_unit(bp, nt, unum);
2639 dr_nt_to_dev_type(int nt)
2644 if (dr_devattr[i].s_nodetype == nt)
2812 int nt;
2818 nt = dr_dev_type_to_nt((char *)name);
2819 if (nt == SBD_COMP_UNKNOWN) {
2828 dp = DR_GET_BOARD_DEVUNIT(bp, nt, unum);
2833 ASSERT(dp->du_common.sbdev_type == nt);
2838 bp->b_path, name, DR_UNUM2SBD_UNUM(unum, nt));
3003 sbd_comp_type_t nt;
3005 nt = dr_dev_type_to_nt(comp_id->c_name);
3006 if (nt == SBD_COMP_UNKNOWN) {
3012 cp = dr_get_common_unit(bp, nt, comp_id->c_unit);