Lines Matching defs:unit_num
2518 dr_get_dev_unit(dr_board_t *bp, sbd_comp_type_t nt, int unit_num)
2522 dp = DR_GET_BOARD_DEVUNIT(bp, nt, unit_num);
2524 ASSERT(dp->du_common.sbdev_unum == unit_num);
2531 dr_get_cpu_unit(dr_board_t *bp, int unit_num)
2535 ASSERT(unit_num >= 0 && unit_num < MAX_CPU_UNITS_PER_BOARD);
2537 dp = dr_get_dev_unit(bp, SBD_COMP_CPU, unit_num);
2542 dr_get_mem_unit(dr_board_t *bp, int unit_num)
2546 ASSERT(unit_num >= 0 && unit_num < MAX_MEM_UNITS_PER_BOARD);
2548 dp = dr_get_dev_unit(bp, SBD_COMP_MEM, unit_num);
2553 dr_get_io_unit(dr_board_t *bp, int unit_num)
2557 ASSERT(unit_num >= 0 && unit_num < MAX_IO_UNITS_PER_BOARD);
2559 dp = dr_get_dev_unit(bp, SBD_COMP_IO, unit_num);