Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/drivers/tty/serial/
Dof_serial.c178 int port_type; in of_platform_serial_probe() local
192 port_type = (unsigned long)match->data; in of_platform_serial_probe()
193 ret = of_platform_serial_setup(ofdev, port_type, &port, info); in of_platform_serial_probe()
197 switch (port_type) { in of_platform_serial_probe()
231 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()
2641 int port_num, port_type; in ioc4_serial_remove_one() local
2653 for (port_type = UART_PORT_MIN; in ioc4_serial_remove_one()
2654 port_type < UART_PORT_COUNT; in ioc4_serial_remove_one()
2655 port_type++) { in ioc4_serial_remove_one()
2657 [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.4.14/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c105 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_settings()
124 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_settings()
208 if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_settings()
262 if (adapter->ahw.port_type != NETXEN_NIC_GBE) in netxen_nic_set_settings()
412 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_ringparam()
454 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_set_ringparam()
489 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_pauseparam()
511 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_pauseparam()
522 netxen_nic_driver_name, adapter->ahw.port_type); in netxen_nic_get_pauseparam()
539 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.4.14/drivers/ide/
Djmicron.c20 } port_type; typedef
37 port_type port_map[2]; in jmicron_cable_detect()
/linux-4.4.14/drivers/ata/
Dpata_jmicron.c27 } port_type; typedef
49 port_type port_map[2]; in jmicron_pre_reset()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c551 if (p->port_type == FW_PORT_TYPE_BT_SGMII || in get_settings()
552 p->port_type == FW_PORT_TYPE_BT_XFI || in get_settings()
553 p->port_type == FW_PORT_TYPE_BT_XAUI) { in get_settings()
555 } else if (p->port_type == FW_PORT_TYPE_FIBER_XFI || in get_settings()
556 p->port_type == FW_PORT_TYPE_FIBER_XAUI) { in get_settings()
558 } else if (p->port_type == FW_PORT_TYPE_SFP || in get_settings()
559 p->port_type == FW_PORT_TYPE_QSFP_10G || in get_settings()
560 p->port_type == FW_PORT_TYPE_QSA || in get_settings()
561 p->port_type == FW_PORT_TYPE_QSFP) { in get_settings()
579 cmd->mdio_support = p->port_type == FW_PORT_TYPE_BT_SGMII ? in get_settings()
[all …]
Dcxgb4.h441 enum fw_port_type port_type; member
1317 const char *t4_get_port_type_description(enum fw_port_type port_type);
Dt4_hw.c5322 const char *t4_get_port_type_description(enum fw_port_type port_type) in t4_get_port_type_description() argument
5343 if (port_type < ARRAY_SIZE(port_type_description)) in t4_get_port_type_description()
5344 return port_type_description[port_type]; in t4_get_port_type_description()
7453 p->port_type = FW_PORT_CMD_PTYPE_G(ret); in t4_port_init()
Dcxgb4_main.c4566 sprintf(bufp, "BASE-%s", t4_get_port_type_description(pi->port_type)); in print_port_info()
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddss.c961 enum omap_display_type port_type; in dss_init_ports() local
971 port_type = dss.feat->ports[reg]; in dss_init_ports()
973 switch (port_type) { in dss_init_ports()
1004 enum omap_display_type port_type; in dss_uninit_ports() local
1015 port_type = dss.feat->ports[reg]; in dss_uninit_ports()
1017 switch (port_type) { in dss_uninit_ports()
/linux-4.4.14/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.4.14/drivers/scsi/pm8001/
Dpm8001_defs.h72 enum port_type { enum
/linux-4.4.14/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()
439 dev->caps.port_type[i] = MLX4_PORT_TYPE_NONE; in mlx4_dev_cap()
443 dev->caps.port_type[i] = MLX4_PORT_TYPE_ETH; in mlx4_dev_cap()
447 dev->caps.port_type[i] = MLX4_PORT_TYPE_IB; in mlx4_dev_cap()
453 dev->caps.port_type[i] = dev->caps.suggested_type[i] ? in mlx4_dev_cap()
456 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.c562 if (dev->caps.port_type[gen_or_port] == MLX4_PORT_TYPE_ETH) { in mlx4_QUERY_FUNC_CAP()
574 } else if (dev->caps.port_type[gen_or_port] == MLX4_PORT_TYPE_IB) { in mlx4_QUERY_FUNC_CAP()
1268 u8 port_type; in mlx4_QUERY_PORT_wrapper() local
1300 MLX4_GET(port_type, outbox->buf, in mlx4_QUERY_PORT_wrapper()
1304 port_type &= MLX4_VF_PORT_NO_LINK_SENSE_MASK; in mlx4_QUERY_PORT_wrapper()
1306 port_type |= (dev->caps.port_type[vhcr->in_modifier] & 0x3); in mlx4_QUERY_PORT_wrapper()
1310 port_type |= MLX4_PORT_LINK_UP_MASK; in mlx4_QUERY_PORT_wrapper()
1312 port_type &= ~MLX4_PORT_LINK_UP_MASK; in mlx4_QUERY_PORT_wrapper()
1314 MLX4_PUT(outbox->buf, port_type, in mlx4_QUERY_PORT_wrapper()
1317 if (dev->caps.port_type[vhcr->in_modifier] == MLX4_PORT_TYPE_ETH) in mlx4_QUERY_PORT_wrapper()
[all …]
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.c599 if (dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH) { in mlx4_eq_int()
635 if (dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH) in mlx4_eq_int()
Dmlx4.h1218 enum mlx4_port_type *port_type);
/linux-4.4.14/include/net/irda/
Dircomm_param.h118 __u8 port_type; member
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_main.c939 int port_type; in qed_get_port_type() local
946 port_type = PORT_FIBRE; in qed_get_port_type()
949 port_type = PORT_DA; in qed_get_port_type()
952 port_type = PORT_TP; in qed_get_port_type()
955 port_type = PORT_NONE; in qed_get_port_type()
959 port_type = PORT_OTHER; in qed_get_port_type()
962 return port_type; in qed_get_port_type()
/linux-4.4.14/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.4.14/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.c297 if (adapter->ahw->port_type == QLCNIC_GBE) { in qlcnic_82xx_get_settings()
314 } else if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_82xx_get_settings()
387 if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_82xx_get_settings()
483 if (adapter->ahw->port_type != QLCNIC_GBE) in qlcnic_set_settings()
787 if (adapter->ahw->port_type == QLCNIC_GBE) { in qlcnic_get_pauseparam()
813 } else if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_get_pauseparam()
826 adapter->ahw->port_type); in qlcnic_get_pauseparam()
843 if (adapter->ahw->port_type == QLCNIC_GBE) { in qlcnic_set_pauseparam()
891 } else if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_set_pauseparam()
915 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.c711 ahw->port_type = QLCNIC_XGBE; in qlcnic_83xx_get_port_info()
715 ahw->port_type = QLCNIC_GBE; in qlcnic_83xx_get_port_info()
717 ahw->port_type = QLCNIC_XGBE; in qlcnic_83xx_get_port_info()
3225 ahw->port_type = QLCNIC_XGBE; in qlcnic_83xx_test_link()
3231 ahw->port_type = QLCNIC_GBE; in qlcnic_83xx_test_link()
3235 ahw->port_type = QLCNIC_GBE; in qlcnic_83xx_test_link()
3242 ahw->port_type = QLCNIC_XGBE; in qlcnic_83xx_test_link()
3246 ahw->port_type = QLCNIC_XGBE; in qlcnic_83xx_test_link()
3701 if (ahw->port_type == QLCNIC_GBE) { in qlcnic_83xx_set_pauseparam()
3706 } else if ((ahw->port_type == QLCNIC_XGBE) && (pause->autoneg)) { in qlcnic_83xx_set_pauseparam()
Dqlcnic_main.c967 switch (ahw->port_type) { in qlcnic_get_act_pci_func()
1279 if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_check_options()
1291 } else if (adapter->ahw->port_type == QLCNIC_GBE) { in qlcnic_check_options()
2665 switch (adapter->ahw->port_type) { in qlcnic_probe()
2718 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.h496 u16 port_type; member
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/power/
Dbq24257_charger.c543 int port_type; in bq24257_iilimit_autoset() local
576 port_type = ret; in bq24257_iilimit_autoset()
578 ret = bq24257_field_write(bq, F_IILIMIT, new_iilimit[port_type]); in bq24257_iilimit_autoset()
591 port_type, loop_status, new_iilimit[port_type]); in bq24257_iilimit_autoset()
/linux-4.4.14/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.4.14/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.4.14/drivers/hv/
Dhyperv_vmbus.h128 enum hv_port_type port_type; member
151 enum hv_port_type port_type; member
/linux-4.4.14/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.4.14/drivers/media/pci/ddbridge/
Dddbridge.h57 u32 port_type[DDB_MAX_PORT]; member
/linux-4.4.14/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.4.14/drivers/pci/pcie/aer/
Daerdrv_core.c81 int port_type; in pci_cleanup_aer_error_status_regs() local
90 port_type = pci_pcie_type(dev); in pci_cleanup_aer_error_status_regs()
91 if (port_type == PCI_EXP_TYPE_ROOT_PORT) { in pci_cleanup_aer_error_status_regs()
Daerdrv.c58 .port_type = PCI_EXP_TYPE_ROOT_PORT,
/linux-4.4.14/drivers/hwtracing/intel_th/
Dgth.c43 unsigned int port_type; member
563 if (gth->output[i].port_type != othdev->output.type) in intel_th_gth_assign()
659 gth->output[i].port_type = in intel_th_gth_probe()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/pci/hotplug/
Dpciehp_core.c316 .port_type = PCIE_ANY_PORT,
/linux-4.4.14/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.4.14/drivers/scsi/qla2xxx/
Dqla_attr.c1687 uint32_t port_type = FC_PORTTYPE_UNKNOWN; in qla2x00_get_host_port_type() local
1695 port_type = FC_PORTTYPE_LPORT; in qla2x00_get_host_port_type()
1698 port_type = FC_PORTTYPE_NLPORT; in qla2x00_get_host_port_type()
1701 port_type = FC_PORTTYPE_PTP; in qla2x00_get_host_port_type()
1704 port_type = FC_PORTTYPE_NPORT; in qla2x00_get_host_port_type()
1707 fc_host_port_type(shost) = port_type; in qla2x00_get_host_port_type()
Dqla_init.c2956 fcport->port_type = FCT_UNKNOWN; in qla2x00_alloc_fcport()
3138 fcport->port_type != FCT_BROADCAST && in qla2x00_configure_local_loop()
3205 fcport->port_type = new_fcport->port_type; in qla2x00_configure_local_loop()
3312 if (fcport->port_type == FCT_INITIATOR) in qla2x00_reg_remote_port()
3314 if (fcport->port_type == FCT_TARGET) in qla2x00_reg_remote_port()
3484 fcport->port_type != FCT_INITIATOR && in qla2x00_configure_fabric()
3485 fcport->port_type != FCT_BROADCAST) { in qla2x00_configure_fabric()
3856 fcport->port_type != FCT_INITIATOR && in qla2x00_find_all_fabric_devs()
3857 fcport->port_type != FCT_BROADCAST) { in qla2x00_find_all_fabric_devs()
4072 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.c1304 fcport->port_type = FCT_TARGET; in qla2x00_mbx_iocb_entry()
1306 fcport->port_type = FCT_INITIATOR; in qla2x00_mbx_iocb_entry()
1528 fcport->port_type = FCT_TARGET; in qla24xx_logio_entry()
1532 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.c1496 fcport->port_type = FCT_INITIATOR; in qla2x00_get_port_database()
1498 fcport->port_type = FCT_TARGET; in qla2x00_get_port_database()
1541 fcport->port_type = FCT_INITIATOR; in qla2x00_get_port_database()
1543 fcport->port_type = FCT_TARGET; in qla2x00_get_port_database()
Dqla_bsg.c1299 if (fcport->port_type != FCT_TARGET) in qla24xx_iidma()
Dqla_os.c1315 if (fcport->port_type != FCT_TARGET) in qla2x00_loop_reset()
2593 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.4.14/drivers/s390/scsi/
Dzfcp_fsf.h372 u32 port_type; member
/linux-4.4.14/arch/mips/include/asm/octeon/
Dcvmx-mdio.h184 uint16_t port_type:1; member
/linux-4.4.14/Documentation/acpi/apei/
Doutput_format.txt85 [port_type: <integer>, <pcie port type string>]
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c194 int port_type; in bnx2x_get_port_type() local
202 port_type = PORT_FIBRE; in bnx2x_get_port_type()
205 port_type = PORT_DA; in bnx2x_get_port_type()
208 port_type = PORT_TP; in bnx2x_get_port_type()
211 port_type = PORT_NONE; in bnx2x_get_port_type()
215 port_type = PORT_OTHER; in bnx2x_get_port_type()
218 return port_type; in bnx2x_get_port_type()
/linux-4.4.14/drivers/infiniband/core/
Dsysfs.c454 static struct kobj_type port_type = { variable
523 ret = kobject_init_and_add(&p->kobj, &port_type, in add_port()
/linux-4.4.14/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.c473 u8 is_eth = dev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_ib_send_to_slave()
Dmain.c872 u8 is_eth = mdev->dev->caps.port_type[port] == MLX4_PORT_TYPE_ETH; in mlx4_ib_modify_port()
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
Dhnae.h472 enum hnae_port_type port_type; member
Dhns_dsaf_main.c247 enum dsaf_sw_port_type port_type) in hns_dsaf_sw_port_type_cfg() argument
255 port_type); in hns_dsaf_sw_port_type_cfg()
265 enum dsaf_stp_port_type port_type) in hns_dsaf_stp_port_type_cfg() argument
273 port_type); in hns_dsaf_stp_port_type_cfg()
Dhns_ae_adapt.c177 ae_handle->port_type = vf_cb->mac_cb->mac_type; in hns_ae_get_handle()
Dhns_ethtool.c172 if (h->port_type == HNAE_PORT_SERVICE) { in hns_nic_get_settings()
Dhns_enet.c1305 enum hnae_port_type type = priv->ae_handle->port_type; in hns_nic_reset_subtask()
/linux-4.4.14/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.4.14/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.4.14/include/linux/mlx4/
Ddevice.h582 enum mlx4_port_type port_type[MLX4_MAX_PORTS + 1]; member
1042 return dev->caps.port_type[port] == MLX4_PORT_TYPE_IB ? 0 : 1; in mlx4_is_eth()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c666 adapter->phy.port_type = ecmd->port; in be_get_settings()
673 ecmd->port = adapter->phy.port_type; in be_get_settings()
Dbe.h406 u8 port_type; member
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_attr.c1425 if (vport->port_type == LPFC_PHYSICAL_PORT) in lpfc_npiv_info_show()
3157 if (vport->port_type == LPFC_PHYSICAL_PORT) { in lpfc_restrict_login_init()
3192 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()
1710 if ((vport->port_type == LPFC_NPIV_PORT) && in lpfc_cmpl_prli_prli_issue()
1736 (vport->port_type == LPFC_NPIV_PORT) && in lpfc_cmpl_prli_prli_issue()
Dlpfc.h303 uint8_t port_type; member
Dlpfc_hbadisc.c810 ((vport->port_type == LPFC_NPIV_PORT) && in lpfc_cleanup_rpis()
1047 if (vport->port_type == LPFC_PHYSICAL_PORT) in lpfc_mbx_cmpl_clear_la()
2803 if ((vport->port_type != LPFC_PHYSICAL_PORT) && (!vport->vpi)) { in lpfc_issue_init_vpi()
2849 if (vports[i]->port_type == LPFC_PHYSICAL_PORT) in lpfc_start_fdiscs()
3006 if (vport->port_type == LPFC_PHYSICAL_PORT) { in lpfc_mbx_cmpl_read_sparam()
5047 (vport->port_type != LPFC_PHYSICAL_PORT) || in lpfc_issue_clear_la()
Dlpfc_ct.c471 if ((vport->port_type != LPFC_NPIV_PORT) || in lpfc_ns_rsp()
1054 if (vport->port_type == LPFC_PHYSICAL_PORT) in lpfc_vport_symbolic_port_name()
Dlpfc_init.c2561 if (vport->port_type != LPFC_PHYSICAL_PORT && in lpfc_cleanup()
2869 (vports[i]->port_type != in lpfc_online()
3329 vport->port_type = LPFC_NPIV_PORT; in lpfc_create_port()
3332 vport->port_type = LPFC_PHYSICAL_PORT; in lpfc_create_port()
9710 if (vports[i]->port_type == LPFC_PHYSICAL_PORT) in lpfc_pci_remove_one_s3()
10481 if (vports[i]->port_type == LPFC_PHYSICAL_PORT) in lpfc_pci_remove_one_s4()
Dlpfc_hw.h1102 uint32_t port_type; /* bits 31-30 only */ member
Dlpfc_els.c4659 desc->info.port_type = cpu_to_be32(type); in lpfc_rdp_res_link_error()
7908 if (vport->port_type == LPFC_PHYSICAL_PORT in lpfc_cmpl_reg_new_vport()
/linux-4.4.14/drivers/staging/netlogic/
Dxlr_net.h1092 int port_type; member
/linux-4.4.14/include/acpi/
Dactbl2.h349 u16 port_type; member
/linux-4.4.14/drivers/infiniband/hw/mlx5/
Dmain.c71 switch (MLX5_CAP_GEN(dev->mdev, port_type)) { in mlx5_ib_port_link_layer()
1332 if (MLX5_CAP_GEN(mdev, port_type) == MLX5_CAP_PORT_TYPE_ETH) in mlx5_ib_add()
/linux-4.4.14/Documentation/PCI/
DPCIEBUS-HOWTO.txt118 .port_type = PCIE_RC_PORT,
/linux-4.4.14/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.4.14/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()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c1949 if (MLX5_CAP_GEN(mdev, port_type) != MLX5_CAP_PORT_TYPE_ETH) in mlx5e_check_required_hca_cap()
/linux-4.4.14/include/linux/mlx5/
Dmlx5_ifc.h671 u8 port_type[0x2]; member