| /Linux-v5.10/samples/bpf/ |
| 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()
|
| /Linux-v5.10/drivers/gpu/drm/i915/display/ |
| 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 …]
|
| 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() 3433 is_mst && (port == PORT_A || port == PORT_E)); in hsw_ddi_pre_enable_dp() 3435 drm_WARN_ON(&dev_priv->drm, is_mst && port == PORT_A); in hsw_ddi_pre_enable_dp() 3478 if ((port != PORT_A || INTEL_GEN(dev_priv) >= 9) && in hsw_ddi_pre_enable_dp() 3850 if (port == PORT_A && INTEL_GEN(dev_priv) < 9) in intel_enable_ddi_dp() 3869 [PORT_A] = TRANSCODER_EDP, in gen9_chicken_trans_reg_by_port() 3878 if (drm_WARN_ON(&dev_priv->drm, port < PORT_A || port > PORT_E)) in gen9_chicken_trans_reg_by_port() [all …]
|
| 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 …]
|
| D | intel_dp.c | 267 if (port == PORT_A || port == PORT_D) in cnl_max_source_rate() 2496 if (INTEL_GEN(dev_priv) < 12 && port == PORT_A) in intel_dp_port_has_audio() 2705 if (HAS_PCH_SPLIT(dev_priv) && !HAS_DDI(dev_priv) && port != PORT_A) in intel_dp_compute_config() 2833 if (IS_IVYBRIDGE(dev_priv) && port == PORT_A) { in intel_dp_prepare() 2844 } else if (HAS_PCH_CPT(dev_priv) && port != PORT_A) { in intel_dp_prepare() 3570 if (IS_IVYBRIDGE(dev_priv) && port == PORT_A) in intel_dp_port_enabled() 3572 else if (HAS_PCH_CPT(dev_priv) && port != PORT_A) in intel_dp_port_enabled() 3619 pipe_config->has_audio = tmp & DP_AUDIO_OUTPUT_ENABLE && port != PORT_A; in intel_dp_get_config() 3621 if (HAS_PCH_CPT(dev_priv) && port != PORT_A) { in intel_dp_get_config() 3656 if (port == PORT_A) { in intel_dp_get_config() [all …]
|
| 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)++)
|
| 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() 1925 intel_dsi->ports = BIT(PORT_A) | BIT(PORT_B); in icl_dsi_init()
|
| D | intel_combo_phy.c | 212 bool ddi_a_present = intel_bios_is_port_present(i915, PORT_A); in ehl_vbt_ddi_d_present()
|
| D | intel_dvo.c | 412 return PORT_A; in intel_dvo_port()
|
| D | intel_dpio_phy.c | 177 [DPIO_CH0] = { .port = PORT_A }, 200 [DPIO_CH0] = { .port = PORT_A },
|
| D | vlv_dsi_pll.c | 133 if (intel_dsi->ports & (1 << PORT_A)) in vlv_dsi_pll_compute()
|
| D | intel_hotplug.c | 89 return HPD_PORT_A + port - PORT_A; in intel_hpd_pin_default()
|
| 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()
|
| 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()
|
| D | intel_dsi_vbt.c | 126 return port ? PORT_C : PORT_A; in intel_dsi_seq_port_to_port()
|
| D | intel_dp_mst.c | 930 if (INTEL_GEN(i915) < 12 && port == PORT_A) in intel_dp_mst_encoder_init()
|
| 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()
|
| D | intel_display.c | 1229 intel_dp_port_enabled(dev_priv, DP_A, PORT_A, &panel_pipe); in assert_panel_unlocked() 7322 case PORT_A: in intel_port_to_power_domain() 9604 if (encoder->port == PORT_A) in ilk_init_pch_refclk() 10908 case PORT_A: in bxt_get_ddi_pll() 11085 for_each_port_masked(port, BIT(PORT_A) | BIT(PORT_C)) { in bxt_get_dsi_transcoder_state() 11086 if (port == PORT_A) in bxt_get_dsi_transcoder_state() 11138 PORT_A : PORT_B; in hsw_get_ddi_port_state() 16840 if (intel_de_read(dev_priv, DDI_BUF_CTL(PORT_A)) & DDI_A_4_LANES) in intel_ddi_crt_present() 16896 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs() 16901 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs() [all …]
|
| /Linux-v5.10/drivers/staging/media/tegra-video/ |
| D | csi.h | 25 PORT_A = 0, enumerator
|
| 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()
|
| /Linux-v5.10/drivers/gpu/drm/i915/gvt/ |
| D | display.c | 180 if (intel_vgpu_has_monitor_on_port(vgpu, PORT_A)) { in emulate_monitor_status_change() 327 if (intel_vgpu_has_monitor_on_port(vgpu, PORT_A)) { in emulate_monitor_status_change() 334 vgpu_vreg_t(vgpu, DDI_BUF_CTL(PORT_A)) |= DDI_INIT_DISPLAY_DETECTED; in emulate_monitor_status_change()
|
| 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()
|
| D | handlers.c | 908 (((port) >= PORT_A) && ((port) < I915_MAX_PORTS)) 2467 MMIO_D(PORT_CLK_SEL(PORT_A), D_ALL); in init_generic_mmio_info() 2508 MMIO_DH(DDI_BUF_CTL(PORT_A), D_ALL, NULL, ddi_buf_ctl_mmio_write); in init_generic_mmio_info() 2514 MMIO_DH(DP_TP_CTL(PORT_A), D_ALL, NULL, dp_tp_ctl_mmio_write); in init_generic_mmio_info() 2520 MMIO_DH(DP_TP_STATUS(PORT_A), D_ALL, NULL, dp_tp_status_mmio_write); in init_generic_mmio_info() 3212 MMIO_D(BXT_PHY_CTL(PORT_A), D_BXT); in init_bxt_mmio_info() 3215 MMIO_DH(BXT_PORT_PLL_ENABLE(PORT_A), D_BXT, in init_bxt_mmio_info()
|
| /Linux-v5.10/drivers/gpu/drm/i915/ |
| 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()
|
| D | i915_reg.h | 8216 SDE_DDI_HOTPLUG_ICP(PORT_A)) 8223 SDE_DDI_HOTPLUG_ICP(PORT_A)) 8418 SHOTPLUG_CTL_DDI_HPD_ENABLE(PORT_A)) 8425 SHOTPLUG_CTL_DDI_HPD_ENABLE(PORT_A)) 11035 #define _MIPI_PORT(port, a, c) (((port) == PORT_A) ? a : c) /* ports A and C only */
|