Home
last modified time | relevance | path

Searched refs:unit_num (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/uts/common/io/
H A Dfd.c265 int unit_num; in fd_probe() local
277 len = sizeof (unit_num); in fd_probe()
279 DDI_PROP_DONTPASS, "unit", (caddr_t)&unit_num, &len) != in fd_probe()
292 switch (unit_num) { in fd_probe()
316 (void *)dip, unit_num)); in fd_probe()
325 (void *)dip, unit_num)); in fd_probe()
330 (CE_WARN, "fd_probe dip %p unit %d", (void *)dip, unit_num)); in fd_probe()
348 int unit_num; in fd_attach() local
354 len = sizeof (unit_num); in fd_attach()
356 DDI_PROP_DONTPASS, "unit", (caddr_t)&unit_num, &len) != in fd_attach()
[all …]
/titanic_41/usr/src/uts/sun4u/ngdr/sys/
H A Ddr.h452 extern dr_cpu_unit_t *dr_get_cpu_unit(dr_board_t *bp, int unit_num);
453 extern dr_mem_unit_t *dr_get_mem_unit(dr_board_t *bp, int unit_num);
454 extern dr_io_unit_t *dr_get_io_unit(dr_board_t *bp, int unit_num);
/titanic_41/usr/src/uts/i86pc/io/dr/
H A Ddr.c2485 dr_get_dev_unit(dr_board_t *bp, sbd_comp_type_t nt, int unit_num) in dr_get_dev_unit() argument
2489 dp = DR_GET_BOARD_DEVUNIT(bp, nt, unit_num); in dr_get_dev_unit()
2491 ASSERT(dp->du_common.sbdev_unum == unit_num); in dr_get_dev_unit()
2498 dr_get_cpu_unit(dr_board_t *bp, int unit_num) in dr_get_cpu_unit() argument
2502 ASSERT(unit_num >= 0 && unit_num < MAX_CPU_UNITS_PER_BOARD); in dr_get_cpu_unit()
2504 dp = dr_get_dev_unit(bp, SBD_COMP_CPU, unit_num); in dr_get_cpu_unit()
2509 dr_get_mem_unit(dr_board_t *bp, int unit_num) in dr_get_mem_unit() argument
2513 ASSERT(unit_num >= 0 && unit_num < MAX_MEM_UNITS_PER_BOARD); in dr_get_mem_unit()
2515 dp = dr_get_dev_unit(bp, SBD_COMP_MEM, unit_num); in dr_get_mem_unit()
2520 dr_get_io_unit(dr_board_t *bp, int unit_num) in dr_get_io_unit() argument
[all …]
/titanic_41/usr/src/uts/sun4u/ngdr/io/
H A Ddr.c2518 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()
2524 ASSERT(dp->du_common.sbdev_unum == unit_num); in dr_get_dev_unit()
2531 dr_get_cpu_unit(dr_board_t *bp, int unit_num) in dr_get_cpu_unit() argument
2535 ASSERT(unit_num >= 0 && unit_num < MAX_CPU_UNITS_PER_BOARD); in dr_get_cpu_unit()
2537 dp = dr_get_dev_unit(bp, SBD_COMP_CPU, unit_num); in dr_get_cpu_unit()
2542 dr_get_mem_unit(dr_board_t *bp, int unit_num) in dr_get_mem_unit() argument
2546 ASSERT(unit_num >= 0 && unit_num < MAX_MEM_UNITS_PER_BOARD); in dr_get_mem_unit()
2548 dp = dr_get_dev_unit(bp, SBD_COMP_MEM, unit_num); in dr_get_mem_unit()
2553 dr_get_io_unit(dr_board_t *bp, int unit_num) in dr_get_io_unit() argument
[all …]
/titanic_41/usr/src/uts/i86pc/sys/
H A Ddr.h483 extern dr_cpu_unit_t *dr_get_cpu_unit(dr_board_t *bp, int unit_num);
484 extern dr_mem_unit_t *dr_get_mem_unit(dr_board_t *bp, int unit_num);
485 extern dr_io_unit_t *dr_get_io_unit(dr_board_t *bp, int unit_num);