/titanic_50/usr/src/uts/sun4u/io/ |
H A D | sbd.c | 376 static int sbd_mem_status(sbd_handle_t *hp, sbd_devset_t devset, 1369 sbd_devset_t devset; in sbd_dev2devset() local 1374 devset = DEVSET(SBD_COMP_CPU, DEVSET_ANYUNIT); in sbd_dev2devset() 1375 devset |= DEVSET(SBD_COMP_MEM, DEVSET_ANYUNIT); in sbd_dev2devset() 1376 devset |= DEVSET(SBD_COMP_IO, DEVSET_ANYUNIT); in sbd_dev2devset() 1383 devset = 0; in sbd_dev2devset() 1393 devset = DEVSET(SBD_COMP_CMP, unit); in sbd_dev2devset() 1403 devset = 0; in sbd_dev2devset() 1405 devset = DEVSET(cid->c_type, 0); in sbd_dev2devset() 1407 f, devset); in sbd_dev2devset() [all …]
|
H A D | sbd_io.c | 180 sbd_io_status(sbd_handle_t *hp, sbd_devset_t devset, sbd_dev_stat_t *dsp) in sbd_io_status() argument 209 devset &= SBD_DEVS_PRESENT(sbp); in sbd_io_status() 217 if (DEVSET_IN_SET(devset, SBD_COMP_IO, i) == 0) in sbd_io_status() 297 sbd_io_cnt(sbd_handle_t *hp, sbd_devset_t devset) in sbd_io_cnt() argument 307 devset &= SBD_DEVS_PRESENT(sbp); in sbd_io_cnt() 312 if (DEVSET_IN_SET(devset, SBD_COMP_IO, i) == 0) in sbd_io_cnt()
|
H A D | sbd_cpu.c | 235 sbd_cpu_flags(sbd_handle_t *hp, sbd_devset_t devset, sbd_dev_stat_t *dsp) in sbd_cpu_flags() argument 264 devset &= SBD_DEVS_PRESENT(sbp); in sbd_cpu_flags() 279 if (DEVSET_IN_SET(devset, SBD_COMP_CMP, cmp) == 0) in sbd_cpu_flags()
|
/titanic_50/usr/src/uts/i86pc/io/dr/ |
H A D | dr.c | 1050 dr_devset_t devset; in dr_pre_op() local 1056 devset = shp->h_devset; in dr_pre_op() 1060 devset = DEVSET_AND(devset, DR_DEVS_PRESENT(bp)); in dr_pre_op() 1061 hp->h_err = drmach_pre_op(cmd, bp->b_id, &hp->h_opts, &devset); in dr_pre_op() 1078 state_err = dr_check_transition(bp, &devset, transp, cmd); in dr_pre_op() 1087 f, (uint_t)devset); in dr_pre_op() 1101 shp->h_devset = devset; in dr_pre_op() 1373 dr_devset_t devset; in dr_disconnect() local 1383 devset = hp->h_devset & DR_DEVS_PRESENT(bp) & in dr_disconnect() 1386 if ((devset == 0) && DR_DEVS_PRESENT(bp)) { in dr_disconnect() [all …]
|
H A D | dr_cpu.c | 359 dr_devset_t devset; in dr_pre_release_cpu() local 364 devset = DR_DEVS_PRESENT(hp->h_bd); in dr_pre_release_cpu() 370 cix = dr_cpu_status(hp, devset, ds); in dr_pre_release_cpu() 701 dr_cpu_status(dr_handle_t *hp, dr_devset_t devset, sbd_dev_stat_t *dsp) in dr_cpu_status() argument 713 devset &= DR_DEVS_PRESENT(bp); in dr_cpu_status() 729 if ((devset & DEVSET(SBD_COMP_CMP, cmp)) == 0) { in dr_cpu_status()
|
H A D | dr_io.c | 295 dr_io_status(dr_handle_t *hp, dr_devset_t devset, sbd_dev_stat_t *dsp) in dr_io_status() argument 307 devset &= DR_DEVS_PRESENT(bp); in dr_io_status() 315 if (DEVSET_IN_SET(devset, SBD_COMP_IO, i) == 0) in dr_io_status()
|
H A D | dr_mem_acpi.c | 278 dr_mem_status(dr_handle_t *hp, dr_devset_t devset, sbd_dev_stat_t *dsp) in dr_mem_status() argument 288 devset &= DR_DEVS_PRESENT(bp); in dr_mem_status() 296 if (DEVSET_IN_SET(devset, SBD_COMP_MEM, m) == 0) in dr_mem_status()
|
/titanic_50/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr.c | 1053 dr_devset_t devset; in dr_pre_op() local 1059 devset = shp->h_devset; in dr_pre_op() 1080 state_err = dr_check_transition(bp, &devset, transp, cmd); in dr_pre_op() 1089 f, (uint_t)devset); in dr_pre_op() 1103 shp->h_devset = devset; in dr_pre_op() 1383 dr_devset_t devset; in dr_disconnect() local 1393 devset = hp->h_devset & DR_DEVS_PRESENT(bp) & in dr_disconnect() 1396 if ((devset == 0) && DR_DEVS_PRESENT(bp)) { in dr_disconnect() 1416 DR_DEVS_DISCONNECT(bp, devset); in dr_disconnect() 1418 ASSERT((DR_DEVS_ATTACHED(bp) & devset) == 0); in dr_disconnect() [all …]
|
H A D | dr_cpu.c | 428 dr_devset_t devset; in dr_pre_release_cpu() local 433 devset = DR_DEVS_PRESENT(hp->h_bd); in dr_pre_release_cpu() 439 cix = dr_cpu_status(hp, devset, ds); in dr_pre_release_cpu() 770 dr_cpu_status(dr_handle_t *hp, dr_devset_t devset, sbd_dev_stat_t *dsp) in dr_cpu_status() argument 782 devset &= DR_DEVS_PRESENT(bp); in dr_cpu_status() 797 if ((devset & DEVSET(SBD_COMP_CMP, cmp)) == 0) { in dr_cpu_status()
|
H A D | dr_io.c | 317 dr_io_status(dr_handle_t *hp, dr_devset_t devset, sbd_dev_stat_t *dsp) in dr_io_status() argument 329 devset &= DR_DEVS_PRESENT(bp); in dr_io_status() 337 if (DEVSET_IN_SET(devset, SBD_COMP_IO, i) == 0) in dr_io_status()
|
H A D | dr_mem.c | 709 dr_mem_status(dr_handle_t *hp, dr_devset_t devset, sbd_dev_stat_t *dsp) in dr_mem_status() argument 720 devset &= DR_DEVS_PRESENT(bp); in dr_mem_status() 728 if (DEVSET_IN_SET(devset, SBD_COMP_MEM, m) == 0) in dr_mem_status()
|
/titanic_50/usr/src/uts/i86pc/sys/ |
H A D | dr.h | 151 #error please implement devset with bitmap to support more 64 devices 427 extern int dr_cpu_status(dr_handle_t *hp, dr_devset_t devset, 451 extern int dr_mem_status(dr_handle_t *hp, dr_devset_t devset, 472 extern int dr_io_status(dr_handle_t *hp, dr_devset_t devset,
|
/titanic_50/usr/src/uts/sun4u/ngdr/sys/ |
H A D | dr.h | 396 extern int dr_cpu_status(dr_handle_t *hp, dr_devset_t devset, 420 extern int dr_mem_status(dr_handle_t *hp, dr_devset_t devset, 442 extern int dr_io_status(dr_handle_t *hp, dr_devset_t devset,
|
/titanic_50/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.c | 1476 dr_devset_t devset = *devsetp; in drmach_pre_op() local 1481 DEVSET_DEL(devset, SBD_COMP_CPU, in drmach_pre_op() 1486 DEVSET_DEL(devset, SBD_COMP_CPU, i); in drmach_pre_op() 1491 DEVSET_DEL(devset, SBD_COMP_MEM, in drmach_pre_op() 1496 DEVSET_DEL(devset, SBD_COMP_MEM, i); in drmach_pre_op() 1501 DEVSET_DEL(devset, SBD_COMP_IO, DEVSET_ANYUNIT); in drmach_pre_op() 1506 DEVSET_DEL(devset, SBD_COMP_CPU, in drmach_pre_op() 1511 DEVSET_DEL(devset, SBD_COMP_CPU, i); in drmach_pre_op() 1516 DEVSET_DEL(devset, SBD_COMP_MEM, DEVSET_ANYUNIT); in drmach_pre_op() 1517 DEVSET_DEL(devset, SBD_COMP_IO, DEVSET_ANYUNIT); in drmach_pre_op() [all …]
|
/titanic_50/usr/src/uts/sun4u/opl/io/ |
H A D | dr_mem.c | 694 dr_mem_status(dr_handle_t *hp, dr_devset_t devset, sbd_dev_stat_t *dsp) in dr_mem_status() argument 705 devset &= DR_DEVS_PRESENT(bp); in dr_mem_status() 713 if (DEVSET_IN_SET(devset, SBD_COMP_MEM, m) == 0) in dr_mem_status()
|
/titanic_50/usr/src/uts/sun4u/sys/ |
H A D | sbdpriv.h | 679 extern int sbd_cpu_flags(sbd_handle_t *hp, sbd_devset_t devset,
|