Home
last modified time | relevance | path

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

123456

/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_ethtool.c26 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 …]
/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_port.c429 enum fman_port_type port_type; member
613 if (port->port_type == FMAN_PORT_TYPE_RX) { in init_qmi()
620 if (port->port_type == FMAN_PORT_TYPE_TX) { in init_qmi()
720 switch (port->port_type) { in init()
752 switch (port->port_type) { in set_bpools()
829 if (port->port_type == FMAN_PORT_TYPE_TX) { in verify_size_of_fifo()
851 else if (port->port_type == FMAN_PORT_TYPE_RX) { in verify_size_of_fifo()
970 switch (port->port_type) { in init_low_level_driver()
993 if (port->port_type == FMAN_PORT_TYPE_TX) { in init_low_level_driver()
1222 BMI_DEQUEUE_PIPELINE_DEPTH(port->port_type, port->port_speed); in set_dflt_cfg()
[all …]
/linux/drivers/cxl/core/
H A Dras.c75 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 Diosm_ipc_port.c52 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 Diosm_ipc_port.h28 enum wwan_port_type port_type; member
/linux/drivers/platform/raspberrypi/vchiq-mmal/
H A Dmmal-msg.h151 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/misc/mei/hdcp/
H A Dmei_hdcp.c60 session_init_in.port.integrated_port_type = data->port_type; in mei_hdcp_initiate_session()
130 verify_rxcert_in.port.integrated_port_type = data->port_type; in mei_hdcp_verify_receiver_cert_prepare_km()
201 send_hprime_in.port.integrated_port_type = data->port_type; in mei_hdcp_verify_hprime()
259 pairing_info_in.port.integrated_port_type = data->port_type; in mei_hdcp_store_pairing_info()
318 lc_init_in.port.integrated_port_type = data->port_type; in mei_hdcp_initiate_locality_check()
374 verify_lprime_in.port.integrated_port_type = data->port_type; in mei_hdcp_verify_lprime()
432 get_skey_in.port.integrated_port_type = data->port_type; in mei_hdcp_get_session_key()
497 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 …]
/linux/drivers/tty/serial/8250/
H A D8250_exar.c775 enum cti_port_type port_type; in cti_get_port_type_xr17v35x() local
782 port_type = FIELD_GET(CTI_EE_MASK_PORT_FLAGS_TYPE, port_flags); in cti_get_port_type_xr17v35x()
783 if (CTI_PORT_TYPE_VALID(port_type)) in cti_get_port_type_xr17v35x()
784 return port_type; in cti_get_port_type_xr17v35x()
876 enum cti_port_type port_type; in cti_port_setup_fpga() local
886 port_type = cti_get_port_type_fpga(priv, pcidev, idx); in cti_port_setup_fpga()
896 if (CTI_PORT_TYPE_RS485(port_type)) { in cti_port_setup_fpga()
915 enum cti_port_type port_type; in cti_port_setup_xr17v35x() local
922 port_type = cti_get_port_type_xr17v35x(priv, pcidev, idx); in cti_port_setup_xr17v35x()
931 switch (port_type) { in cti_port_setup_xr17v35x()
[all …]
H A D8250_of.c205 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/usb/typec/
H A Dwusb3801.c94 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/soc/hisilicon/
H A Dkunpeng_hccs.h34 u8 port_type; member
134 u8 port_type; member
160 u8 port_type; member
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c426 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 …]
/linux/sound/soc/bcm/
H A Dcygnus-ssp.c249 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 = PORT_SPDIF; in parse_ssp_child_node()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dcxgb4vf_main.c1264 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 …]
/linux/drivers/ata/
H A Dpata_jmicron.c28 } port_type; typedef
50 port_type port_map[2]; in jmicron_pre_reset()
/linux/drivers/hid/intel-thc-hid/intel-thc/
H A Dintel-thc-dev.c346 opcode = (dev->port_type == THC_PORT_TYPE_SPI) ? in thc_tic_pio_read()
392 opcode = (dev->port_type == THC_PORT_TYPE_SPI) ? in thc_tic_pio_write()
433 if (dev->port_type == THC_PORT_TYPE_SPI) { in thc_tic_pio_write_and_read()
545 if (dev->port_type == THC_PORT_TYPE_SPI) { in thc_interrupt_config()
569 if (dev->port_type == THC_PORT_TYPE_SPI) { in thc_interrupt_config()
1074 int thc_port_select(struct thc_device *dev, enum thc_port_type port_type) in thc_port_select() argument
1078 if (port_type == THC_PORT_TYPE_SPI) { in thc_port_select()
1080 dev->port_type = THC_PORT_TYPE_SPI; in thc_port_select()
1090 } else if (port_type == THC_PORT_TYPE_I2C) { in thc_port_select()
1092 dev->port_type = THC_PORT_TYPE_I2C; in thc_port_select()
[all …]
H A Dintel-thc-dev.h77 enum thc_port_type port_type; member
117 int thc_port_select(struct thc_device *dev, enum thc_port_type port_type);
/linux/drivers/infiniband/hw/hfi1/
H A Dplatform.c69 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/wwan/t7xx/
H A Dt7xx_port_proxy.c66 .port_type = WWAN_PORT_AT,
75 .port_type = WWAN_PORT_MBIM,
112 .port_type = WWAN_PORT_ADB,
122 .port_type = WWAN_PORT_MIPC,
138 .port_type = WWAN_PORT_FASTBOOT,
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddss.c931 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/tty/
H A Dnozomi.c161 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 port, u8 *toggle, in handle_data_dl()
[all …]
/linux/drivers/tty/serial/
H A Dpch_uart.c207 int port_type; member
248 int port_type; member
1392 port->type = priv->port_type; in pch_uart_config_port()
1647 int port_type; in pch_uart_init_port() local
1652 port_type = board->port_type; in pch_uart_init_port()
1662 switch (port_type) { in pch_uart_init_port()
1670 dev_err(&pdev->dev, "Invalid Port Type(=%d)\n", port_type); in pch_uart_init_port()
1688 priv->port_type = port_type; in pch_uart_init_port()
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp_eth.c230 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()
/linux/drivers/scsi/pm8001/
H A Dpm8001_defs.h72 enum port_type { enum
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_vnic.c68 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()

123456