Home
last modified time | relevance | path

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

123456

/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/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/soc/hisilicon/
H A Dkunpeng_hccs.c630 port->port_type = attrs[i].port_type; in hccs_get_all_port_info_on_die()
722 set_bit(port->port_type, hccs_ver); in hccs_calc_used_type_num()
916 return sysfs_emit(buf, "%s%u\n", HCCS_IP_PREFIX, port->port_type); in type_show()
1221 u8 *port_type) in hccs_parse_pm_port_type() argument
1238 *port_type = type; in hccs_parse_pm_port_type()
1273 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
1290 if (port->port_type != port_type) in hccs_get_all_spec_port_idle_sta()
1313 u8 port_type, bool *full_lane) in hccs_get_all_spec_port_full_lane_sta() argument
1329 if (port->port_type != port_type) in hccs_get_all_spec_port_full_lane_sta()
1353 req_param->port_type = type; in hccs_prepare_inc_lane()
[all …]
H A Dkunpeng_hccs.h34 u8 port_type; member
134 u8 port_type; member
160 u8 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/gpu/drm/i915/display/
H A Dintel_hdcp_gsc_message.c42 session_init_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_initiate_session()
100 verify_rxcert_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_verify_receiver_cert_prepare_km()
163 send_hprime_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_verify_hprime()
213 pairing_info_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_store_pairing_info()
264 lc_init_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_initiate_locality_check()
314 verify_lprime_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_verify_lprime()
365 get_skey_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_get_session_key()
421 verify_repeater_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_repeater_check_flow_prepare_ack()
491 verify_mprime_in->port.integrated_port_type = data->port_type; in intel_hdcp_gsc_verify_mprime()
546 enable_auth_in.port.integrated_port_type = data->port_type; in intel_hdcp_gsc_enable_authentication()
[all …]
/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/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/net/ethernet/mellanox/mlx4/
H A Dmain.c307 enum mlx4_port_type *port_type) in mlx4_check_port_params() argument
313 if (port_type[i] != port_type[i + 1]) { in mlx4_check_port_params()
321 if (!(port_type[i] & dev->caps.supported_type[i+1])) { in mlx4_check_port_params()
335 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()
630 dev->caps.port_type[i] = sensed_port; in mlx4_dev_cap()
[all …]
/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/net/netdevsim/
H A Dnetdevsim.h287 enum nsim_dev_port_type port_type; member
398 return nsim_dev_port->port_type == NSIM_DEV_PORT_TYPE_PF; in nsim_dev_port_is_pf()
403 return nsim_dev_port->port_type == NSIM_DEV_PORT_TYPE_VF; in nsim_dev_port_is_vf()
/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/sound/usb/
H A Dmixer_scarlett2.c1085 u8 port_type; member
2273 int direction, int port_type) in scarlett2_get_port_start_num() argument
2277 for (i = 0; i < port_type; i++) in scarlett2_get_port_start_num()
2909 int port_type; in scarlett2_mux_src_num_to_id() local
2911 for (port_type = 0; in scarlett2_mux_src_num_to_id()
2912 port_type < SCARLETT2_PORT_TYPE_COUNT; in scarlett2_mux_src_num_to_id()
2913 port_type++) { in scarlett2_mux_src_num_to_id()
2914 if (num < port_count[port_type][SCARLETT2_PORT_IN]) in scarlett2_mux_src_num_to_id()
2915 return scarlett2_ports[port_type].id | num; in scarlett2_mux_src_num_to_id()
2916 num -= port_count[port_type][SCARLETT2_PORT_IN]; in scarlett2_mux_src_num_to_id()
[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()

123456