Home
last modified time | relevance | path

Searched refs:ap_state (Results 1 – 14 of 14) sorted by relevance

/titanic_44/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c215 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 Dcardbus_hp.c1125 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 Dibcm_sm.c1946 (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 Dibcm_ti.c2383 } 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 Dap.h216 void ap_state(apd_t *, cfga_stat_t *, cfga_stat_t *);
H A Dap_seq.c98 ap_state(a, &rs, &os); in ap_seq_get()
H A Dap_msg.c276 ap_state(a, &rs, &os); in ap_err()
H A Dap_sbd.c1014 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 Dpcihp.c752 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 Dhubdi.c7382 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 Ddevctl.c1116 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 Dsata.c1314 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 Damrreg.h335 uint8_t ap_state[AMR_8LD_MAXPHYSDRIVES]; member
/titanic_44/usr/src/uts/common/sys/ib/mgt/ibcm/
H A Dibcm_impl.h368 ibcm_ap_state_t ap_state; member