Home
last modified time | relevance | path

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

1234567

/Linux-v4.19/drivers/net/ethernet/freescale/fman/
Dfman_port.c456 enum fman_port_type port_type; member
640 if (port->port_type == FMAN_PORT_TYPE_RX) { in init_qmi()
647 if (port->port_type == FMAN_PORT_TYPE_TX) { in init_qmi()
747 switch (port->port_type) { in init()
779 switch (port->port_type) { in set_bpools()
856 if (port->port_type == FMAN_PORT_TYPE_TX) { in verify_size_of_fifo()
878 else if (port->port_type == FMAN_PORT_TYPE_RX) { in verify_size_of_fifo()
999 switch (port->port_type) { in init_low_level_driver()
1022 if (port->port_type == FMAN_PORT_TYPE_TX) { in init_low_level_driver()
1251 BMI_DEQUEUE_PIPELINE_DEPTH(port->port_type, port->port_speed); in set_dflt_cfg()
[all …]
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c368 static int from_fw_port_mod_type(enum fw_port_type port_type, in from_fw_port_mod_type() argument
371 if (port_type == FW_PORT_TYPE_BT_SGMII || in from_fw_port_mod_type()
372 port_type == FW_PORT_TYPE_BT_XFI || in from_fw_port_mod_type()
373 port_type == FW_PORT_TYPE_BT_XAUI) { in from_fw_port_mod_type()
375 } else if (port_type == FW_PORT_TYPE_FIBER_XFI || in from_fw_port_mod_type()
376 port_type == FW_PORT_TYPE_FIBER_XAUI) { in from_fw_port_mod_type()
378 } else if (port_type == FW_PORT_TYPE_SFP || in from_fw_port_mod_type()
379 port_type == FW_PORT_TYPE_QSFP_10G || in from_fw_port_mod_type()
380 port_type == FW_PORT_TYPE_QSA || in from_fw_port_mod_type()
381 port_type == FW_PORT_TYPE_QSFP || in from_fw_port_mod_type()
[all …]
/Linux-v4.19/drivers/staging/vc04_services/bcm2835-camera/
Dmmal-msg.h147 u32 port_type; /* enum mmal_msg_port_type */ member
155 u32 port_type; /* enum mmal_msg_port_type */ member
168 u32 port_type; /* enum mmal_msg_port_type */ member
180 u32 port_type; /* enum mmal_msg_port_type */ member
343 u32 port_type; member
/Linux-v4.19/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c107 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_link_ksettings()
126 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_link_ksettings()
210 if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_link_ksettings()
270 if (adapter->ahw.port_type != NETXEN_NIC_GBE) in netxen_nic_set_link_ksettings()
420 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_ringparam()
462 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_set_ringparam()
497 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_pauseparam()
519 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_pauseparam()
530 netxen_nic_driver_name, adapter->ahw.port_type); in netxen_nic_get_pauseparam()
547 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_set_pauseparam()
[all …]
/Linux-v4.19/sound/soc/bcm/
Dcygnus-ssp.c259 switch (aio->port_type) { in audio_ssp_init_portregs()
389 switch (aio->port_type) { in audio_ssp_out_enable()
433 switch (aio->port_type) { in audio_ssp_out_disable()
584 switch (aio->port_type) { in cygnus_ssp_set_clocks()
846 if (aio->port_type == PORT_SPDIF) in cygnus_ssp_set_fmt()
1196 enum cygnus_audio_port_type port_type; in parse_ssp_child_node() local
1207 port_type = PORT_TDM; in parse_ssp_child_node()
1211 port_type = PORT_TDM; in parse_ssp_child_node()
1215 port_type = PORT_TDM; in parse_ssp_child_node()
1218 port_type = PORT_SPDIF; in parse_ssp_child_node()
[all …]
/Linux-v4.19/drivers/ide/
Djmicron.c20 } port_type; typedef
37 port_type port_map[2]; in jmicron_cable_detect()
/Linux-v4.19/drivers/tty/serial/8250/
D8250_of.c207 int port_type; in of_platform_serial_probe() local
221 port_type = (unsigned long)match->data; in of_platform_serial_probe()
223 ret = of_platform_serial_setup(ofdev, port_type, &port8250.port, info); in of_platform_serial_probe()
243 info->type = port_type; in of_platform_serial_probe()
/Linux-v4.19/drivers/ata/
Dpata_jmicron.c27 } port_type; typedef
49 port_type port_map[2]; in jmicron_pre_reset()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c1212 static int from_fw_port_mod_type(enum fw_port_type port_type, in from_fw_port_mod_type() argument
1215 if (port_type == FW_PORT_TYPE_BT_SGMII || in from_fw_port_mod_type()
1216 port_type == FW_PORT_TYPE_BT_XFI || in from_fw_port_mod_type()
1217 port_type == FW_PORT_TYPE_BT_XAUI) { in from_fw_port_mod_type()
1219 } else if (port_type == FW_PORT_TYPE_FIBER_XFI || in from_fw_port_mod_type()
1220 port_type == FW_PORT_TYPE_FIBER_XAUI) { in from_fw_port_mod_type()
1222 } else if (port_type == FW_PORT_TYPE_SFP || in from_fw_port_mod_type()
1223 port_type == FW_PORT_TYPE_QSFP_10G || in from_fw_port_mod_type()
1224 port_type == FW_PORT_TYPE_QSA || in from_fw_port_mod_type()
1225 port_type == FW_PORT_TYPE_QSFP || in from_fw_port_mod_type()
[all …]
Dt4vf_hw.c493 enum fw_port_type port_type; in t4vf_port_init() local
558 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4vf_port_init()
568 port_type = FW_PORT_CMD_PORTTYPE32_G(lstatus32); in t4vf_port_init()
576 pi->port_type = port_type; in t4vf_port_init()
1910 enum fw_port_type port_type; in t4vf_handle_get_port_info() local
1922 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4vf_handle_get_port_info()
1959 port_type = FW_PORT_CMD_PORTTYPE32_G(lstatus32); in t4vf_handle_get_port_info()
1998 pi->port_type = port_type; in t4vf_handle_get_port_info()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dmain.c175 enum mlx4_port_type port_type[MLX4_MAX_PORTS + 1]; member
308 enum mlx4_port_type *port_type) in mlx4_check_port_params() argument
314 if (port_type[i] != port_type[i + 1]) { in mlx4_check_port_params()
322 if (!(port_type[i] & dev->caps.supported_type[i+1])) { in mlx4_check_port_params()
336 dev->caps.port_mask[i] = dev->caps.port_type[i]; in mlx4_set_port_mask()
590 dev->caps.port_type[i] = MLX4_PORT_TYPE_NONE; in mlx4_dev_cap()
594 dev->caps.port_type[i] = MLX4_PORT_TYPE_ETH; in mlx4_dev_cap()
598 dev->caps.port_type[i] = MLX4_PORT_TYPE_IB; in mlx4_dev_cap()
604 dev->caps.port_type[i] = dev->caps.suggested_type[i] ? in mlx4_dev_cap()
607 dev->caps.port_type[i] = port_type_array[i - 1]; in mlx4_dev_cap()
[all …]
/Linux-v4.19/drivers/tty/serial/
Dioc4_serial.c745 int port_num, port_type; in get_ioc4_port() local
753 for (port_type = UART_PORT_MIN; in get_ioc4_port()
754 port_type < UART_PORT_COUNT; in get_ioc4_port()
755 port_type++) { in get_ioc4_port()
757 [port_type]) { in get_ioc4_port()
2643 int port_num, port_type; in ioc4_serial_remove_one() local
2655 for (port_type = UART_PORT_MIN; in ioc4_serial_remove_one()
2656 port_type < UART_PORT_COUNT; in ioc4_serial_remove_one()
2657 port_type++) { in ioc4_serial_remove_one()
2659 [port_type]; in ioc4_serial_remove_one()
[all …]
Dpch_uart.c213 int port_type; member
257 int port_type; member
1476 port->type = priv->port_type; in pch_uart_config_port()
1745 int port_type; in pch_uart_init_port() local
1752 port_type = board->port_type; in pch_uart_init_port()
1762 switch (port_type) { in pch_uart_init_port()
1770 dev_err(&pdev->dev, "Invalid Port Type(=%d)\n", port_type); in pch_uart_init_port()
1790 priv->port_type = port_type; in pch_uart_init_port()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dplatform.c111 ppd->port_type = temp_dest >> in save_platform_config_fields()
214 ppd->port_type = PORT_TYPE_UNKNOWN; in get_port_type()
217 ppd->port_type = temp; in get_port_type()
666 if (ppd->port_type != PORT_TYPE_QSFP) in aoc_low_power_setting()
728 if (ppd->port_type == PORT_TYPE_QSFP && limiting_active) in apply_tunings()
968 switch (ppd->port_type) { in tune_serdes()
1058 ppd->port_type = PORT_TYPE_UNKNOWN; in tune_serdes()
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Ddss.c943 enum omap_display_type port_type; in dss_init_ports() local
953 port_type = dss.feat->ports[reg]; in dss_init_ports()
955 switch (port_type) { in dss_init_ports()
990 enum omap_display_type port_type; in dss_uninit_ports() local
1001 port_type = dss.feat->ports[reg]; in dss_uninit_ports()
1003 switch (port_type) { in dss_uninit_ports()
/Linux-v4.19/drivers/hwtracing/intel_th/
Dgth.c36 unsigned int port_type; member
579 if (gth->output[i].port_type != othdev->output.type) in intel_th_gth_assign()
696 gth->output[i].port_type = in intel_th_gth_probe()
698 if (gth->output[i].port_type == GTH_NONE) in intel_th_gth_probe()
701 ret = intel_th_output_enable(th, gth->output[i].port_type); in intel_th_gth_probe()
/Linux-v4.19/drivers/scsi/pm8001/
Dpm8001_defs.h72 enum port_type { enum
/Linux-v4.19/drivers/tty/
Dnozomi.c181 enum port_type { enum
696 static void enable_transmit_ul(enum port_type port, struct nozomi *dc) in enable_transmit_ul()
709 static void disable_transmit_ul(enum port_type port, struct nozomi *dc) in disable_transmit_ul()
723 static void enable_transmit_dl(enum port_type port, struct nozomi *dc) in enable_transmit_dl()
736 static void disable_transmit_dl(enum port_type port, struct nozomi *dc) in disable_transmit_dl()
753 static int send_data(enum port_type index, struct nozomi *dc) in send_data()
782 static int receive_data(enum port_type index, struct nozomi *dc) in receive_data()
887 enum port_type port = PORT_MDM; in receive_flow_control()
978 static enum ctrl_port_type port2ctrl(enum port_type port, in port2ctrl()
1030 static int handle_data_dl(struct nozomi *dc, enum port_type port, u8 *toggle, in handle_data_dl()
[all …]
/Linux-v4.19/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.c298 if (adapter->ahw->port_type == QLCNIC_GBE) { in qlcnic_82xx_get_link_ksettings()
315 } else if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_82xx_get_link_ksettings()
388 if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_82xx_get_link_ksettings()
493 if (adapter->ahw->port_type != QLCNIC_GBE) in qlcnic_set_link_ksettings()
797 if (adapter->ahw->port_type == QLCNIC_GBE) { in qlcnic_get_pauseparam()
823 } else if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_get_pauseparam()
836 adapter->ahw->port_type); in qlcnic_get_pauseparam()
853 if (adapter->ahw->port_type == QLCNIC_GBE) { in qlcnic_set_pauseparam()
901 } else if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_set_pauseparam()
925 adapter->ahw->port_type); in qlcnic_set_pauseparam()
/Linux-v4.19/drivers/usb/typec/
Dclass.c47 enum typec_port_type port_type; member
1061 if (port->port_type != TYPEC_PORT_DRP) { in power_role_store()
1063 typec_port_power_roles[port->port_type]); in power_role_store()
1111 if (port->port_type == type) { in port_type_store()
1120 port->port_type = type; in port_type_store()
1136 typec_port_types_drp[port->port_type]); in port_type_show()
1140 static DEVICE_ATTR_RW(port_type);
1592 port->port_type = cap->type; in typec_register_port()
/Linux-v4.19/drivers/net/usb/
Dhso.c2055 char *port_type; in hso_log_port() local
2060 port_type = "Control"; in hso_log_port()
2063 port_type = "Application"; in hso_log_port()
2066 port_type = "GPS"; in hso_log_port()
2069 port_type = "GPS control"; in hso_log_port()
2072 port_type = "Application2"; in hso_log_port()
2075 port_type = "PCSC"; in hso_log_port()
2078 port_type = "Diagnostic"; in hso_log_port()
2081 port_type = "Diagnostic2"; in hso_log_port()
2084 port_type = "Modem"; in hso_log_port()
[all …]
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_nsp_eth.c237 entry->port_type = PORT_NONE; in nfp_eth_calc_port_type()
242 entry->port_type = PORT_FIBRE; in nfp_eth_calc_port_type()
244 entry->port_type = PORT_DA; in nfp_eth_calc_port_type()
/Linux-v4.19/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-v4.19/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c134 ae_handle->port_type = vf_cb->mac_cb->mac_type; in hns_ae_get_handle()
491 if (handle->port_type == HNAE_PORT_SERVICE) in hns_ae_get_pauseparam()
533 if (handle->port_type == HNAE_PORT_SERVICE) { in hns_ae_set_pauseparam()
563 handle->port_type == HNAE_PORT_DEBUG) in hns_ae_get_max_coalesced_frames()
592 handle->port_type == HNAE_PORT_DEBUG) { in hns_ae_set_coalesce_frames()
629 handle->port_type == HNAE_PORT_DEBUG) in hns_ae_get_coalesce_range()

1234567