/titanic_44/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex_ioctl.c | 215 devctl_ap_state_t ap_state; in ibnex_devctl() local 246 ibnex_figure_ib_apid_devstate(&ap_state); in ibnex_devctl() 262 ibnex_figure_ap_devstate(nodep, &ap_state); in ibnex_devctl() 266 if (ndi_dc_return_ap_state(&ap_state, dcp) != NDI_SUCCESS) { in ibnex_devctl() 1689 ibnex_figure_ap_devstate(ibnex_node_data_t *nodep, devctl_ap_state_t *ap_state) in ibnex_figure_ap_devstate() argument 1693 ap_state->ap_rstate = AP_RSTATE_CONNECTED; in ibnex_figure_ap_devstate() 1695 ap_state->ap_ostate = AP_OSTATE_UNCONFIGURED; in ibnex_figure_ap_devstate() 1696 ap_state->ap_condition = AP_COND_UNKNOWN; in ibnex_figure_ap_devstate() 1702 ap_state->ap_ostate = AP_OSTATE_UNCONFIGURED; in ibnex_figure_ap_devstate() 1703 ap_state->ap_condition = AP_COND_UNKNOWN; in ibnex_figure_ap_devstate() [all …]
|
/titanic_44/usr/src/uts/common/io/cardbus/ |
H A D | cardbus_hp.c | 1125 devctl_ap_state_t ap_state; in cardbus_ioctl() local 1349 ap_state.ap_rstate = cbp->rstate; in cardbus_ioctl() 1350 ap_state.ap_ostate = cbp->ostate; in cardbus_ioctl() 1351 ap_state.ap_condition = cbp->condition; in cardbus_ioctl() 1352 ap_state.ap_last_change = 0; in cardbus_ioctl() 1353 ap_state.ap_error_code = 0; in cardbus_ioctl() 1355 ap_state.ap_in_transition = 0; /* AP is not busy */ in cardbus_ioctl() 1357 ap_state.ap_in_transition = 1; /* AP is busy */ in cardbus_ioctl() 1363 if (ndi_dc_return_ap_state(&ap_state, dcp) != NDI_SUCCESS) in cardbus_ioctl()
|
/titanic_44/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_sm.c | 1946 (statep->ap_state == IBCM_AP_STATE_LAP_SENT))) { in ibcm_process_mra_msg() 1958 statep->ap_state = IBCM_AP_STATE_MRA_LAP_RCVD; in ibcm_process_mra_msg() 2014 (statep->ap_state == IBCM_AP_STATE_MRA_LAP_RCVD)) { in ibcm_process_mra_msg() 3454 (statep->ap_state != statep->timer_stored_ap_state))) { in ibcm_timeout_cb() 3460 "ap_state %x", statep, statep->state, statep->ap_state); in ibcm_timeout_cb() 3669 } else if ((statep->ap_state == IBCM_AP_STATE_LAP_SENT) || in ibcm_timeout_cb() 3670 (statep->ap_state == IBCM_AP_STATE_MRA_LAP_RCVD)) { in ibcm_timeout_cb() 3681 statep->ap_state = IBCM_AP_STATE_TIMED_OUT; in ibcm_timeout_cb() 3696 statep->ap_state = IBCM_AP_STATE_IDLE; in ibcm_timeout_cb() 3902 if (statep->ap_state == IBCM_AP_STATE_LAP_SENT) in ibcm_post_lap_complete() [all …]
|
H A D | ibcm_ti.c | 2383 } else if (statep->ap_state == IBCM_AP_STATE_LAP_RCVD) { in ibt_cm_delay() 2384 statep->ap_state = IBCM_AP_STATE_MRA_LAP_RCVD; in ibt_cm_delay() 2388 statep->ap_state, statep->mode); in ibt_cm_delay() 2395 statep->ap_state, statep->mode); in ibt_cm_delay() 3952 if ((statep->ap_state != IBCM_AP_STATE_LAP_RCVD) && in ibt_cm_proceed() 3953 (statep->ap_state != IBCM_AP_STATE_MRA_LAP_SENT)) in ibt_cm_proceed() 4423 (statep->ap_state != IBCM_AP_STATE_IDLE)) { in ibt_set_alt_path() 4431 statep->ap_state = IBCM_AP_STATE_LAP_SENT; in ibt_set_alt_path() 4435 statep->timer_stored_ap_state = statep->ap_state; in ibt_set_alt_path()
|
/titanic_44/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap.h | 216 void ap_state(apd_t *, cfga_stat_t *, cfga_stat_t *);
|
H A D | ap_seq.c | 98 ap_state(a, &rs, &os); in ap_seq_get()
|
H A D | ap_msg.c | 276 ap_state(a, &rs, &os); in ap_err()
|
H A D | ap_sbd.c | 1014 ap_state(apd_t *a, cfga_stat_t *rs, cfga_stat_t *os) in ap_state() function
|
/titanic_44/usr/src/uts/common/io/hotplug/pcihp/ |
H A D | pcihp.c | 752 devctl_ap_state_t ap_state; in pcihp_ioctl() local 1043 ap_state.ap_rstate = slotinfop->rstate; in pcihp_ioctl() 1044 ap_state.ap_ostate = slotinfop->ostate; in pcihp_ioctl() 1045 ap_state.ap_condition = slotinfop->condition; in pcihp_ioctl() 1046 ap_state.ap_last_change = slotinfop->last_change; in pcihp_ioctl() 1047 ap_state.ap_error_code = 0; /* XXX */ in pcihp_ioctl() 1049 ap_state.ap_in_transition = 0; /* AP is not busy */ in pcihp_ioctl() 1051 ap_state.ap_in_transition = 1; /* AP is busy */ in pcihp_ioctl() 1057 if (ndi_dc_return_ap_state(&ap_state, dcp) != NDI_SUCCESS) in pcihp_ioctl()
|
/titanic_44/usr/src/uts/common/io/usb/usba/ |
H A D | hubdi.c | 7382 devctl_ap_state_t ap_state; in usba_hubdi_ioctl() local 7550 ap_state.ap_rstate = AP_RSTATE_DISCONNECTED; in usba_hubdi_ioctl() 7551 ap_state.ap_ostate = AP_OSTATE_UNCONFIGURED; in usba_hubdi_ioctl() 7552 ap_state.ap_condition = AP_COND_OK; in usba_hubdi_ioctl() 7556 ap_state.ap_rstate = AP_RSTATE_CONNECTED; in usba_hubdi_ioctl() 7557 ap_state.ap_ostate = AP_OSTATE_UNCONFIGURED; in usba_hubdi_ioctl() 7558 ap_state.ap_condition = AP_COND_OK; in usba_hubdi_ioctl() 7562 ap_state.ap_rstate = AP_RSTATE_CONNECTED; in usba_hubdi_ioctl() 7563 ap_state.ap_ostate = AP_OSTATE_CONFIGURED; in usba_hubdi_ioctl() 7564 ap_state.ap_condition = AP_COND_OK; in usba_hubdi_ioctl() [all …]
|
/titanic_44/usr/src/lib/libdevice/ |
H A D | devctl.c | 1116 devctl_ap_state_t ap_state; in devctl_ap_getstate() local 1119 (void *)&ap_state); in devctl_ap_getstate() 1124 *apstate = ap_state; in devctl_ap_getstate()
|
/titanic_44/usr/src/uts/common/io/sata/impl/ |
H A D | sata.c | 1314 devctl_ap_state_t ap_state; in sata_hba_ioctl() local 1467 sata_cfgadm_state(sata_hba_inst, comp_port, &ap_state); in sata_hba_ioctl() 1469 ap_state.ap_last_change = (time_t)-1; in sata_hba_ioctl() 1470 ap_state.ap_error_code = 0; in sata_hba_ioctl() 1471 ap_state.ap_in_transition = 0; in sata_hba_ioctl() 1474 if (ndi_dc_return_ap_state(&ap_state, dcp) != NDI_SUCCESS) { in sata_hba_ioctl() 15921 devctl_ap_state_t *ap_state) in sata_cfgadm_state() argument 15936 ap_state->ap_rstate = AP_RSTATE_DISCONNECTED; in sata_cfgadm_state() 15937 ap_state->ap_ostate = AP_OSTATE_UNCONFIGURED; in sata_cfgadm_state() 15939 ap_state->ap_condition = AP_COND_FAILED; in sata_cfgadm_state() [all …]
|
/titanic_44/usr/src/uts/intel/io/amr/ |
H A D | amrreg.h | 335 uint8_t ap_state[AMR_8LD_MAXPHYSDRIVES]; member
|
/titanic_44/usr/src/uts/common/sys/ib/mgt/ibcm/ |
H A D | ibcm_impl.h | 368 ibcm_ap_state_t ap_state; member
|