port_type
if (portlist[i].port_type ==
if ((portlist[i].port_type ==
portlist[i].port_type ==
(attr->port_type == 0) ? "Initiator" : "Target");
if (port->port_type == FCOE_PORTTYPE_INITIATOR) {
port->port_type,
if (port->port_type == FCOE_PORTTYPE_TARGET) {
port->port_type,
port.fp_port_type.port_type);
nic_port_type_t port_type)
switch (port_type) {
if (port_type != NIC_PORT_SFF)
po->port_type = (FCOE_UINT8)pi->fpi_port_type;
pi->port_type = is_target ?
FCOE_UINT8 port_type;
FCOE_UINT8 port_type;
i2c_port_type_t port_type;
port->port_type = I2C_PORT_TYPE_CTRL;
port->port_type = I2C_PORT_TYPE_MUX;
return (port->port_type);
int port_type;
port_type = selfid_port_type(tmp->selfid_packet, i);
if ((port_type == IEEE1394_SELFID_PORT_TO_CHILD) ||
(port_type == IEEE1394_SELFID_PORT_TO_PARENT)) {
port_type = selfid_port_type(
if ((port_type ==
(port_type ==
const char *t4_get_port_type_description(enum fw_port_type port_type);
enum fw_port_type port_type;
port_type = G_FW_PORT_CMD_PTYPE(lstatus);
port_type = G_FW_PORT_CMD_PORTTYPE32(lstatus32);
pi->port_type = port_type;
const char *t4_get_port_type_description(enum fw_port_type port_type)
if (port_type < ARRAY_SIZE(port_type_description))
return port_type_description[port_type];
enum fw_port_type port_type;
port_type = G_FW_PORT_CMD_PTYPE(lstatus);
port_type = G_FW_PORT_CMD_PORTTYPE32(lstatus32);
pi->port_type = port_type;
uint8_t port_type;
switch (pi->port_type) {
kstat_named_t port_type;
KS_CINIT(port_type);
KS_C_SET(port_type, "%s/%s/%s/%s",
hbainfo->port_type = HBA_PORTTYPE_UNKNOWN;
hbainfo->port_type = HBA_PORTTYPE_NLPORT;
hbainfo->port_type = HBA_PORTTYPE_LPORT;
hbainfo->port_type = HBA_PORTTYPE_PTP;
hbainfo->port_type = HBA_PORTTYPE_NPORT;
stats->port_type = HBA_PORTTYPE_UNKNOWN;
stats->port_type = HBA_PORTTYPE_NLPORT;
stats->port_type = HBA_PORTTYPE_LPORT;
stats->port_type = HBA_PORTTYPE_PTP;
stats->port_type = HBA_PORTTYPE_NPORT;
switch (ptype.port_type) {
switch (pd->pd_porttype.port_type) {
pd->pd_porttype.port_type = type.port_type;
port->fp_port_type.port_type = FC_NS_PORT_UNKNOWN;
port->fp_port_type.port_type = FC_NS_PORT_NL;
port->fp_port_type.port_type = FC_NS_PORT_N;
port->fp_port_type.port_type = FC_NS_PORT_N;
port->fp_port_type.port_type = FC_NS_PORT_UNKNOWN;
if (pd->pd_porttype.port_type == FC_NS_PORT_NL) {
((ns_req_gid_pt_t *)(ns_cmd->ns_cmd_buf))->port_type.port_type
((ns_req_gid_pt_t *)(ns_cmd->ns_cmd_buf))->port_type.rsvd = 0;
switch (port->fp_port_type.port_type) {
uint32_t port_type;
port_type = nxgep->niu_type >>
port_type = port_type & (NXGE_PORT_TYPE_MASK);
switch (port_type) {
"Unknown port-type: 0x%x", port_type));
"Unknown port-type: 0x%x", port_type));
int port_type;
port_type = PCI_CAP_GET16(config_handle, 0, cap_ptr,
if (port_type == PCIE_PCIECAP_DEV_TYPE_ROOT)
uint8_t port_type;
uint8_t port_type;
port_type = si_portmultp->sipm_port_type[pmport];
port_type = si_portp->siport_port_type;
switch (port_type) {
uint_t port_type;
return (usb_ac_term_type_map[i].port_type);
uint_t port_type =
dir, d->wTerminalType, usb_audio_dtypes[port_type]);
uacp->usb_ac_output_ports |= (1U << port_type);
uint_t port_type =
dir, d->wTerminalType, usb_audio_dtypes[port_type]);
uacp->usb_ac_input_ports |= (1U << port_type);
uint_t port_type;
port_type = usb_ac_lookup_port_type(d->wTerminalType);
dir, d->wTerminalType, port_type, arg1);
port_type = usb_ac_lookup_port_type(d->wTerminalType);
dir, d->wTerminalType, port_type, arg1);
return (((1U << port_type) & arg1) ? USB_SUCCESS : USB_FAILURE);
ndi_set_bus_private(dev_info_t *dip, boolean_t up, uint32_t port_type,
DEVI(dip)->devi_bus.port_up.info.port.type = port_type;
DEVI(dip)->devi_bus.port_down.info.port.type = port_type;
ndi_port_type(dev_info_t *dip, boolean_t up, uint32_t port_type)
port_type);
port_type);
port_type : 8;
uint32_t port_type : 8,
uint32_t port_type;
uint32_t port_type;
fc_porttype_t port_type;
fc_porttype_t port_type;
ndi_set_bus_private(dev_info_t *dip, boolean_t up, uint32_t port_type,
ndi_port_type(dev_info_t *dip, boolean_t up, uint32_t port_type);
int port_type = pcicfg_pcie_port_type(dip, handle);
DEBUG1("device port_type = %x\n", port_type);
if (port_type < 0)
if ((port_type == PCIE_PCIECAP_DEV_TYPE_UP) ||
(port_type == PCIE_PCIECAP_DEV_TYPE_DOWN) ||
(port_type == PCIE_PCIECAP_DEV_TYPE_ROOT) ||
(port_type == PCIE_PCIECAP_DEV_TYPE_PCI2PCIE))
int port_type = -1;
port_type = pci_config_get16(handle,
return (port_type);
int port_type = PCI_CAP_GET16(handle, 0, cap_ptr,
if ((port_type == PCIE_PCIECAP_DEV_TYPE_DOWN) &&
int port_type = -1;
port_type = PCI_CAP_GET16(handle, 0,
return (port_type);
int port_type = pcicfg_pcie_port_type(dip, handle);
DEBUG1("device port_type = %x\n", port_type);
if (port_type < 0)
if ((port_type == PCIE_PCIECAP_DEV_TYPE_UP) ||
(port_type == PCIE_PCIECAP_DEV_TYPE_DOWN) ||
(port_type == PCIE_PCIECAP_DEV_TYPE_ROOT) ||
(port_type == PCIE_PCIECAP_DEV_TYPE_PCI2PCIE))