/Linux-v5.15/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.15/drivers/gpu/drm/i915/display/ |
D | g4x_dp.c | 142 if (IS_IVYBRIDGE(dev_priv) && port == PORT_A) { in intel_dp_prepare() 153 } else if (HAS_PCH_CPT(dev_priv) && port != PORT_A) { in intel_dp_prepare() 302 if (IS_IVYBRIDGE(dev_priv) && port == PORT_A) in g4x_dp_port_enabled() 304 else if (HAS_PCH_CPT(dev_priv) && port != PORT_A) in g4x_dp_port_enabled() 351 pipe_config->has_audio = tmp & DP_AUDIO_OUTPUT_ENABLE && port != PORT_A; in intel_dp_get_config() 353 if (HAS_PCH_CPT(dev_priv) && port != PORT_A) { in intel_dp_get_config() 388 if (port == PORT_A) { in intel_dp_get_config() 438 if ((IS_IVYBRIDGE(dev_priv) && port == PORT_A) || in intel_dp_link_down() 439 (HAS_PCH_CPT(dev_priv) && port != PORT_A)) { in intel_dp_link_down() 458 if (HAS_PCH_IBX(dev_priv) && crtc->pipe == PIPE_B && port != PORT_A) { in intel_dp_link_down() [all …]
|
D | vlv_dsi.c | 346 tmp = intel_de_read(dev_priv, MIPI_CTRL(PORT_A)); in glk_dsi_enable_io() 348 intel_de_write(dev_priv, MIPI_CTRL(PORT_A), tmp); in glk_dsi_enable_io() 391 val = intel_de_read(dev_priv, MIPI_CTRL(PORT_A)); in glk_dsi_device_ready() 392 intel_de_write(dev_priv, MIPI_CTRL(PORT_A), in glk_dsi_device_ready() 506 val = intel_de_read(dev_priv, MIPI_PORT_CTRL(PORT_A)); in vlv_dsi_device_ready() 507 intel_de_write(dev_priv, MIPI_PORT_CTRL(PORT_A), in vlv_dsi_device_ready() 572 tmp = intel_de_read(dev_priv, MIPI_CTRL(PORT_A)); in glk_dsi_disable_mipi_io() 574 intel_de_write(dev_priv, MIPI_CTRL(PORT_A), tmp); in glk_dsi_disable_mipi_io() 607 BXT_MIPI_PORT_CTRL(port) : MIPI_PORT_CTRL(PORT_A); in vlv_dsi_clear_device_ready() 626 if ((IS_GEMINILAKE(dev_priv) || IS_BROXTON(dev_priv) || port == PORT_A) && in vlv_dsi_clear_device_ready() [all …]
|
D | intel_bios.c | 1014 i915->vbt.dsi.bl_ports = BIT(PORT_A); in parse_dsi_backlight_ports() 1021 i915->vbt.dsi.bl_ports = BIT(PORT_A) | BIT(PORT_C); in parse_dsi_backlight_ports() 1030 i915->vbt.dsi.cabc_ports = BIT(PORT_A); in parse_dsi_backlight_ports() 1038 BIT(PORT_A) | BIT(PORT_C); in parse_dsi_backlight_ports() 1701 for (port = PORT_A; port < n_ports; port++) { in __dvo_port_to_port() 1722 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1 }, in dvo_port_to_port() 1737 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1 }, in dvo_port_to_port() 1748 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1 }, in dvo_port_to_port() 1757 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1 }, in dvo_port_to_port() 1834 if (port != PORT_A || DISPLAY_VER(i915) >= 12) in sanitize_device_type() [all …]
|
D | intel_ddi.c | 657 if (HAS_TRANSCODER(dev_priv, TRANSCODER_EDP) && port == PORT_A) in intel_ddi_connector_get_hw_state() 719 if (HAS_TRANSCODER(dev_priv, TRANSCODER_EDP) && port == PORT_A) { in intel_ddi_get_encoder_pipes() 970 if (encoder->port == PORT_A && dig_port->max_lanes == 4) in skl_ddi_set_iboost() 1823 case PORT_A: in bxt_ddi_get_pll() 2592 is_mst && (port == PORT_A || port == PORT_E)); in hsw_ddi_pre_enable_dp() 2594 drm_WARN_ON(&dev_priv->drm, is_mst && port == PORT_A); in hsw_ddi_pre_enable_dp() 2630 if ((port != PORT_A || DISPLAY_VER(dev_priv) >= 9) && in hsw_ddi_pre_enable_dp() 3004 if (port == PORT_A && DISPLAY_VER(dev_priv) < 9) in intel_enable_ddi_dp() 3026 [PORT_A] = TRANSCODER_EDP, in gen9_chicken_trans_reg_by_port() 3035 if (drm_WARN_ON(&dev_priv->drm, port < PORT_A || port > PORT_E)) in gen9_chicken_trans_reg_by_port() [all …]
|
D | intel_display.h | 202 PORT_A = 0, enumerator 236 case PORT_A: in port_identifier() 370 for ((__port) = PORT_A; (__port) < I915_MAX_PORTS; (__port)++)
|
D | icl_dsi.c | 75 if (port == PORT_A) in dsi_port_to_transcoder() 227 port = PORT_A; in icl_dsi_frame_update() 410 port == PORT_A ? in get_dsi_io_power_domains() 1419 port == PORT_A ? in gen11_dsi_disable_io_power() 1543 if (intel_dsi->ports == (BIT(PORT_B) | BIT(PORT_A))) in gen11_dsi_get_cmd_mode_config() 2054 intel_dsi->ports = BIT(PORT_A) | BIT(PORT_B); in icl_dsi_init()
|
D | intel_combo_phy.c | 160 bool ddi_a_present = intel_bios_is_port_present(i915, PORT_A); in ehl_vbt_ddi_d_present()
|
D | intel_dvo.c | 409 return PORT_A; in intel_dvo_port()
|
D | intel_dpio_phy.c | 178 [DPIO_CH0] = { .port = PORT_A }, 201 [DPIO_CH0] = { .port = PORT_A },
|
D | intel_display.c | 590 g4x_dp_port_enabled(dev_priv, DP_A, PORT_A, &panel_pipe); in assert_panel_unlocked() 3817 return PHY_A + port - PORT_A; in intel_port_to_phy() 3834 case PORT_A: in intel_port_to_power_domain() 5267 if (encoder->port == PORT_A) in ilk_init_pch_refclk() 6312 for_each_port_masked(port, BIT(PORT_A) | BIT(PORT_C)) { in bxt_get_dsi_transcoder_state() 6313 if (port == PORT_A) in bxt_get_dsi_transcoder_state() 6358 PORT_A : PORT_B; in hsw_get_ddi_port_state() 11463 if (intel_de_read(dev_priv, DDI_BUF_CTL(PORT_A)) & DDI_A_4_LANES) in intel_ddi_crt_present() 11483 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs() 11488 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs() [all …]
|
D | vlv_dsi_pll.c | 134 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 | 701 if (drm_WARN_ON(&dev_priv->drm, port == PORT_A)) in ilk_audio_codec_disable() 752 if (drm_WARN_ON(&dev_priv->drm, port == PORT_A)) in ilk_audio_codec_enable()
|
D | intel_dp.c | 222 encoder->port != PORT_A); in intel_dp_can_bigjoiner() 1444 if (DISPLAY_VER(dev_priv) < 12 && port == PORT_A) in intel_dp_port_has_audio() 1661 if (HAS_PCH_SPLIT(dev_priv) && !HAS_DDI(dev_priv) && port != PORT_A) in intel_dp_compute_config() 4665 if (DISPLAY_VER(dev_priv) < 9 && port == PORT_A) in intel_dp_is_port_edp() 4680 if (!IS_G4X(dev_priv) && port != PORT_A) in intel_dp_add_properties()
|
D | intel_dsi_vbt.c | 126 return port ? PORT_C : PORT_A; in intel_dsi_seq_port_to_port()
|
D | intel_dp_mst.c | 959 if (DISPLAY_VER(i915) < 12 && port == PORT_A) in intel_dp_mst_encoder_init()
|
D | intel_psr.c | 707 return pipe == PIPE_A && port == PORT_A; in dc3co_is_pipe_port_compatible() 2181 if (DISPLAY_VER(dev_priv) < 12 && dig_port->base.port != PORT_A) { in intel_psr_init()
|
D | intel_hdcp.c | 360 case PORT_A: in intel_hdcp_get_repeater_ctl() 2143 case PORT_A: in intel_get_mei_fw_ddi_index()
|
/Linux-v5.15/drivers/gpu/drm/i915/gvt/ |
D | display.c | 203 for (port = PORT_A; port <= PORT_C; port++) { in emulate_monitor_status_change() 263 if (intel_vgpu_has_monitor_on_port(vgpu, PORT_A)) { in emulate_monitor_status_change() 269 vgpu_vreg_t(vgpu, BXT_PHY_CTL(PORT_A)) |= in emulate_monitor_status_change() 271 vgpu_vreg_t(vgpu, BXT_PHY_CTL(PORT_A)) &= in emulate_monitor_status_change() 274 vgpu_vreg_t(vgpu, BXT_PORT_PLL_ENABLE(PORT_A)) |= in emulate_monitor_status_change() 278 vgpu_vreg_t(vgpu, DDI_BUF_CTL(PORT_A)) |= in emulate_monitor_status_change() 280 vgpu_vreg_t(vgpu, DDI_BUF_CTL(PORT_A)) &= in emulate_monitor_status_change() 483 if (intel_vgpu_has_monitor_on_port(vgpu, PORT_A)) { in emulate_monitor_status_change() 490 vgpu_vreg_t(vgpu, DDI_BUF_CTL(PORT_A)) |= DDI_INIT_DISPLAY_DETECTED; in emulate_monitor_status_change() 688 if (intel_vgpu_has_monitor_on_port(vgpu, PORT_A)) { in intel_vgpu_emulate_hotplug()
|
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 | 549 case PORT_A: in bxt_vgpu_get_dp_bitrate() 1157 (((port) >= PORT_A) && ((port) < I915_MAX_PORTS)) 2732 MMIO_D(PORT_CLK_SEL(PORT_A), D_ALL); in init_generic_mmio_info() 2773 MMIO_DH(DDI_BUF_CTL(PORT_A), D_ALL, NULL, ddi_buf_ctl_mmio_write); in init_generic_mmio_info() 2779 MMIO_DH(DP_TP_CTL(PORT_A), D_ALL, NULL, dp_tp_ctl_mmio_write); in init_generic_mmio_info() 2785 MMIO_DH(DP_TP_STATUS(PORT_A), D_ALL, NULL, dp_tp_status_mmio_write); in init_generic_mmio_info() 3479 MMIO_D(BXT_PHY_CTL(PORT_A), D_BXT); in init_bxt_mmio_info() 3482 MMIO_DH(BXT_PORT_PLL_ENABLE(PORT_A), D_BXT, in init_bxt_mmio_info()
|
/Linux-v5.15/drivers/staging/media/tegra-video/ |
D | csi.h | 29 PORT_A = 0, enumerator
|
D | tegra210.c | 926 val = ((portno & 1) == PORT_A) ? in tegra210_csi_port_start_streaming() 1019 val = ((portno & 1) == PORT_A) ? in tegra210_csi_port_stop_streaming()
|
/Linux-v5.15/drivers/gpu/drm/i915/ |
D | i915_irq.c | 2381 PORT_A : PORT_B; in gen11_dsi_te_interrupt_handler() 2382 dsi_trans = (port == PORT_A) ? TRANSCODER_DSI_0 : TRANSCODER_DSI_1; in gen11_dsi_te_interrupt_handler() 2413 port = (te_trigger & DSI1_TE) ? PORT_B : PORT_A; in gen11_dsi_te_interrupt_handler() 2882 port = PORT_A; in gen11_dsi_configure_te() 3585 if (intel_bios_is_port_hpd_inverted(i915, PORT_A)) in bxt_hotplug_enables()
|