Home
last modified time | relevance | path

Searched refs:sbc_cm (Results 1 – 9 of 9) sorted by relevance

/titanic_41/usr/src/uts/i86pc/io/dr/
H A Ddr_cpu.c64 ASSERT(cp->sbc_cm.sbdev_bp == bp); in dr_cpu_unit_is_sane()
65 ASSERT(cp->sbc_cm.sbdev_type == SBD_COMP_CPU); in dr_cpu_unit_is_sane()
115 err = drmach_get_dip(cp->sbc_cm.sbdev_id, &dip); in dr_cpu_set_prop()
117 DRERR_SET_C(&cp->sbc_cm.sbdev_error, &err); in dr_cpu_set_prop()
122 DR_DEV_INTERNAL_ERROR(&cp->sbc_cm); in dr_cpu_set_prop()
169 if (DR_DEV_IS_ATTACHED(&cp->sbc_cm)) { in dr_init_cpu_unit()
171 cp->sbc_cm.sbdev_cond = SBD_COND_OK; in dr_init_cpu_unit()
172 } else if (DR_DEV_IS_PRESENT(&cp->sbc_cm)) { in dr_init_cpu_unit()
174 cp->sbc_cm.sbdev_cond = SBD_COND_OK; in dr_init_cpu_unit()
177 cp->sbc_cm.sbdev_cond = SBD_COND_UNKNOWN; in dr_init_cpu_unit()
[all …]
H A Ddr.c1428 dr_device_transition(&cp->sbc_cm, DR_STATE_EMPTY); in dr_disconnect()
1429 else if (cp->sbc_cm.sbdev_error != NULL) in dr_disconnect()
1430 DRERR_SET_C(&hp->h_err, &cp->sbc_cm.sbdev_error); in dr_disconnect()
1432 ASSERT(cp->sbc_cm.sbdev_error == NULL); in dr_disconnect()
2061 dr_device_transition(&cp->sbc_cm, nstate); in dr_dev_cancel()
3084 if (!DR_DEV_IS_PRESENT(&cp->sbc_cm)) in dr_board_discovery()
3087 if (dr_check_unit_attached(&cp->sbc_cm) >= 0) { in dr_board_discovery()
3088 DR_DEV_SET_ATTACHED(&cp->sbc_cm); in dr_board_discovery()
3162 dr_device_transition(&cp->sbc_cm, DR_STATE_EMPTY); in dr_board_discovery()
/titanic_41/usr/src/uts/sun4u/ngdr/io/
H A Ddr_cpu.c91 ASSERT(drmach_cpu_get_id(cp->sbc_cm.sbdev_id, &cpuid) == 0); in dr_cpu_unit_is_sane()
93 ASSERT(cp->sbc_cm.sbdev_bp == bp); in dr_cpu_unit_is_sane()
94 ASSERT(cp->sbc_cm.sbdev_type == SBD_COMP_CPU); in dr_cpu_unit_is_sane()
141 err = drmach_get_dip(cp->sbc_cm.sbdev_id, &dip); in dr_cpu_set_prop()
143 DRERR_SET_C(&cp->sbc_cm.sbdev_error, &err); in dr_cpu_set_prop()
154 DR_DEV_INTERNAL_ERROR(&cp->sbc_cm); in dr_cpu_set_prop()
223 if (DR_DEV_IS_ATTACHED(&cp->sbc_cm)) { in dr_init_cpu_unit()
225 cp->sbc_cm.sbdev_cond = SBD_COND_OK; in dr_init_cpu_unit()
226 } else if (DR_DEV_IS_PRESENT(&cp->sbc_cm)) { in dr_init_cpu_unit()
228 cp->sbc_cm.sbdev_cond = SBD_COND_OK; in dr_init_cpu_unit()
[all …]
H A Ddr.c1431 dr_device_transition(&cp->sbc_cm, DR_STATE_EMPTY); in dr_disconnect()
1432 else if (cp->sbc_cm.sbdev_error != NULL) in dr_disconnect()
1433 DRERR_SET_C(&hp->h_err, &cp->sbc_cm.sbdev_error); in dr_disconnect()
1435 ASSERT(cp->sbc_cm.sbdev_error == NULL); in dr_disconnect()
2093 dr_device_transition(&cp->sbc_cm, nstate); in dr_dev_cancel()
3127 if (!DR_DEV_IS_PRESENT(&cp->sbc_cm)) in dr_board_discovery()
3130 if (dr_check_unit_attached(&cp->sbc_cm) >= 0) { in dr_board_discovery()
3131 DR_DEV_SET_ATTACHED(&cp->sbc_cm); in dr_board_discovery()
3203 dr_device_transition(&cp->sbc_cm, DR_STATE_EMPTY); in dr_board_discovery()
/titanic_41/usr/src/uts/sun4u/io/
H A Dsbd_cpu.c132 csp->cs_type = cp->sbc_cm.sbdev_type; in sbd_fill_cpu_stat()
133 csp->cs_unit = cp->sbc_cm.sbdev_unum; in sbd_fill_cpu_stat()
137 csp->cs_busy = cp->sbc_cm.sbdev_busy; in sbd_fill_cpu_stat()
138 csp->cs_time = cp->sbc_cm.sbdev_time; in sbd_fill_cpu_stat()
139 csp->cs_ostate = cp->sbc_cm.sbdev_ostate; in sbd_fill_cpu_stat()
629 cpup->sbc_cm.sbdev_cond = SBD_COND_OK; in sbd_post_attach_cpu()
804 cpup->sbc_cm.sbdev_cond = SBD_COND_UNUSABLE; in sbd_post_detach_cpu()
H A Dsbd.c2547 cp->sbc_cm.sbdev_cond = sbd_get_comp_cond(dip); in sbd_init_cpu_unit()
/titanic_41/usr/src/uts/sun4u/ngdr/sys/
H A Ddr.h320 dr_common_unit_t sbc_cm; /* cpu-unit state */ member
/titanic_41/usr/src/uts/i86pc/sys/
H A Ddr.h351 dr_common_unit_t sbc_cm; /* cpu-unit state */ member
/titanic_41/usr/src/uts/sun4u/sys/
H A Dsbdpriv.h333 sbd_common_unit_t sbc_cm; /* cpu-unit state */ member