Home
last modified time | relevance | path

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

12

/linux-5.19.10/samples/bpf/
Dtest_map_in_map_user.c17 #define PORT_A (map_fd[0]) macro
51 ret = bpf_map_update_elem(PORT_A, &port_key, &magic_result, BPF_ANY); in populate_map()
58 ret = bpf_map_update_elem(A_OF_PORT_A, &port_key, &PORT_A, BPF_ANY); in populate_map()
60 check_map_id(PORT_A, A_OF_PORT_A, port_key); in populate_map()
62 ret = bpf_map_update_elem(H_OF_PORT_A, &port_key, &PORT_A, BPF_NOEXIST); in populate_map()
64 check_map_id(PORT_A, H_OF_PORT_A, port_key); in populate_map()
/linux-5.19.10/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()
436 if ((IS_IVYBRIDGE(dev_priv) && port == PORT_A) || in intel_dp_link_down()
437 (HAS_PCH_CPT(dev_priv) && port != PORT_A)) { in intel_dp_link_down()
456 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.c683 if (HAS_TRANSCODER(dev_priv, TRANSCODER_EDP) && port == PORT_A) in intel_ddi_connector_get_hw_state()
750 if (HAS_TRANSCODER(dev_priv, TRANSCODER_EDP) && port == PORT_A) { in intel_ddi_get_encoder_pipes()
999 if (encoder->port == PORT_A && dig_port->max_lanes == 4) in skl_ddi_set_iboost()
1792 case PORT_A: in bxt_ddi_get_pll()
2445 is_mst && (port == PORT_A || port == PORT_E)); in hsw_ddi_pre_enable_dp()
2447 drm_WARN_ON(&dev_priv->drm, is_mst && port == PORT_A); in hsw_ddi_pre_enable_dp()
2485 if ((port != PORT_A || DISPLAY_VER(dev_priv) >= 9) && in hsw_ddi_pre_enable_dp()
2814 if (port == PORT_A && DISPLAY_VER(dev_priv) < 9) in intel_enable_ddi_dp()
2833 [PORT_A] = TRANSCODER_EDP, in gen9_chicken_trans_reg_by_port()
2842 if (drm_WARN_ON(&dev_priv->drm, port < PORT_A || port > PORT_E)) in gen9_chicken_trans_reg_by_port()
[all …]
Dintel_bios.c1465 i915->vbt.dsi.bl_ports = BIT(PORT_A); in parse_dsi_backlight_ports()
1472 i915->vbt.dsi.bl_ports = BIT(PORT_A) | BIT(PORT_C); in parse_dsi_backlight_ports()
1481 i915->vbt.dsi.cabc_ports = BIT(PORT_A); in parse_dsi_backlight_ports()
1489 BIT(PORT_A) | BIT(PORT_C); in parse_dsi_backlight_ports()
2206 for (port = PORT_A; port < n_ports; port++) { in __dvo_port_to_port()
2227 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1 }, in dvo_port_to_port()
2242 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1 }, in dvo_port_to_port()
2253 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1 }, in dvo_port_to_port()
2262 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1 }, in dvo_port_to_port()
2350 if (port != PORT_A || DISPLAY_VER(i915) >= 12) in sanitize_device_type()
[all …]
Dintel_display.h204 PORT_A = 0, enumerator
238 case PORT_A: in port_identifier()
397 for ((__port) = PORT_A; (__port) < I915_MAX_PORTS; (__port)++)
Dicl_dsi.c89 if (port == PORT_A) in dsi_port_to_transcoder()
219 port = PORT_A; in icl_dsi_frame_update()
402 port == PORT_A ? in get_dsi_io_power_domains()
1428 port == PORT_A ? in gen11_dsi_disable_io_power()
1552 if (intel_dsi->ports == (BIT(PORT_B) | BIT(PORT_A))) in gen11_dsi_get_cmd_mode_config()
2066 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.c2291 .port_start = PORT_A,
2306 .port_start = PORT_A,
2331 .port_start = PORT_A,
2356 .port_start = PORT_A,
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 },
Dintel_display.c2147 return PHY_A + port - PORT_A; in intel_port_to_phy()
4086 for_each_port_masked(port, BIT(PORT_A) | BIT(PORT_C)) { in bxt_get_dsi_transcoder_state()
4087 if (port == PORT_A) in bxt_get_dsi_transcoder_state()
8835 if (intel_de_read(dev_priv, DDI_BUF_CTL(PORT_A)) & DDI_A_4_LANES) in intel_ddi_crt_present()
8855 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs()
8861 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs()
8869 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs()
8875 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs()
8880 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs()
8890 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs()
[all …]
Dvlv_dsi_pll.c137 if (intel_dsi->ports & (1 << PORT_A)) in vlv_dsi_pll_compute()
Dvlv_dsi_regs.h14 #define _MIPI_PORT(port, a, c) (((port) == PORT_A) ? a : c) /* ports A and C only */
Dintel_hotplug.c90 return HPD_PORT_A + port - PORT_A; in intel_hpd_pin_default()
Dintel_pch_refclk.c487 if (encoder->port == PORT_A) in ilk_init_pch_refclk()
Dintel_audio.c693 if (drm_WARN_ON(&dev_priv->drm, port == PORT_A)) in ilk_audio_codec_disable()
739 if (drm_WARN_ON(&dev_priv->drm, port == PORT_A)) in ilk_audio_codec_enable()
Dintel_pps.c1308 case PORT_A: in pps_init_registers()
1439 g4x_dp_port_enabled(dev_priv, DP_A, PORT_A, &panel_pipe); in assert_pps_unlocked()
Dintel_dp.c383 encoder->port != PORT_A); in intel_dp_can_bigjoiner()
1691 if (DISPLAY_VER(dev_priv) < 12 && port == PORT_A) in intel_dp_port_has_audio()
1997 if (HAS_PCH_SPLIT(dev_priv) && !HAS_DDI(dev_priv) && encoder->port != PORT_A) in intel_dp_compute_config()
5063 if (DISPLAY_VER(dev_priv) < 9 && port == PORT_A) in intel_dp_is_port_edp()
5078 if (port == PORT_A) in has_gamut_metadata_dip()
5097 if (!IS_G4X(dev_priv) && port != PORT_A) in intel_dp_add_properties()
/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/gpu/drm/i915/
Dintel_gvt_mmio_table.c472 MMIO_D(PORT_CLK_SEL(PORT_A)); in iterate_generic_mmio()
503 MMIO_D(DDI_BUF_CTL(PORT_A)); in iterate_generic_mmio()
508 MMIO_D(DP_TP_CTL(PORT_A)); in iterate_generic_mmio()
513 MMIO_D(DP_TP_STATUS(PORT_A)); in iterate_generic_mmio()
1115 MMIO_D(BXT_PHY_CTL(PORT_A)); in iterate_bxt_mmio()
1118 MMIO_D(BXT_PORT_PLL_ENABLE(PORT_A)); in iterate_bxt_mmio()

12