Home
last modified time | relevance | path

Searched refs:port_type (Results 1 – 107 of 107) sorted by relevance

/linux-4.1.27/drivers/tty/serial/
Dof_serial.c166 int port_type; in of_platform_serial_probe() local
180 port_type = (unsigned long)match->data; in of_platform_serial_probe()
181 ret = of_platform_serial_setup(ofdev, port_type, &port, info); in of_platform_serial_probe()
185 switch (port_type) { in of_platform_serial_probe()
191 port.type = port_type; in of_platform_serial_probe()
220 info->type = port_type; in of_platform_serial_probe()
Dioc4_serial.c748 int port_num, port_type; in get_ioc4_port() local
756 for (port_type = UART_PORT_MIN; in get_ioc4_port()
757 port_type < UART_PORT_COUNT; in get_ioc4_port()
758 port_type++) { in get_ioc4_port()
760 [port_type]) { in get_ioc4_port()
2640 int port_num, port_type; in ioc4_serial_remove_one() local
2652 for (port_type = UART_PORT_MIN; in ioc4_serial_remove_one()
2653 port_type < UART_PORT_COUNT; in ioc4_serial_remove_one()
2654 port_type++) { in ioc4_serial_remove_one()
2656 [port_type]; in ioc4_serial_remove_one()
[all …]
Dpch_uart.c229 int port_type; member
273 int port_type; member
1492 port->type = priv->port_type; in pch_uart_config_port()
1761 int port_type; in pch_uart_init_port() local
1768 port_type = board->port_type; in pch_uart_init_port()
1778 switch (port_type) { in pch_uart_init_port()
1786 dev_err(&pdev->dev, "Invalid Port Type(=%d)\n", port_type); in pch_uart_init_port()
1806 priv->port_type = PORT_MAX_8250 + port_type + 1; in pch_uart_init_port()
Dpmac_zilog.c752 PMAC_FTR_SCC_ENABLE, uap->node, uap->port_type, 1); in pmz_set_scc_power()
769 pmac_call_feature(PMAC_FTR_SCC_ENABLE, uap->node, uap->port_type, 0); in pmz_set_scc_power()
1471 uap->port_type = PMAC_SCC_ASYNC; in pmz_init_port()
1481 uap->port_type = PMAC_SCC_IRDA; in pmz_init_port()
1495 uap->port_type = PMAC_SCC_I2S1; in pmz_init_port()
1738 uap->port_type = 0; in pmz_init_port()
Dpmac_zilog.h32 int port_type; member
/linux-4.1.27/drivers/pci/pcie/
Dportdrv_bus.c40 if ((driver->port_type != PCIE_ANY_PORT) && in pcie_port_bus_match()
41 (driver->port_type != pci_pcie_type(pciedev->port))) in pcie_port_bus_match()
Dpme.c464 .port_type = PCI_EXP_TYPE_ROOT_PORT,
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c341 if (p->port_type == FW_PORT_TYPE_BT_SGMII || in get_settings()
342 p->port_type == FW_PORT_TYPE_BT_XFI || in get_settings()
343 p->port_type == FW_PORT_TYPE_BT_XAUI) { in get_settings()
345 } else if (p->port_type == FW_PORT_TYPE_FIBER_XFI || in get_settings()
346 p->port_type == FW_PORT_TYPE_FIBER_XAUI) { in get_settings()
348 } else if (p->port_type == FW_PORT_TYPE_SFP || in get_settings()
349 p->port_type == FW_PORT_TYPE_QSFP_10G || in get_settings()
350 p->port_type == FW_PORT_TYPE_QSA || in get_settings()
351 p->port_type == FW_PORT_TYPE_QSFP) { in get_settings()
369 cmd->mdio_support = p->port_type == FW_PORT_TYPE_BT_SGMII ? in get_settings()
[all …]
Dcxgb4.h414 enum fw_port_type port_type; member
1230 const char *t4_get_port_type_description(enum fw_port_type port_type);
Dt4_hw.c3427 const char *t4_get_port_type_description(enum fw_port_type port_type) in t4_get_port_type_description() argument
3448 if (port_type < ARRAY_SIZE(port_type_description)) in t4_get_port_type_description()
3449 return port_type_description[port_type]; in t4_get_port_type_description()
5417 p->port_type = FW_PORT_CMD_PTYPE_G(ret); in t4_port_init()
Dcxgb4_main.c4382 sprintf(bufp, "BASE-%s", t4_get_port_type_description(pi->port_type)); in print_port_info()
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c107 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_settings()
126 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_settings()
210 if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_settings()
264 if (adapter->ahw.port_type != NETXEN_NIC_GBE) in netxen_nic_set_settings()
414 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_ringparam()
456 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_set_ringparam()
491 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_pauseparam()
513 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_pauseparam()
524 netxen_nic_driver_name, adapter->ahw.port_type); in netxen_nic_get_pauseparam()
541 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_set_pauseparam()
[all …]
Dnetxen_nic_hw.c1837 adapter->ahw.port_type = NETXEN_NIC_GBE; in netxen_nic_get_board_info()
1853 adapter->ahw.port_type = NETXEN_NIC_XGBE; in netxen_nic_get_board_info()
1862 adapter->ahw.port_type = NETXEN_NIC_GBE; in netxen_nic_get_board_info()
1865 adapter->ahw.port_type = (adapter->portnum < 2) ? in netxen_nic_get_board_info()
1870 adapter->ahw.port_type = NETXEN_NIC_XGBE; in netxen_nic_get_board_info()
1901 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_set_link_parameters()
Dnetxen_nic_main.c912 if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_check_options()
915 } else if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_check_options()
1012 if (adapter->ahw.port_type == NETXEN_NIC_XGBE) in netxen_start_firmware()
1594 switch (adapter->ahw.port_type) { in netxen_nic_probe()
Dnetxen_nic.h602 u16 port_type; member
/linux-4.1.27/drivers/ide/
Djmicron.c20 } port_type; typedef
37 port_type port_map[2]; in jmicron_cable_detect()
/linux-4.1.27/drivers/ata/
Dpata_jmicron.c27 } port_type; typedef
49 port_type port_map[2]; in jmicron_pre_reset()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Ddss.c952 enum omap_display_type port_type; in dss_init_ports() local
962 port_type = dss.feat->ports[reg]; in dss_init_ports()
964 switch (port_type) { in dss_init_ports()
995 enum omap_display_type port_type; in dss_uninit_ports() local
1006 port_type = dss.feat->ports[reg]; in dss_uninit_ports()
1008 switch (port_type) { in dss_uninit_ports()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dmain.c165 enum mlx4_port_type port_type[MLX4_MAX_PORTS + 1]; member
172 enum mlx4_port_type *port_type) in mlx4_check_port_params() argument
178 if (port_type[i] != port_type[i + 1]) { in mlx4_check_port_params()
186 if (!(port_type[i] & dev->caps.supported_type[i+1])) { in mlx4_check_port_params()
200 dev->caps.port_mask[i] = dev->caps.port_type[i]; in mlx4_set_port_mask()
424 dev->caps.port_type[i] = MLX4_PORT_TYPE_NONE; in mlx4_dev_cap()
428 dev->caps.port_type[i] = MLX4_PORT_TYPE_ETH; in mlx4_dev_cap()
432 dev->caps.port_type[i] = MLX4_PORT_TYPE_IB; in mlx4_dev_cap()
438 dev->caps.port_type[i] = dev->caps.suggested_type[i] ? in mlx4_dev_cap()
441 dev->caps.port_type[i] = port_type_array[i - 1]; in mlx4_dev_cap()
[all …]
Dsense.c101 mlx4_do_sense_ports(dev, stype, &dev->caps.port_type[1]); in mlx4_sense_port()
Dfw.c552 if (dev->caps.port_type[gen_or_port] == MLX4_PORT_TYPE_ETH) { in mlx4_QUERY_FUNC_CAP()
564 } else if (dev->caps.port_type[gen_or_port] == MLX4_PORT_TYPE_IB) { in mlx4_QUERY_FUNC_CAP()
1244 u8 port_type; in mlx4_QUERY_PORT_wrapper() local
1276 MLX4_GET(port_type, outbox->buf, in mlx4_QUERY_PORT_wrapper()
1280 port_type &= MLX4_VF_PORT_NO_LINK_SENSE_MASK; in mlx4_QUERY_PORT_wrapper()
1282 port_type |= (dev->caps.port_type[vhcr->in_modifier] & 0x3); in mlx4_QUERY_PORT_wrapper()
1286 port_type |= MLX4_PORT_LINK_UP_MASK; in mlx4_QUERY_PORT_wrapper()
1288 port_type &= ~MLX4_PORT_LINK_UP_MASK; in mlx4_QUERY_PORT_wrapper()
1290 MLX4_PUT(outbox->buf, port_type, in mlx4_QUERY_PORT_wrapper()
1293 if (dev->caps.port_type[vhcr->in_modifier] == MLX4_PORT_TYPE_ETH) in mlx4_QUERY_PORT_wrapper()
Dport.c660 if (dev->caps.port_type[i + 1] != MLX4_PORT_TYPE_ETH) in mlx4_reset_roce_gids()
676 if (dev->caps.port_type[i + 1] != MLX4_PORT_TYPE_ETH) in mlx4_reset_roce_gids()
938 if (dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH) in mlx4_SET_PORT()
Deq.c571 if (dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH) { in mlx4_eq_int()
603 if (dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH) in mlx4_eq_int()
Dmlx4.h1200 enum mlx4_port_type *port_type);
/linux-4.1.27/drivers/scsi/pm8001/
Dpm8001_defs.h68 enum port_type { enum
/linux-4.1.27/include/linux/
Dpcieport_if.h57 int port_type; /* Type of the port this driver can handle */ member
Dcper.h407 __u32 port_type; member
/linux-4.1.27/include/net/irda/
Dircomm_param.h118 __u8 port_type; member
/linux-4.1.27/drivers/tty/
Dnozomi.c215 enum port_type { enum
730 static void enable_transmit_ul(enum port_type port, struct nozomi *dc) in enable_transmit_ul()
743 static void disable_transmit_ul(enum port_type port, struct nozomi *dc) in disable_transmit_ul()
757 static void enable_transmit_dl(enum port_type port, struct nozomi *dc) in enable_transmit_dl()
770 static void disable_transmit_dl(enum port_type port, struct nozomi *dc) in disable_transmit_dl()
787 static int send_data(enum port_type index, struct nozomi *dc) in send_data()
816 static int receive_data(enum port_type index, struct nozomi *dc) in receive_data()
921 enum port_type port = PORT_MDM; in receive_flow_control()
1012 static enum ctrl_port_type port2ctrl(enum port_type port, in port2ctrl()
1064 static int handle_data_dl(struct nozomi *dc, enum port_type port, u8 *toggle, in handle_data_dl()
[all …]
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_vnic.c69 if (ahw->port_type == QLCNIC_XGBE) { in qlcnic_83xx_config_vnic_buff_descriptors()
75 } else if (ahw->port_type == QLCNIC_GBE) { in qlcnic_83xx_config_vnic_buff_descriptors()
Dqlcnic_ethtool.c296 if (adapter->ahw->port_type == QLCNIC_GBE) { in qlcnic_82xx_get_settings()
313 } else if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_82xx_get_settings()
386 if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_82xx_get_settings()
482 if (adapter->ahw->port_type != QLCNIC_GBE) in qlcnic_set_settings()
786 if (adapter->ahw->port_type == QLCNIC_GBE) { in qlcnic_get_pauseparam()
812 } else if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_get_pauseparam()
825 adapter->ahw->port_type); in qlcnic_get_pauseparam()
842 if (adapter->ahw->port_type == QLCNIC_GBE) { in qlcnic_set_pauseparam()
890 } else if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_set_pauseparam()
914 adapter->ahw->port_type); in qlcnic_set_pauseparam()
Dqlcnic_hw.c1517 adapter->ahw->port_type = QLCNIC_XGBE; in qlcnic_82xx_get_board_info()
1522 adapter->ahw->port_type = QLCNIC_GBE; in qlcnic_82xx_get_board_info()
1525 adapter->ahw->port_type = (adapter->portnum < 2) ? in qlcnic_82xx_get_board_info()
1530 adapter->ahw->port_type = QLCNIC_XGBE; in qlcnic_82xx_get_board_info()
Dqlcnic_83xx_hw.c709 ahw->port_type = QLCNIC_XGBE; in qlcnic_83xx_get_port_info()
713 ahw->port_type = QLCNIC_GBE; in qlcnic_83xx_get_port_info()
715 ahw->port_type = QLCNIC_XGBE; in qlcnic_83xx_get_port_info()
3221 ahw->port_type = QLCNIC_XGBE; in qlcnic_83xx_test_link()
3227 ahw->port_type = QLCNIC_GBE; in qlcnic_83xx_test_link()
3231 ahw->port_type = QLCNIC_GBE; in qlcnic_83xx_test_link()
3238 ahw->port_type = QLCNIC_XGBE; in qlcnic_83xx_test_link()
3242 ahw->port_type = QLCNIC_XGBE; in qlcnic_83xx_test_link()
3672 if (ahw->port_type == QLCNIC_GBE) { in qlcnic_83xx_set_pauseparam()
3677 } else if ((ahw->port_type == QLCNIC_XGBE) && (pause->autoneg)) { in qlcnic_83xx_set_pauseparam()
Dqlcnic_main.c958 switch (ahw->port_type) { in qlcnic_get_act_pci_func()
1269 if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_check_options()
1281 } else if (adapter->ahw->port_type == QLCNIC_GBE) { in qlcnic_check_options()
2655 switch (adapter->ahw->port_type) { in qlcnic_probe()
2708 ahw->port_type = QLCNIC_XGBE; in qlcnic_probe()
Dqlcnic_83xx_init.c2347 if (ahw->port_type == QLCNIC_XGBE) { in qlcnic_83xx_config_buff_descriptors()
2353 } else if (ahw->port_type == QLCNIC_GBE) { in qlcnic_83xx_config_buff_descriptors()
Dqlcnic.h498 u16 port_type; member
/linux-4.1.27/drivers/firewire/
Dcore-topology.c56 int port_type, shift, seq; in count_ports() local
66 port_type = (q >> shift) & 0x03; in count_ports()
67 switch (port_type) { in count_ports()
/linux-4.1.27/drivers/scsi/bfa/
Dbfa_defs_fcs.h138 u8 port_type; /* bfa_lport_type_t : physical or member
247 enum bfa_port_type port_type; /* current topology */ member
Dbfa_fc.h287 port_type:1, /* N_Port/F_port */ member
305 port_type:1, /* N_Port/F_port */ member
1407 u32 port_type:8; member
1423 u32 port_type:8; /* Port Type */ member
Dbfa_fcbuild.h257 u32 port_id, u8 port_type);
Dbfa_fcbuild.c1356 u8 port_type) in fc_rptid_build() argument
1367 rptid->port_type = port_type; in fc_rptid_build()
Dbfa_fcs_lport.c1141 port_attr->port_type = port->fabric->oper_type; in bfa_fcs_lport_get_attr()
1153 port_attr->port_type = BFA_PORT_TYPE_VPORT; in bfa_fcs_lport_get_attr()
1161 port_attr->port_type = BFA_PORT_TYPE_UNKNOWN; in bfa_fcs_lport_get_attr()
2381 templen = sizeof(fcs_port_attr.port_type); in bfa_fcs_lport_fdmi_build_portattr_block()
2382 memcpy(attr->value, &fcs_port_attr.port_type, templen); in bfa_fcs_lport_fdmi_build_portattr_block()
2742 port_attr->port_type = cpu_to_be32(lport_attr.port_type); in bfa_fcs_fdmi_get_portattr()
5913 port_info->port_type = BFA_LPORT_TYPE_PHYSICAL; in bfa_fcs_lport_get_info()
5934 port_info->port_type = BFA_LPORT_TYPE_VIRTUAL; in bfa_fcs_lport_get_info()
Dbfa_fcs.h671 __be32 port_type; member
Dbfad_attr.c130 switch (port_attr.port_type) { in bfad_im_get_host_port_type()
Dbfa_defs_svc.h1009 enum bfa_port_type port_type; /* current topology */ member
Dbfa_fcs.c1425 if (flogi->csp.port_type) { in bfa_fcs_fabric_process_flogi()
Dbfad_bsg.c314 iocmd->attr.port_type = port_attr.port_type; in bfad_iocmd_port_get_attr()
/linux-4.1.27/drivers/pci/hotplug/
Dpciehp_acpi.c107 .port_type = PCIE_ANY_PORT,
Dpciehp_core.c353 .port_type = PCIE_ANY_PORT,
/linux-4.1.27/drivers/firmware/efi/
Dcper.c357 printk("%s""port_type: %d, %s\n", pfx, pcie->port_type, in cper_print_pcie()
358 pcie->port_type < ARRAY_SIZE(pcie_port_type_strs) ? in cper_print_pcie()
359 pcie_port_type_strs[pcie->port_type] : "unknown"); in cper_print_pcie()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c1283 if (p->port_type == FW_PORT_TYPE_BT_SGMII || in cxgb4vf_get_settings()
1284 p->port_type == FW_PORT_TYPE_BT_XFI || in cxgb4vf_get_settings()
1285 p->port_type == FW_PORT_TYPE_BT_XAUI) in cxgb4vf_get_settings()
1287 else if (p->port_type == FW_PORT_TYPE_FIBER_XFI || in cxgb4vf_get_settings()
1288 p->port_type == FW_PORT_TYPE_FIBER_XAUI) in cxgb4vf_get_settings()
1290 else if (p->port_type == FW_PORT_TYPE_SFP || in cxgb4vf_get_settings()
1291 p->port_type == FW_PORT_TYPE_QSFP_10G || in cxgb4vf_get_settings()
1292 p->port_type == FW_PORT_TYPE_QSA || in cxgb4vf_get_settings()
1293 p->port_type == FW_PORT_TYPE_QSFP) { in cxgb4vf_get_settings()
1310 cmd->mdio_support = p->port_type == FW_PORT_TYPE_BT_SGMII ? in cxgb4vf_get_settings()
[all …]
Dadapter.h100 u8 port_type; /* firmware port type */ member
Dt4vf_hw.c329 pi->port_type = FW_PORT_CMD_PTYPE_G(v); in t4vf_port_init()
/linux-4.1.27/drivers/message/fusion/
Dmptfc.c987 unsigned port_type; in mptfc_init_host_attr() local
1057 port_type = FC_PORTTYPE_UNKNOWN; in mptfc_init_host_attr()
1059 port_type = FC_PORTTYPE_PTP; in mptfc_init_host_attr()
1061 port_type = FC_PORTTYPE_LPORT; in mptfc_init_host_attr()
1063 port_type = FC_PORTTYPE_NLPORT; in mptfc_init_host_attr()
1065 port_type = FC_PORTTYPE_NPORT; in mptfc_init_host_attr()
1066 fc_host_port_type(sh) = port_type; in mptfc_init_host_attr()
/linux-4.1.27/drivers/hv/
Dhyperv_vmbus.h133 enum hv_port_type port_type; member
156 enum hv_port_type port_type; member
/linux-4.1.27/drivers/net/usb/
Dhso.c2061 char *port_type; in hso_log_port() local
2066 port_type = "Control"; in hso_log_port()
2069 port_type = "Application"; in hso_log_port()
2072 port_type = "GPS"; in hso_log_port()
2075 port_type = "GPS control"; in hso_log_port()
2078 port_type = "Application2"; in hso_log_port()
2081 port_type = "PCSC"; in hso_log_port()
2084 port_type = "Diagnostic"; in hso_log_port()
2087 port_type = "Diagnostic2"; in hso_log_port()
2090 port_type = "Modem"; in hso_log_port()
[all …]
/linux-4.1.27/drivers/media/pci/ddbridge/
Dddbridge.h57 u32 port_type[DDB_MAX_PORT]; member
/linux-4.1.27/net/irda/ircomm/
Dircomm_param.c233 self->settings.port_type = (__u8) param->pv.i; in ircomm_param_port_type()
236 self->settings.port_type); in ircomm_param_port_type()
/linux-4.1.27/drivers/net/wireless/orinoco/
Dorinoco.h142 int port_type, createibss; member
Dmain.c231 priv->port_type = 1; in set_port_type()
236 priv->port_type = 3; in set_port_type()
239 priv->port_type = priv->ibss_port; in set_port_type()
244 priv->port_type = 3; in set_port_type()
Dhw.c477 priv->port_type); in orinoco_hw_program_rids()
1138 rid = (priv->port_type == 3) ? HERMES_RID_CNFOWNSSID : in orinoco_hw_get_essid()
/linux-4.1.27/drivers/scsi/aic94xx/
Daic94xx_scb.c797 control_phy->port_type = SAS_PROTOCOL_ALL << 4; in asd_build_control_phy()
799 control_phy->port_type = SAS_PROTOCOL_ALL; in asd_build_control_phy()
801 control_phy->port_type = in asd_build_control_phy()
Daic94xx_sas.h451 u8 port_type; member
/linux-4.1.27/include/scsi/
Dscsi_transport_fc.h517 enum fc_port_type port_type; member
586 (((struct fc_host_attrs *)(x)->shost_data)->port_type)
/linux-4.1.27/drivers/staging/wlan-ng/
Dprism2mgmt.c1029 u16 port_type; in prism2mgmt_autojoin() local
1062 port_type = HFA384x_PORTTYPE_BSS; in prism2mgmt_autojoin()
1064 hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFPORTTYPE, port_type); in prism2mgmt_autojoin()
/linux-4.1.27/drivers/pci/pcie/aer/
Daerdrv.c58 .port_type = PCI_EXP_TYPE_ROOT_PORT,
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c721 p->port_type[0] = uses_xaui(adapter) ? 1 : 2; in get_vpd_params()
722 p->port_type[1] = uses_xaui(adapter) ? 6 : 2; in get_vpd_params()
724 p->port_type[0] = hex_to_bin(vpd.port0_data[0]); in get_vpd_params()
725 p->port_type[1] = hex_to_bin(vpd.port1_data[0]); in get_vpd_params()
3701 while (!adapter->params.vpd.port_type[++j]) in t3_prep_adapter()
3704 pti = &port_types[adapter->params.vpd.port_type[j]]; in t3_prep_adapter()
3707 adapter->params.vpd.port_type[j]); in t3_prep_adapter()
3765 while (!adapter->params.vpd.port_type[++j]) in t3_replay_prep_adapter()
3768 pti = &port_types[adapter->params.vpd.port_type[j]]; in t3_replay_prep_adapter()
Dcommon.h362 u8 port_type[MAX_NPORTS]; member
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_attr.c1673 uint32_t port_type = FC_PORTTYPE_UNKNOWN; in qla2x00_get_host_port_type() local
1681 port_type = FC_PORTTYPE_LPORT; in qla2x00_get_host_port_type()
1684 port_type = FC_PORTTYPE_NLPORT; in qla2x00_get_host_port_type()
1687 port_type = FC_PORTTYPE_PTP; in qla2x00_get_host_port_type()
1690 port_type = FC_PORTTYPE_NPORT; in qla2x00_get_host_port_type()
1693 fc_host_port_type(shost) = port_type; in qla2x00_get_host_port_type()
Dqla_init.c2958 fcport->port_type = FCT_UNKNOWN; in qla2x00_alloc_fcport()
3140 fcport->port_type != FCT_BROADCAST && in qla2x00_configure_local_loop()
3207 fcport->port_type = new_fcport->port_type; in qla2x00_configure_local_loop()
3314 if (fcport->port_type == FCT_INITIATOR) in qla2x00_reg_remote_port()
3316 if (fcport->port_type == FCT_TARGET) in qla2x00_reg_remote_port()
3478 fcport->port_type != FCT_INITIATOR && in qla2x00_configure_fabric()
3479 fcport->port_type != FCT_BROADCAST) { in qla2x00_configure_fabric()
3850 fcport->port_type != FCT_INITIATOR && in qla2x00_find_all_fabric_devs()
3851 fcport->port_type != FCT_BROADCAST) { in qla2x00_find_all_fabric_devs()
4068 fcport->port_type = FCT_INITIATOR; in qla2x00_fabric_login()
[all …]
Dqla_mr.h210 uint8_t port_type; member
Dqla_gs.c229 if (ct_rsp->rsp.ga_nxt.port_type != NS_N_PORT_TYPE && in qla2x00_ga_nxt()
230 ct_rsp->rsp.ga_nxt.port_type != NS_NL_PORT_TYPE) in qla2x00_ga_nxt()
288 ct_req->req.gid_pt.port_type = NS_NX_PORT_TYPE; in qla2x00_gid_pt()
2245 eiter->a.port_type = cpu_to_be32(NS_NX_PORT_TYPE); in qla2x00_fdmiv2_rpa()
2250 "Port Type = %x.\n", eiter->a.port_type); in qla2x00_fdmiv2_rpa()
Dqla_def.h2011 fc_port_type_t port_type; member
2261 uint32_t port_type; member
2346 uint8_t port_type; member
2459 uint8_t port_type; member
Dqla_isr.c1276 fcport->port_type = FCT_TARGET; in qla2x00_mbx_iocb_entry()
1278 fcport->port_type = FCT_INITIATOR; in qla2x00_mbx_iocb_entry()
1500 fcport->port_type = FCT_TARGET; in qla24xx_logio_entry()
1504 fcport->port_type = FCT_INITIATOR; in qla24xx_logio_entry()
Dqla_mr.c749 if (fcport->port_type != FCT_TARGET) in qlafx00_loop_reset()
1273 if (fcport->port_type != FCT_INITIATOR) in qlafx00_configure_all_targets()
1778 if (!pinfo->port_type) in qlafx00_update_host_attr()
1975 fcport->port_type = FCT_TARGET; in qlafx00_fx_disc()
Dqla_mbx.c1483 fcport->port_type = FCT_INITIATOR; in qla2x00_get_port_database()
1485 fcport->port_type = FCT_TARGET; in qla2x00_get_port_database()
1528 fcport->port_type = FCT_INITIATOR; in qla2x00_get_port_database()
1530 fcport->port_type = FCT_TARGET; in qla2x00_get_port_database()
Dqla_bsg.c1299 if (fcport->port_type != FCT_TARGET) in qla24xx_iidma()
Dqla_os.c1327 if (fcport->port_type != FCT_TARGET) in qla2x00_loop_reset()
2596 ha->mr.fcport.port_type = FCT_UNKNOWN; in qla2x00_probe_one()
Dqla_target.c839 if (!tgt || (fcport->port_type != FCT_INITIATOR)) in qlt_fc_port_added()
/linux-4.1.27/Documentation/acpi/apei/
Doutput_format.txt85 [port_type: <integer>, <pcie port type string>]
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-mdio.h184 uint16_t port_type:1; member
/linux-4.1.27/drivers/s390/scsi/
Dzfcp_fsf.h372 u32 port_type; member
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c192 int port_type; in bnx2x_get_port_type() local
200 port_type = PORT_FIBRE; in bnx2x_get_port_type()
203 port_type = PORT_DA; in bnx2x_get_port_type()
206 port_type = PORT_TP; in bnx2x_get_port_type()
209 port_type = PORT_NONE; in bnx2x_get_port_type()
213 port_type = PORT_OTHER; in bnx2x_get_port_type()
216 return port_type; in bnx2x_get_port_type()
/linux-4.1.27/drivers/infiniband/core/
Dsysfs.c449 static struct kobj_type port_type = { variable
540 ret = kobject_init_and_add(&p->kobj, &port_type, in add_port()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dsysfs.c431 static struct kobj_type port_type = { variable
654 ret = kobject_init_and_add(&p->kobj, &port_type, in add_port()
Dmad.c478 u8 is_eth = dev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_ib_send_to_slave()
Dmain.c602 u8 is_eth = mdev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_ib_modify_port()
/linux-4.1.27/Documentation/scsi/
Dscsi_fc_transport.txt426 fc_host port_type attribute:
427 There is a new fc_host port_type value - FC_PORTTYPE_NPIV. This value
429 the port_type attribute would be set to NPORT, NLPORT, etc based on the
DChangeLog.lpfc701 * Add fabric_name and port_type attributes.
/linux-4.1.27/arch/powerpc/platforms/powermac/
Dfeature.c2744 int port_type = PMAC_SCC_ASYNC; in initial_serial_shutdown() local
2750 port_type = PMAC_SCC_IRDA; in initial_serial_shutdown()
2755 port_type = PMAC_SCC_IRDA; in initial_serial_shutdown()
2761 pmac_call_feature(PMAC_FTR_SCC_ENABLE, np, port_type, 0); in initial_serial_shutdown()
/linux-4.1.27/include/acpi/
Dactbl2.h347 u16 port_type; member
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c660 adapter->phy.port_type = ecmd->port; in be_get_settings()
667 ecmd->port = adapter->phy.port_type; in be_get_settings()
Dbe.h399 u8 port_type; member
/linux-4.1.27/include/linux/mlx4/
Ddevice.h566 enum mlx4_port_type port_type[MLX4_MAX_PORTS + 1]; member
1009 return dev->caps.port_type[port] == MLX4_PORT_TYPE_IB ? 0 : 1; in mlx4_is_eth()
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_attr.c1425 if (vport->port_type == LPFC_PHYSICAL_PORT) in lpfc_npiv_info_show()
3163 if (vport->port_type == LPFC_PHYSICAL_PORT) { in lpfc_restrict_login_init()
3198 if (vport->port_type == LPFC_PHYSICAL_PORT && val != 0) { in lpfc_restrict_login_set()
5105 if (error || vport->port_type == LPFC_NPIV_PORT) in lpfc_alloc_sysfs_attr()
5139 if (vport->port_type == LPFC_NPIV_PORT) in lpfc_free_sysfs_attr()
5175 if (vport->port_type == LPFC_NPIV_PORT) { in lpfc_get_host_port_type()
Dlpfc_vport.c576 if (vport->port_type == LPFC_PHYSICAL_PORT) { in lpfc_vport_delete()
Dlpfc_nportdisc.c473 if ((vport->port_type == LPFC_NPIV_PORT && in lpfc_rcv_plogi()
1706 if ((vport->port_type == LPFC_NPIV_PORT) && in lpfc_cmpl_prli_prli_issue()
1732 (vport->port_type == LPFC_NPIV_PORT) && in lpfc_cmpl_prli_prli_issue()
Dlpfc.h301 uint8_t port_type; member
Dlpfc_hbadisc.c836 ((vport->port_type == LPFC_NPIV_PORT) && in lpfc_cleanup_rpis()
1073 if (vport->port_type == LPFC_PHYSICAL_PORT) in lpfc_mbx_cmpl_clear_la()
2829 if ((vport->port_type != LPFC_PHYSICAL_PORT) && (!vport->vpi)) { in lpfc_issue_init_vpi()
2875 if (vports[i]->port_type == LPFC_PHYSICAL_PORT) in lpfc_start_fdiscs()
3019 if (vport->port_type == LPFC_PHYSICAL_PORT) { in lpfc_mbx_cmpl_read_sparam()
5021 (vport->port_type != LPFC_PHYSICAL_PORT) || in lpfc_issue_clear_la()
Dlpfc_ct.c470 if ((vport->port_type != LPFC_NPIV_PORT) || in lpfc_ns_rsp()
1055 if (vport->port_type == LPFC_PHYSICAL_PORT) in lpfc_vport_symbolic_port_name()
Dlpfc_init.c2554 if (vport->port_type != LPFC_PHYSICAL_PORT && in lpfc_cleanup()
2862 (vports[i]->port_type != in lpfc_online()
3320 vport->port_type = LPFC_NPIV_PORT; in lpfc_create_port()
3323 vport->port_type = LPFC_PHYSICAL_PORT; in lpfc_create_port()
9692 if (vports[i]->port_type == LPFC_PHYSICAL_PORT) in lpfc_pci_remove_one_s3()
10463 if (vports[i]->port_type == LPFC_PHYSICAL_PORT) in lpfc_pci_remove_one_s4()
Dlpfc_els.c7284 if (vport->port_type == LPFC_PHYSICAL_PORT in lpfc_cmpl_reg_new_vport()
/linux-4.1.27/drivers/staging/netlogic/
Dxlr_net.h1091 int port_type; member
/linux-4.1.27/Documentation/PCI/
DPCIEBUS-HOWTO.txt118 .port_type = PCIE_RC_PORT,
/linux-4.1.27/drivers/scsi/
Dscsi_transport_fc.c126 fc_enum_name_search(port_type, fc_port_type, fc_port_type_names)
422 fc_host->port_type = FC_PORTTYPE_UNKNOWN; in fc_host_setup()
1576 fc_host_rd_enum_attr(port_type, FC_PORTTYPE_MAX_NAMELEN);
2259 SETUP_HOST_ATTRIBUTE_RD(port_type); in fc_attach_transport()
/linux-4.1.27/drivers/net/wireless/ipw2x00/
Dipw2200.h1215 u32 port_type; member
Dipw2100.c4737 static int ipw2100_set_port_type(struct ipw2100_priv *priv, u32 port_type, in ipw2100_set_port_type() argument
4747 switch (port_type) { in ipw2100_set_port_type()
4757 port_type == IPW_IBSS ? "Ad-Hoc" : "Managed"); in ipw2100_set_port_type()
4950 if (priv->port_type == IBSS && priv->adhoc_power != DFTL_IBSS_TX_POWER) { in ipw2100_set_power_mode()