| /OK3568_Linux_fs/kernel/samples/bpf/ |
| H A D | test_map_in_map_user.c | 18 #define PORT_A (map_fd[0]) macro 52 ret = bpf_map_update_elem(PORT_A, &port_key, &magic_result, BPF_ANY); in populate_map() 59 ret = bpf_map_update_elem(A_OF_PORT_A, &port_key, &PORT_A, BPF_ANY); in populate_map() 61 check_map_id(PORT_A, A_OF_PORT_A, port_key); in populate_map() 63 ret = bpf_map_update_elem(H_OF_PORT_A, &port_key, &PORT_A, BPF_NOEXIST); in populate_map() 65 check_map_id(PORT_A, H_OF_PORT_A, port_key); in populate_map()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gvt/ |
| H A D | display.c | 202 for (port = PORT_A; port <= PORT_C; port++) { in emulate_monitor_status_change() 262 if (intel_vgpu_has_monitor_on_port(vgpu, PORT_A)) { in emulate_monitor_status_change() 268 vgpu_vreg_t(vgpu, BXT_PHY_CTL(PORT_A)) |= in emulate_monitor_status_change() 270 vgpu_vreg_t(vgpu, BXT_PHY_CTL(PORT_A)) &= in emulate_monitor_status_change() 273 vgpu_vreg_t(vgpu, BXT_PORT_PLL_ENABLE(PORT_A)) |= in emulate_monitor_status_change() 277 vgpu_vreg_t(vgpu, DDI_BUF_CTL(PORT_A)) |= in emulate_monitor_status_change() 279 vgpu_vreg_t(vgpu, DDI_BUF_CTL(PORT_A)) &= in emulate_monitor_status_change() 482 if (intel_vgpu_has_monitor_on_port(vgpu, PORT_A)) { in emulate_monitor_status_change() 489 vgpu_vreg_t(vgpu, DDI_BUF_CTL(PORT_A)) |= DDI_INIT_DISPLAY_DETECTED; in emulate_monitor_status_change() 678 if (intel_vgpu_has_monitor_on_port(vgpu, PORT_A)) { in intel_vgpu_emulate_hotplug()
|
| H A D | mmio.c | 268 vgpu_vreg_t(vgpu, BXT_PHY_CTL(PORT_A)) &= in intel_vgpu_reset_mmio() 270 vgpu_vreg_t(vgpu, BXT_PHY_CTL(PORT_A)) |= in intel_vgpu_reset_mmio()
|
| H A D | handlers.c | 908 (((port) >= PORT_A) && ((port) < I915_MAX_PORTS)) 2482 MMIO_D(PORT_CLK_SEL(PORT_A), D_ALL); in init_generic_mmio_info() 2523 MMIO_DH(DDI_BUF_CTL(PORT_A), D_ALL, NULL, ddi_buf_ctl_mmio_write); in init_generic_mmio_info() 2529 MMIO_DH(DP_TP_CTL(PORT_A), D_ALL, NULL, dp_tp_ctl_mmio_write); in init_generic_mmio_info() 2535 MMIO_DH(DP_TP_STATUS(PORT_A), D_ALL, NULL, dp_tp_status_mmio_write); in init_generic_mmio_info() 3227 MMIO_D(BXT_PHY_CTL(PORT_A), D_BXT); in init_bxt_mmio_info() 3230 MMIO_DH(BXT_PORT_PLL_ENABLE(PORT_A), D_BXT, in init_bxt_mmio_info()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/ |
| H A D | vlv_dsi.c | 343 tmp = intel_de_read(dev_priv, MIPI_CTRL(PORT_A)); in glk_dsi_enable_io() 345 intel_de_write(dev_priv, MIPI_CTRL(PORT_A), tmp); in glk_dsi_enable_io() 388 val = intel_de_read(dev_priv, MIPI_CTRL(PORT_A)); in glk_dsi_device_ready() 389 intel_de_write(dev_priv, MIPI_CTRL(PORT_A), in glk_dsi_device_ready() 503 val = intel_de_read(dev_priv, MIPI_PORT_CTRL(PORT_A)); in vlv_dsi_device_ready() 504 intel_de_write(dev_priv, MIPI_PORT_CTRL(PORT_A), in vlv_dsi_device_ready() 569 tmp = intel_de_read(dev_priv, MIPI_CTRL(PORT_A)); in glk_dsi_disable_mipi_io() 571 intel_de_write(dev_priv, MIPI_CTRL(PORT_A), tmp); in glk_dsi_disable_mipi_io() 604 BXT_MIPI_PORT_CTRL(port) : MIPI_PORT_CTRL(PORT_A); in vlv_dsi_clear_device_ready() 623 if ((IS_GEN9_LP(dev_priv) || port == PORT_A) && in vlv_dsi_clear_device_ready() [all …]
|
| H A D | intel_ddi.c | 847 if (port == PORT_A || port == PORT_E) in skl_buf_trans_num_entries() 1900 if (HAS_TRANSCODER(dev_priv, TRANSCODER_EDP) && port == PORT_A) in intel_ddi_connector_get_hw_state() 1962 if (HAS_TRANSCODER(dev_priv, TRANSCODER_EDP) && port == PORT_A) { in intel_ddi_get_encoder_pipes() 2221 if (encoder->port == PORT_A && dig_port->max_lanes == 4) in skl_ddi_set_iboost() 3448 is_mst && (port == PORT_A || port == PORT_E)); in hsw_ddi_pre_enable_dp() 3450 drm_WARN_ON(&dev_priv->drm, is_mst && port == PORT_A); in hsw_ddi_pre_enable_dp() 3486 if ((port != PORT_A || INTEL_GEN(dev_priv) >= 9) && in hsw_ddi_pre_enable_dp() 3858 if (port == PORT_A && INTEL_GEN(dev_priv) < 9) in intel_enable_ddi_dp() 3877 [PORT_A] = TRANSCODER_EDP, in gen9_chicken_trans_reg_by_port() 3886 if (drm_WARN_ON(&dev_priv->drm, port < PORT_A || port > PORT_E)) in gen9_chicken_trans_reg_by_port() [all …]
|
| H A D | intel_bios.c | 977 dev_priv->vbt.dsi.bl_ports = BIT(PORT_A); in parse_dsi_backlight_ports() 984 dev_priv->vbt.dsi.bl_ports = BIT(PORT_A) | BIT(PORT_C); in parse_dsi_backlight_ports() 993 dev_priv->vbt.dsi.cabc_ports = BIT(PORT_A); in parse_dsi_backlight_ports() 1001 BIT(PORT_A) | BIT(PORT_C); in parse_dsi_backlight_ports() 1631 for (port = PORT_A; port < n_ports; port++) { in __dvo_port_to_port() 1652 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1 }, in dvo_port_to_port() 1669 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1 }, in dvo_port_to_port() 1716 if (port == PORT_A && is_dvi && INTEL_GEN(dev_priv) < 12) { in parse_ddi_port() 2000 info->supports_dvi = (port != PORT_A && port != PORT_E); in init_vbt_missing_defaults() 2003 info->supports_edp = (port == PORT_A); in init_vbt_missing_defaults() [all …]
|
| H A D | intel_dp.c | 273 if (port == PORT_A || port == PORT_D) in cnl_max_source_rate() 2506 if (INTEL_GEN(dev_priv) < 12 && port == PORT_A) in intel_dp_port_has_audio() 2715 if (HAS_PCH_SPLIT(dev_priv) && !HAS_DDI(dev_priv) && port != PORT_A) in intel_dp_compute_config() 2843 if (IS_IVYBRIDGE(dev_priv) && port == PORT_A) { in intel_dp_prepare() 2854 } else if (HAS_PCH_CPT(dev_priv) && port != PORT_A) { in intel_dp_prepare() 3580 if (IS_IVYBRIDGE(dev_priv) && port == PORT_A) in intel_dp_port_enabled() 3582 else if (HAS_PCH_CPT(dev_priv) && port != PORT_A) in intel_dp_port_enabled() 3629 pipe_config->has_audio = tmp & DP_AUDIO_OUTPUT_ENABLE && port != PORT_A; in intel_dp_get_config() 3631 if (HAS_PCH_CPT(dev_priv) && port != PORT_A) { in intel_dp_get_config() 3666 if (port == PORT_A) { in intel_dp_get_config() [all …]
|
| H A D | intel_display.h | 200 PORT_A = 0, enumerator 222 case PORT_A: in port_identifier() 349 for ((__port) = PORT_A; (__port) < I915_MAX_PORTS; (__port)++)
|
| H A D | icl_dsi.c | 71 if (port == PORT_A) in dsi_port_to_transcoder() 363 port == PORT_A ? in get_dsi_io_power_domains() 1333 port == PORT_A ? in gen11_dsi_disable_io_power() 1566 if (intel_dsi->ports == (BIT(PORT_B) | BIT(PORT_A))) in gen11_dsi_compute_config() 1921 intel_dsi->ports = BIT(PORT_A) | BIT(PORT_B); in icl_dsi_init()
|
| H A D | intel_combo_phy.c | 212 bool ddi_a_present = intel_bios_is_port_present(i915, PORT_A); in ehl_vbt_ddi_d_present()
|
| H A D | intel_dpio_phy.c | 177 [DPIO_CH0] = { .port = PORT_A }, 200 [DPIO_CH0] = { .port = PORT_A },
|
| H A D | intel_dvo.c | 412 return PORT_A; in intel_dvo_port()
|
| H A D | vlv_dsi_pll.c | 133 if (intel_dsi->ports & (1 << PORT_A)) in vlv_dsi_pll_compute()
|
| H A D | intel_audio.c | 707 if (drm_WARN_ON(&dev_priv->drm, port == PORT_A)) in ilk_audio_codec_disable() 758 if (drm_WARN_ON(&dev_priv->drm, port == PORT_A)) in ilk_audio_codec_enable()
|
| H A D | intel_hotplug.c | 89 return HPD_PORT_A + port - PORT_A; in intel_hpd_pin_default()
|
| H A D | intel_psr.c | 666 dig_port->base.port != PORT_A) in tgl_dc3co_exitline_compute_config() 828 if (dig_port->base.port != PORT_A) { in intel_psr_compute_config()
|
| H A D | intel_dsi_vbt.c | 142 return PORT_A; in intel_dsi_seq_port_to_port()
|
| H A D | intel_dp_mst.c | 933 if (INTEL_GEN(i915) < 12 && port == PORT_A) in intel_dp_mst_encoder_init()
|
| H A D | intel_display.c | 1229 intel_dp_port_enabled(dev_priv, DP_A, PORT_A, &panel_pipe); in assert_panel_unlocked() 7321 case PORT_A: in intel_port_to_power_domain() 9603 if (encoder->port == PORT_A) in ilk_init_pch_refclk() 10907 case PORT_A: in bxt_get_ddi_pll() 11084 for_each_port_masked(port, BIT(PORT_A) | BIT(PORT_C)) { in bxt_get_dsi_transcoder_state() 11085 if (port == PORT_A) in bxt_get_dsi_transcoder_state() 11137 PORT_A : PORT_B; in hsw_get_ddi_port_state() 16839 if (intel_de_read(dev_priv, DDI_BUF_CTL(PORT_A)) & DDI_A_4_LANES) in intel_ddi_crt_present() 16895 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs() 16900 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs() [all …]
|
| H A D | intel_hdcp.c | 273 case PORT_A: in intel_hdcp_get_repeater_ctl() 1928 case PORT_A: in intel_get_mei_fw_ddi_index()
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/tegra-video/ |
| H A D | csi.h | 25 PORT_A = 0, enumerator
|
| H A D | tegra210.c | 821 val = ((portno & 1) == PORT_A) ? in tegra210_csi_start_streaming() 914 val = ((portno & 1) == PORT_A) ? in tegra210_csi_stop_streaming()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/ |
| H A D | i915_irq.c | 144 [HPD_PORT_A] = SDE_DDI_HOTPLUG_ICP(PORT_A), 1068 return val & SHOTPLUG_CTL_DDI_HPD_LONG_DETECT(PORT_A); in icp_ddi_port_hotplug_long_detect() 3238 intel_bios_is_port_hpd_inverted(dev_priv, PORT_A)) in __bxt_hpd_detection_setup()
|
| H A D | i915_reg.h | 8228 SDE_DDI_HOTPLUG_ICP(PORT_A)) 8235 SDE_DDI_HOTPLUG_ICP(PORT_A)) 8430 SHOTPLUG_CTL_DDI_HPD_ENABLE(PORT_A)) 8437 SHOTPLUG_CTL_DDI_HPD_ENABLE(PORT_A)) 11047 #define _MIPI_PORT(port, a, c) (((port) == PORT_A) ? a : c) /* ports A and C only */
|