port_type 2724 arch/powerpc/platforms/powermac/feature.c int port_type = PMAC_SCC_ASYNC; port_type 2730 arch/powerpc/platforms/powermac/feature.c port_type = PMAC_SCC_IRDA; port_type 2735 arch/powerpc/platforms/powermac/feature.c port_type = PMAC_SCC_IRDA; port_type 2741 arch/powerpc/platforms/powermac/feature.c pmac_call_feature(PMAC_FTR_SCC_ENABLE, np, port_type, 0); port_type 268 arch/s390/include/asm/diag.h u8 port_type; port_type 50 drivers/ata/pata_jmicron.c port_type port_map[2]; port_type 43 drivers/firewire/core-topology.c int port_type, shift, seq; port_type 53 drivers/firewire/core-topology.c port_type = (q >> shift) & 0x03; port_type 54 drivers/firewire/core-topology.c switch (port_type) { port_type 363 drivers/firmware/efi/cper.c printk("%s""port_type: %d, %s\n", pfx, pcie->port_type, port_type 364 drivers/firmware/efi/cper.c pcie->port_type < ARRAY_SIZE(pcie_port_type_strs) ? port_type 365 drivers/firmware/efi/cper.c pcie_port_type_strs[pcie->port_type] : "unknown"); port_type 1759 drivers/gpu/drm/i915/display/intel_hdcp.c data->port_type = (u8)HDCP_PORT_TYPE_INTEGRATED; port_type 36 drivers/hwtracing/intel_th/gth.c unsigned int port_type; port_type 660 drivers/hwtracing/intel_th/gth.c if (gth->output[i].port_type != othdev->output.type) port_type 781 drivers/hwtracing/intel_th/gth.c gth->output[i].port_type = port_type 783 drivers/hwtracing/intel_th/gth.c if (gth->output[i].port_type == GTH_NONE) port_type 786 drivers/hwtracing/intel_th/gth.c ret = intel_th_output_enable(th, gth->output[i].port_type); port_type 37 drivers/ide/jmicron.c port_type port_map[2]; port_type 720 drivers/infiniband/core/sysfs.c static struct kobj_type port_type = { port_type 1059 drivers/infiniband/core/sysfs.c ret = kobject_init_and_add(&p->kobj, &port_type, port_type 7127 drivers/infiniband/hw/hfi1/chip.c ppd->port_type == PORT_TYPE_FIXED) port_type 7199 drivers/infiniband/hw/hfi1/chip.c if (ppd->port_type == PORT_TYPE_QSFP && !qsfp_mod_present(ppd)) port_type 9744 drivers/infiniband/hw/hfi1/chip.c if (ppd->port_type != PORT_TYPE_QSFP || !qsfp_mod_present(ppd)) port_type 9830 drivers/infiniband/hw/hfi1/chip.c if (ppd->port_type == PORT_TYPE_QSFP) { port_type 10395 drivers/infiniband/hw/hfi1/chip.c if (ppd->port_type == PORT_TYPE_QSFP && port_type 1958 drivers/infiniband/hw/hfi1/firmware.c *data = ppd->port_type; port_type 781 drivers/infiniband/hw/hfi1/hfi.h u32 port_type; port_type 867 drivers/infiniband/hw/hfi1/mad.c pi->port_phys_conf = (ppd->port_type & 0xf); port_type 2143 drivers/infiniband/hw/hfi1/mad.c if (dd->pport->port_type != PORT_TYPE_QSFP || port_type 111 drivers/infiniband/hw/hfi1/platform.c ppd->port_type = temp_dest >> port_type 214 drivers/infiniband/hw/hfi1/platform.c ppd->port_type = PORT_TYPE_UNKNOWN; port_type 217 drivers/infiniband/hw/hfi1/platform.c ppd->port_type = temp; port_type 666 drivers/infiniband/hw/hfi1/platform.c if (ppd->port_type != PORT_TYPE_QSFP) port_type 728 drivers/infiniband/hw/hfi1/platform.c if (ppd->port_type == PORT_TYPE_QSFP && limiting_active) port_type 968 drivers/infiniband/hw/hfi1/platform.c switch (ppd->port_type) { port_type 1058 drivers/infiniband/hw/hfi1/platform.c ppd->port_type = PORT_TYPE_UNKNOWN; port_type 521 drivers/infiniband/hw/mlx4/mad.c u8 is_eth = dev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; port_type 946 drivers/infiniband/hw/mlx4/main.c if (mdev->dev->caps.port_type[i] == MLX4_PORT_TYPE_ETH) port_type 1062 drivers/infiniband/hw/mlx4/main.c u8 is_eth = mdev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; port_type 428 drivers/infiniband/hw/mlx4/sysfs.c static struct kobj_type port_type = { port_type 651 drivers/infiniband/hw/mlx4/sysfs.c ret = kobject_init_and_add(&p->kobj, &port_type, port_type 141 drivers/infiniband/hw/mlx5/main.c int port_type_cap = MLX5_CAP_GEN(dev->mdev, port_type); port_type 643 drivers/infiniband/hw/mlx5/main.c if (MLX5_CAP_GEN(dev->mdev, port_type) == MLX5_CAP_PORT_TYPE_IB) port_type 1741 drivers/infiniband/hw/mlx5/main.c if ((MLX5_CAP_GEN(dev->mdev, port_type) != MLX5_CAP_PORT_TYPE_ETH) || port_type 1757 drivers/infiniband/hw/mlx5/main.c if ((MLX5_CAP_GEN(dev->mdev, port_type) != MLX5_CAP_PORT_TYPE_ETH) || port_type 4704 drivers/infiniband/hw/mlx5/main.c if (MLX5_CAP_GEN(dev->mdev, port_type) == port_type 6417 drivers/infiniband/hw/mlx5/main.c if ((MLX5_CAP_GEN(dev->mdev, port_type) == MLX5_CAP_PORT_TYPE_ETH) && port_type 6490 drivers/infiniband/hw/mlx5/main.c port_type_cap = MLX5_CAP_GEN(mdev, port_type); port_type 6511 drivers/infiniband/hw/mlx5/main.c port_type_cap = MLX5_CAP_GEN(mdev, port_type); port_type 6537 drivers/infiniband/hw/mlx5/main.c port_type_cap = MLX5_CAP_GEN(mdev, port_type); port_type 6911 drivers/infiniband/hw/mlx5/main.c port_type_cap = MLX5_CAP_GEN(mdev, port_type); port_type 2100 drivers/infiniband/hw/mlx5/qp.c (MLX5_CAP_GEN(dev->mdev, port_type) != port_type 979 drivers/message/fusion/mptfc.c unsigned port_type; port_type 1049 drivers/message/fusion/mptfc.c port_type = FC_PORTTYPE_UNKNOWN; port_type 1051 drivers/message/fusion/mptfc.c port_type = FC_PORTTYPE_PTP; port_type 1053 drivers/message/fusion/mptfc.c port_type = FC_PORTTYPE_LPORT; port_type 1055 drivers/message/fusion/mptfc.c port_type = FC_PORTTYPE_NLPORT; port_type 1057 drivers/message/fusion/mptfc.c port_type = FC_PORTTYPE_NPORT; port_type 1058 drivers/message/fusion/mptfc.c fc_host_port_type(sh) = port_type; port_type 71 drivers/misc/mei/hdcp/mei_hdcp.c session_init_in.port.integrated_port_type = data->port_type; port_type 140 drivers/misc/mei/hdcp/mei_hdcp.c verify_rxcert_in.port.integrated_port_type = data->port_type; port_type 210 drivers/misc/mei/hdcp/mei_hdcp.c send_hprime_in.port.integrated_port_type = data->port_type; port_type 267 drivers/misc/mei/hdcp/mei_hdcp.c pairing_info_in.port.integrated_port_type = data->port_type; port_type 325 drivers/misc/mei/hdcp/mei_hdcp.c lc_init_in.port.integrated_port_type = data->port_type; port_type 380 drivers/misc/mei/hdcp/mei_hdcp.c verify_lprime_in.port.integrated_port_type = data->port_type; port_type 437 drivers/misc/mei/hdcp/mei_hdcp.c get_skey_in.port.integrated_port_type = data->port_type; port_type 501 drivers/misc/mei/hdcp/mei_hdcp.c verify_repeater_in.port.integrated_port_type = data->port_type; port_type 571 drivers/misc/mei/hdcp/mei_hdcp.c verify_mprime_in.port.integrated_port_type = data->port_type; port_type 632 drivers/misc/mei/hdcp/mei_hdcp.c enable_auth_in.port.integrated_port_type = data->port_type; port_type 686 drivers/misc/mei/hdcp/mei_hdcp.c session_close_in.port.integrated_port_type = data->port_type; port_type 194 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c int port_type; port_type 202 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c port_type = PORT_FIBRE; port_type 205 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c port_type = PORT_DA; port_type 208 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c port_type = PORT_TP; port_type 211 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c port_type = PORT_NONE; port_type 215 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c port_type = PORT_OTHER; port_type 218 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c return port_type; port_type 362 drivers/net/ethernet/chelsio/cxgb3/common.h u8 port_type[MAX_NPORTS]; port_type 749 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c p->port_type[0] = uses_xaui(adapter) ? 1 : 2; port_type 750 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c p->port_type[1] = uses_xaui(adapter) ? 6 : 2; port_type 752 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c p->port_type[0] = hex_to_bin(vpd.port0_data[0]); port_type 753 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c p->port_type[1] = hex_to_bin(vpd.port1_data[0]); port_type 3735 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c while (!adapter->params.vpd.port_type[++j]) port_type 3738 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c pti = &port_types[adapter->params.vpd.port_type[j]]; port_type 3741 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c adapter->params.vpd.port_type[j]); port_type 3799 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c while (!adapter->params.vpd.port_type[++j]) port_type 3802 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c pti = &port_types[adapter->params.vpd.port_type[j]]; port_type 576 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h enum fw_port_type port_type; port_type 1722 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h const char *t4_get_port_type_description(enum fw_port_type port_type); port_type 356 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c static int from_fw_port_mod_type(enum fw_port_type port_type, port_type 359 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c if (port_type == FW_PORT_TYPE_BT_SGMII || port_type 360 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c port_type == FW_PORT_TYPE_BT_XFI || port_type 361 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c port_type == FW_PORT_TYPE_BT_XAUI) { port_type 363 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c } else if (port_type == FW_PORT_TYPE_FIBER_XFI || port_type 364 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c port_type == FW_PORT_TYPE_FIBER_XAUI) { port_type 366 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c } else if (port_type == FW_PORT_TYPE_SFP || port_type 367 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c port_type == FW_PORT_TYPE_QSFP_10G || port_type 368 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c port_type == FW_PORT_TYPE_QSA || port_type 369 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c port_type == FW_PORT_TYPE_QSFP || port_type 370 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c port_type == FW_PORT_TYPE_CR4_QSFP || port_type 371 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c port_type == FW_PORT_TYPE_CR_QSFP || port_type 372 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c port_type == FW_PORT_TYPE_CR2_QSFP || port_type 373 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c port_type == FW_PORT_TYPE_SFP28) { port_type 384 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c } else if (port_type == FW_PORT_TYPE_KR4_100G || port_type 385 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c port_type == FW_PORT_TYPE_KR_SFP28 || port_type 386 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c port_type == FW_PORT_TYPE_KR_XLAUI) { port_type 432 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c static void fw_caps_to_lmm(enum fw_port_type port_type, port_type 448 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c switch (port_type) { port_type 609 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c base->port = from_fw_port_mod_type(pi->port_type, pi->mod_type); port_type 613 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c base->mdio_support = (pi->port_type == FW_PORT_TYPE_BT_SGMII port_type 621 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c fw_caps_to_lmm(pi->port_type, pi->link_cfg.pcaps, port_type 623 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c fw_caps_to_lmm(pi->port_type, port_type 628 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c fw_caps_to_lmm(pi->port_type, pi->link_cfg.lpacaps, port_type 1454 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c switch (pi->port_type) { port_type 5421 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c sprintf(bufp, "BASE-%s", t4_get_port_type_description(pi->port_type)); port_type 6294 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c const char *t4_get_port_type_description(enum fw_port_type port_type) port_type 6322 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (port_type < ARRAY_SIZE(port_type_description)) port_type 6323 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c return port_type_description[port_type]; port_type 8573 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c enum fw_port_type port_type; port_type 8584 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c port_type = FW_PORT_CMD_PTYPE_G(lstatus); port_type 8599 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c port_type = FW_PORT_CMD_PORTTYPE32_G(lstatus32); port_type 8657 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c pi->port_type = port_type; port_type 9600 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c enum fw_port_type port_type; port_type 9641 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c port_type = FW_PORT_CMD_PTYPE_G(lstatus); port_type 9650 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c port_type = FW_PORT_CMD_PORTTYPE32_G(lstatus32); port_type 9681 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c pi->port_type = port_type; port_type 101 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h u8 port_type; /* firmware port type */ port_type 1266 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c static int from_fw_port_mod_type(enum fw_port_type port_type, port_type 1269 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c if (port_type == FW_PORT_TYPE_BT_SGMII || port_type 1270 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c port_type == FW_PORT_TYPE_BT_XFI || port_type 1271 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c port_type == FW_PORT_TYPE_BT_XAUI) { port_type 1273 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c } else if (port_type == FW_PORT_TYPE_FIBER_XFI || port_type 1274 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c port_type == FW_PORT_TYPE_FIBER_XAUI) { port_type 1276 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c } else if (port_type == FW_PORT_TYPE_SFP || port_type 1277 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c port_type == FW_PORT_TYPE_QSFP_10G || port_type 1278 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c port_type == FW_PORT_TYPE_QSA || port_type 1279 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c port_type == FW_PORT_TYPE_QSFP || port_type 1280 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c port_type == FW_PORT_TYPE_CR4_QSFP || port_type 1281 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c port_type == FW_PORT_TYPE_CR_QSFP || port_type 1282 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c port_type == FW_PORT_TYPE_CR2_QSFP || port_type 1283 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c port_type == FW_PORT_TYPE_SFP28) { port_type 1294 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c } else if (port_type == FW_PORT_TYPE_KR4_100G || port_type 1295 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c port_type == FW_PORT_TYPE_KR_SFP28 || port_type 1296 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c port_type == FW_PORT_TYPE_KR_XLAUI) { port_type 1312 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c static void fw_caps_to_lmm(enum fw_port_type port_type, port_type 1326 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c switch (port_type) { port_type 1455 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c base->port = from_fw_port_mod_type(pi->port_type, pi->mod_type); port_type 1459 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c base->mdio_support = (pi->port_type == FW_PORT_TYPE_BT_SGMII port_type 1467 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c fw_caps_to_lmm(pi->port_type, pi->link_cfg.pcaps, port_type 1469 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c fw_caps_to_lmm(pi->port_type, pi->link_cfg.acaps, port_type 1471 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c fw_caps_to_lmm(pi->port_type, pi->link_cfg.lpacaps, port_type 503 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c enum fw_port_type port_type; port_type 568 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c port_type = FW_PORT_CMD_PTYPE_G(lstatus); port_type 578 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c port_type = FW_PORT_CMD_PORTTYPE32_G(lstatus32); port_type 586 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c pi->port_type = port_type; port_type 1922 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c enum fw_port_type port_type; port_type 1932 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c port_type = FW_PORT_CMD_PTYPE_G(lstatus); port_type 1969 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c port_type = FW_PORT_CMD_PORTTYPE32_G(lstatus32); port_type 2009 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c pi->port_type = port_type; port_type 390 drivers/net/ethernet/emulex/benet/be.h u8 port_type; port_type 658 drivers/net/ethernet/emulex/benet/be_ethtool.c adapter->phy.port_type = cmd->base.port; port_type 664 drivers/net/ethernet/emulex/benet/be_ethtool.c cmd->base.port = adapter->phy.port_type; port_type 2137 drivers/net/ethernet/freescale/fman/fman.c if (port_params->port_type != FMAN_PORT_TYPE_RX) { port_type 359 drivers/net/ethernet/freescale/fman/fman.h enum fman_port_type port_type; /* Port type */ port_type 456 drivers/net/ethernet/freescale/fman/fman_port.c enum fman_port_type port_type; port_type 640 drivers/net/ethernet/freescale/fman/fman_port.c if (port->port_type == FMAN_PORT_TYPE_RX) { port_type 647 drivers/net/ethernet/freescale/fman/fman_port.c if (port->port_type == FMAN_PORT_TYPE_TX) { port_type 747 drivers/net/ethernet/freescale/fman/fman_port.c switch (port->port_type) { port_type 779 drivers/net/ethernet/freescale/fman/fman_port.c switch (port->port_type) { port_type 856 drivers/net/ethernet/freescale/fman/fman_port.c if (port->port_type == FMAN_PORT_TYPE_TX) { port_type 878 drivers/net/ethernet/freescale/fman/fman_port.c else if (port->port_type == FMAN_PORT_TYPE_RX) { port_type 999 drivers/net/ethernet/freescale/fman/fman_port.c switch (port->port_type) { port_type 1022 drivers/net/ethernet/freescale/fman/fman_port.c if (port->port_type == FMAN_PORT_TYPE_TX) { port_type 1251 drivers/net/ethernet/freescale/fman/fman_port.c BMI_DEQUEUE_PIPELINE_DEPTH(port->port_type, port->port_speed); port_type 1252 drivers/net/ethernet/freescale/fman/fman_port.c cfg->deq_byte_cnt = QMI_BYTE_COUNT_LEVEL_CONTROL(port->port_type); port_type 1298 drivers/net/ethernet/freescale/fman/fman_port.c port->port_type, port_type 1334 drivers/net/ethernet/freescale/fman/fman_port.c port->port_type = port->dts_params.type; port_type 1347 drivers/net/ethernet/freescale/fman/fman_port.c switch (port->port_type) { port_type 1368 drivers/net/ethernet/freescale/fman/fman_port.c get_dflt_num_of_fifo_bufs(port->rev_info.major, port->port_type, port_type 1375 drivers/net/ethernet/freescale/fman/fman_port.c port->port_type, port->port_speed); port_type 1378 drivers/net/ethernet/freescale/fman/fman_port.c port->port_type, port->port_speed); port_type 1381 drivers/net/ethernet/freescale/fman/fman_port.c port->port_type, port->port_speed); port_type 1384 drivers/net/ethernet/freescale/fman/fman_port.c port->port_type, port->port_speed); port_type 1390 drivers/net/ethernet/freescale/fman/fman_port.c (((port->port_type == FMAN_PORT_TYPE_TX) && port_type 1397 drivers/net/ethernet/freescale/fman/fman_port.c port->port_type == FMAN_PORT_TYPE_TX && port_type 1462 drivers/net/ethernet/freescale/fman/fman_port.c if (port->port_type == FMAN_PORT_TYPE_RX) { port_type 1485 drivers/net/ethernet/freescale/fman/fman_port.c params.port_type = port->port_type; port_type 1598 drivers/net/ethernet/freescale/fman/fman_port.c switch (port->port_type) { port_type 1674 drivers/net/ethernet/freescale/fman/fman_port.c switch (port->port_type) { port_type 1763 drivers/net/ethernet/freescale/fman/fman_port.c enum fman_port_type port_type; port_type 1801 drivers/net/ethernet/freescale/fman/fman_port.c port_type = FMAN_PORT_TYPE_TX; port_type 1811 drivers/net/ethernet/freescale/fman/fman_port.c port_type = FMAN_PORT_TYPE_TX; port_type 1814 drivers/net/ethernet/freescale/fman/fman_port.c port_type = FMAN_PORT_TYPE_RX; port_type 1824 drivers/net/ethernet/freescale/fman/fman_port.c port_type = FMAN_PORT_TYPE_RX; port_type 1832 drivers/net/ethernet/freescale/fman/fman_port.c port->dts_params.type = port_type; port_type 1835 drivers/net/ethernet/freescale/fman/fman_port.c if (port_type == FMAN_PORT_TYPE_TX) { port_type 563 drivers/net/ethernet/hisilicon/hns/hnae.h enum hnae_port_type port_type; port_type 130 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ae_handle->port_type = vf_cb->mac_cb->mac_type; port_type 488 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c if (handle->port_type == HNAE_PORT_SERVICE) port_type 530 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c if (handle->port_type == HNAE_PORT_SERVICE) { port_type 560 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c handle->port_type == HNAE_PORT_DEBUG) port_type 589 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c handle->port_type == HNAE_PORT_DEBUG) { port_type 626 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c handle->port_type == HNAE_PORT_DEBUG) port_type 292 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c enum dsaf_sw_port_type port_type) port_type 300 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c port_type); port_type 310 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c enum dsaf_stp_port_type port_type) port_type 318 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c port_type); port_type 251 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c u32 port_type, u32 port, u32 val) port_type 257 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c obj_args[0].integer.value = port_type; port_type 271 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c port_type, port); port_type 1423 drivers/net/ethernet/hisilicon/hns/hns_enet.c enum hnae_port_type type = priv->ae_handle->port_type; port_type 2020 drivers/net/ethernet/hisilicon/hns/hns_enet.c enum hnae_port_type type = priv->ae_handle->port_type; port_type 181 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c if (!(AE_IS_VER1(priv->enet_ver) && h->port_type == HNAE_PORT_DEBUG)) port_type 391 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c (priv->ae_handle->port_type == HNAE_PORT_SERVICE)) { port_type 4987 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static u32 hclge_get_port_number(enum HLCGE_PORT_TYPE port_type, u8 pf_id, port_type 4992 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (port_type == HOST_PORT) { port_type 174 drivers/net/ethernet/huawei/hinic/hinic_port.h u8 port_type; port_type 620 drivers/net/ethernet/mellanox/mlx4/eq.c if (dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH) { port_type 656 drivers/net/ethernet/mellanox/mlx4/eq.c if (dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH) port_type 657 drivers/net/ethernet/mellanox/mlx4/fw.c if (dev->caps.port_type[gen_or_port] == MLX4_PORT_TYPE_ETH) { port_type 669 drivers/net/ethernet/mellanox/mlx4/fw.c } else if (dev->caps.port_type[gen_or_port] == MLX4_PORT_TYPE_IB) { port_type 1411 drivers/net/ethernet/mellanox/mlx4/fw.c u8 port_type; port_type 1443 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_GET(port_type, outbox->buf, port_type 1447 drivers/net/ethernet/mellanox/mlx4/fw.c port_type &= MLX4_VF_PORT_NO_LINK_SENSE_MASK; port_type 1449 drivers/net/ethernet/mellanox/mlx4/fw.c port_type |= (dev->caps.port_type[vhcr->in_modifier] & 0x3); port_type 1453 drivers/net/ethernet/mellanox/mlx4/fw.c port_type |= MLX4_PORT_LINK_UP_MASK; port_type 1455 drivers/net/ethernet/mellanox/mlx4/fw.c port_type &= ~MLX4_PORT_LINK_UP_MASK; port_type 1463 drivers/net/ethernet/mellanox/mlx4/fw.c port_type |= (port_cap.link_state << 7); port_type 1466 drivers/net/ethernet/mellanox/mlx4/fw.c MLX4_PUT(outbox->buf, port_type, port_type 1469 drivers/net/ethernet/mellanox/mlx4/fw.c if (dev->caps.port_type[vhcr->in_modifier] == MLX4_PORT_TYPE_ETH) port_type 3102 drivers/net/ethernet/mellanox/mlx4/fw.c dev->caps.port_type[i] == MLX4_PORT_TYPE_ETH) { port_type 175 drivers/net/ethernet/mellanox/mlx4/main.c enum mlx4_port_type port_type[MLX4_MAX_PORTS + 1]; port_type 308 drivers/net/ethernet/mellanox/mlx4/main.c enum mlx4_port_type *port_type) port_type 314 drivers/net/ethernet/mellanox/mlx4/main.c if (port_type[i] != port_type[i + 1]) { port_type 322 drivers/net/ethernet/mellanox/mlx4/main.c if (!(port_type[i] & dev->caps.supported_type[i+1])) { port_type 336 drivers/net/ethernet/mellanox/mlx4/main.c dev->caps.port_mask[i] = dev->caps.port_type[i]; port_type 589 drivers/net/ethernet/mellanox/mlx4/main.c dev->caps.port_type[i] = MLX4_PORT_TYPE_NONE; port_type 593 drivers/net/ethernet/mellanox/mlx4/main.c dev->caps.port_type[i] = MLX4_PORT_TYPE_ETH; port_type 597 drivers/net/ethernet/mellanox/mlx4/main.c dev->caps.port_type[i] = MLX4_PORT_TYPE_IB; port_type 603 drivers/net/ethernet/mellanox/mlx4/main.c dev->caps.port_type[i] = dev->caps.suggested_type[i] ? port_type 606 drivers/net/ethernet/mellanox/mlx4/main.c dev->caps.port_type[i] = port_type_array[i - 1]; port_type 630 drivers/net/ethernet/mellanox/mlx4/main.c dev->caps.port_type[i] = sensed_port; port_type 632 drivers/net/ethernet/mellanox/mlx4/main.c dev->caps.possible_type[i] = dev->caps.port_type[i]; port_type 887 drivers/net/ethernet/mellanox/mlx4/main.c caps->port_mask[i] = caps->port_type[i]; port_type 1102 drivers/net/ethernet/mellanox/mlx4/main.c if (dev->caps.port_type[port] == MLX4_PORT_TYPE_IB) port_type 1104 drivers/net/ethernet/mellanox/mlx4/main.c else if (dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH) port_type 1128 drivers/net/ethernet/mellanox/mlx4/main.c if (port_types[port] != dev->caps.port_type[port + 1]) port_type 1135 drivers/net/ethernet/mellanox/mlx4/main.c dev->caps.port_type[port] = port_types[port - 1]; port_type 1166 drivers/net/ethernet/mellanox/mlx4/main.c (mdev->caps.port_type[info->port] == MLX4_PORT_TYPE_IB) ? port_type 1177 drivers/net/ethernet/mellanox/mlx4/main.c enum mlx4_port_type port_type) port_type 1186 drivers/net/ethernet/mellanox/mlx4/main.c if ((port_type & mdev->caps.supported_type[info->port]) != port_type) { port_type 1195 drivers/net/ethernet/mellanox/mlx4/main.c info->tmp_type = port_type; port_type 1204 drivers/net/ethernet/mellanox/mlx4/main.c types[i] = mdev->caps.port_type[i+1]; port_type 1211 drivers/net/ethernet/mellanox/mlx4/main.c mdev->caps.possible_type[i] = mdev->caps.port_type[i]; port_type 1249 drivers/net/ethernet/mellanox/mlx4/main.c enum mlx4_port_type port_type; port_type 1256 drivers/net/ethernet/mellanox/mlx4/main.c port_type = MLX4_PORT_TYPE_IB; port_type 1258 drivers/net/ethernet/mellanox/mlx4/main.c port_type = MLX4_PORT_TYPE_ETH; port_type 1260 drivers/net/ethernet/mellanox/mlx4/main.c port_type = MLX4_PORT_TYPE_AUTO; port_type 1267 drivers/net/ethernet/mellanox/mlx4/main.c err = __set_port_type(info, port_type); port_type 1315 drivers/net/ethernet/mellanox/mlx4/main.c if (mdev->caps.port_type[info->port] == MLX4_PORT_TYPE_ETH) port_type 1333 drivers/net/ethernet/mellanox/mlx4/main.c if (mdev->caps.port_type[info->port] == MLX4_PORT_TYPE_ETH) { port_type 2117 drivers/net/ethernet/mellanox/mlx4/main.c if (dev->caps.port_type[i] == MLX4_PORT_TYPE_ETH) port_type 3869 drivers/net/ethernet/mellanox/mlx4/main.c enum devlink_port_type port_type) port_type 3876 drivers/net/ethernet/mellanox/mlx4/main.c switch (port_type) { port_type 4055 drivers/net/ethernet/mellanox/mlx4/main.c dev->persist->curr_port_type[i] = dev->caps.port_type[i + 1]; port_type 1242 drivers/net/ethernet/mellanox/mlx4/mlx4.h enum mlx4_port_type *port_type); port_type 1218 drivers/net/ethernet/mellanox/mlx4/port.c if (dev->caps.port_type[i + 1] != MLX4_PORT_TYPE_ETH) port_type 1234 drivers/net/ethernet/mellanox/mlx4/port.c if (dev->caps.port_type[i + 1] != MLX4_PORT_TYPE_ETH) port_type 1573 drivers/net/ethernet/mellanox/mlx4/port.c if (dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH) port_type 101 drivers/net/ethernet/mellanox/mlx4/sense.c mlx4_do_sense_ports(dev, stype, &dev->caps.port_type[1]); port_type 4637 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (MLX5_CAP_GEN(mdev, port_type) != MLX5_CAP_PORT_TYPE_ETH) port_type 1204 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c if (MLX5_CAP_GEN(mdev, port_type) != MLX5_CAP_PORT_TYPE_ETH) port_type 1219 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c if (MLX5_CAP_GEN(mdev, port_type) != MLX5_CAP_PORT_TYPE_ETH) port_type 2303 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (MLX5_CAP_GEN(dev, port_type) != MLX5_CAP_PORT_TYPE_ETH) port_type 162 drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c if ((MLX5_CAP_GEN(dev, port_type) == MLX5_CAP_PORT_TYPE_IB) && port_type 2758 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c if ((((MLX5_CAP_GEN(dev, port_type) == MLX5_CAP_PORT_TYPE_ETH) && port_type 2760 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c ((MLX5_CAP_GEN(dev, port_type) == MLX5_CAP_PORT_TYPE_IB) && port_type 646 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c if (MLX5_CAP_GEN(mdev, port_type) != MLX5_CAP_PORT_TYPE_IB) port_type 136 drivers/net/ethernet/mellanox/mlx5/core/lib/gid.c if (MLX5_CAP_GEN(dev, port_type) != MLX5_CAP_PORT_TYPE_ETH) port_type 636 drivers/net/ethernet/mellanox/mlx5/core/main.c if (MLX5_CAP_GEN(dev, port_type) == MLX5_CAP_PORT_TYPE_ETH) port_type 96 drivers/net/ethernet/mellanox/mlx5/core/sriov.c if (MLX5_CAP_GEN(dev, port_type) == MLX5_CAP_PORT_TYPE_IB) { port_type 215 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c if (MLX5_CAP_GEN(mdev, port_type) != MLX5_CAP_PORT_TYPE_ETH) { port_type 1154 drivers/net/ethernet/mellanox/mlx5/core/vport.c int port_type_cap = MLX5_CAP_GEN(mdev, port_type); port_type 808 drivers/net/ethernet/mellanox/mlxsw/core.c enum devlink_port_type port_type) port_type 819 drivers/net/ethernet/mellanox/mlxsw/core.c port_type); port_type 1238 drivers/net/ethernet/mellanox/mlxsw/switchx2.c enum devlink_port_type port_type = port_type 1241 drivers/net/ethernet/mellanox/mlxsw/switchx2.c if (port_type == DEVLINK_PORT_TYPE_ETH) port_type 1243 drivers/net/ethernet/mellanox/mlxsw/switchx2.c else if (port_type == DEVLINK_PORT_TYPE_IB) port_type 1329 drivers/net/ethernet/mellanox/mlxsw/switchx2.c enum devlink_port_type port_type; port_type 1341 drivers/net/ethernet/mellanox/mlxsw/switchx2.c port_type = mlxsw_core_port_type_get(mlxsw_sx->core, local_port); port_type 1342 drivers/net/ethernet/mellanox/mlxsw/switchx2.c if (port_type == DEVLINK_PORT_TYPE_ETH) port_type 1344 drivers/net/ethernet/mellanox/mlxsw/switchx2.c else if (port_type == DEVLINK_PORT_TYPE_IB) port_type 376 drivers/net/ethernet/netronome/nfp/flower/main.c enum nfp_port_type port_type; port_type 382 drivers/net/ethernet/netronome/nfp/flower/main.c port_type = repr_type == NFP_REPR_TYPE_PF ? NFP_PORT_PF_PORT : port_type 414 drivers/net/ethernet/netronome/nfp/flower/main.c port = nfp_port_alloc(app, port_type, repr); port_type 286 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c cmd->base.port = eth_port->port_type; port_type 179 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h u8 port_type; port_type 207 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c entry->port_type = PORT_NONE; port_type 210 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c entry->port_type = PORT_TP; port_type 215 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c entry->port_type = PORT_FIBRE; port_type 217 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c entry->port_type = PORT_DA; port_type 586 drivers/net/ethernet/qlogic/netxen/netxen_nic.h u16 port_type; port_type 91 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c if (adapter->ahw.port_type == NETXEN_NIC_GBE) { port_type 110 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { port_type 194 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { port_type 254 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c if (adapter->ahw.port_type != NETXEN_NIC_GBE) port_type 404 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c if (adapter->ahw.port_type == NETXEN_NIC_GBE) { port_type 446 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c if (adapter->ahw.port_type == NETXEN_NIC_GBE) { port_type 481 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c if (adapter->ahw.port_type == NETXEN_NIC_GBE) { port_type 503 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { port_type 514 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c netxen_nic_driver_name, adapter->ahw.port_type); port_type 531 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c if (adapter->ahw.port_type == NETXEN_NIC_GBE) { port_type 574 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { port_type 593 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c adapter->ahw.port_type); port_type 1796 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c adapter->ahw.port_type = NETXEN_NIC_GBE; port_type 1812 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c adapter->ahw.port_type = NETXEN_NIC_XGBE; port_type 1821 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c adapter->ahw.port_type = NETXEN_NIC_GBE; port_type 1824 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c adapter->ahw.port_type = (adapter->portnum < 2) ? port_type 1829 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c adapter->ahw.port_type = NETXEN_NIC_XGBE; port_type 1860 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c if (adapter->ahw.port_type == NETXEN_NIC_GBE) { port_type 891 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { port_type 894 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c } else if (adapter->ahw.port_type == NETXEN_NIC_GBE) { port_type 991 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (adapter->ahw.port_type == NETXEN_NIC_XGBE) port_type 1580 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c switch (adapter->ahw.port_type) { port_type 1602 drivers/net/ethernet/qlogic/qed/qed_main.c int port_type; port_type 1610 drivers/net/ethernet/qlogic/qed/qed_main.c port_type = PORT_FIBRE; port_type 1613 drivers/net/ethernet/qlogic/qed/qed_main.c port_type = PORT_DA; port_type 1616 drivers/net/ethernet/qlogic/qed/qed_main.c port_type = PORT_TP; port_type 1619 drivers/net/ethernet/qlogic/qed/qed_main.c port_type = PORT_NONE; port_type 1623 drivers/net/ethernet/qlogic/qed/qed_main.c port_type = PORT_OTHER; port_type 1626 drivers/net/ethernet/qlogic/qed/qed_main.c return port_type; port_type 496 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h u16 port_type; port_type 714 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->port_type = QLCNIC_XGBE; port_type 718 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->port_type = QLCNIC_GBE; port_type 720 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->port_type = QLCNIC_XGBE; port_type 3199 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->port_type = QLCNIC_GBE; port_type 3202 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->port_type = QLCNIC_XGBE; port_type 3262 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->port_type = QLCNIC_XGBE; port_type 3268 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->port_type = QLCNIC_GBE; port_type 3272 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->port_type = QLCNIC_GBE; port_type 3279 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->port_type = QLCNIC_XGBE; port_type 3283 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c ahw->port_type = QLCNIC_XGBE; port_type 3746 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c if (ahw->port_type == QLCNIC_GBE) { port_type 3751 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c } else if ((ahw->port_type == QLCNIC_XGBE) && (pause->autoneg)) { port_type 2344 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c if (ahw->port_type == QLCNIC_XGBE) { port_type 2350 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c } else if (ahw->port_type == QLCNIC_GBE) { port_type 69 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c if (ahw->port_type == QLCNIC_XGBE) { port_type 75 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_vnic.c } else if (ahw->port_type == QLCNIC_GBE) { port_type 298 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c if (adapter->ahw->port_type == QLCNIC_GBE) { port_type 315 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c } else if (adapter->ahw->port_type == QLCNIC_XGBE) { port_type 388 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c if (adapter->ahw->port_type == QLCNIC_XGBE) { port_type 493 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c if (adapter->ahw->port_type != QLCNIC_GBE) port_type 797 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c if (adapter->ahw->port_type == QLCNIC_GBE) { port_type 823 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c } else if (adapter->ahw->port_type == QLCNIC_XGBE) { port_type 836 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c adapter->ahw->port_type); port_type 853 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c if (adapter->ahw->port_type == QLCNIC_GBE) { port_type 901 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c } else if (adapter->ahw->port_type == QLCNIC_XGBE) { port_type 925 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c adapter->ahw->port_type); port_type 1504 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c adapter->ahw->port_type = QLCNIC_XGBE; port_type 1509 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c adapter->ahw->port_type = QLCNIC_GBE; port_type 1512 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c adapter->ahw->port_type = (adapter->portnum < 2) ? port_type 1517 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c adapter->ahw->port_type = QLCNIC_XGBE; port_type 966 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c switch (ahw->port_type) { port_type 1280 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c if (adapter->ahw->port_type == QLCNIC_XGBE) { port_type 1292 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c } else if (adapter->ahw->port_type == QLCNIC_GBE) { port_type 2668 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c switch (adapter->ahw->port_type) { port_type 2721 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c ahw->port_type = QLCNIC_XGBE; port_type 2041 drivers/net/usb/hso.c char *port_type; port_type 2046 drivers/net/usb/hso.c port_type = "Control"; port_type 2049 drivers/net/usb/hso.c port_type = "Application"; port_type 2052 drivers/net/usb/hso.c port_type = "GPS"; port_type 2055 drivers/net/usb/hso.c port_type = "GPS control"; port_type 2058 drivers/net/usb/hso.c port_type = "Application2"; port_type 2061 drivers/net/usb/hso.c port_type = "PCSC"; port_type 2064 drivers/net/usb/hso.c port_type = "Diagnostic"; port_type 2067 drivers/net/usb/hso.c port_type = "Diagnostic2"; port_type 2070 drivers/net/usb/hso.c port_type = "Modem"; port_type 2073 drivers/net/usb/hso.c port_type = "Network"; port_type 2076 drivers/net/usb/hso.c port_type = "Unknown"; port_type 2086 drivers/net/usb/hso.c port_type, port_dev); port_type 4729 drivers/net/wireless/intel/ipw2x00/ipw2100.c static int ipw2100_set_port_type(struct ipw2100_priv *priv, u32 port_type, port_type 4739 drivers/net/wireless/intel/ipw2x00/ipw2100.c switch (port_type) { port_type 4749 drivers/net/wireless/intel/ipw2x00/ipw2100.c port_type == IPW_IBSS ? "Ad-Hoc" : "Managed"); port_type 4942 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (priv->port_type == IBSS && priv->adhoc_power != DFTL_IBSS_TX_POWER) { port_type 1201 drivers/net/wireless/intel/ipw2x00/ipw2200.h u32 port_type; port_type 477 drivers/net/wireless/intersil/orinoco/hw.c priv->port_type); port_type 1138 drivers/net/wireless/intersil/orinoco/hw.c rid = (priv->port_type == 3) ? HERMES_RID_CNFOWNSSID : port_type 231 drivers/net/wireless/intersil/orinoco/main.c priv->port_type = 1; port_type 236 drivers/net/wireless/intersil/orinoco/main.c priv->port_type = 3; port_type 239 drivers/net/wireless/intersil/orinoco/main.c priv->port_type = priv->ibss_port; port_type 244 drivers/net/wireless/intersil/orinoco/main.c priv->port_type = 3; port_type 141 drivers/net/wireless/intersil/orinoco/orinoco.h int port_type, createibss; port_type 338 drivers/pci/hotplug/pciehp_core.c .port_type = PCIE_ANY_PORT, port_type 1686 drivers/pci/pci-driver.c if (driver->port_type != PCIE_ANY_PORT && port_type 1687 drivers/pci/pci-driver.c driver->port_type != pci_pcie_type(pciedev->port)) port_type 424 drivers/pci/pcie/aer.c int port_type; port_type 436 drivers/pci/pcie/aer.c port_type = pci_pcie_type(dev); port_type 437 drivers/pci/pcie/aer.c if (port_type == PCI_EXP_TYPE_ROOT_PORT) { port_type 1441 drivers/pci/pcie/aer.c .port_type = PCI_EXP_TYPE_ROOT_PORT, port_type 124 drivers/pci/pcie/bw_notification.c .port_type = PCIE_ANY_PORT, port_type 353 drivers/pci/pcie/dpc.c .port_type = PCIE_ANY_PORT, port_type 448 drivers/pci/pcie/pme.c .port_type = PCI_EXP_TYPE_ROOT_PORT, port_type 96 drivers/pci/pcie/portdrv.h int port_type; /* Type of the port this driver can handle */ port_type 534 drivers/power/supply/bq24257_charger.c int port_type; port_type 567 drivers/power/supply/bq24257_charger.c port_type = ret; port_type 569 drivers/power/supply/bq24257_charger.c ret = bq24257_field_write(bq, F_IILIMIT, new_iilimit[port_type]); port_type 582 drivers/power/supply/bq24257_charger.c port_type, loop_status, new_iilimit[port_type]); port_type 380 drivers/s390/scsi/zfcp_fsf.h u32 port_type; port_type 396 drivers/scsi/aic94xx/aic94xx_sas.h u8 port_type; port_type 783 drivers/scsi/aic94xx/aic94xx_scb.c control_phy->port_type = SAS_PROTOCOL_ALL << 4; port_type 785 drivers/scsi/aic94xx/aic94xx_scb.c control_phy->port_type = SAS_PROTOCOL_ALL; port_type 787 drivers/scsi/aic94xx/aic94xx_scb.c control_phy->port_type = port_type 131 drivers/scsi/bfa/bfa_defs_fcs.h u8 port_type; /* bfa_lport_type_t : physical or port_type 240 drivers/scsi/bfa/bfa_defs_fcs.h enum bfa_port_type port_type; /* current topology */ port_type 1002 drivers/scsi/bfa/bfa_defs_svc.h enum bfa_port_type port_type; /* current topology */ port_type 280 drivers/scsi/bfa/bfa_fc.h port_type:1, /* N_Port/F_port */ port_type 298 drivers/scsi/bfa/bfa_fc.h port_type:1, /* N_Port/F_port */ port_type 1400 drivers/scsi/bfa/bfa_fc.h u32 port_type:8; port_type 1416 drivers/scsi/bfa/bfa_fc.h u32 port_type:8; /* Port Type */ port_type 1241 drivers/scsi/bfa/bfa_fcbuild.c u8 port_type) port_type 1252 drivers/scsi/bfa/bfa_fcbuild.c rptid->port_type = port_type; port_type 249 drivers/scsi/bfa/bfa_fcbuild.h u32 port_id, u8 port_type); port_type 1299 drivers/scsi/bfa/bfa_fcs.c if (flogi->csp.port_type) { port_type 664 drivers/scsi/bfa/bfa_fcs.h __be32 port_type; port_type 1145 drivers/scsi/bfa/bfa_fcs_lport.c port_attr->port_type = port->fabric->oper_type; port_type 1157 drivers/scsi/bfa/bfa_fcs_lport.c port_attr->port_type = BFA_PORT_TYPE_VPORT; port_type 1165 drivers/scsi/bfa/bfa_fcs_lport.c port_attr->port_type = BFA_PORT_TYPE_UNKNOWN; port_type 2385 drivers/scsi/bfa/bfa_fcs_lport.c templen = sizeof(fcs_port_attr.port_type); port_type 2386 drivers/scsi/bfa/bfa_fcs_lport.c memcpy(attr->value, &fcs_port_attr.port_type, templen); port_type 2746 drivers/scsi/bfa/bfa_fcs_lport.c port_attr->port_type = cpu_to_be32(lport_attr.port_type); port_type 5903 drivers/scsi/bfa/bfa_fcs_lport.c port_info->port_type = BFA_LPORT_TYPE_PHYSICAL; port_type 5924 drivers/scsi/bfa/bfa_fcs_lport.c port_info->port_type = BFA_LPORT_TYPE_VIRTUAL; port_type 123 drivers/scsi/bfa/bfad_attr.c switch (port_attr.port_type) { port_type 307 drivers/scsi/bfa/bfad_bsg.c iocmd->attr.port_type = port_attr.port_type; port_type 353 drivers/scsi/lpfc/lpfc.h uint8_t port_type; port_type 2119 drivers/scsi/lpfc/lpfc_attr.c if (vport->port_type == LPFC_PHYSICAL_PORT) port_type 3969 drivers/scsi/lpfc/lpfc_attr.c if (vport->port_type == LPFC_PHYSICAL_PORT) { port_type 4004 drivers/scsi/lpfc/lpfc_attr.c if (vport->port_type == LPFC_PHYSICAL_PORT && val != 0) { port_type 6323 drivers/scsi/lpfc/lpfc_attr.c if (error || vport->port_type == LPFC_NPIV_PORT) port_type 6357 drivers/scsi/lpfc/lpfc_attr.c if (vport->port_type == LPFC_NPIV_PORT) port_type 6405 drivers/scsi/lpfc/lpfc_attr.c if (vport->port_type == LPFC_NPIV_PORT) { port_type 464 drivers/scsi/lpfc/lpfc_ct.c if ((vport->port_type != LPFC_NPIV_PORT) || port_type 1975 drivers/scsi/lpfc/lpfc_ct.c if (vport->port_type == LPFC_PHYSICAL_PORT) port_type 2024 drivers/scsi/lpfc/lpfc_ct.c if (vport->port_type == LPFC_PHYSICAL_PORT) port_type 2043 drivers/scsi/lpfc/lpfc_ct.c if (vport->port_type == LPFC_PHYSICAL_PORT) { port_type 5371 drivers/scsi/lpfc/lpfc_els.c desc->info.port_type = cpu_to_be32(type); port_type 9028 drivers/scsi/lpfc/lpfc_els.c if ((vport->port_type == LPFC_PHYSICAL_PORT) && port_type 820 drivers/scsi/lpfc/lpfc_hbadisc.c ((vport->port_type == LPFC_NPIV_PORT) && port_type 1099 drivers/scsi/lpfc/lpfc_hbadisc.c if (vport->port_type == LPFC_PHYSICAL_PORT) port_type 2885 drivers/scsi/lpfc/lpfc_hbadisc.c if ((vport->port_type != LPFC_PHYSICAL_PORT) && (!vport->vpi)) { port_type 2931 drivers/scsi/lpfc/lpfc_hbadisc.c if (vports[i]->port_type == LPFC_PHYSICAL_PORT) port_type 3092 drivers/scsi/lpfc/lpfc_hbadisc.c if (vport->port_type == LPFC_PHYSICAL_PORT) { port_type 5553 drivers/scsi/lpfc/lpfc_hbadisc.c (vport->port_type != LPFC_PHYSICAL_PORT) || port_type 6065 drivers/scsi/lpfc/lpfc_hbadisc.c if (vport->port_type == LPFC_PHYSICAL_PORT) port_type 1169 drivers/scsi/lpfc/lpfc_hw.h uint32_t port_type; /* bits 31-30 only */ port_type 2824 drivers/scsi/lpfc/lpfc_init.c if (vport->port_type != LPFC_PHYSICAL_PORT && port_type 3383 drivers/scsi/lpfc/lpfc_init.c (vports[i]->port_type != port_type 4337 drivers/scsi/lpfc/lpfc_init.c vport->port_type = LPFC_NPIV_PORT; port_type 4340 drivers/scsi/lpfc/lpfc_init.c vport->port_type = LPFC_PHYSICAL_PORT; port_type 12048 drivers/scsi/lpfc/lpfc_init.c if (vports[i]->port_type == LPFC_PHYSICAL_PORT) port_type 12868 drivers/scsi/lpfc/lpfc_init.c if (vports[i]->port_type == LPFC_PHYSICAL_PORT) port_type 495 drivers/scsi/lpfc/lpfc_nportdisc.c if ((vport->port_type == LPFC_NPIV_PORT && port_type 1994 drivers/scsi/lpfc/lpfc_nportdisc.c if ((vport->port_type == LPFC_NPIV_PORT) && port_type 2086 drivers/scsi/lpfc/lpfc_nportdisc.c (vport->port_type == LPFC_NPIV_PORT) && port_type 611 drivers/scsi/lpfc/lpfc_vport.c if (vport->port_type == LPFC_PHYSICAL_PORT) { port_type 2433 drivers/scsi/qla2xxx/qla_attr.c uint32_t port_type; port_type 2441 drivers/scsi/qla2xxx/qla_attr.c port_type = FC_PORTTYPE_LPORT; port_type 2444 drivers/scsi/qla2xxx/qla_attr.c port_type = FC_PORTTYPE_NLPORT; port_type 2447 drivers/scsi/qla2xxx/qla_attr.c port_type = FC_PORTTYPE_PTP; port_type 2450 drivers/scsi/qla2xxx/qla_attr.c port_type = FC_PORTTYPE_NPORT; port_type 2453 drivers/scsi/qla2xxx/qla_attr.c port_type = FC_PORTTYPE_UNKNOWN; port_type 2457 drivers/scsi/qla2xxx/qla_attr.c fc_host_port_type(shost) = port_type; port_type 1316 drivers/scsi/qla2xxx/qla_bsg.c if (fcport->port_type != FCT_TARGET) port_type 2444 drivers/scsi/qla2xxx/qla_def.h fc_port_type_t port_type; port_type 2731 drivers/scsi/qla2xxx/qla_def.h uint32_t port_type; port_type 2819 drivers/scsi/qla2xxx/qla_def.h uint8_t port_type; port_type 2823 drivers/scsi/qla2xxx/qla_def.h uint8_t port_type; port_type 2961 drivers/scsi/qla2xxx/qla_def.h uint8_t port_type; port_type 253 drivers/scsi/qla2xxx/qla_gs.c if (ct_rsp->rsp.ga_nxt.port_type != NS_N_PORT_TYPE && port_type 254 drivers/scsi/qla2xxx/qla_gs.c ct_rsp->rsp.ga_nxt.port_type != NS_NL_PORT_TYPE) port_type 320 drivers/scsi/qla2xxx/qla_gs.c ct_req->req.gid_pt.port_type = NS_NX_PORT_TYPE; port_type 2499 drivers/scsi/qla2xxx/qla_gs.c eiter->a.port_type = cpu_to_be32(NS_NX_PORT_TYPE); port_type 2504 drivers/scsi/qla2xxx/qla_gs.c "Port Type = %x.\n", eiter->a.port_type); port_type 3998 drivers/scsi/qla2xxx/qla_gs.c ct_req->req.gpn_ft.port_type = fc4_type; port_type 4007 drivers/scsi/qla2xxx/qla_gs.c sp->handle, ct_req->req.gpn_ft.port_type); port_type 4162 drivers/scsi/qla2xxx/qla_gs.c ct_req->req.gpn_ft.port_type = fc4_type; port_type 4170 drivers/scsi/qla2xxx/qla_gs.c sp->handle, ct_req->req.gpn_ft.port_type); port_type 817 drivers/scsi/qla2xxx/qla_init.c fcport->port_type = FCT_INITIATOR; port_type 819 drivers/scsi/qla2xxx/qla_init.c fcport->port_type = FCT_TARGET; port_type 853 drivers/scsi/qla2xxx/qla_init.c fcport->port_type = FCT_INITIATOR; port_type 855 drivers/scsi/qla2xxx/qla_init.c fcport->port_type = FCT_TARGET; port_type 4848 drivers/scsi/qla2xxx/qla_init.c fcport->port_type = FCT_UNKNOWN; port_type 5195 drivers/scsi/qla2xxx/qla_init.c fcport->port_type = new_fcport->port_type; port_type 5245 drivers/scsi/qla2xxx/qla_init.c fcport->port_type != FCT_INITIATOR && port_type 5246 drivers/scsi/qla2xxx/qla_init.c fcport->port_type != FCT_BROADCAST) { port_type 5353 drivers/scsi/qla2xxx/qla_init.c if (fcport->port_type == FCT_INITIATOR) port_type 5355 drivers/scsi/qla2xxx/qla_init.c if (fcport->port_type == FCT_TARGET) port_type 5357 drivers/scsi/qla2xxx/qla_init.c if (fcport->port_type & FCT_NVME_INITIATOR) port_type 5359 drivers/scsi/qla2xxx/qla_init.c if (fcport->port_type & FCT_NVME_TARGET) port_type 5361 drivers/scsi/qla2xxx/qla_init.c if (fcport->port_type & FCT_NVME_DISCOVERY) port_type 5367 drivers/scsi/qla2xxx/qla_init.c (fcport->port_type == FCT_TARGET) ? "tgt" : port_type 5368 drivers/scsi/qla2xxx/qla_init.c ((fcport->port_type & FCT_NVME) ? "nvme" : "ini")); port_type 5923 drivers/scsi/qla2xxx/qla_init.c fcport->port_type != FCT_INITIATOR && port_type 5924 drivers/scsi/qla2xxx/qla_init.c fcport->port_type != FCT_BROADCAST) { port_type 6045 drivers/scsi/qla2xxx/qla_init.c fcport->port_type = FCT_INITIATOR; port_type 6047 drivers/scsi/qla2xxx/qla_init.c fcport->port_type = FCT_TARGET; port_type 8825 drivers/scsi/qla2xxx/qla_init.c if (fcport->port_type != FCT_TARGET || port_type 1399 drivers/scsi/qla2xxx/qla_isr.c fcport->port_type = FCT_TARGET; port_type 1401 drivers/scsi/qla2xxx/qla_isr.c fcport->port_type = FCT_INITIATOR; port_type 1738 drivers/scsi/qla2xxx/qla_isr.c fcport->port_type = FCT_TARGET; port_type 1742 drivers/scsi/qla2xxx/qla_isr.c fcport->port_type = FCT_INITIATOR; port_type 1978 drivers/scsi/qla2xxx/qla_mbx.c fcport->port_type = FCT_INITIATOR; port_type 1980 drivers/scsi/qla2xxx/qla_mbx.c fcport->port_type = FCT_TARGET; port_type 2023 drivers/scsi/qla2xxx/qla_mbx.c fcport->port_type = FCT_INITIATOR; port_type 2025 drivers/scsi/qla2xxx/qla_mbx.c fcport->port_type = FCT_TARGET; port_type 6397 drivers/scsi/qla2xxx/qla_mbx.c fcport->port_type = 0; port_type 6399 drivers/scsi/qla2xxx/qla_mbx.c fcport->port_type |= FCT_NVME_INITIATOR; port_type 6401 drivers/scsi/qla2xxx/qla_mbx.c fcport->port_type |= FCT_NVME_TARGET; port_type 6403 drivers/scsi/qla2xxx/qla_mbx.c fcport->port_type |= FCT_NVME_DISCOVERY; port_type 6407 drivers/scsi/qla2xxx/qla_mbx.c fcport->port_type = FCT_INITIATOR; port_type 6409 drivers/scsi/qla2xxx/qla_mbx.c fcport->port_type = FCT_TARGET; port_type 752 drivers/scsi/qla2xxx/qla_mr.c if (fcport->port_type != FCT_TARGET) port_type 1276 drivers/scsi/qla2xxx/qla_mr.c if (fcport->port_type != FCT_INITIATOR) port_type 1782 drivers/scsi/qla2xxx/qla_mr.c if (!pinfo->port_type) port_type 1978 drivers/scsi/qla2xxx/qla_mr.c fcport->port_type = FCT_TARGET; port_type 209 drivers/scsi/qla2xxx/qla_mr.h uint8_t port_type; port_type 1654 drivers/scsi/qla2xxx/qla_os.c if (fcport->port_type != FCT_TARGET) port_type 3108 drivers/scsi/qla2xxx/qla_os.c ha->mr.fcport.port_type = FCT_UNKNOWN; port_type 5131 drivers/scsi/qla2xxx/qla_os.c fcport->port_type = FCT_INITIATOR; port_type 5133 drivers/scsi/qla2xxx/qla_os.c fcport->port_type = FCT_TARGET; port_type 4793 drivers/scsi/qla2xxx/qla_target.c sess->port_type = FCT_INITIATOR; port_type 4795 drivers/scsi/qla2xxx/qla_target.c sess->port_type = FCT_TARGET; port_type 5011 drivers/scsi/qla2xxx/qla_target.c sess->port_type = FCT_INITIATOR; port_type 5013 drivers/scsi/qla2xxx/qla_target.c sess->port_type = FCT_TARGET; port_type 6042 drivers/scsi/qla2xxx/qla_target.c tfcp->port_type = fcport->port_type; port_type 110 drivers/scsi/scsi_transport_fc.c fc_enum_name_search(port_type, fc_port_type, fc_port_type_names) port_type 413 drivers/scsi/scsi_transport_fc.c fc_host->port_type = FC_PORTTYPE_UNKNOWN; port_type 1566 drivers/scsi/scsi_transport_fc.c fc_host_rd_enum_attr(port_type, FC_PORTTYPE_MAX_NAMELEN); port_type 2231 drivers/scsi/scsi_transport_fc.c SETUP_HOST_ATTRIBUTE_RD(port_type); port_type 1065 drivers/staging/netlogic/xlr_net.h int port_type; port_type 151 drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h u32 port_type; /* enum mmal_msg_port_type */ port_type 159 drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h u32 port_type; /* enum mmal_msg_port_type */ port_type 172 drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h u32 port_type; /* enum mmal_msg_port_type */ port_type 184 drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h u32 port_type; /* enum mmal_msg_port_type */ port_type 352 drivers/staging/vc04_services/bcm2835-camera/mmal-msg.h u32 port_type; port_type 234 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c msg->u.event_to_host.port_type, port_type 779 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_set.port_type = port->type; port_type 835 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c m.u.port_info_get.port_type = port->type; port_type 866 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->type = rmsg->u.port_info_get_reply.port_type; port_type 1050 drivers/staging/wlan-ng/prism2mgmt.c u16 port_type; port_type 1083 drivers/staging/wlan-ng/prism2mgmt.c port_type = HFA384x_PORTTYPE_BSS; port_type 1085 drivers/staging/wlan-ng/prism2mgmt.c hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFPORTTYPE, port_type); port_type 696 drivers/tty/nozomi.c static void enable_transmit_ul(enum port_type port, struct nozomi *dc) port_type 709 drivers/tty/nozomi.c static void disable_transmit_ul(enum port_type port, struct nozomi *dc) port_type 723 drivers/tty/nozomi.c static void enable_transmit_dl(enum port_type port, struct nozomi *dc) port_type 736 drivers/tty/nozomi.c static void disable_transmit_dl(enum port_type port, struct nozomi *dc) port_type 753 drivers/tty/nozomi.c static int send_data(enum port_type index, struct nozomi *dc) port_type 782 drivers/tty/nozomi.c static int receive_data(enum port_type index, struct nozomi *dc) port_type 887 drivers/tty/nozomi.c enum port_type port = PORT_MDM; port_type 978 drivers/tty/nozomi.c static enum ctrl_port_type port2ctrl(enum port_type port, port_type 1030 drivers/tty/nozomi.c static int handle_data_dl(struct nozomi *dc, enum port_type port, u8 *toggle, port_type 1070 drivers/tty/nozomi.c static int handle_data_ul(struct nozomi *dc, enum port_type port, u16 read_iir) port_type 212 drivers/tty/serial/8250/8250_of.c unsigned int port_type; port_type 216 drivers/tty/serial/8250/8250_of.c port_type = (unsigned long)of_device_get_match_data(&ofdev->dev); port_type 217 drivers/tty/serial/8250/8250_of.c if (port_type == PORT_UNKNOWN) port_type 228 drivers/tty/serial/8250/8250_of.c ret = of_platform_serial_setup(ofdev, port_type, &port8250.port, info); port_type 253 drivers/tty/serial/8250/8250_of.c info->type = port_type; port_type 211 drivers/tty/serial/pch_uart.c int port_type; port_type 256 drivers/tty/serial/pch_uart.c int port_type; port_type 1474 drivers/tty/serial/pch_uart.c port->type = priv->port_type; port_type 1743 drivers/tty/serial/pch_uart.c int port_type; port_type 1750 drivers/tty/serial/pch_uart.c port_type = board->port_type; port_type 1760 drivers/tty/serial/pch_uart.c switch (port_type) { port_type 1768 drivers/tty/serial/pch_uart.c dev_err(&pdev->dev, "Invalid Port Type(=%d)\n", port_type); port_type 1788 drivers/tty/serial/pch_uart.c priv->port_type = port_type; port_type 737 drivers/tty/serial/pmac_zilog.c PMAC_FTR_SCC_ENABLE, uap->node, uap->port_type, 1); port_type 754 drivers/tty/serial/pmac_zilog.c pmac_call_feature(PMAC_FTR_SCC_ENABLE, uap->node, uap->port_type, 0); port_type 1456 drivers/tty/serial/pmac_zilog.c uap->port_type = PMAC_SCC_ASYNC; port_type 1466 drivers/tty/serial/pmac_zilog.c uap->port_type = PMAC_SCC_IRDA; port_type 1480 drivers/tty/serial/pmac_zilog.c uap->port_type = PMAC_SCC_I2S1; port_type 1723 drivers/tty/serial/pmac_zilog.c uap->port_type = 0; port_type 33 drivers/tty/serial/pmac_zilog.h int port_type; port_type 48 drivers/usb/typec/class.c enum typec_port_type port_type; port_type 1067 drivers/usb/typec/class.c if (port->port_type != TYPEC_PORT_DRP) { port_type 1069 drivers/usb/typec/class.c typec_port_power_roles[port->port_type]); port_type 1117 drivers/usb/typec/class.c if (port->port_type == type) { port_type 1126 drivers/usb/typec/class.c port->port_type = type; port_type 1142 drivers/usb/typec/class.c typec_port_types_drp[port->port_type]); port_type 1146 drivers/usb/typec/class.c static DEVICE_ATTR_RW(port_type); port_type 1583 drivers/usb/typec/class.c port->port_type = cap->type; port_type 913 drivers/usb/typec/tcpm/fusb302.c enum typec_port_type port_type, port_type 921 drivers/usb/typec/tcpm/fusb302.c switch (port_type) { port_type 104 drivers/usb/typec/tcpm/tcpci.c enum typec_port_type port_type, port_type 111 drivers/usb/typec/tcpm/tcpci.c if (port_type != TYPEC_PORT_DRP) port_type 223 drivers/usb/typec/tcpm/tcpm.c enum typec_port_type port_type; port_type 370 drivers/usb/typec/tcpm/tcpm.c (port)->port_type == TYPEC_PORT_DRP) port_type 374 drivers/usb/typec/tcpm/tcpm.c (port)->port_type == TYPEC_PORT_DRP) port_type 378 drivers/usb/typec/tcpm/tcpm.c if (port->port_type == TYPEC_PORT_DRP) { port_type 387 drivers/usb/typec/tcpm/tcpm.c } else if (port->port_type == TYPEC_PORT_SNK) { port_type 1829 drivers/usb/typec/tcpm/tcpm.c if (port->port_type != TYPEC_PORT_DRP) { port_type 1849 drivers/usb/typec/tcpm/tcpm.c if (port->port_type != TYPEC_PORT_DRP) { port_type 2568 drivers/usb/typec/tcpm/tcpm.c ret = port->tcpc->start_toggling(port->tcpc, port->port_type, cc); port_type 2811 drivers/usb/typec/tcpm/tcpm.c if (port->port_type == TYPEC_PORT_DRP) { port_type 2816 drivers/usb/typec/tcpm/tcpm.c } else if (port->port_type == TYPEC_PORT_SRC) { port_type 2875 drivers/usb/typec/tcpm/tcpm.c if (port->port_type == TYPEC_PORT_DRP) port_type 3074 drivers/usb/typec/tcpm/tcpm.c if (port->port_type == TYPEC_PORT_DRP) port_type 3178 drivers/usb/typec/tcpm/tcpm.c port->port_type == TYPEC_PORT_DRP ? port_type 4008 drivers/usb/typec/tcpm/tcpm.c if (port->port_type != TYPEC_PORT_DRP) { port_type 4076 drivers/usb/typec/tcpm/tcpm.c if (port->port_type != TYPEC_PORT_DRP) { port_type 4366 drivers/usb/typec/tcpm/tcpm.c if (type == port->port_type) port_type 4369 drivers/usb/typec/tcpm/tcpm.c port->port_type = type; port_type 4452 drivers/usb/typec/tcpm/tcpm.c port->port_type = port->typec_caps.type; port_type 4454 drivers/usb/typec/tcpm/tcpm.c if (port->port_type == TYPEC_PORT_SNK) port_type 4469 drivers/usb/typec/tcpm/tcpm.c if (port->port_type == TYPEC_PORT_SRC) port_type 4808 drivers/usb/typec/tcpm/tcpm.c port->port_type = port->typec_caps.type; port_type 420 drivers/usb/typec/tcpm/wcove.c enum typec_port_type port_type, port_type 426 drivers/usb/typec/tcpm/wcove.c if (port_type != TYPEC_PORT_DRP) port_type 932 drivers/video/fbdev/omap2/omapfb/dss/dss.c enum omap_display_type port_type; port_type 942 drivers/video/fbdev/omap2/omapfb/dss/dss.c port_type = dss.feat->ports[reg]; port_type 944 drivers/video/fbdev/omap2/omapfb/dss/dss.c switch (port_type) { port_type 979 drivers/video/fbdev/omap2/omapfb/dss/dss.c enum omap_display_type port_type; port_type 990 drivers/video/fbdev/omap2/omapfb/dss/dss.c port_type = dss.feat->ports[reg]; port_type 992 drivers/video/fbdev/omap2/omapfb/dss/dss.c switch (port_type) { port_type 427 include/acpi/actbl1.h u16 port_type; port_type 60 include/drm/i915_mei_hdcp_interface.h u8 port_type; port_type 491 include/linux/cper.h u32 port_type; port_type 609 include/linux/mlx4/device.h enum mlx4_port_type port_type[MLX4_MAX_PORTS + 1]; port_type 1087 include/linux/mlx4/device.h return dev->caps.port_type[port] == MLX4_PORT_TYPE_IB ? 0 : 1; port_type 1235 include/linux/mlx5/mlx5_ifc.h u8 port_type[0x2]; port_type 8456 include/linux/mlx5/mlx5_ifc.h u8 port_type[0x4]; port_type 49 include/linux/mlx5/vport.h (MLX5_CAP_GEN(mdev, port_type) == MLX5_CAP_PORT_TYPE_ETH) && \ port_type 142 include/linux/usb/tcpm.h enum typec_port_type port_type, port_type 652 include/net/devlink.h enum devlink_port_type port_type); port_type 510 include/scsi/scsi_transport_fc.h enum fc_port_type port_type; port_type 579 include/scsi/scsi_transport_fc.h (((struct fc_host_attrs *)(x)->shost_data)->port_type) port_type 744 net/core/devlink.c enum devlink_port_type port_type) port_type 750 net/core/devlink.c if (port_type == DEVLINK_PORT_TYPE_NOTSET) port_type 752 net/core/devlink.c if (port_type == devlink_port->type) port_type 754 net/core/devlink.c err = devlink->ops->port_type_set(devlink_port, port_type); port_type 757 net/core/devlink.c devlink_port->desired_type = port_type; port_type 772 net/core/devlink.c enum devlink_port_type port_type; port_type 774 net/core/devlink.c port_type = nla_get_u16(info->attrs[DEVLINK_ATTR_PORT_TYPE]); port_type 775 net/core/devlink.c err = devlink_port_type_set(devlink, devlink_port, port_type); port_type 259 sound/soc/bcm/cygnus-ssp.c switch (aio->port_type) { port_type 389 sound/soc/bcm/cygnus-ssp.c switch (aio->port_type) { port_type 433 sound/soc/bcm/cygnus-ssp.c switch (aio->port_type) { port_type 584 sound/soc/bcm/cygnus-ssp.c switch (aio->port_type) { port_type 846 sound/soc/bcm/cygnus-ssp.c if (aio->port_type == PORT_SPDIF) port_type 1196 sound/soc/bcm/cygnus-ssp.c enum cygnus_audio_port_type port_type; port_type 1207 sound/soc/bcm/cygnus-ssp.c port_type = PORT_TDM; port_type 1211 sound/soc/bcm/cygnus-ssp.c port_type = PORT_TDM; port_type 1215 sound/soc/bcm/cygnus-ssp.c port_type = PORT_TDM; port_type 1218 sound/soc/bcm/cygnus-ssp.c port_type = PORT_SPDIF; port_type 1228 sound/soc/bcm/cygnus-ssp.c aio->port_type = port_type; port_type 1231 sound/soc/bcm/cygnus-ssp.c switch (port_type) { port_type 1249 sound/soc/bcm/cygnus-ssp.c dev_err(&pdev->dev, "Bad value for port_type %d\n", port_type); port_type 97 sound/soc/bcm/cygnus-ssp.h int port_type; port_type 440 sound/usb/mixer_scarlett_gen2.c int direction, int port_type) port_type 444 sound/usb/mixer_scarlett_gen2.c for (i = 0; i < port_type; i++) port_type 821 sound/usb/mixer_scarlett_gen2.c int port_type; port_type 823 sound/usb/mixer_scarlett_gen2.c for (port_type = 0; port_type 824 sound/usb/mixer_scarlett_gen2.c port_type < SCARLETT2_PORT_TYPE_COUNT; port_type 825 sound/usb/mixer_scarlett_gen2.c port_type++) { port_type 826 sound/usb/mixer_scarlett_gen2.c if (num < ports[port_type].num[SCARLETT2_PORT_IN]) port_type 827 sound/usb/mixer_scarlett_gen2.c return ports[port_type].id | num; port_type 828 sound/usb/mixer_scarlett_gen2.c num -= ports[port_type].num[SCARLETT2_PORT_IN]; port_type 871 sound/usb/mixer_scarlett_gen2.c int port_type = assignment_order[order_num]; port_type 874 sound/usb/mixer_scarlett_gen2.c port_type); port_type 875 sound/usb/mixer_scarlett_gen2.c int port_id = ports[port_type].id; port_type 879 sound/usb/mixer_scarlett_gen2.c channel < ports[port_type].num[port_dir_rate]; port_type 895 sound/usb/mixer_scarlett_gen2.c j += ports[port_type].num[SCARLETT2_PORT_OUT] - port_type 896 sound/usb/mixer_scarlett_gen2.c ports[port_type].num[port_dir_rate]; port_type 1573 sound/usb/mixer_scarlett_gen2.c int port_type; port_type 1582 sound/usb/mixer_scarlett_gen2.c for (port_type = 0; port_type 1583 sound/usb/mixer_scarlett_gen2.c port_type < SCARLETT2_PORT_TYPE_COUNT; port_type 1584 sound/usb/mixer_scarlett_gen2.c port_type++) { port_type 1585 sound/usb/mixer_scarlett_gen2.c if (item < ports[port_type].num[SCARLETT2_PORT_IN]) { port_type 1587 sound/usb/mixer_scarlett_gen2.c ports[port_type].src_descr, port_type 1588 sound/usb/mixer_scarlett_gen2.c item + ports[port_type].src_num_offset); port_type 1591 sound/usb/mixer_scarlett_gen2.c item -= ports[port_type].num[SCARLETT2_PORT_IN]; port_type 1647 sound/usb/mixer_scarlett_gen2.c int port_type, channel, i; port_type 1649 sound/usb/mixer_scarlett_gen2.c for (i = 0, port_type = 0; port_type 1650 sound/usb/mixer_scarlett_gen2.c port_type < SCARLETT2_PORT_TYPE_COUNT; port_type 1651 sound/usb/mixer_scarlett_gen2.c port_type++) { port_type 1653 sound/usb/mixer_scarlett_gen2.c channel < ports[port_type].num[SCARLETT2_PORT_OUT]; port_type 1657 sound/usb/mixer_scarlett_gen2.c const char *const descr = ports[port_type].dst_descr; port_type 1743 sound/usb/mixer_scarlett_gen2.c int port_type, count = 0; port_type 1745 sound/usb/mixer_scarlett_gen2.c for (port_type = 0; port_type 1746 sound/usb/mixer_scarlett_gen2.c port_type < SCARLETT2_PORT_TYPE_COUNT; port_type 1747 sound/usb/mixer_scarlett_gen2.c port_type++) port_type 1748 sound/usb/mixer_scarlett_gen2.c count += ports[port_type].num[SCARLETT2_PORT_IN]; port_type 1759 sound/usb/mixer_scarlett_gen2.c int i, input_num, input_count, port_type; port_type 1775 sound/usb/mixer_scarlett_gen2.c for (port_type = connect_order[port_type_connect_num = 0]; port_type 1776 sound/usb/mixer_scarlett_gen2.c port_type >= 0; port_type 1777 sound/usb/mixer_scarlett_gen2.c port_type = connect_order[++port_type_connect_num]) { port_type 1779 sound/usb/mixer_scarlett_gen2.c ports, SCARLETT2_PORT_IN, port_type); port_type 1780 sound/usb/mixer_scarlett_gen2.c input_count = ports[port_type].num[SCARLETT2_PORT_IN]; port_type 1793 sound/usb/mixer_scarlett_gen2.c for (port_type = connect_order[port_type_connect_num = 0]; port_type 1794 sound/usb/mixer_scarlett_gen2.c port_type >= 0; port_type 1795 sound/usb/mixer_scarlett_gen2.c port_type = connect_order[++port_type_connect_num]) { port_type 1797 sound/usb/mixer_scarlett_gen2.c ports, SCARLETT2_PORT_OUT, port_type); port_type 1798 sound/usb/mixer_scarlett_gen2.c output_count = ports[port_type].num[SCARLETT2_PORT_OUT];