/linux/drivers/net/ethernet/marvell/prestera/ |
H A 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 [all...] |
/linux/drivers/net/wwan/t7xx/ |
H A D | t7xx_port_wwan.c | 137 if (port_conf->port_type != WWAN_PORT_FASTBOOT) in t7xx_port_wwan_tx() 161 port->wwan.wwan_port = wwan_create_port(port->dev, port_conf->port_type, in t7xx_port_wwan_create() 172 if (port_conf->port_type == WWAN_PORT_FASTBOOT || in t7xx_port_wwan_init() 173 port_conf->port_type == WWAN_PORT_ADB || in t7xx_port_wwan_init() 174 port_conf->port_type == WWAN_PORT_MIPC) in t7xx_port_wwan_init() 229 if (port_conf->port_type == WWAN_PORT_FASTBOOT || in t7xx_port_wwan_md_state_notify() 230 port_conf->port_type == WWAN_PORT_ADB || in t7xx_port_wwan_md_state_notify() 231 port_conf->port_type == WWAN_PORT_MIPC) in t7xx_port_wwan_md_state_notify()
|
/linux/drivers/cxl/core/ |
H A D | ras.c | 75 int port_type; in cxl_cper_handle_prot_err() local 80 port_type = pci_pcie_type(pdev); in cxl_cper_handle_prot_err() 81 if (port_type == PCI_EXP_TYPE_ROOT_PORT || in cxl_cper_handle_prot_err() 82 port_type == PCI_EXP_TYPE_DOWNSTREAM || in cxl_cper_handle_prot_err() 83 port_type == PCI_EXP_TYPE_UPSTREAM) { in cxl_cper_handle_prot_err()
|
/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_port.c | 52 enum wwan_port_type port_type = ipc_port_cfg.wwan_port_type; in ipc_port_init() local 61 ipc_port->port_type = port_type; in ipc_port_init() 65 ipc_port->iosm_port = wwan_create_port(ipc_port->dev, port_type, in ipc_port_init()
|
H A D | iosm_ipc_port.h | 19 * @port_type: WWAN port type 28 enum wwan_port_type port_type; member
|
/linux/drivers/staging/vc04_services/vchiq-mmal/ |
H A 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/drivers/soc/hisilicon/ |
H A D | kunpeng_hccs.c | 631 port->port_type = attrs[i].port_type; in hccs_get_all_port_info_on_die() 723 set_bit(port->port_type, hccs_ver); in hccs_calc_used_type_num() 917 return sysfs_emit(buf, "%s%u\n", HCCS_IP_PREFIX, port->port_type); in type_show() 1222 u8 *port_type) in hccs_parse_pm_port_type() argument 1239 *port_type = type; in hccs_parse_pm_port_type() 1274 static int hccs_get_all_spec_port_idle_sta(struct hccs_dev *hdev, u8 port_type, in hccs_get_all_spec_port_idle_sta() argument 1291 if (port->port_type != port_type) in hccs_get_all_spec_port_idle_sta() 1314 u8 port_type, boo in hccs_get_all_spec_port_full_lane_sta() argument 1435 u8 *port_type; hccs_start_dec_lane() local 1454 u8 port_type; dec_lane_of_type_store() local 1486 u8 port_type; inc_lane_of_type_store() local [all...] |
H A D | kunpeng_hccs.h | 34 u8 port_type; member 134 u8 port_type; member 160 u8 port_type; member
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_hdcp_gsc_message.c | 42 session_init_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_initiate_session() 101 verify_rxcert_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_verify_receiver_cert_prepare_km() 165 send_hprime_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_verify_hprime() 216 pairing_info_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_store_pairing_info() 268 lc_init_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_initiate_locality_check() 317 verify_lprime_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_verify_lprime() 369 get_skey_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_get_session_key() 424 verify_repeater_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_repeater_check_flow_prepare_ack() 495 verify_mprime_in->port.integrated_port_type = data->port_type; in intel_hdcp_gsc_verify_mprime() 550 enable_auth_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_enable_authentication() [all...] |
/linux/drivers/usb/typec/ |
H A 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() 491 else /* (chip->port_type == TYPEC_PORT_DRP) */ 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 in stusb160x_get_caps() [all...] |
H A D | wusb3801.c | 94 enum typec_port_type port_type; member 101 switch (wusb3801->port_type) { in wusb3801_get_default_role() 202 wusb3801->port_type = type; in wusb3801_port_type_set() 217 wusb3801_map_port_type(wusb3801->port_type)); in wusb3801_hw_init() 353 wusb3801->port_type = wusb3801->cap.type; in wusb3801_probe()
|
/linux/drivers/tty/serial/8250/ |
H A D | 8250_exar.c | 773 enum cti_port_type port_type; in cti_get_port_type_xr17v35x() local 780 port_type = FIELD_GET(CTI_EE_MASK_PORT_FLAGS_TYPE, port_flags); in cti_get_port_type_xr17v35x() 781 if (CTI_PORT_TYPE_VALID(port_type)) in cti_get_port_type_xr17v35x() 782 return port_type; in cti_get_port_type_xr17v35x() 874 enum cti_port_type port_type; in cti_port_setup_fpga() local 884 port_type = cti_get_port_type_fpga(priv, pcidev, idx); in cti_port_setup_fpga() 894 if (CTI_PORT_TYPE_RS485(port_type)) { in cti_port_setup_fpga() 913 enum cti_port_type port_type; in cti_port_setup_xr17v35x() local 920 port_type = cti_get_port_type_xr17v35x(priv, pcidev, idx); in cti_port_setup_xr17v35x() 929 switch (port_type) { in cti_port_setup_xr17v35x() 978 enum cti_port_type port_type; cti_port_setup_xr17v25x() local 1056 enum cti_port_type port_type; cti_port_setup_xr17c15x() local [all...] |
H A D | 8250_of.c | 205 unsigned int port_type; in of_platform_serial_probe() local 213 port_type = (unsigned long)of_device_get_match_data(&ofdev->dev); in of_platform_serial_probe() 214 if (port_type == PORT_UNKNOWN) in of_platform_serial_probe() 225 ret = of_platform_serial_setup(ofdev, port_type, &port8250, info); in of_platform_serial_probe() 250 info->type = port_type; in of_platform_serial_probe()
|
/linux/drivers/net/ethernet/qlogic/netxen/ |
H A 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() 406 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_ringparam() 450 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_set_ringparam() 485 if (adapter->ahw.port_type == NETXEN_NIC_GBE) { in netxen_nic_get_pauseparam() 507 } else if (adapter->ahw.port_type == NETXEN_NIC_XGBE) { in netxen_nic_get_pauseparam() 518 netxen_nic_driver_name, adapter->ahw.port_type); in netxen_nic_get_pauseparam() 535 if (adapter->ahw.port_type in netxen_nic_set_pauseparam() [all...] |
/linux/sound/soc/bcm/ |
H A D | cygnus-ssp.c | 249 switch (aio->port_type) { in audio_ssp_init_portregs() 379 switch (aio->port_type) { in audio_ssp_out_enable() 423 switch (aio->port_type) { in audio_ssp_out_disable() 574 switch (aio->port_type) { in cygnus_ssp_set_clocks() 836 if (aio->port_type == PORT_SPDIF) in cygnus_ssp_set_fmt() 1214 enum cygnus_audio_port_type port_type; in parse_ssp_child_node() local 1225 port_type = PORT_TDM; in parse_ssp_child_node() 1229 port_type = PORT_TDM; in parse_ssp_child_node() 1233 port_type = PORT_TDM; in parse_ssp_child_node() 1236 port_type in parse_ssp_child_node() [all...] |
/linux/drivers/ata/ |
H A D | pata_jmicron.c | 28 } port_type; typedef 50 port_type port_map[2]; in jmicron_pre_reset()
|
/linux/drivers/hid/intel-thc-hid/intel-thc/ |
H A D | intel-thc-dev.h | 57 * @port_type: Port type of THC port instance 77 enum thc_port_type port_type; member 117 int thc_port_select(struct thc_device *dev, enum thc_port_type port_type);
|
H A D | intel-thc-dev.c | 345 opcode = (dev->port_type == THC_PORT_TYPE_SPI) ? in thc_tic_pio_read() 391 opcode = (dev->port_type == THC_PORT_TYPE_SPI) ? in thc_tic_pio_write() 432 if (dev->port_type == THC_PORT_TYPE_SPI) { in thc_tic_pio_write_and_read() 544 if (dev->port_type == THC_PORT_TYPE_SPI) { in thc_interrupt_config() 568 if (dev->port_type == THC_PORT_TYPE_SPI) { in thc_interrupt_config() 1069 * @port_type: THC port type to use for current device 1073 int thc_port_select(struct thc_device *dev, enum thc_port_type port_type) in thc_port_select() argument 1077 if (port_type == THC_PORT_TYPE_SPI) { in thc_port_select() 1079 dev->port_type = THC_PORT_TYPE_SPI; in thc_port_select() 1089 } else if (port_type in thc_port_select() [all...] |
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | main.c | 305 enum mlx4_port_type *port_type) in mlx4_check_port_params() argument 311 if (port_type[i] != port_type[i + 1]) { in mlx4_check_port_params() 319 if (!(port_type[i] & dev->caps.supported_type[i+1])) { in mlx4_check_port_params() 333 dev->caps.port_mask[i] = dev->caps.port_type[i]; in mlx4_set_port_mask() 587 dev->caps.port_type[i] = MLX4_PORT_TYPE_NONE; in mlx4_dev_cap() 591 dev->caps.port_type[i] = MLX4_PORT_TYPE_ETH; in mlx4_dev_cap() 595 dev->caps.port_type[i] = MLX4_PORT_TYPE_IB; in mlx4_dev_cap() 601 dev->caps.port_type[i] = dev->caps.suggested_type[i] ? in mlx4_dev_cap() 604 dev->caps.port_type[ in mlx4_dev_cap() 1153 __set_port_type(struct mlx4_port_info * info,enum mlx4_port_type port_type) __set_port_type() argument 1225 enum mlx4_port_type port_type; set_port_type() local 3046 mlx4_devlink_port_type_set(struct devlink_port * devlink_port,enum devlink_port_type port_type) mlx4_devlink_port_type_set() argument [all...] |
/linux/drivers/infiniband/hw/hfi1/ |
H A D | platform.c | 69 ppd->port_type = temp_dest >> in save_platform_config_fields() 172 ppd->port_type = PORT_TYPE_UNKNOWN; in get_port_type() 175 ppd->port_type = temp; in get_port_type() 624 if (ppd->port_type != PORT_TYPE_QSFP) in aoc_low_power_setting() 686 if (ppd->port_type == PORT_TYPE_QSFP && limiting_active) in apply_tunings() 926 switch (ppd->port_type) { in tune_serdes() 1016 ppd->port_type = PORT_TYPE_UNKNOWN; in tune_serdes()
|
/linux/drivers/net/netdevsim/ |
H A D | netdevsim.h | 276 enum nsim_dev_port_type port_type; member 385 return nsim_dev_port->port_type == NSIM_DEV_PORT_TYPE_PF; in nsim_dev_port_is_pf() 390 return nsim_dev_port->port_type == NSIM_DEV_PORT_TYPE_VF; in nsim_dev_port_is_vf()
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | dss.c | 931 enum omap_display_type port_type; in dss_init_ports() local 941 port_type = dss.feat->ports[reg]; in dss_init_ports() 943 switch (port_type) { in dss_init_ports() 976 enum omap_display_type port_type; in dss_uninit_ports() local 987 port_type = dss.feat->ports[reg]; in dss_uninit_ports() 989 switch (port_type) { in dss_uninit_ports()
|
/linux/drivers/scsi/pm8001/ |
H A D | pm8001_defs.h | 72 enum port_type { enum
|
/linux/drivers/tty/ |
H A D | nozomi.c | 161 enum port_type { enum 667 static void enable_transmit_ul(enum port_type port, struct nozomi *dc) in enable_transmit_ul() 680 static void disable_transmit_ul(enum port_type port, struct nozomi *dc) in disable_transmit_ul() 694 static void enable_transmit_dl(enum port_type port, struct nozomi *dc) in enable_transmit_dl() 707 static void disable_transmit_dl(enum port_type port, struct nozomi *dc) in disable_transmit_dl() 724 static int send_data(enum port_type index, struct nozomi *dc) in send_data() 751 static int receive_data(enum port_type index, struct nozomi *dc) in receive_data() 853 enum port_type port = PORT_MDM; in receive_flow_control() 944 static enum ctrl_port_type port2ctrl(enum port_type port, in port2ctrl() 996 static int handle_data_dl(struct nozomi *dc, enum port_type por [all...] |
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_nsp_eth.c | 230 entry->port_type = PORT_NONE; in nfp_eth_calc_port_type() 233 entry->port_type = PORT_TP; in nfp_eth_calc_port_type() 238 entry->port_type = PORT_FIBRE; in nfp_eth_calc_port_type() 240 entry->port_type = PORT_DA; in nfp_eth_calc_port_type()
|