Lines Matching defs:unit_num
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);
2491 ASSERT(dp->du_common.sbdev_unum == unit_num);
2498 dr_get_cpu_unit(dr_board_t *bp, int unit_num)
2502 ASSERT(unit_num >= 0 && unit_num < MAX_CPU_UNITS_PER_BOARD);
2504 dp = dr_get_dev_unit(bp, SBD_COMP_CPU, unit_num);
2509 dr_get_mem_unit(dr_board_t *bp, int unit_num)
2513 ASSERT(unit_num >= 0 && unit_num < MAX_MEM_UNITS_PER_BOARD);
2515 dp = dr_get_dev_unit(bp, SBD_COMP_MEM, unit_num);
2520 dr_get_io_unit(dr_board_t *bp, int unit_num)
2524 ASSERT(unit_num >= 0 && unit_num < MAX_IO_UNITS_PER_BOARD);
2526 dp = dr_get_dev_unit(bp, SBD_COMP_IO, unit_num);