/illumos-gate/usr/src/uts/common/sys/usb/clients/usbser/ |
H A D | usbser_var.h | 106 uint_t port_state; /* port state */ member 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/common/io/usb/clients/usbser/ |
H A D | usbser.c | 550 pp->port_state = USBSER_PORT_CLOSING; in usbser_close() 596 ASSERT(pp->port_state != USBSER_PORT_CLOSED); in usbser_rsrv() 619 ASSERT(pp->port_state != USBSER_PORT_CLOSED); in usbser_wput() 622 if (pp->port_state == USBSER_PORT_CLOSING) { in usbser_wput() 652 ASSERT(pp->port_state != USBSER_PORT_CLOSED); in usbser_wsrv() 874 pp->port_state = USBSER_PORT_CLOSED; in usbser_attach_ports() 943 if (pp->port_state != USBSER_PORT_CLOSED) { in usbser_detach_ports() 944 ASSERT(pp->port_state == USBSER_PORT_NOT_INIT); in usbser_detach_ports() 1094 if (pp->port_state == USBSER_PORT_OPEN || in usbser_disconnect_ports() 1096 pp->port_state == USBSER_PORT_CLOSING) { in usbser_disconnect_ports() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcp.c | 366 uint32_t port_state, uint32_t port_top, fc_portmap_t *devlist, 1562 if (pptr->port_state & (FCP_STATE_INIT | FCP_STATE_OFFLINE)) { in fcp_setup_device_data_ioctl() 2416 if (pptr->port_state & (FCP_STATE_INIT | in fcp_send_scsi_ioctl() 2419 } else if (pptr->port_state & FCP_STATE_ONLINING) { in fcp_send_scsi_ioctl() 3042 if (pptr->port_state & FCP_STATE_OFFLINE) { in fcp_get_statec_count() 3055 if ((pptr->port_state & FCP_STATE_INIT) && pptr->port_tmp_cnt) { in fcp_get_statec_count() 3299 pptr->port_state & FCP_STATE_FCA_IS_NODMA, in fcp_tgt_send_plogi() 4230 if (pptr->port_state & (FCP_STATE_DETACHING | in fcp_els_callback() 4298 uint32_t port_state, uint32_t port_top, fc_portmap_t *devlist, in fcp_statec_callback() argument 4314 "%d/%d/%d", FC_PORT_STATE_MASK(port_state), in fcp_statec_callback() [all …]
|
H A D | fcsm.c | 614 fcsm->sm_port_state = pinfo->port_state; in fcsm_handle_port_attach() 666 fcsm->sm_port_state = pinfo->port_state; in fcsm_handle_port_attach() 681 fcsm_port_state_to_str(FC_PORT_STATE_MASK(pinfo->port_state)), in fcsm_handle_port_attach() 682 pinfo->port_state, in fcsm_handle_port_attach() 733 fcsm_statec_cb(ulph, (opaque_t)pinfo->port_handle, pinfo->port_state, in fcsm_handle_port_resume() 1230 fcsm_statec_cb(opaque_t ulph, opaque_t port_handle, uint32_t port_state, in fcsm_statec_cb() argument 1270 fcsm_port_state_to_str(FC_PORT_STATE_MASK(port_state)), port_state, in fcsm_statec_cb() 1284 fcsm->sm_port_state = port_state; in fcsm_statec_cb() 1286 switch (port_state) { in fcsm_statec_cb() 1905 fcsm_port_state_to_str(uint32_t port_state) in fcsm_port_state_to_str() argument [all …]
|
H A D | fcip.c | 188 uint32_t port_state, uint32_t port_top, fc_portmap_t changelist[], 855 fport->fcipp_pstate = port_info->port_state; in fcip_port_attach() 908 if (FC_PORT_STATE_MASK(port_info->port_state) == in fcip_port_attach() 1190 fport->fcipp_pstate = port_info->port_state; in fcip_handle_resume() 2196 uint32_t port_state, uint32_t port_top, fc_portmap_t changelist[], in fcip_statec_cb() argument 2224 "S_ID:0x%x, count:0x%x", instance, port_state, sid, listlen)); in fcip_statec_cb() 2241 fport->fcipp_pstate = port_state; in fcip_statec_cb() 2264 switch (FC_PORT_STATE_MASK(port_state)) { in fcip_statec_cb()
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/ulp/ |
H A D | fcpvar.h | 166 uint32_t port_state; member 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/lib/sun_sas/common/ |
H A D | devtree_device_disco.c | 238 int port_state = HBA_PORTSTATE_ONLINE; in get_attached_devices_info() local 266 port_state = HBA_PORTSTATE_OFFLINE; in get_attached_devices_info() 516 disco_port_ptr->port_attributes.PortState = port_state; in get_attached_devices_info() 663 int port_state = HBA_PORTSTATE_ONLINE; in get_attached_paths_info() local 681 port_state = HBA_PORTSTATE_OFFLINE; in get_attached_paths_info() 934 disco_port_ptr->port_attributes.PortState = port_state; in get_attached_paths_info()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/ |
H A D | ibd.c | 8169 ibd_state_t *state, *port_state, *p; in ibd_create_partition() local 8183 port_state = ddi_get_soft_state(ibd_list, cmd->ibdioc.ioc_port_inst); in ibd_create_partition() 8184 if (port_state == NULL) { in ibd_create_partition() 8202 ibt_status = ibt_query_hca_ports(port_state->id_hca_hdl, in ibd_create_partition() 8203 port_state->id_port, &pinfop, &psize, &pinfosz); in ibd_create_partition() 8251 state->id_dip = port_state->id_dip; in ibd_create_partition() 8252 state->id_port = port_state->id_port; in ibd_create_partition() 8254 state->id_hca_guid = port_state->id_hca_guid; in ibd_create_partition() 8255 state->id_port_guid = port_state->id_port_guid; in ibd_create_partition() 8273 macp->m_dip = port_state->id_dip; in ibd_create_partition() [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/ |
H A D | cfga_sata.c | 234 port_state(devctl_hdl_t hdl, nvlist_t *list, 627 if ((rv = port_state(hdl, nvl, &rstate, &ostate)) != in cfga_change_state() 680 if ((rv = port_state(hdl, nvl, &rstate, &ostate)) != in cfga_change_state() 749 if ((rv = port_state(hdl, nvl, &rstate, &ostate)) != in cfga_change_state() 859 if ((rv = port_state(hdl, nvl, &rstate, &ostate)) != in cfga_change_state() 992 if ((rv = port_state(hdl, list, &rstate, &ostate)) != in cfga_private_func() 1966 port_state(devctl_hdl_t hdl, nvlist_t *list, in port_state() function
|
/illumos-gate/usr/src/uts/sun/sys/ |
H A D | socalvar.h | 245 socal_port_t port_state[N_SOCAL_NPORTS]; member
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/ |
H A D | ohci_hub.c | 109 uint_t des_A, des_B, port_state; in ohci_init_root_hub() local 170 port_state = POWERED_OFF; in ohci_init_root_hub() 176 port_state = DISCONNECTED; in ohci_init_root_hub() 219 ohcip->ohci_root_hub.rh_port_state[i] = port_state; in ohci_init_root_hub()
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_saa.c | 396 uint8_t port_state; in ibmf_sa_session_close() local 437 port_state = saa_portp->saa_pt_state; in ibmf_sa_session_close() 449 (port_state == IBMF_SAA_PORT_STATE_READY)) { in ibmf_sa_session_close()
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/ |
H A D | ehci_hub.c | 118 uint_t i, length, port_state; in ehci_init_root_hub() local 177 port_state = POWERED_OFF; in ehci_init_root_hub() 187 port_state = DISCONNECTED; in ehci_init_root_hub() 215 ehcip->ehci_root_hub.rh_port_state[i] = port_state; in ehci_init_root_hub()
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/impl/ |
H A D | fc_ulpif.h | 106 uint32_t port_state; member
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/hsi/mcp/ |
H A D | mcp_private.h | 166 u32_t port_state; member
|
/illumos-gate/usr/src/uts/common/io/sata/adapters/ahci/ |
H A D | ahci.c | 1436 uint32_t port_state; in ahci_tran_probe_port() local 1440 port_state = 0; in ahci_tran_probe_port() 1506 port_state = AHCIPORT_GET_STATE(ahci_portp, &addr); in ahci_tran_probe_port() 1508 switch (port_state) { in ahci_tran_probe_port() 1535 sd->satadev_state = port_state; in ahci_tran_probe_port() 1538 portstr, port_state); in ahci_tran_probe_port() 1598 if (port_state & SATA_STATE_READY) in ahci_tran_probe_port() 4965 uint32_t port_state; in ahci_probe_pmport() local 4989 port_state = ahci_portp->ahciport_port_state; in ahci_probe_pmport() 4990 if (!(port_state & SATA_STATE_READY)) { in ahci_probe_pmport() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/fcp/ |
H A D | fcp.c | 125 mdb_printf(" state : 0x%-08x\n", pinfo.port_state); in fcp()
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_roce_api.h | 221 enum ecore_port_state port_state; member
|
H A D | ecore_mcp_api.h | 407 u8 port_state; member
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_dfc.h | 367 uint32_t port_state; member
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fctl.c | 2513 info.port_state = port->fp_bind_state; in fctl_attach_ulps() 2515 info.port_state = port->fp_state; in fctl_attach_ulps() 2518 switch (state = FC_PORT_STATE_MASK(info.port_state)) { in fctl_attach_ulps() 2521 info.port_state &= ~state; in fctl_attach_ulps() 2522 info.port_state |= FC_STATE_ONLINE; in fctl_attach_ulps() 2528 ASSERT((info.port_state & FC_STATE_LOOP) == 0); in fctl_attach_ulps() 2552 ulp_port->port_statec = ((info.port_state & in fctl_attach_ulps()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_dfc.c | 4063 hbainfo->port_state = HBA_PORTSTATE_UNKNOWN; in emlxs_dfc_get_hbainfo() 4066 hbainfo->port_state = HBA_PORTSTATE_LOOPBACK; in emlxs_dfc_get_hbainfo() 4068 hbainfo->port_state = HBA_PORTSTATE_LINKDOWN; in emlxs_dfc_get_hbainfo() 4072 hbainfo->port_state = HBA_PORTSTATE_LINKDOWN; in emlxs_dfc_get_hbainfo() 4076 hbainfo->port_state = HBA_PORTSTATE_ONLINE; in emlxs_dfc_get_hbainfo() 4082 hbainfo->port_state = HBA_PORTSTATE_ERROR; in emlxs_dfc_get_hbainfo() 4084 hbainfo->port_state = HBA_PORTSTATE_OFFLINE; in emlxs_dfc_get_hbainfo()
|
/illumos-gate/usr/src/uts/common/io/sata/impl/ |
H A D | sata.c | 16443 uint32_t port_state, pmult_state; in sata_cfgadm_state() local 16452 port_state = SATA_CPORT_STATE(sata_hba_inst, cport); in sata_cfgadm_state() 16453 if (port_state & SATA_PSTATE_SHUTDOWN || in sata_cfgadm_state() 16454 port_state & SATA_PSTATE_FAILED) { in sata_cfgadm_state() 16457 if (port_state & SATA_PSTATE_FAILED) in sata_cfgadm_state() 16472 port_state = SATA_PMPORT_STATE(sata_hba_inst, cport, pmport); in sata_cfgadm_state() 16473 if (port_state & SATA_PSTATE_SHUTDOWN || in sata_cfgadm_state() 16474 port_state & SATA_PSTATE_FAILED) { in sata_cfgadm_state() 16477 if (port_state & SATA_PSTATE_FAILED) in sata_cfgadm_state()
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | g_adm.c | 5599 int port_state; in adm_display_port() local 5624 &port_state, verbose)) { in adm_display_port() 5629 if (port_state == PORT_CONNECTED) { in adm_display_port()
|