Home
last modified time | relevance | path

Searched refs:PORT_A (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v6.1/samples/bpf/
Dtest_map_in_map_user.c19 #define PORT_A (map_fd[0]) macro
53 ret = bpf_map_update_elem(PORT_A, &port_key, &magic_result, BPF_ANY); in populate_map()
60 ret = bpf_map_update_elem(A_OF_PORT_A, &port_key, &PORT_A, BPF_ANY); in populate_map()
62 check_map_id(PORT_A, A_OF_PORT_A, port_key); in populate_map()
64 ret = bpf_map_update_elem(H_OF_PORT_A, &port_key, &PORT_A, BPF_NOEXIST); in populate_map()
66 check_map_id(PORT_A, H_OF_PORT_A, port_key); in populate_map()
/Linux-v6.1/drivers/gpu/drm/i915/display/
Dg4x_dp.c126 if (IS_IVYBRIDGE(dev_priv) && port == PORT_A) { in intel_dp_prepare()
137 } else if (HAS_PCH_CPT(dev_priv) && port != PORT_A) { in intel_dp_prepare()
286 if (IS_IVYBRIDGE(dev_priv) && port == PORT_A) in g4x_dp_port_enabled()
288 else if (HAS_PCH_CPT(dev_priv) && port != PORT_A) in g4x_dp_port_enabled()
350 pipe_config->has_audio = tmp & DP_AUDIO_OUTPUT_ENABLE && port != PORT_A; in intel_dp_get_config()
352 if (HAS_PCH_CPT(dev_priv) && port != PORT_A) { in intel_dp_get_config()
387 if (port == PORT_A) { in intel_dp_get_config()
418 if ((IS_IVYBRIDGE(dev_priv) && port == PORT_A) || in intel_dp_link_down()
419 (HAS_PCH_CPT(dev_priv) && port != PORT_A)) { in intel_dp_link_down()
438 if (HAS_PCH_IBX(dev_priv) && crtc->pipe == PIPE_B && port != PORT_A) { in intel_dp_link_down()
[all …]
Dvlv_dsi.c347 tmp = intel_de_read(dev_priv, MIPI_CTRL(PORT_A)); in glk_dsi_enable_io()
349 intel_de_write(dev_priv, MIPI_CTRL(PORT_A), tmp); in glk_dsi_enable_io()
392 val = intel_de_read(dev_priv, MIPI_CTRL(PORT_A)); in glk_dsi_device_ready()
393 intel_de_write(dev_priv, MIPI_CTRL(PORT_A), in glk_dsi_device_ready()
507 val = intel_de_read(dev_priv, MIPI_PORT_CTRL(PORT_A)); in vlv_dsi_device_ready()
508 intel_de_write(dev_priv, MIPI_PORT_CTRL(PORT_A), in vlv_dsi_device_ready()
573 tmp = intel_de_read(dev_priv, MIPI_CTRL(PORT_A)); in glk_dsi_disable_mipi_io()
575 intel_de_write(dev_priv, MIPI_CTRL(PORT_A), tmp); in glk_dsi_disable_mipi_io()
608 BXT_MIPI_PORT_CTRL(port) : MIPI_PORT_CTRL(PORT_A); in vlv_dsi_clear_device_ready()
627 if ((IS_GEMINILAKE(dev_priv) || IS_BROXTON(dev_priv) || port == PORT_A) && in vlv_dsi_clear_device_ready()
[all …]
Dintel_ddi.c671 if (HAS_TRANSCODER(dev_priv, TRANSCODER_EDP) && port == PORT_A) in intel_ddi_connector_get_hw_state()
738 if (HAS_TRANSCODER(dev_priv, TRANSCODER_EDP) && port == PORT_A) { in intel_ddi_get_encoder_pipes()
987 if (encoder->port == PORT_A && dig_port->max_lanes == 4) in skl_ddi_set_iboost()
1777 case PORT_A: in bxt_ddi_get_pll()
2422 is_mst && (port == PORT_A || port == PORT_E)); in hsw_ddi_pre_enable_dp()
2424 drm_WARN_ON(&dev_priv->drm, is_mst && port == PORT_A); in hsw_ddi_pre_enable_dp()
2462 if ((port != PORT_A || DISPLAY_VER(dev_priv) >= 9) && in hsw_ddi_pre_enable_dp()
2795 if (port == PORT_A && DISPLAY_VER(dev_priv) < 9) in intel_enable_ddi_dp()
2814 [PORT_A] = TRANSCODER_EDP, in gen9_chicken_trans_reg_by_port()
2823 if (drm_WARN_ON(&dev_priv->drm, port < PORT_A || port > PORT_E)) in gen9_chicken_trans_reg_by_port()
[all …]
Dintel_bios.c1635 panel->vbt.dsi.bl_ports = BIT(PORT_A); in parse_dsi_backlight_ports()
1642 panel->vbt.dsi.bl_ports = BIT(PORT_A) | BIT(port_bc); in parse_dsi_backlight_ports()
1651 panel->vbt.dsi.cabc_ports = BIT(PORT_A); in parse_dsi_backlight_ports()
1659 BIT(PORT_A) | BIT(port_bc); in parse_dsi_backlight_ports()
2380 for (port = PORT_A; port < n_ports; port++) { in __dvo_port_to_port()
2401 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1 }, in dvo_port_to_port()
2416 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1 }, in dvo_port_to_port()
2427 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1 }, in dvo_port_to_port()
2436 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1 }, in dvo_port_to_port()
2532 if (port != PORT_A || DISPLAY_VER(i915) >= 12) in sanitize_device_type()
[all …]
Dintel_display.h205 PORT_A = 0, enumerator
239 case PORT_A: in port_identifier()
398 for ((__port) = PORT_A; (__port) < I915_MAX_PORTS; (__port)++)
Dicl_dsi.c90 if (port == PORT_A) in dsi_port_to_transcoder()
220 port = PORT_A; in icl_dsi_frame_update()
403 port == PORT_A ? in get_dsi_io_power_domains()
1429 port == PORT_A ? in gen11_dsi_disable_io_power()
1553 if (intel_dsi->ports == (BIT(PORT_B) | BIT(PORT_A))) in gen11_dsi_get_cmd_mode_config()
2072 intel_dsi->ports = BIT(PORT_A) | BIT(PORT_B); in icl_dsi_init()
Dintel_combo_phy.c176 bool ddi_a_present = intel_bios_is_port_present(i915, PORT_A); in ehl_vbt_ddi_d_present()
Dintel_display_power.c2300 .port_start = PORT_A,
2315 .port_start = PORT_A,
2340 .port_start = PORT_A,
2365 .port_start = PORT_A,
Dintel_display.c2149 return PHY_A + port - PORT_A; in intel_port_to_phy()
3991 for_each_port_masked(port, BIT(PORT_A) | BIT(PORT_C)) { in bxt_get_dsi_transcoder_state()
3992 if (port == PORT_A) in bxt_get_dsi_transcoder_state()
7887 if (intel_de_read(dev_priv, DDI_BUF_CTL(PORT_A)) & DDI_A_4_LANES) in intel_ddi_crt_present()
7907 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs()
7913 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs()
7921 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs()
7927 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs()
7932 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs()
7942 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs()
[all …]
Dintel_dvo.c384 return PORT_A; in intel_dvo_port()
Dintel_dpio_phy.c180 [DPIO_CH0] = { .port = PORT_A },
203 [DPIO_CH0] = { .port = PORT_A },
Dvlv_dsi_regs.h16 #define _MIPI_PORT(port, a, c) (((port) == PORT_A) ? a : c) /* ports A and C only */
Dvlv_dsi_pll.c191 if (intel_dsi->ports & (1 << PORT_A)) in vlv_dsi_pll_compute()
Dintel_hotplug.c90 return HPD_PORT_A + port - PORT_A; in intel_hpd_pin_default()
Dintel_pch_refclk.c518 if (encoder->port == PORT_A) in ilk_init_pch_refclk()
Dintel_audio.c694 if (drm_WARN_ON(&dev_priv->drm, port == PORT_A)) in ilk_audio_codec_disable()
740 if (drm_WARN_ON(&dev_priv->drm, port == PORT_A)) in ilk_audio_codec_enable()
Dintel_dp.c395 encoder->port != PORT_A); in intel_dp_can_bigjoiner()
1716 if (DISPLAY_VER(dev_priv) < 12 && port == PORT_A) in intel_dp_port_has_audio()
2023 if (HAS_PCH_SPLIT(dev_priv) && !HAS_DDI(dev_priv) && encoder->port != PORT_A) in intel_dp_compute_config()
5123 if (DISPLAY_VER(dev_priv) < 9 && port == PORT_A) in intel_dp_is_port_edp()
5138 if (port == PORT_A) in has_gamut_metadata_dip()
5157 if (!IS_G4X(dev_priv) && port != PORT_A) in intel_dp_add_properties()
/Linux-v6.1/drivers/gpu/drm/i915/gvt/
Ddisplay.c204 for (port = PORT_A; port <= PORT_C; port++) { in emulate_monitor_status_change()
264 if (intel_vgpu_has_monitor_on_port(vgpu, PORT_A)) { in emulate_monitor_status_change()
270 vgpu_vreg_t(vgpu, BXT_PHY_CTL(PORT_A)) |= in emulate_monitor_status_change()
272 vgpu_vreg_t(vgpu, BXT_PHY_CTL(PORT_A)) &= in emulate_monitor_status_change()
275 vgpu_vreg_t(vgpu, BXT_PORT_PLL_ENABLE(PORT_A)) |= in emulate_monitor_status_change()
279 vgpu_vreg_t(vgpu, DDI_BUF_CTL(PORT_A)) |= in emulate_monitor_status_change()
281 vgpu_vreg_t(vgpu, DDI_BUF_CTL(PORT_A)) &= in emulate_monitor_status_change()
484 if (intel_vgpu_has_monitor_on_port(vgpu, PORT_A)) { in emulate_monitor_status_change()
491 vgpu_vreg_t(vgpu, DDI_BUF_CTL(PORT_A)) |= DDI_INIT_DISPLAY_DETECTED; in emulate_monitor_status_change()
689 if (intel_vgpu_has_monitor_on_port(vgpu, PORT_A)) { in intel_vgpu_emulate_hotplug()
Dmmio.c271 vgpu_vreg_t(vgpu, BXT_PHY_CTL(PORT_A)) &= in intel_vgpu_reset_mmio()
273 vgpu_vreg_t(vgpu, BXT_PHY_CTL(PORT_A)) |= in intel_vgpu_reset_mmio()
Dhandlers.c540 case PORT_A: in bxt_vgpu_get_dp_bitrate()
1153 (((port) >= PORT_A) && ((port) < I915_MAX_PORTS))
2336 MMIO_DH(DDI_BUF_CTL(PORT_A), D_ALL, NULL, ddi_buf_ctl_mmio_write); in init_generic_mmio_info()
2342 MMIO_DH(DP_TP_CTL(PORT_A), D_ALL, NULL, dp_tp_ctl_mmio_write); in init_generic_mmio_info()
2348 MMIO_DH(DP_TP_STATUS(PORT_A), D_ALL, NULL, dp_tp_status_mmio_write); in init_generic_mmio_info()
2752 MMIO_DH(BXT_PORT_PLL_ENABLE(PORT_A), D_BXT, in init_bxt_mmio_info()
/Linux-v6.1/drivers/staging/media/tegra-video/
Dcsi.h29 PORT_A = 0, enumerator
Dtegra210.c926 val = ((portno & 1) == PORT_A) ? in tegra210_csi_port_start_streaming()
1019 val = ((portno & 1) == PORT_A) ? in tegra210_csi_port_stop_streaming()
/Linux-v6.1/drivers/gpu/drm/i915/
Dintel_gvt_mmio_table.c475 MMIO_D(PORT_CLK_SEL(PORT_A)); in iterate_generic_mmio()
506 MMIO_D(DDI_BUF_CTL(PORT_A)); in iterate_generic_mmio()
511 MMIO_D(DP_TP_CTL(PORT_A)); in iterate_generic_mmio()
516 MMIO_D(DP_TP_STATUS(PORT_A)); in iterate_generic_mmio()
1118 MMIO_D(BXT_PHY_CTL(PORT_A)); in iterate_bxt_mmio()
1121 MMIO_D(BXT_PORT_PLL_ENABLE(PORT_A)); in iterate_bxt_mmio()
Di915_irq.c2396 PORT_A : PORT_B; in gen11_dsi_te_interrupt_handler()
2397 dsi_trans = (port == PORT_A) ? TRANSCODER_DSI_0 : TRANSCODER_DSI_1; in gen11_dsi_te_interrupt_handler()
2428 port = (te_trigger & DSI1_TE) ? PORT_B : PORT_A; in gen11_dsi_te_interrupt_handler()
2897 port = PORT_A; in gen11_dsi_configure_te()
3602 if (intel_bios_is_port_hpd_inverted(i915, PORT_A)) in bxt_hotplug_enables()

12