Home
last modified time | relevance | path

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

1234567

/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/sound/usb/
H A Dmixer_scarlett_gen2.c440 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/fman/
H A Dfman_port.c455 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 …]
/OK3568_Linux_fs/kernel/drivers/staging/vc04_services/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
/OK3568_Linux_fs/kernel/drivers/misc/mei/hdcp/
H A Dmei_hdcp.c59 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 …]
/OK3568_Linux_fs/kernel/drivers/usb/typec/
H A Dstusb160x.c159 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_ethtool.c91 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 …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/drivers/tty/serial/8250/
H A D8250_of.c200 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()
/OK3568_Linux_fs/kernel/sound/soc/bcm/
H A 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()
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 …]
/OK3568_Linux_fs/kernel/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 …]
H A Dt4vf_hw.c501 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/ide/
H A Djmicron.c20 } port_type; typedef
37 port_type port_map[2]; in jmicron_cable_detect()
/OK3568_Linux_fs/kernel/drivers/ata/
H A Dpata_jmicron.c28 } port_type; typedef
50 port_type port_map[2]; in jmicron_pre_reset()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp_eth.c207 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()
/OK3568_Linux_fs/u-boot/drivers/power/power_delivery/
H A Dtcpm.c307 enum typec_port_type port_type; member
497 (port)->port_type == TYPEC_PORT_DRP)
501 (port)->port_type == TYPEC_PORT_DRP)
513 if (port->port_type == TYPEC_PORT_DRP) { in tcpm_default_state()
519 } else if (port->port_type == TYPEC_PORT_SNK) { in tcpm_default_state()
1272 if (port->port_type != TYPEC_PORT_DRP) { in tcpm_pd_ctrl_request()
1976 ret = port->tcpc->start_toggling(port->tcpc, port->port_type, cc); in tcpm_start_toggling()
2190 if (port->port_type == TYPEC_PORT_DRP) { in unattached_state()
2195 } else if (port->port_type == TYPEC_PORT_SRC) { in unattached_state()
2204 if (port->port_type == TYPEC_PORT_DRP) in tcpm_is_toggling()
[all …]
/OK3568_Linux_fs/kernel/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddss.c935 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()
/OK3568_Linux_fs/kernel/drivers/tty/
H A 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()
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 …]
/OK3568_Linux_fs/kernel/drivers/hwtracing/intel_th/
H A Dgth.c36 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()
/OK3568_Linux_fs/kernel/drivers/tty/serial/
H A Dpch_uart.c208 int port_type; member
253 int port_type; member
1454 port->type = priv->port_type; in pch_uart_config_port()
1723 int port_type; in pch_uart_init_port() local
1730 port_type = board->port_type; in pch_uart_init_port()
1740 switch (port_type) { in pch_uart_init_port()
1748 dev_err(&pdev->dev, "Invalid Port Type(=%d)\n", port_type); in pch_uart_init_port()
1768 priv->port_type = port_type; in pch_uart_init_port()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_ethtool.c297 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()
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dbq24257_charger.c534 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ae_adapt.c128 ae_handle->port_type = vf_cb->mac_cb->mac_type; in hns_ae_get_handle()
486 if (handle->port_type == HNAE_PORT_SERVICE) in hns_ae_get_pauseparam()
528 if (handle->port_type == HNAE_PORT_SERVICE) { in hns_ae_set_pauseparam()
558 handle->port_type == HNAE_PORT_DEBUG) in hns_ae_get_max_coalesced_frames()
587 handle->port_type == HNAE_PORT_DEBUG) { in hns_ae_set_coalesce_frames()
624 handle->port_type == HNAE_PORT_DEBUG) in hns_ae_get_coalesce_range()

1234567