| /Linux-v5.4/sound/usb/ |
| D | mixer_scarlett_gen2.c | 440 int direction, int port_type) in scarlett2_get_port_start_num() argument 444 for (i = 0; i < port_type; i++) in scarlett2_get_port_start_num() 821 int port_type; in scarlett2_mux_src_num_to_id() local 823 for (port_type = 0; in scarlett2_mux_src_num_to_id() 824 port_type < SCARLETT2_PORT_TYPE_COUNT; in scarlett2_mux_src_num_to_id() 825 port_type++) { in scarlett2_mux_src_num_to_id() 826 if (num < ports[port_type].num[SCARLETT2_PORT_IN]) in scarlett2_mux_src_num_to_id() 827 return ports[port_type].id | num; in scarlett2_mux_src_num_to_id() 828 num -= ports[port_type].num[SCARLETT2_PORT_IN]; in scarlett2_mux_src_num_to_id() 871 int port_type = assignment_order[order_num]; in scarlett2_usb_set_mux() local [all …]
|
| /Linux-v5.4/drivers/net/ethernet/freescale/fman/ |
| D | fman_port.c | 456 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-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cxgb4_ethtool.c | 356 static int from_fw_port_mod_type(enum fw_port_type port_type, in from_fw_port_mod_type() argument 359 if (port_type == FW_PORT_TYPE_BT_SGMII || in from_fw_port_mod_type() 360 port_type == FW_PORT_TYPE_BT_XFI || in from_fw_port_mod_type() 361 port_type == FW_PORT_TYPE_BT_XAUI) { in from_fw_port_mod_type() 363 } else if (port_type == FW_PORT_TYPE_FIBER_XFI || in from_fw_port_mod_type() 364 port_type == FW_PORT_TYPE_FIBER_XAUI) { in from_fw_port_mod_type() 366 } else if (port_type == FW_PORT_TYPE_SFP || in from_fw_port_mod_type() 367 port_type == FW_PORT_TYPE_QSFP_10G || in from_fw_port_mod_type() 368 port_type == FW_PORT_TYPE_QSA || in from_fw_port_mod_type() 369 port_type == FW_PORT_TYPE_QSFP || in from_fw_port_mod_type() [all …]
|
| /Linux-v5.4/drivers/staging/vc04_services/bcm2835-camera/ |
| D | mmal-msg.h | 151 u32 port_type; /* enum mmal_msg_port_type */ member 159 u32 port_type; /* enum mmal_msg_port_type */ member 172 u32 port_type; /* enum mmal_msg_port_type */ member 184 u32 port_type; /* enum mmal_msg_port_type */ member 352 u32 port_type; member
|
| /Linux-v5.4/drivers/misc/mei/hdcp/ |
| D | mei_hdcp.c | 71 session_init_in.port.integrated_port_type = data->port_type; in mei_hdcp_initiate_session() 140 verify_rxcert_in.port.integrated_port_type = data->port_type; in mei_hdcp_verify_receiver_cert_prepare_km() 210 send_hprime_in.port.integrated_port_type = data->port_type; in mei_hdcp_verify_hprime() 267 pairing_info_in.port.integrated_port_type = data->port_type; in mei_hdcp_store_pairing_info() 325 lc_init_in.port.integrated_port_type = data->port_type; in mei_hdcp_initiate_locality_check() 380 verify_lprime_in.port.integrated_port_type = data->port_type; in mei_hdcp_verify_lprime() 437 get_skey_in.port.integrated_port_type = data->port_type; in mei_hdcp_get_session_key() 501 verify_repeater_in.port.integrated_port_type = data->port_type; in mei_hdcp_repeater_check_flow_prepare_ack() 571 verify_mprime_in.port.integrated_port_type = data->port_type; in mei_hdcp_verify_mprime() 632 enable_auth_in.port.integrated_port_type = data->port_type; in mei_hdcp_enable_authentication() [all …]
|
| /Linux-v5.4/drivers/net/ethernet/qlogic/netxen/ |
| D | netxen_nic_ethtool.c | 91 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_link_ksettings() 110 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_link_ksettings() 194 if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_link_ksettings() 254 if (adapter->ahw.port_type != NETXEN_NIC_GBE) in netxen_nic_set_link_ksettings() 404 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_ringparam() 446 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_set_ringparam() 481 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_pauseparam() 503 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_pauseparam() 514 netxen_nic_driver_name, adapter->ahw.port_type); in netxen_nic_get_pauseparam() 531 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_set_pauseparam() [all …]
|
| /Linux-v5.4/drivers/tty/serial/8250/ |
| D | 8250_of.c | 213 unsigned int port_type; in of_platform_serial_probe() local 217 port_type = (unsigned long)of_device_get_match_data(&ofdev->dev); in of_platform_serial_probe() 218 if (port_type == PORT_UNKNOWN) in of_platform_serial_probe() 229 ret = of_platform_serial_setup(ofdev, port_type, &port8250.port, info); in of_platform_serial_probe() 254 info->type = port_type; in of_platform_serial_probe()
|
| /Linux-v5.4/sound/soc/bcm/ |
| D | cygnus-ssp.c | 259 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-v5.4/drivers/ide/ |
| D | jmicron.c | 20 } port_type; typedef 37 port_type port_map[2]; in jmicron_cable_detect()
|
| /Linux-v5.4/drivers/ata/ |
| D | pata_jmicron.c | 28 } port_type; typedef 50 port_type port_map[2]; in jmicron_pre_reset()
|
| /Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/ |
| D | cxgb4vf_main.c | 1266 static int from_fw_port_mod_type(enum fw_port_type port_type, in from_fw_port_mod_type() argument 1269 if (port_type == FW_PORT_TYPE_BT_SGMII || in from_fw_port_mod_type() 1270 port_type == FW_PORT_TYPE_BT_XFI || in from_fw_port_mod_type() 1271 port_type == FW_PORT_TYPE_BT_XAUI) { in from_fw_port_mod_type() 1273 } else if (port_type == FW_PORT_TYPE_FIBER_XFI || in from_fw_port_mod_type() 1274 port_type == FW_PORT_TYPE_FIBER_XAUI) { in from_fw_port_mod_type() 1276 } else if (port_type == FW_PORT_TYPE_SFP || in from_fw_port_mod_type() 1277 port_type == FW_PORT_TYPE_QSFP_10G || in from_fw_port_mod_type() 1278 port_type == FW_PORT_TYPE_QSA || in from_fw_port_mod_type() 1279 port_type == FW_PORT_TYPE_QSFP || in from_fw_port_mod_type() [all …]
|
| D | t4vf_hw.c | 503 enum fw_port_type port_type; in t4vf_port_init() local 568 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4vf_port_init() 578 port_type = FW_PORT_CMD_PORTTYPE32_G(lstatus32); in t4vf_port_init() 586 pi->port_type = port_type; in t4vf_port_init() 1920 enum fw_port_type port_type; in t4vf_handle_get_port_info() local 1932 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4vf_handle_get_port_info() 1969 port_type = FW_PORT_CMD_PORTTYPE32_G(lstatus32); in t4vf_handle_get_port_info() 2008 pi->port_type = port_type; in t4vf_handle_get_port_info()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
| D | main.c | 175 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() 589 dev->caps.port_type[i] = MLX4_PORT_TYPE_NONE; in mlx4_dev_cap() 593 dev->caps.port_type[i] = MLX4_PORT_TYPE_ETH; in mlx4_dev_cap() 597 dev->caps.port_type[i] = MLX4_PORT_TYPE_IB; in mlx4_dev_cap() 603 dev->caps.port_type[i] = dev->caps.suggested_type[i] ? in mlx4_dev_cap() 606 dev->caps.port_type[i] = port_type_array[i - 1]; in mlx4_dev_cap() [all …]
|
| /Linux-v5.4/drivers/infiniband/hw/hfi1/ |
| D | platform.c | 111 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-v5.4/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| D | nfp_nsp_eth.c | 207 entry->port_type = PORT_NONE; in nfp_eth_calc_port_type() 210 entry->port_type = PORT_TP; in nfp_eth_calc_port_type() 215 entry->port_type = PORT_FIBRE; in nfp_eth_calc_port_type() 217 entry->port_type = PORT_DA; in nfp_eth_calc_port_type()
|
| /Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/ |
| D | dss.c | 932 enum omap_display_type port_type; in dss_init_ports() local 942 port_type = dss.feat->ports[reg]; in dss_init_ports() 944 switch (port_type) { in dss_init_ports() 979 enum omap_display_type port_type; in dss_uninit_ports() local 990 port_type = dss.feat->ports[reg]; in dss_uninit_ports() 992 switch (port_type) { in dss_uninit_ports()
|
| /Linux-v5.4/drivers/scsi/pm8001/ |
| D | pm8001_defs.h | 72 enum port_type { enum
|
| /Linux-v5.4/drivers/tty/ |
| D | nozomi.c | 181 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-v5.4/drivers/hwtracing/intel_th/ |
| D | gth.c | 36 unsigned int port_type; member 660 if (gth->output[i].port_type != othdev->output.type) in intel_th_gth_assign() 781 gth->output[i].port_type = in intel_th_gth_probe() 783 if (gth->output[i].port_type == GTH_NONE) in intel_th_gth_probe() 786 ret = intel_th_output_enable(th, gth->output[i].port_type); in intel_th_gth_probe()
|
| /Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/ |
| D | qlcnic_83xx_vnic.c | 69 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()
|
| D | qlcnic_ethtool.c | 298 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-v5.4/drivers/usb/typec/ |
| D | class.c | 48 enum typec_port_type port_type; member 1067 if (port->port_type != TYPEC_PORT_DRP) { in power_role_store() 1069 typec_port_power_roles[port->port_type]); in power_role_store() 1117 if (port->port_type == type) { in port_type_store() 1126 port->port_type = type; in port_type_store() 1142 typec_port_types_drp[port->port_type]); in port_type_show() 1146 static DEVICE_ATTR_RW(port_type); 1583 port->port_type = cap->type; in typec_register_port()
|
| /Linux-v5.4/include/drm/ |
| D | i915_mei_hdcp_interface.h | 60 u8 port_type; member
|
| /Linux-v5.4/drivers/power/supply/ |
| D | bq24257_charger.c | 534 int port_type; in bq24257_iilimit_autoset() local 567 port_type = ret; in bq24257_iilimit_autoset() 569 ret = bq24257_field_write(bq, F_IILIMIT, new_iilimit[port_type]); in bq24257_iilimit_autoset() 582 port_type, loop_status, new_iilimit[port_type]); in bq24257_iilimit_autoset()
|
| /Linux-v5.4/drivers/tty/serial/ |
| D | pch_uart.c | 211 int port_type; member 255 int port_type; member 1471 port->type = priv->port_type; in pch_uart_config_port() 1740 int port_type; in pch_uart_init_port() local 1747 port_type = board->port_type; in pch_uart_init_port() 1757 switch (port_type) { in pch_uart_init_port() 1765 dev_err(&pdev->dev, "Invalid Port Type(=%d)\n", port_type); in pch_uart_init_port() 1785 priv->port_type = port_type; in pch_uart_init_port()
|