/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/ |
D | prestera_ethtool.c | 26 u8 port_type; member 33 .port_type = PRESTERA_PORT_TYPE_TP, 40 .port_type = PRESTERA_PORT_TYPE_TP, 47 .port_type = PRESTERA_PORT_TYPE_TP, 54 .port_type = PRESTERA_PORT_TYPE_TP, 61 .port_type = PRESTERA_PORT_TYPE_TP, 68 .port_type = PRESTERA_PORT_TYPE_TP, 75 .port_type = PRESTERA_PORT_TYPE_FIBRE, 82 .port_type = PRESTERA_PORT_TYPE_TP, 95 .port_type = PRESTERA_PORT_TYPE_TP, [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/ |
D | fman_port.c | 455 enum fman_port_type port_type; member 639 if (port->port_type == FMAN_PORT_TYPE_RX) { in init_qmi() 646 if (port->port_type == FMAN_PORT_TYPE_TX) { in init_qmi() 746 switch (port->port_type) { in init() 778 switch (port->port_type) { in set_bpools() 855 if (port->port_type == FMAN_PORT_TYPE_TX) { in verify_size_of_fifo() 877 else if (port->port_type == FMAN_PORT_TYPE_RX) { in verify_size_of_fifo() 996 switch (port->port_type) { in init_low_level_driver() 1019 if (port->port_type == FMAN_PORT_TYPE_TX) { in init_low_level_driver() 1248 BMI_DEQUEUE_PIPELINE_DEPTH(port->port_type, port->port_speed); in set_dflt_cfg() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/vc04_services/vchiq-mmal/ |
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
|
/kernel/linux/linux-5.10/drivers/misc/mei/hdcp/ |
D | mei_hdcp.c | 59 session_init_in.port.integrated_port_type = data->port_type; in mei_hdcp_initiate_session() 129 verify_rxcert_in.port.integrated_port_type = data->port_type; in mei_hdcp_verify_receiver_cert_prepare_km() 200 send_hprime_in.port.integrated_port_type = data->port_type; in mei_hdcp_verify_hprime() 258 pairing_info_in.port.integrated_port_type = data->port_type; in mei_hdcp_store_pairing_info() 317 lc_init_in.port.integrated_port_type = data->port_type; in mei_hdcp_initiate_locality_check() 373 verify_lprime_in.port.integrated_port_type = data->port_type; in mei_hdcp_verify_lprime() 431 get_skey_in.port.integrated_port_type = data->port_type; in mei_hdcp_get_session_key() 496 verify_repeater_in.port.integrated_port_type = data->port_type; in mei_hdcp_repeater_check_flow_prepare_ack() 575 verify_mprime_in->port.integrated_port_type = data->port_type; in mei_hdcp_verify_mprime() 637 enable_auth_in.port.integrated_port_type = data->port_type; in mei_hdcp_enable_authentication() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/typec/ |
D | stusb160x.c | 159 enum typec_port_type port_type; member 481 if (chip->port_type == TYPEC_PORT_SRC) in stusb160x_chip_init() 486 else if (chip->port_type == TYPEC_PORT_SNK) in stusb160x_chip_init() 499 if (chip->port_type == TYPEC_PORT_SNK) in stusb160x_chip_init() 550 chip->port_type = ret; in stusb160x_get_fw_caps() 552 chip->capability.type = chip->port_type; in stusb160x_get_fw_caps() 555 if (chip->port_type == TYPEC_PORT_SNK) in stusb160x_get_fw_caps() 558 if (chip->port_type == TYPEC_PORT_DRP) in stusb160x_get_fw_caps() 622 chip->port_type = *type; in stusb160x_get_caps() 762 if (chip->port_type != TYPEC_PORT_SNK && chip->vdd_supply) { in stusb160x_probe()
|
D | class.c | 48 enum typec_port_type port_type; member 1073 if (port->port_type != TYPEC_PORT_DRP) { in power_role_store() 1075 typec_port_power_roles[port->port_type]); in power_role_store() 1124 if (port->port_type == type) { in port_type_store() 1133 port->port_type = type; in port_type_store() 1149 typec_port_types_drp[port->port_type]); in port_type_show() 1153 static DEVICE_ATTR_RW(port_type); 1691 port->port_type = cap->type; in typec_register_port()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
D | 8250_of.c | 200 unsigned int port_type; in of_platform_serial_probe() local 204 port_type = (unsigned long)of_device_get_match_data(&ofdev->dev); in of_platform_serial_probe() 205 if (port_type == PORT_UNKNOWN) in of_platform_serial_probe() 216 ret = of_platform_serial_setup(ofdev, port_type, &port8250, info); in of_platform_serial_probe() 241 info->type = port_type; in of_platform_serial_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ethtool.c | 426 static int from_fw_port_mod_type(enum fw_port_type port_type, in from_fw_port_mod_type() argument 429 if (port_type == FW_PORT_TYPE_BT_SGMII || in from_fw_port_mod_type() 430 port_type == FW_PORT_TYPE_BT_XFI || in from_fw_port_mod_type() 431 port_type == FW_PORT_TYPE_BT_XAUI) { in from_fw_port_mod_type() 433 } else if (port_type == FW_PORT_TYPE_FIBER_XFI || in from_fw_port_mod_type() 434 port_type == FW_PORT_TYPE_FIBER_XAUI) { in from_fw_port_mod_type() 436 } else if (port_type == FW_PORT_TYPE_SFP || in from_fw_port_mod_type() 437 port_type == FW_PORT_TYPE_QSFP_10G || in from_fw_port_mod_type() 438 port_type == FW_PORT_TYPE_QSA || in from_fw_port_mod_type() 439 port_type == FW_PORT_TYPE_QSFP || in from_fw_port_mod_type() [all …]
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | jmicron.c | 20 } port_type; typedef 37 port_type port_map[2]; in jmicron_cable_detect()
|
/kernel/linux/linux-5.10/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() 1223 enum cygnus_audio_port_type port_type; in parse_ssp_child_node() local 1234 port_type = PORT_TDM; in parse_ssp_child_node() 1238 port_type = PORT_TDM; in parse_ssp_child_node() 1242 port_type = PORT_TDM; in parse_ssp_child_node() 1245 port_type = PORT_SPDIF; in parse_ssp_child_node() [all …]
|
/kernel/linux/linux-5.10/drivers/ata/ |
D | pata_jmicron.c | 28 } port_type; typedef 50 port_type port_map[2]; in jmicron_pre_reset()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | cxgb4vf_main.c | 1264 static int from_fw_port_mod_type(enum fw_port_type port_type, in from_fw_port_mod_type() argument 1267 if (port_type == FW_PORT_TYPE_BT_SGMII || in from_fw_port_mod_type() 1268 port_type == FW_PORT_TYPE_BT_XFI || in from_fw_port_mod_type() 1269 port_type == FW_PORT_TYPE_BT_XAUI) { in from_fw_port_mod_type() 1271 } else if (port_type == FW_PORT_TYPE_FIBER_XFI || in from_fw_port_mod_type() 1272 port_type == FW_PORT_TYPE_FIBER_XAUI) { in from_fw_port_mod_type() 1274 } else if (port_type == FW_PORT_TYPE_SFP || in from_fw_port_mod_type() 1275 port_type == FW_PORT_TYPE_QSFP_10G || in from_fw_port_mod_type() 1276 port_type == FW_PORT_TYPE_QSA || in from_fw_port_mod_type() 1277 port_type == FW_PORT_TYPE_QSFP || in from_fw_port_mod_type() [all …]
|
D | t4vf_hw.c | 501 enum fw_port_type port_type; in t4vf_port_init() local 566 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4vf_port_init() 576 port_type = FW_PORT_CMD_PORTTYPE32_G(lstatus32); in t4vf_port_init() 584 pi->port_type = port_type; in t4vf_port_init() 1921 enum fw_port_type port_type; in t4vf_handle_get_port_info() local 1931 port_type = FW_PORT_CMD_PTYPE_G(lstatus); in t4vf_handle_get_port_info() 1968 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()
|
/kernel/linux/linux-5.10/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() 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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dss.c | 935 enum omap_display_type port_type; in dss_init_ports() local 945 port_type = dss.feat->ports[reg]; in dss_init_ports() 947 switch (port_type) { in dss_init_ports() 982 enum omap_display_type port_type; in dss_uninit_ports() local 993 port_type = dss.feat->ports[reg]; in dss_uninit_ports() 995 switch (port_type) { in dss_uninit_ports()
|
/kernel/linux/linux-5.10/drivers/scsi/pm8001/ |
D | pm8001_defs.h | 72 enum port_type { enum
|
/kernel/linux/linux-5.10/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() 886 enum port_type port = PORT_MDM; in receive_flow_control() 977 static enum ctrl_port_type port2ctrl(enum port_type port, in port2ctrl() 1029 static int handle_data_dl(struct nozomi *dc, enum port_type port, u8 *toggle, in handle_data_dl() [all …]
|
/kernel/linux/linux-5.10/drivers/hwtracing/intel_th/ |
D | gth.c | 36 unsigned int port_type; member 675 if (gth->output[i].port_type != othdev->output.type) in intel_th_gth_assign() 796 gth->output[i].port_type = in intel_th_gth_probe() 798 if (gth->output[i].port_type == GTH_NONE) in intel_th_gth_probe() 801 ret = intel_th_output_enable(th, gth->output[i].port_type); in intel_th_gth_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_83xx_vnic.c | 68 if (ahw->port_type == QLCNIC_XGBE) { in qlcnic_83xx_config_vnic_buff_descriptors() 74 } else if (ahw->port_type == QLCNIC_GBE) { in qlcnic_83xx_config_vnic_buff_descriptors()
|
D | qlcnic_ethtool.c | 297 if (adapter->ahw->port_type == QLCNIC_GBE) { in qlcnic_82xx_get_link_ksettings() 314 } else if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_82xx_get_link_ksettings() 387 if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_82xx_get_link_ksettings() 492 if (adapter->ahw->port_type != QLCNIC_GBE) in qlcnic_set_link_ksettings() 796 if (adapter->ahw->port_type == QLCNIC_GBE) { in qlcnic_get_pauseparam() 822 } else if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_get_pauseparam() 835 adapter->ahw->port_type); in qlcnic_get_pauseparam() 852 if (adapter->ahw->port_type == QLCNIC_GBE) { in qlcnic_set_pauseparam() 900 } else if (adapter->ahw->port_type == QLCNIC_XGBE) { in qlcnic_set_pauseparam() 924 adapter->ahw->port_type); in qlcnic_set_pauseparam()
|
/kernel/linux/linux-5.10/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()
|