Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c218 devctl_ap_state_t ap_state; in ibnex_devctl() local
249 ibnex_figure_ib_apid_devstate(&ap_state); in ibnex_devctl()
265 ibnex_figure_ap_devstate(nodep, &ap_state); in ibnex_devctl()
269 if (ndi_dc_return_ap_state(&ap_state, dcp) != NDI_SUCCESS) { in ibnex_devctl()
1692 ibnex_figure_ap_devstate(ibnex_node_data_t *nodep, devctl_ap_state_t *ap_state) in ibnex_figure_ap_devstate() argument
1696 ap_state->ap_rstate = AP_RSTATE_CONNECTED; in ibnex_figure_ap_devstate()
1698 ap_state->ap_ostate = AP_OSTATE_UNCONFIGURED; in ibnex_figure_ap_devstate()
1699 ap_state->ap_condition = AP_COND_UNKNOWN; in ibnex_figure_ap_devstate()
1705 ap_state->ap_ostate = AP_OSTATE_UNCONFIGURED; in ibnex_figure_ap_devstate()
1706 ap_state->ap_condition = AP_COND_UNKNOWN; in ibnex_figure_ap_devstate()
[all …]
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus_hp.c1127 devctl_ap_state_t ap_state; in cardbus_ioctl() local
1351 ap_state.ap_rstate = cbp->rstate; in cardbus_ioctl()
1352 ap_state.ap_ostate = cbp->ostate; in cardbus_ioctl()
1353 ap_state.ap_condition = cbp->condition; in cardbus_ioctl()
1354 ap_state.ap_last_change = 0; in cardbus_ioctl()
1355 ap_state.ap_error_code = 0; in cardbus_ioctl()
1357 ap_state.ap_in_transition = 0; /* AP is not busy */ in cardbus_ioctl()
1359 ap_state.ap_in_transition = 1; /* AP is busy */ in cardbus_ioctl()
1365 if (ndi_dc_return_ap_state(&ap_state, dcp) != NDI_SUCCESS) in cardbus_ioctl()
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_sm.c1947 (statep->ap_state == IBCM_AP_STATE_LAP_SENT))) { in ibcm_process_mra_msg()
1959 statep->ap_state = IBCM_AP_STATE_MRA_LAP_RCVD; in ibcm_process_mra_msg()
2015 (statep->ap_state == IBCM_AP_STATE_MRA_LAP_RCVD)) { in ibcm_process_mra_msg()
3455 (statep->ap_state != statep->timer_stored_ap_state))) { in ibcm_timeout_cb()
3461 "ap_state %x", statep, statep->state, statep->ap_state); in ibcm_timeout_cb()
3671 } else if ((statep->ap_state == IBCM_AP_STATE_LAP_SENT) || in ibcm_timeout_cb()
3672 (statep->ap_state == IBCM_AP_STATE_MRA_LAP_RCVD)) { in ibcm_timeout_cb()
3683 statep->ap_state = IBCM_AP_STATE_TIMED_OUT; in ibcm_timeout_cb()
3698 statep->ap_state = IBCM_AP_STATE_IDLE; in ibcm_timeout_cb()
3904 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()
/illumos-gate/usr/src/uts/common/io/hotplug/pcihp/
H A Dpcihp.c754 devctl_ap_state_t ap_state; in pcihp_ioctl() local
1045 ap_state.ap_rstate = slotinfop->rstate; in pcihp_ioctl()
1046 ap_state.ap_ostate = slotinfop->ostate; in pcihp_ioctl()
1047 ap_state.ap_condition = slotinfop->condition; in pcihp_ioctl()
1048 ap_state.ap_last_change = slotinfop->last_change; in pcihp_ioctl()
1049 ap_state.ap_error_code = 0; /* XXX */ in pcihp_ioctl()
1051 ap_state.ap_in_transition = 0; /* AP is not busy */ in pcihp_ioctl()
1053 ap_state.ap_in_transition = 1; /* AP is busy */ in pcihp_ioctl()
1059 if (ndi_dc_return_ap_state(&ap_state, dcp) != NDI_SUCCESS) in pcihp_ioctl()
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dhubdi.c7680 devctl_ap_state_t ap_state; in usba_hubdi_ioctl() local
7847 ap_state.ap_rstate = AP_RSTATE_DISCONNECTED; in usba_hubdi_ioctl()
7848 ap_state.ap_ostate = AP_OSTATE_UNCONFIGURED; in usba_hubdi_ioctl()
7849 ap_state.ap_condition = AP_COND_OK; in usba_hubdi_ioctl()
7853 ap_state.ap_rstate = AP_RSTATE_CONNECTED; in usba_hubdi_ioctl()
7854 ap_state.ap_ostate = AP_OSTATE_UNCONFIGURED; in usba_hubdi_ioctl()
7855 ap_state.ap_condition = AP_COND_OK; in usba_hubdi_ioctl()
7859 ap_state.ap_rstate = AP_RSTATE_CONNECTED; in usba_hubdi_ioctl()
7860 ap_state.ap_ostate = AP_OSTATE_CONFIGURED; in usba_hubdi_ioctl()
7861 ap_state.ap_condition = AP_COND_OK; in usba_hubdi_ioctl()
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap.h214 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
/illumos-gate/usr/src/lib/libdevice/
H A Ddevctl.c1114 devctl_ap_state_t ap_state; in devctl_ap_getstate() local
1117 (void *)&ap_state); in devctl_ap_getstate()
1122 *apstate = ap_state; in devctl_ap_getstate()
/illumos-gate/usr/src/uts/common/io/sata/impl/
H A Dsata.c1475 devctl_ap_state_t ap_state; in sata_hba_ioctl() local
1631 sata_cfgadm_state(sata_hba_inst, comp_port, &ap_state); in sata_hba_ioctl()
1633 ap_state.ap_last_change = (time_t)-1; in sata_hba_ioctl()
1634 ap_state.ap_error_code = 0; in sata_hba_ioctl()
1635 ap_state.ap_in_transition = 0; in sata_hba_ioctl()
1638 if (ndi_dc_return_ap_state(&ap_state, dcp) != NDI_SUCCESS) { in sata_hba_ioctl()
16854 devctl_ap_state_t *ap_state) in sata_cfgadm_state() argument
16869 ap_state->ap_rstate = AP_RSTATE_DISCONNECTED; in sata_cfgadm_state()
16870 ap_state->ap_ostate = AP_OSTATE_UNCONFIGURED; in sata_cfgadm_state()
16872 ap_state->ap_condition = AP_COND_FAILED; in sata_cfgadm_state()
[all …]
/illumos-gate/usr/src/uts/intel/io/amr/
H A Damrreg.h333 uint8_t ap_state[AMR_8LD_MAXPHYSDRIVES]; member
/illumos-gate/usr/src/uts/common/sys/ib/mgt/ibcm/
H A Dibcm_impl.h368 ibcm_ap_state_t ap_state; member