/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | test_map_in_map_user.c | 19 #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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | g4x_dp.c | 128 if (IS_IVYBRIDGE(dev_priv) && port == PORT_A) { in intel_dp_prepare() 139 } else if (HAS_PCH_CPT(dev_priv) && port != PORT_A) { in intel_dp_prepare() 284 if (IS_IVYBRIDGE(dev_priv) && port == PORT_A) in g4x_dp_port_enabled() 286 else if (HAS_PCH_CPT(dev_priv) && port != PORT_A) in g4x_dp_port_enabled() 348 pipe_config->has_audio = tmp & DP_AUDIO_OUTPUT_ENABLE && port != PORT_A; in intel_dp_get_config() 350 if (HAS_PCH_CPT(dev_priv) && port != PORT_A) { in intel_dp_get_config() 391 if (port == PORT_A) { in intel_dp_get_config() 424 if ((IS_IVYBRIDGE(dev_priv) && port == PORT_A) || in intel_dp_link_down() 425 (HAS_PCH_CPT(dev_priv) && port != PORT_A)) { in intel_dp_link_down() 444 if (HAS_PCH_IBX(dev_priv) && crtc->pipe == PIPE_B && port != PORT_A) { in intel_dp_link_down() [all...] |
H A D | intel_display_device.c | 202 .__runtime_defaults.port_mask = BIT(PORT_A) | BIT(PORT_B) | BIT(PORT_C), /* DVO A/B/C */ 337 .__runtime_defaults.port_mask = BIT(PORT_A) | BIT(PORT_B) | BIT(PORT_C) | BIT(PORT_D) /* DP A, SDVO/HDMI/DP B, HDMI/DP C/D */ 359 .__runtime_defaults.port_mask = BIT(PORT_A) | BIT(PORT_B) | BIT(PORT_C) | BIT(PORT_D), /* DP A, SDVO/HDMI/DP B, HDMI/DP C/D */ 373 .__runtime_defaults.port_mask = BIT(PORT_A) | BIT(PORT_B) | BIT(PORT_C) | BIT(PORT_D), /* DP A, SDVO/HDMI/DP B, HDMI/DP C/D */ 408 .__runtime_defaults.port_mask = BIT(PORT_A) | BIT(PORT_B) | BIT(PORT_C) | BIT(PORT_D) | BIT(PORT_E), 428 .__runtime_defaults.port_mask = BIT(PORT_A) | BIT(PORT_B) | BIT(PORT_C) | BIT(PORT_D) | BIT(PORT_E), 468 .__runtime_defaults.port_mask = BIT(PORT_A) | BIT(PORT_B) | BIT(PORT_C) | BIT(PORT_D) | BIT(PORT_E), 493 .__runtime_defaults.port_mask = BIT(PORT_A) | BIT(PORT_B) | BIT(PORT_C) 554 .__runtime_defaults.port_mask = BIT(PORT_A) | BIT(PORT_B) | BIT(PORT_C) | BIT(PORT_D) | BIT(PORT_E), 560 .__runtime_defaults.port_mask = BIT(PORT_A) | BI [all...] |
H A D | vlv_dsi.c | 344 intel_de_rmw(dev_priv, MIPI_CTRL(PORT_A), GLK_MIPIIO_RESET_RELEASED, 0); in glk_dsi_enable_io() 383 intel_de_rmw(dev_priv, MIPI_CTRL(PORT_A), 0, GLK_MIPIIO_RESET_RELEASED); in glk_dsi_device_ready() 484 intel_de_rmw(dev_priv, MIPI_PORT_CTRL(PORT_A), 0, LP_OUTPUT_HOLD); in vlv_dsi_device_ready() 543 intel_de_rmw(dev_priv, MIPI_CTRL(PORT_A), GLK_MIPIIO_RESET_RELEASED, 0); in glk_dsi_disable_mipi_io() 573 BXT_MIPI_PORT_CTRL(port) : MIPI_PORT_CTRL(PORT_A); in vlv_dsi_clear_device_ready() 591 if ((IS_GEMINILAKE(dev_priv) || IS_BROXTON(dev_priv) || port == PORT_A) && in vlv_dsi_clear_device_ready() 638 if (intel_dsi->ports == (BIT(PORT_A) | BIT(PORT_C))) { in intel_dsi_port_enable() 993 *pipe = port == PORT_A ? PIPE_A : PIPE_B; in intel_dsi_get_hw_state() 1328 tmp = intel_de_read(dev_priv, MIPI_CTRL(PORT_A)); in intel_dsi_prepare() 1330 intel_de_write(dev_priv, MIPI_CTRL(PORT_A), in intel_dsi_prepare() [all...] |
H A D | intel_display_limits.h | 78 PORT_A = 0, enumerator
|
H A D | intel_ddi.c | 713 if (HAS_TRANSCODER(dev_priv, TRANSCODER_EDP) && port == PORT_A) in intel_ddi_connector_get_hw_state() 780 if (HAS_TRANSCODER(dev_priv, TRANSCODER_EDP) && port == PORT_A) { in intel_ddi_get_encoder_pipes() 1062 if (encoder->port == PORT_A && dig_port->max_lanes == 4) in skl_ddi_set_iboost() 1852 case PORT_A: in bxt_ddi_get_pll() 2662 is_mst && (port == PORT_A || port == PORT_E)); in hsw_ddi_pre_enable_dp() 2664 drm_WARN_ON(&dev_priv->drm, is_mst && port == PORT_A); in hsw_ddi_pre_enable_dp() 2702 if ((port != PORT_A || DISPLAY_VER(dev_priv) >= 9) && in hsw_ddi_pre_enable_dp() 3104 if (port == PORT_A && DISPLAY_VER(dev_priv) < 9) in intel_enable_ddi_dp() 3123 [PORT_A] = TRANSCODER_EDP, in gen9_chicken_trans_reg_by_port() 3132 if (drm_WARN_ON(&dev_priv->drm, port < PORT_A || por in gen9_chicken_trans_reg_by_port() [all...] |
H A D | intel_bios.c | 1642 panel->vbt.dsi.bl_ports = BIT(PORT_A); in parse_dsi_backlight_ports() 1649 panel->vbt.dsi.bl_ports = BIT(PORT_A) | BIT(port_bc); in parse_dsi_backlight_ports() 1658 panel->vbt.dsi.cabc_ports = BIT(PORT_A); in parse_dsi_backlight_ports() 1666 BIT(PORT_A) | BIT(port_bc); in parse_dsi_backlight_ports() 2272 for (port = PORT_A; port < n_ports; port++) { in __dvo_port_to_port() 2293 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1 }, in dvo_port_to_port() 2308 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1 }, in dvo_port_to_port() 2315 * Alderlake S ports used in the driver are PORT_A, PORT_D, PORT_E, in dvo_port_to_port() 2319 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1 }, in dvo_port_to_port() 2328 [PORT_A] in dvo_port_to_port() [all...] |
H A D | icl_dsi.c | 92 if (port == PORT_A) in dsi_port_to_transcoder() 222 port = PORT_A; in icl_dsi_frame_update() 391 port == PORT_A ? in get_dsi_io_power_domains() 1374 port == PORT_A ? in gen11_dsi_disable_io_power() 1511 if (intel_dsi->ports == (BIT(PORT_B) | BIT(PORT_A))) in gen11_dsi_get_cmd_mode_config() 2025 intel_dsi->ports = BIT(PORT_A) | BIT(PORT_B); in icl_dsi_init()
|
H A D | intel_display.h | 131 case PORT_A: in port_identifier() 244 for ((__port) = PORT_A; (__port) < I915_MAX_PORTS; (__port)++)
|
H A D | intel_combo_phy.c | 166 bool ddi_a_present = intel_bios_is_port_present(i915, PORT_A); in ehl_vbt_ddi_d_present() 174 * nothing on PORT_A and no DSI. in ehl_vbt_ddi_d_present()
|
/kernel/linux/linux-5.10/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() [all...] |
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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/ |
H A D | display.c | 207 for (port = PORT_A; port <= PORT_C; port++) { in emulate_monitor_status_change() 267 if (intel_vgpu_has_monitor_on_port(vgpu, PORT_A)) { in emulate_monitor_status_change() 273 vgpu_vreg_t(vgpu, BXT_PHY_CTL(PORT_A)) |= in emulate_monitor_status_change() 275 vgpu_vreg_t(vgpu, BXT_PHY_CTL(PORT_A)) &= in emulate_monitor_status_change() 278 vgpu_vreg_t(vgpu, BXT_PORT_PLL_ENABLE(PORT_A)) |= in emulate_monitor_status_change() 282 vgpu_vreg_t(vgpu, DDI_BUF_CTL(PORT_A)) |= in emulate_monitor_status_change() 284 vgpu_vreg_t(vgpu, DDI_BUF_CTL(PORT_A)) &= in emulate_monitor_status_change() 487 if (intel_vgpu_has_monitor_on_port(vgpu, PORT_A)) { in emulate_monitor_status_change() 494 vgpu_vreg_t(vgpu, DDI_BUF_CTL(PORT_A)) |= DDI_INIT_DISPLAY_DETECTED; in emulate_monitor_status_change() 692 if (intel_vgpu_has_monitor_on_port(vgpu, PORT_A)) { in intel_vgpu_emulate_hotplug() [all...] |
H A D | mmio.c | 272 vgpu_vreg_t(vgpu, BXT_PHY_CTL(PORT_A)) &= in intel_vgpu_reset_mmio() 274 vgpu_vreg_t(vgpu, BXT_PHY_CTL(PORT_A)) |= in intel_vgpu_reset_mmio()
|
/kernel/linux/linux-5.10/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_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() 1664 * driver we keep them as PORT_A, PORT_B, PORT_D and PORT_E so the 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 in init_vbt_missing_defaults() [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 || por in gen9_chicken_trans_reg_by_port() [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 | intel_dp.c | 273 if (port == PORT_A || port == PORT_D) in cnl_max_source_rate() 2511 if (INTEL_GEN(dev_priv) < 12 && port == PORT_A) in intel_dp_port_has_audio() 2720 if (HAS_PCH_SPLIT(dev_priv) && !HAS_DDI(dev_priv) && port != PORT_A) in intel_dp_compute_config() 2848 if (IS_IVYBRIDGE(dev_priv) && port == PORT_A) { in intel_dp_prepare() 2859 } else if (HAS_PCH_CPT(dev_priv) && port != PORT_A) { in intel_dp_prepare() 3585 if (IS_IVYBRIDGE(dev_priv) && port == PORT_A) in intel_dp_port_enabled() 3587 else if (HAS_PCH_CPT(dev_priv) && port != PORT_A) in intel_dp_port_enabled() 3634 pipe_config->has_audio = tmp & DP_AUDIO_OUTPUT_ENABLE && port != PORT_A; in intel_dp_get_config() 3636 if (HAS_PCH_CPT(dev_priv) && port != PORT_A) { in intel_dp_get_config() 3671 if (port == PORT_A) { in intel_dp_get_config() [all...] |
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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/drivers/staging/media/tegra-video/ |
H A D | csi.h | 29 PORT_A = 0, enumerator
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | intel_gvt_mmio_table.c | 482 MMIO_D(PORT_CLK_SEL(PORT_A)); in iterate_generic_mmio() 513 MMIO_D(DDI_BUF_CTL(PORT_A)); in iterate_generic_mmio() 518 MMIO_D(DP_TP_CTL(PORT_A)); in iterate_generic_mmio() 523 MMIO_D(DP_TP_STATUS(PORT_A)); in iterate_generic_mmio() 1125 MMIO_D(BXT_PHY_CTL(PORT_A)); in iterate_bxt_mmio() 1128 MMIO_D(BXT_PORT_PLL_ENABLE(PORT_A)); in iterate_bxt_mmio()
|