Searched defs:port_state (Results 1 - 19 of 19) sorted by relevance

/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclkstat.c73 static funcp port_state[] = { variable
103 rc = port_state[port_type](kc, driver_name, driver_instance);
H A Dpiclfrutree.c230 static char *port_state[] = { variable
3900 (void) strncpy((char *)buf, port_state[portp->state],
3908 (void) strncpy((char *)buf, port_state[portp->state],
4014 NULL, port_state[portp->state])) != PICL_SUCCESS) {
4455 port_state[portp->state], NULL,
5555 port_state[portp->state], NULL,
/illumos-gate/usr/src/lib/sun_sas/common/
H A Ddevtree_device_disco.c236 int port_state = HBA_PORTSTATE_ONLINE; local
264 port_state = HBA_PORTSTATE_OFFLINE;
514 disco_port_ptr->port_attributes.PortState = port_state;
660 int port_state = HBA_PORTSTATE_ONLINE; local
678 port_state = HBA_PORTSTATE_OFFLINE;
931 disco_port_ptr->port_attributes.PortState = port_state;
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_saa.c398 uint8_t port_state; local
439 port_state = saa_portp->saa_pt_state;
451 (port_state == IBMF_SAA_PORT_STATE_READY)) {
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci_hub.c118 uint_t i, length, port_state; local
177 port_state = POWERED_OFF;
187 port_state = DISCONNECTED;
215 ehcip->ehci_root_hub.rh_port_state[i] = port_state;
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci_hub.c109 uint_t des_A, des_B, port_state; local
170 port_state = POWERED_OFF;
176 port_state = DISCONNECTED;
219 ohcip->ohci_root_hub.rh_port_state[i] = port_state;
/illumos-gate/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfc_ulpif.h106 uint32_t port_state; member in struct:ulp_port_info
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_sata.c232 port_state(devctl_hdl_t hdl, nvlist_t *list,
625 if ((rv = port_state(hdl, nvl, &rstate, &ostate)) !=
678 if ((rv = port_state(hdl, nvl, &rstate, &ostate)) !=
747 if ((rv = port_state(hdl, nvl, &rstate, &ostate)) !=
857 if ((rv = port_state(hdl, nvl, &rstate, &ostate)) !=
990 if ((rv = port_state(hdl, list, &rstate, &ostate)) !=
1966 port_state(devctl_hdl_t hdl, nvlist_t *list, function
/illumos-gate/usr/src/uts/common/sys/usb/clients/usbser/
H A Dusbser_var.h106 uint_t port_state; /* port state */ member in struct:usbser_port
133 * port_state:
235 #define USBSER_PORT_ACCESS_OK(pp) ((pp)->port_state == USBSER_PORT_OPEN)
251 (((pp)->port_state == USBSER_PORT_OPENING_TTY) || \
252 ((pp)->port_state == USBSER_PORT_OPENING_OUT))
260 ((pp)->port_state == USBSER_PORT_OPENING_OUT)) || \
261 (!((minor) & OUTLINE) && ((pp)->port_state == USBSER_PORT_OPENING_TTY)))
/illumos-gate/usr/src/uts/sun/sys/
H A Dsocalvar.h245 socal_port_t port_state[N_SOCAL_NPORTS]; member in struct:socal_state
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcsm.c614 fcsm->sm_port_state = pinfo->port_state;
666 fcsm->sm_port_state = pinfo->port_state;
681 fcsm_port_state_to_str(FC_PORT_STATE_MASK(pinfo->port_state)),
682 pinfo->port_state,
733 fcsm_statec_cb(ulph, (opaque_t)pinfo->port_handle, pinfo->port_state,
1230 fcsm_statec_cb(opaque_t ulph, opaque_t port_handle, uint32_t port_state, argument
1270 fcsm_port_state_to_str(FC_PORT_STATE_MASK(port_state)), port_state,
1284 fcsm->sm_port_state = port_state;
1286 switch (port_state) {
1905 fcsm_port_state_to_str(uint32_t port_state) argument
[all...]
H A Dfcip.c194 uint32_t port_state, uint32_t port_top, fc_portmap_t changelist[],
871 fport->fcipp_pstate = port_info->port_state;
924 if (FC_PORT_STATE_MASK(port_info->port_state) ==
1209 fport->fcipp_pstate = port_info->port_state;
2253 uint32_t port_state, uint32_t port_top, fc_portmap_t changelist[],
2286 "S_ID:0x%x, count:0x%x", instance, port_state, sid, listlen));
2303 fport->fcipp_pstate = port_state;
2326 switch (FC_PORT_STATE_MASK(port_state)) {
2407 * mark the port_state OFFLINE and wait for it to
4513 tnf_uint, port_state, fpor
2252 fcip_statec_cb(opaque_t ulp_handle, opaque_t phandle, uint32_t port_state, uint32_t port_top, fc_portmap_t changelist[], uint32_t listlen, uint32_t sid) argument
[all...]
H A Dfcp.c362 uint32_t port_state, uint32_t port_top, fc_portmap_t *devlist,
1558 if (pptr->port_state & (FCP_STATE_INIT | FCP_STATE_OFFLINE)) {
2412 if (pptr->port_state & (FCP_STATE_INIT |
2415 } else if (pptr->port_state & FCP_STATE_ONLINING) {
3038 if (pptr->port_state & FCP_STATE_OFFLINE) {
3051 if ((pptr->port_state & FCP_STATE_INIT) && pptr->port_tmp_cnt) {
3295 pptr->port_state & FCP_STATE_FCA_IS_NODMA,
4225 if (pptr->port_state & (FCP_STATE_DETACHING |
4280 * port_state Physical state of the port
4293 uint32_t port_state, uint32_
4292 fcp_statec_callback(opaque_t ulph, opaque_t port_handle, uint32_t port_state, uint32_t port_top, fc_portmap_t *devlist, uint32_t dev_cnt, uint32_t port_sid) argument
[all...]
/illumos-gate/usr/src/uts/common/io/sata/adapters/ahci/
H A Dahci.c1338 uint32_t port_state; local
1407 port_state = AHCIPORT_GET_STATE(ahci_portp, &addr);
1409 switch (port_state) {
1436 sd->satadev_state = port_state;
1439 portstr, port_state);
1499 if (port_state & SATA_STATE_READY)
4860 uint32_t port_state; local
4884 port_state = ahci_portp->ahciport_port_state;
4885 if (!(port_state & SATA_STATE_READY)) {
4904 if (!(port_state
5202 uint32_t port_state; local
5403 uint32_t port_state; local
[all...]
/illumos-gate/usr/src/cmd/luxadm/
H A Dg_adm.c5599 int port_state; local
5624 &port_state, verbose)) {
5629 if (port_state == PORT_CONNECTED) {
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd.c8169 ibd_state_t *state, *port_state, *p; local
8183 port_state = ddi_get_soft_state(ibd_list, cmd->ibdioc.ioc_port_inst);
8184 if (port_state == NULL) {
8202 ibt_status = ibt_query_hca_ports(port_state->id_hca_hdl,
8203 port_state->id_port, &pinfop, &psize, &pinfosz);
8251 state->id_dip = port_state->id_dip;
8252 state->id_port = port_state->id_port;
8254 state->id_hca_guid = port_state->id_hca_guid;
8255 state->id_port_guid = port_state->id_port_guid;
8273 macp->m_dip = port_state
8422 ibd_state_t *state, *port_state; local
[all...]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/ulp/
H A Dfcpvar.h166 uint32_t port_state; member in struct:fcp_port
1325 fcp_port::port_state fcp_tgt::tgt_change_cnt
1379 if (!((pptr)->port_state & FCP_STATE_FCA_IS_NODMA)) { \
1389 if (!((pptr)->port_state & FCP_STATE_FCA_IS_NODMA)) { \
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_dfc.h367 uint32_t port_state; member in struct:dfc_hbainfo
/illumos-gate/usr/src/uts/common/io/sata/impl/
H A Dsata.c15924 uint32_t port_state, pmult_state; local
15933 port_state = SATA_CPORT_STATE(sata_hba_inst, cport);
15934 if (port_state & SATA_PSTATE_SHUTDOWN ||
15935 port_state & SATA_PSTATE_FAILED) {
15938 if (port_state & SATA_PSTATE_FAILED)
15953 port_state = SATA_PMPORT_STATE(sata_hba_inst, cport, pmport);
15954 if (port_state & SATA_PSTATE_SHUTDOWN ||
15955 port_state & SATA_PSTATE_FAILED) {
15958 if (port_state & SATA_PSTATE_FAILED)

Completed in 338 milliseconds