| /Linux-v5.4/samples/bpf/ |
| D | test_map_in_map_user.c | 16 #define PORT_A (map_fd[0]) macro 50 ret = bpf_map_update_elem(PORT_A, &port_key, &magic_result, BPF_ANY); in populate_map() 57 ret = bpf_map_update_elem(A_OF_PORT_A, &port_key, &PORT_A, BPF_ANY); in populate_map() 59 check_map_id(PORT_A, A_OF_PORT_A, port_key); in populate_map() 61 ret = bpf_map_update_elem(H_OF_PORT_A, &port_key, &PORT_A, BPF_NOEXIST); in populate_map() 63 check_map_id(PORT_A, H_OF_PORT_A, port_key); in populate_map()
|
| /Linux-v5.4/drivers/gpu/drm/i915/display/ |
| D | vlv_dsi.c | 337 tmp = I915_READ(MIPI_CTRL(PORT_A)); in glk_dsi_enable_io() 339 I915_WRITE(MIPI_CTRL(PORT_A), tmp); in glk_dsi_enable_io() 382 val = I915_READ(MIPI_CTRL(PORT_A)); in glk_dsi_device_ready() 383 I915_WRITE(MIPI_CTRL(PORT_A), val | GLK_MIPIIO_RESET_RELEASED); in glk_dsi_device_ready() 492 val = I915_READ(MIPI_PORT_CTRL(PORT_A)); in vlv_dsi_device_ready() 493 I915_WRITE(MIPI_PORT_CTRL(PORT_A), val | LP_OUTPUT_HOLD); in vlv_dsi_device_ready() 554 tmp = I915_READ(MIPI_CTRL(PORT_A)); in glk_dsi_disable_mipi_io() 556 I915_WRITE(MIPI_CTRL(PORT_A), tmp); in glk_dsi_disable_mipi_io() 589 BXT_MIPI_PORT_CTRL(port) : MIPI_PORT_CTRL(PORT_A); in vlv_dsi_clear_device_ready() 608 if ((IS_GEN9_LP(dev_priv) || port == PORT_A) && in vlv_dsi_clear_device_ready() [all …]
|
| D | intel_bios.c | 807 dev_priv->vbt.dsi.bl_ports = BIT(PORT_A); in parse_dsi_backlight_ports() 814 dev_priv->vbt.dsi.bl_ports = BIT(PORT_A) | BIT(PORT_C); in parse_dsi_backlight_ports() 823 dev_priv->vbt.dsi.cabc_ports = BIT(PORT_A); in parse_dsi_backlight_ports() 831 BIT(PORT_A) | BIT(PORT_C); in parse_dsi_backlight_ports() 1249 for (port = PORT_A; port < I915_MAX_PORTS; port++) { in get_port_by_ddc_pin() 1300 for (port = PORT_A; port < I915_MAX_PORTS; port++) { in get_port_by_aux_ch() 1396 [PORT_A] = { DVO_PORT_HDMIA, DVO_PORT_DPA, -1}, in dvo_port_to_port() 1406 for (port = PORT_A; port < ARRAY_SIZE(dvo_ports); port++) { in dvo_port_to_port() 1445 if (port == PORT_A && is_dvi) { in parse_ddi_port() 1476 if (is_dvi && (port == PORT_A || port == PORT_E)) in parse_ddi_port() [all …]
|
| D | intel_dp.c | 291 if (port == PORT_A || port == PORT_D) in cnl_max_source_rate() 2258 if (HAS_PCH_SPLIT(dev_priv) && !HAS_DDI(dev_priv) && port != PORT_A) in intel_dp_compute_config() 2272 if (IS_G4X(dev_priv) || port == PORT_A) in intel_dp_compute_config() 2397 if (IS_IVYBRIDGE(dev_priv) && port == PORT_A) { in intel_dp_prepare() 2408 } else if (HAS_PCH_CPT(dev_priv) && port != PORT_A) { in intel_dp_prepare() 3109 if (IS_IVYBRIDGE(dev_priv) && port == PORT_A) in intel_dp_port_enabled() 3111 else if (HAS_PCH_CPT(dev_priv) && port != PORT_A) in intel_dp_port_enabled() 3158 pipe_config->has_audio = tmp & DP_AUDIO_OUTPUT_ENABLE && port != PORT_A; in intel_dp_get_config() 3160 if (HAS_PCH_CPT(dev_priv) && port != PORT_A) { in intel_dp_get_config() 3194 if (port == PORT_A) { in intel_dp_get_config() [all …]
|
| D | intel_ddi.c | 671 if (port == PORT_A || port == PORT_E) in skl_buf_trans_num_entries() 1930 if (HAS_TRANSCODER_EDP(dev_priv) && port == PORT_A) in intel_ddi_connector_get_hw_state() 1992 if (HAS_TRANSCODER_EDP(dev_priv) && port == PORT_A) { in intel_ddi_get_encoder_pipes() 2233 if (port == PORT_A && intel_dig_port->max_lanes == 4) in skl_ddi_set_iboost() 3175 WARN_ON(is_mst && (port == PORT_A || port == PORT_E)); in intel_ddi_pre_enable_dp() 3218 if (port != PORT_A || INTEL_GEN(dev_priv) >= 9) in intel_ddi_pre_enable_dp() 3473 if (port == PORT_A && INTEL_GEN(dev_priv) < 9) in intel_enable_ddi_dp() 3490 [PORT_A] = CHICKEN_TRANS_EDP, in gen9_chicken_trans_reg_by_port() 3499 if (WARN_ON(port < PORT_A || port > PORT_E)) in gen9_chicken_trans_reg_by_port() 3500 port = PORT_A; in gen9_chicken_trans_reg_by_port() [all …]
|
| D | intel_display.h | 192 case PORT_A: in port_identifier() 313 for ((__port) = PORT_A; (__port) < I915_MAX_PORTS; (__port)++) \
|
| D | icl_dsi.c | 70 if (port == PORT_A) in dsi_port_to_transcoder() 340 port == PORT_A ? in get_dsi_io_power_domains() 1174 port == PORT_A ? in gen11_dsi_disable_io_power() 1616 intel_dsi->ports = BIT(PORT_A) | BIT(PORT_B); in icl_dsi_init()
|
| D | intel_combo_phy.c | 268 bool ddi_a_present = i915->vbt.ddi_port_info[PORT_A].child != NULL; in ehl_combo_phy_a_mux()
|
| D | intel_audio.c | 566 if (WARN_ON(port == PORT_A)) in ilk_audio_codec_disable() 615 if (WARN_ON(port == PORT_A)) in ilk_audio_codec_enable()
|
| 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_dvo.c | 402 return PORT_A; in intel_dvo_port()
|
| D | intel_dsi_vbt.c | 118 return port ? PORT_C : PORT_A; in intel_dsi_seq_port_to_port()
|
| D | intel_hotplug.c | 93 case PORT_A: in intel_hpd_pin_default()
|
| D | intel_psr.c | 614 if (dig_port->base.port != PORT_A) { in intel_psr_compute_config()
|
| D | intel_display.c | 1206 intel_dp_port_enabled(dev_priv, DP_A, PORT_A, &panel_pipe); in assert_panel_unlocked() 6728 case PORT_A: in intel_port_to_power_domain() 8905 if (encoder->port == PORT_A) in ironlake_init_pch_refclk() 10131 case PORT_A: in bxt_get_ddi_pll() 10309 for_each_port_masked(port, BIT(PORT_A) | BIT(PORT_C)) { in bxt_get_dsi_transcoder_state() 10310 if (port == PORT_A) in bxt_get_dsi_transcoder_state() 15270 if (I915_READ(DDI_BUF_CTL(PORT_A)) & DDI_A_4_LANES) in intel_ddi_crt_present() 15327 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs() 15331 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs() 15337 intel_ddi_init(dev_priv, PORT_A); in intel_setup_outputs() [all …]
|
| D | intel_hdcp.c | 260 case PORT_A: in intel_hdcp_get_repeater_ctl()
|
| D | intel_hdmi.c | 3098 if (WARN_ON(port == PORT_A)) in intel_hdmi_init_connector()
|
| D | intel_dpll_mgr.c | 2919 if (IS_ELKHARTLAKE(dev_priv) && port != PORT_A) in icl_get_combo_phy_dpll()
|
| /Linux-v5.4/include/drm/ |
| D | i915_drm.h | 106 PORT_A = 0, enumerator
|
| /Linux-v5.4/drivers/gpu/drm/i915/gvt/ |
| D | display.c | 179 if (intel_vgpu_has_monitor_on_port(vgpu, PORT_A)) { in emulate_monitor_status_change() 283 if (intel_vgpu_has_monitor_on_port(vgpu, PORT_A)) { in emulate_monitor_status_change() 290 vgpu_vreg_t(vgpu, DDI_BUF_CTL(PORT_A)) |= DDI_INIT_DISPLAY_DETECTED; in emulate_monitor_status_change()
|
| D | mmio.c | 259 vgpu_vreg_t(vgpu, BXT_PHY_CTL(PORT_A)) &= in intel_vgpu_reset_mmio() 261 vgpu_vreg_t(vgpu, BXT_PHY_CTL(PORT_A)) |= in intel_vgpu_reset_mmio()
|
| D | handlers.c | 899 (((port) >= PORT_A) && ((port) < I915_MAX_PORTS)) 2406 MMIO_D(PORT_CLK_SEL(PORT_A), D_ALL); in init_generic_mmio_info() 2447 MMIO_DH(DDI_BUF_CTL(PORT_A), D_ALL, NULL, ddi_buf_ctl_mmio_write); in init_generic_mmio_info() 2453 MMIO_DH(DP_TP_CTL(PORT_A), D_ALL, NULL, dp_tp_ctl_mmio_write); in init_generic_mmio_info() 2459 MMIO_DH(DP_TP_STATUS(PORT_A), D_ALL, NULL, dp_tp_status_mmio_write); in init_generic_mmio_info() 3148 MMIO_D(BXT_PHY_CTL(PORT_A), D_BXT); in init_bxt_mmio_info() 3151 MMIO_DH(BXT_PORT_PLL_ENABLE(PORT_A), D_BXT, in init_bxt_mmio_info()
|
| /Linux-v5.4/drivers/misc/mei/hdcp/ |
| D | mei_hdcp.c | 33 case PORT_A: in mei_get_ddi_index()
|
| /Linux-v5.4/drivers/gpu/drm/i915/ |
| D | i915_irq.c | 3612 intel_bios_is_port_hpd_inverted(dev_priv, PORT_A)) in __bxt_hpd_detection_setup()
|