Searched refs:DEVSET (Results 1 – 8 of 8) sorted by relevance
/titanic_44/usr/src/uts/sun4u/ngdr/sys/ |
H A D | dr.h | 107 #define DEVSET(t, u) \ macro 114 #define DEVSET_IN_SET(ds, t, u) (((ds) & DEVSET((t), (u))) != 0) 115 #define DEVSET_ADD(ds, t, u) ((ds) |= DEVSET((t), (u))) 116 #define DEVSET_DEL(ds, t, u) ((ds) &= ~DEVSET((t), (u))) 118 (((ds) & DEVSET((t), DEVSET_ANYUNIT)) >> _NT2DEVPOS((t), 0))
|
/titanic_44/usr/src/uts/i86pc/sys/ |
H A D | dr.h | 131 #define DEVSET(t, u) \ macro 140 #define DEVSET_IN_SET(ds, t, u) (((ds) & DEVSET((t), (u))) != 0) 141 #define DEVSET_ADD(ds, t, u) ((ds) |= DEVSET((t), (u))) 142 #define DEVSET_DEL(ds, t, u) ((ds) &= ~DEVSET((t), (u))) 147 (((ds) & DEVSET((t), DEVSET_ANYUNIT)) >> DEVSET_NT2DEVPOS((t), 0))
|
/titanic_44/usr/src/uts/sun4u/sys/ |
H A D | sbdpriv.h | 423 #define DEVSET(t, u) \ macro 430 #define DEVSET_IN_SET(ds, t, u) (((ds) & DEVSET((t), (u))) != 0) 431 #define DEVSET_ADD(ds, t, u) ((ds) |= DEVSET((t), (u))) 432 #define DEVSET_DEL(ds, t, u) ((ds) &= ~DEVSET((t), (u))) 434 (((ds) & DEVSET((t), DEVSET_ANYUNIT)) >> _NT2DEVPOS((t), 0))
|
/titanic_44/usr/src/uts/i86pc/io/dr/ |
H A D | dr.c | 2443 devset &= DEVSET(hp->h_sbdcmd.cmd_cm.c_id.c_type, in dr_get_ncm() 2453 if (devset & DEVSET(SBD_COMP_CMP, i)) { in dr_get_ncm() 2459 devset &= ~(DEVSET(SBD_COMP_CMP, DEVSET_ANYUNIT)); in dr_get_ncm() 2549 devset = DEVSET(SBD_COMP_CPU, DEVSET_ANYUNIT); in dr_dev2devset() 2550 devset |= DEVSET(SBD_COMP_MEM, DEVSET_ANYUNIT); in dr_dev2devset() 2551 devset |= DEVSET(SBD_COMP_IO, DEVSET_ANYUNIT); in dr_dev2devset() 2571 devset = DEVSET(SBD_COMP_CMP, unit); in dr_dev2devset() 2590 devset = DEVSET(cid->c_type, unit); in dr_dev2devset() 2603 devset = DEVSET(cid->c_type, unit); in dr_dev2devset()
|
H A D | dr_cpu.c | 729 if ((devset & DEVSET(SBD_COMP_CMP, cmp)) == 0) { in dr_cpu_status()
|
/titanic_44/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr.c | 2476 devset &= DEVSET(hp->h_sbdcmd.cmd_cm.c_id.c_type, in dr_get_ncm() 2486 if (devset & DEVSET(SBD_COMP_CMP, i)) { in dr_get_ncm() 2492 devset &= ~(DEVSET(SBD_COMP_CMP, DEVSET_ANYUNIT)); in dr_get_ncm() 2582 devset = DEVSET(SBD_COMP_CPU, DEVSET_ANYUNIT); in dr_dev2devset() 2583 devset |= DEVSET(SBD_COMP_MEM, DEVSET_ANYUNIT); in dr_dev2devset() 2584 devset |= DEVSET(SBD_COMP_IO, DEVSET_ANYUNIT); in dr_dev2devset() 2603 devset = DEVSET(SBD_COMP_CMP, unit); in dr_dev2devset() 2621 devset = DEVSET(cid->c_type, unit); in dr_dev2devset() 2633 devset = DEVSET(cid->c_type, unit); in dr_dev2devset()
|
H A D | dr_cpu.c | 797 if ((devset & DEVSET(SBD_COMP_CMP, cmp)) == 0) { in dr_cpu_status()
|
/titanic_44/usr/src/uts/sun4u/io/ |
H A D | sbd.c | 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() 1393 devset = DEVSET(SBD_COMP_CMP, unit); in sbd_dev2devset() 1405 devset = DEVSET(cid->c_type, 0); in sbd_dev2devset() 1409 devset = DEVSET(cid->c_type, unit); in sbd_dev2devset() 1418 devset = DEVSET(cid->c_type, unit); in sbd_dev2devset()
|