/linux-6.12.1/drivers/gpu/drm/i915/gt/ |
D | intel_gt_regs.h | 22 #define PERF_REG(offset) _MMIO(offset) 25 #define MTL_MIRROR_TARGET_WP1 _MMIO(0xc60) 32 #define RPM_CONFIG0 _MMIO(0xd00) 46 #define RPM_CONFIG1 _MMIO(0xd04) 50 #define RCP_CONFIG _MMIO(0xd08) 52 #define RC6_LOCATION _MMIO(0xd40) 54 #define RC6_CTX_BASE _MMIO(0xd48) 57 #define FORCEWAKE_ACK_MEDIA_VDBOX_GEN11(n) _MMIO(0xd50 + (n) * 4) 58 #define FORCEWAKE_ACK_MEDIA_VEBOX_GEN11(n) _MMIO(0xd70 + (n) * 4) 59 #define FORCEWAKE_ACK_RENDER_GEN9 _MMIO(0xd84) [all …]
|
D | intel_engine_regs.h | 11 #define RING_EXCC(base) _MMIO((base) + 0x28) 12 #define RING_TAIL(base) _MMIO((base) + 0x30) 14 #define RING_HEAD(base) _MMIO((base) + 0x34) 18 #define RING_START(base) _MMIO((base) + 0x38) 19 #define RING_CTL(base) _MMIO((base) + 0x3c) 32 #define RING_SYNC_0(base) _MMIO((base) + 0x40) 33 #define RING_SYNC_1(base) _MMIO((base) + 0x44) 34 #define RING_SYNC_2(base) _MMIO((base) + 0x48) 47 #define RING_PSMI_CTL(base) _MMIO((base) + 0x50) 55 #define RING_MAX_IDLE(base) _MMIO((base) + 0x54) [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_reg.h | 16 #define GUC_STATUS _MMIO(0xc000) 33 #define GUC_HEADER_INFO _MMIO(0xc014) 35 #define SOFT_SCRATCH(n) _MMIO(0xc180 + (n) * 4) 38 #define GEN11_SOFT_SCRATCH(n) _MMIO(0x190240 + (n) * 4) 39 #define MEDIA_SOFT_SCRATCH(n) _MMIO(0x190310 + (n) * 4) 42 #define UOS_RSA_SCRATCH(i) _MMIO(0xc200 + (i) * 4) 45 #define DMA_ADDR_0_LOW _MMIO(0xc300) 46 #define DMA_ADDR_0_HIGH _MMIO(0xc304) 47 #define DMA_ADDR_1_LOW _MMIO(0xc308) 48 #define DMA_ADDR_1_HIGH _MMIO(0xc30c) [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/ |
D | i915_perf_oa_regs.h | 11 #define GEN7_OACONTROL _MMIO(0x2360) 28 #define GEN8_OACTXID _MMIO(0x2364) 30 #define GEN8_OA_DEBUG _MMIO(0x2B04) 36 #define GEN8_OACONTROL _MMIO(0x2B00) 45 #define GEN8_OACTXCONTROL _MMIO(0x2360) 51 #define GEN7_OABUFFER _MMIO(0x23B0) /* R/W */ 57 #define GEN8_OABUFFER_UDW _MMIO(0x23b4) 58 #define GEN8_OABUFFER _MMIO(0x2b14) 61 #define GEN7_OASTATUS1 _MMIO(0x2364) 67 #define GEN7_OASTATUS2 _MMIO(0x2368) [all …]
|
D | intel_gvt_mmio_table.c | 69 #define RING_REG(base) _MMIO((base) + 0x28) in iterate_generic_mmio() 73 #define RING_REG(base) _MMIO((base) + 0x134) in iterate_generic_mmio() 77 #define RING_REG(base) _MMIO((base) + 0x6c) in iterate_generic_mmio() 80 MMIO_D(_MMIO(0x2148)); in iterate_generic_mmio() 82 MMIO_D(_MMIO(0x12198)); in iterate_generic_mmio() 91 #define RING_REG(base) _MMIO((base) + 0x29c) in iterate_generic_mmio() 103 MMIO_D(_MMIO(0x2124)); in iterate_generic_mmio() 104 MMIO_D(_MMIO(0x20dc)); in iterate_generic_mmio() 106 MMIO_D(_MMIO(0x2088)); in iterate_generic_mmio() 108 MMIO_D(_MMIO(0x2470)); in iterate_generic_mmio() [all …]
|
D | intel_mchbar_regs.h | 25 #define CTG_STOLEN_RESERVED _MMIO(MCHBAR_MIRROR_BASE + 0x34) 26 #define ELK_STOLEN_RESERVED _MMIO(MCHBAR_MIRROR_BASE + 0x48) 32 #define CSHRDDR3CTL _MMIO(MCHBAR_MIRROR_BASE + 0x1a8) 36 #define DCC _MMIO(MCHBAR_MIRROR_BASE + 0x200) 43 #define DCC2 _MMIO(MCHBAR_MIRROR_BASE + 0x204) 47 #define C0DRB3_BW _MMIO(MCHBAR_MIRROR_BASE + 0x206) 48 #define C1DRB3_BW _MMIO(MCHBAR_MIRROR_BASE + 0x606) 51 #define CLKCFG _MMIO(MCHBAR_MIRROR_BASE + 0xc00) 68 #define HPLLVCO_MOBILE _MMIO(MCHBAR_MIRROR_BASE + 0xc0f) 69 #define HPLLVCO _MMIO(MCHBAR_MIRROR_BASE + 0xc38) [all …]
|
D | i915_reg.h | 119 #define GU_CNTL_PROTECTED _MMIO(0x10100C) 122 #define GU_CNTL _MMIO(0x101010) 125 #define GU_DEBUG _MMIO(0x101018) 128 #define GEN6_STOLEN_RESERVED _MMIO(0x1082C0) 147 #define _VGA_MSR_WRITE _MMIO(0x3c2) 156 #define DEBUG_RESET_I830 _MMIO(0x6070) 164 #define VLV_IOSF_DOORBELL_REQ _MMIO(VLV_DISPLAY_BASE + 0x2100) 186 #define VLV_IOSF_DATA _MMIO(VLV_DISPLAY_BASE + 0x2104) 187 #define VLV_IOSF_ADDR _MMIO(VLV_DISPLAY_BASE + 0x2108) 192 #define DPIO_CTL _MMIO(VLV_DISPLAY_BASE + 0x2110) [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_tv_regs.h | 12 #define TV_CTL _MMIO(0x68000) 82 #define TV_DAC _MMIO(0x68004) 133 #define TV_CSC_Y _MMIO(0x68010) 139 #define TV_CSC_Y2 _MMIO(0x68014) 150 #define TV_CSC_U _MMIO(0x68018) 156 #define TV_CSC_U2 _MMIO(0x6801c) 167 #define TV_CSC_V _MMIO(0x68020) 173 #define TV_CSC_V2 _MMIO(0x68024) 184 #define TV_CLR_KNOBS _MMIO(0x68028) 198 #define TV_CLR_LEVEL _MMIO(0x6802c) [all …]
|
D | intel_combo_phy_regs.h | 27 #define ICL_PORT_CL_DW5(phy) _MMIO(_ICL_PORT_CL_DW(5, phy)) 31 #define ICL_PORT_CL_DW10(phy) _MMIO(_ICL_PORT_CL_DW(10, phy)) 46 #define ICL_PORT_CL_DW12(phy) _MMIO(_ICL_PORT_CL_DW(12, phy)) 54 #define ICL_PORT_COMP_DW0(phy) _MMIO(_ICL_PORT_COMP_DW(0, phy)) 57 #define ICL_PORT_COMP_DW1(phy) _MMIO(_ICL_PORT_COMP_DW(1, phy)) 59 #define ICL_PORT_COMP_DW3(phy) _MMIO(_ICL_PORT_COMP_DW(3, phy)) 69 #define ICL_PORT_COMP_DW8(phy) _MMIO(_ICL_PORT_COMP_DW(8, phy)) 72 #define ICL_PORT_COMP_DW9(phy) _MMIO(_ICL_PORT_COMP_DW(9, phy)) 74 #define ICL_PORT_COMP_DW10(phy) _MMIO(_ICL_PORT_COMP_DW(10, phy)) 86 #define ICL_PORT_PCS_DW1_AUX(phy) _MMIO(_ICL_PORT_PCS_DW_AUX(1, phy)) [all …]
|
D | intel_dmc_regs.h | 11 #define DMC_PROGRAM(addr, i) _MMIO((addr) + (i) * 4) 21 #define MTL_PIPEDMC_CONTROL _MMIO(0x45250) 46 _MMIO(_DMC_REG(i915, dmc_id, _DMC_EVT_HTP_0) + 4 * (handler)) 51 _MMIO(_DMC_REG(i915, dmc_id, _DMC_EVT_CTL_0) + 4 * (handler)) 68 #define DMC_SSP_BASE _MMIO(0x8F074) 69 #define DMC_HTP_SKL _MMIO(0x8F004) 70 #define DMC_LAST_WRITE _MMIO(0x8F034) 90 #define SKL_DMC_DC3_DC5_COUNT _MMIO(0x80030) 91 #define SKL_DMC_DC5_DC6_COUNT _MMIO(0x8002C) 92 #define BXT_DMC_DC3_DC5_COUNT _MMIO(0x80038) [all …]
|
D | intel_fbc_regs.h | 9 #define FBC_CFB_BASE _MMIO(0x3200) /* 4k page aligned */ 10 #define FBC_LL_BASE _MMIO(0x3204) /* 4k page aligned */ 11 #define FBC_CONTROL _MMIO(0x3208) 23 #define FBC_COMMAND _MMIO(0x320c) 25 #define FBC_STATUS _MMIO(0x3210) 30 #define FBC_CONTROL2 _MMIO(0x3214) /* i965gm only */ 40 #define FBC_FENCE_OFF _MMIO(0x3218) /* i965gm only, BSpec typo has 321Bh */ 41 #define FBC_MOD_NUM _MMIO(0x3220) /* i965gm only */ 44 #define FBC_TAG(i) _MMIO(0x3300 + (i) * 4) /* 49 reisters */ 53 #define DPFC_CB_BASE _MMIO(0x3200) [all …]
|
D | intel_vdsc_regs.h | 12 #define DSS_CTL1 _MMIO(0x67400) 23 #define DSS_CTL2 _MMIO(0x67404) 50 #define DSCA_PICTURE_PARAMETER_SET_0 _MMIO(0x6B200) 51 #define DSCC_PICTURE_PARAMETER_SET_0 _MMIO(0x6BA00) 54 #define DSCA_PPS(pps) _MMIO(_DSCA_PPS_0 + ((pps) < 12 ? (pps) : (pps) + 12) * 4) 55 #define DSCC_PPS(pps) _MMIO(_DSCC_PPS_0 + ((pps) < 12 ? (pps) : (pps) + 12) * 4) 72 #define ICL_DSC0_PPS(pipe, pps) _MMIO(_ICL_DSC0_PPS_0(pipe) + ((pps) * 4)) 73 #define ICL_DSC1_PPS(pipe, pps) _MMIO(_ICL_DSC1_PPS_0(pipe) + ((pps) * 4)) 190 #define DSCA_RC_BUF_THRESH_0 _MMIO(0x6B230) 191 #define DSCA_RC_BUF_THRESH_0_UDW _MMIO(0x6B230 + 4) [all …]
|
D | intel_dsb_regs.h | 15 #define DSB_HEAD(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x0) 16 #define DSB_TAIL(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x4) 17 #define DSB_CTRL(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x8) 25 #define DSB_MMIOCTRL(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0xc) 31 #define DSB_POLLFUNC(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x10) 37 #define DSB_DEBUG(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x14) 38 #define DSB_POLLMASK(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x1c) 39 #define DSB_STATUS(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x24) 53 #define DSB_INTERRUPT(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x28) 64 #define DSB_CURRENT_HEAD(pipe, id) _MMIO(DSBSL_INSTANCE(pipe, id) + 0x2c) [all …]
|
D | intel_audio_regs.h | 11 #define G4X_AUD_CNTL_ST _MMIO(0x620B4) 16 #define G4X_HDMIW_HDMIEDID _MMIO(0x6210C) 29 #define IBX_AUD_CNTL_ST2 _MMIO(0xE20C0) 39 #define CPT_AUD_CNTRL_ST2 _MMIO(0xE50C0) 47 #define VLV_AUD_CNTL_ST2 _MMIO(VLV_DISPLAY_BASE + 0x620C0) 112 #define HSW_AUD_PIPE_CONV_CFG _MMIO(0x6507c) 113 #define HSW_AUD_PIN_ELD_CP_VLD _MMIO(0x650c0) 124 #define HSW_AUD_CHICKENBIT _MMIO(0x65f10) 127 #define AUD_FREQ_CNTRL _MMIO(0x65900) 128 #define AUD_PIN_BUF_CTL _MMIO(0x48414) [all …]
|
D | skl_watermark_regs.h | 31 #define MBUS_UBOX_CTL _MMIO(0x4503C) 32 #define MBUS_BBOX_CTL_S1 _MMIO(0x45040) 33 #define MBUS_BBOX_CTL_S2 _MMIO(0x45044) 35 #define MBUS_CTL _MMIO(0x4438C) 58 #define DBUF_CTL_S(slice) _MMIO(_PICK(slice, \ 70 #define MTL_LATENCY_LP0_LP1 _MMIO(0x45780) 71 #define MTL_LATENCY_LP2_LP3 _MMIO(0x45784) 72 #define MTL_LATENCY_LP4_LP5 _MMIO(0x45788) 76 #define MTL_LATENCY_SAGV _MMIO(0x4578c) 79 #define LNL_PKG_C_LATENCY _MMIO(0x46460)
|
D | intel_display_reg_defs.h | 25 #define _MMIO_PIPE(pipe, a, b) _MMIO(_PIPE(pipe, a, b)) 26 #define _MMIO_PLANE(plane, a, b) _MMIO(_PLANE(plane, a, b)) 27 #define _MMIO_TRANS(tran, a, b) _MMIO(_TRANS(tran, a, b)) 28 #define _MMIO_PORT(port, a, b) _MMIO(_PORT(port, a, b)) 29 #define _MMIO_PLL(pll, a, b) _MMIO(_PLL(pll, a, b)) 30 #define _MMIO_PHY(phy, a, b) _MMIO(_PHY(phy, a, b)) 32 #define _MMIO_BASE_PIPE3(base, pipe, a, b, c) _MMIO((base) + _PICK_EVEN_2RANGES(pipe, 1, a, a, b, c… 33 #define _MMIO_BASE_PORT3(base, pipe, a, b, c) _MMIO((base) + _PICK_EVEN_2RANGES(pipe, 1, a, a, b, c… 39 #define _MMIO_PIPE2(display, pipe, reg) _MMIO(DISPLAY_INFO(display)->pipe_offsets[(pipe)] - \ 42 #define _MMIO_TRANS2(display, tran, reg) _MMIO(DISPLAY_INFO(display)->trans_offsets[(tran)] - \ [all …]
|
D | intel_backlight_regs.h | 24 #define BLC_PWM_CTL2 _MMIO(0x61250) /* 965+ only */ 47 #define BLC_PWM_CTL _MMIO(0x61254) 69 #define BLC_HIST_CTL _MMIO(0x61260) 74 #define BLC_PWM_CPU_CTL2 _MMIO(0x48250) 75 #define BLC_PWM_CPU_CTL _MMIO(0x48254) 77 #define HSW_BLC_PWM2_CTL _MMIO(0x48350) 81 #define BLC_PWM_PCH_CTL1 _MMIO(0xc8250) 85 #define BLC_PWM_PCH_CTL2 _MMIO(0xc8254) 106 #define UTIL_PIN_CTL _MMIO(0x48400)
|
D | intel_fdi_regs.h | 11 #define FDI_PLL_BIOS_0 _MMIO(0x46000) 13 #define FDI_PLL_BIOS_1 _MMIO(0x46004) 14 #define FDI_PLL_BIOS_2 _MMIO(0x46008) 15 #define DISPLAY_PORT_PLL_BIOS_0 _MMIO(0x4600c) 16 #define DISPLAY_PORT_PLL_BIOS_1 _MMIO(0x46010) 17 #define DISPLAY_PORT_PLL_BIOS_2 _MMIO(0x46014) 19 #define FDI_PLL_FREQ_CTL _MMIO(0x46030) 148 #define FDI_PLL_CTL_1 _MMIO(0xfe000) 149 #define FDI_PLL_CTL_2 _MMIO(0xfe004)
|
D | intel_gmbus_regs.h | 13 #define GPIO(__i915, gpio) _MMIO(GMBUS_MMIO_BASE(__i915) + 0x5010 + 4 * (gpio)) 30 #define GMBUS0(__i915) _MMIO(GMBUS_MMIO_BASE(__i915) + 0x5100) 40 #define GMBUS1(__i915) _MMIO(GMBUS_MMIO_BASE(__i915) + 0x5104) 57 #define GMBUS2(__i915) _MMIO(GMBUS_MMIO_BASE(__i915) + 0x5108) 67 #define GMBUS3(__i915) _MMIO(GMBUS_MMIO_BASE(__i915) + 0x510c) 70 #define GMBUS4(__i915) _MMIO(GMBUS_MMIO_BASE(__i915) + 0x5110) 78 #define GMBUS5(__i915) _MMIO(GMBUS_MMIO_BASE(__i915) + 0x5120)
|
D | intel_hdcp_regs.h | 14 #define HDCP_KEY_CONF _MMIO(0x66c00) 18 #define HDCP_KEY_STATUS _MMIO(0x66c04) 24 #define HDCP_AKSV_LO _MMIO(0x66c10) 25 #define HDCP_AKSV_HI _MMIO(0x66c14) 28 #define HDCP_REP_CTL _MMIO(0x66d00) 59 #define HDCP_SHA_V_PRIME_H0 _MMIO(0x66d04) 60 #define HDCP_SHA_V_PRIME_H1 _MMIO(0x66d08) 61 #define HDCP_SHA_V_PRIME_H2 _MMIO(0x66d0C) 62 #define HDCP_SHA_V_PRIME_H3 _MMIO(0x66d10) 63 #define HDCP_SHA_V_PRIME_H4 _MMIO(0x66d14) [all …]
|
D | intel_dp_aux_regs.h | 28 #define VLV_DP_AUX_CH_CTL(aux_ch) _MMIO(VLV_DISPLAY_BASE + \ 38 _MMIO(_PICK_EVEN_2RANGES(aux_ch, AUX_CH_USBC1, \ 80 #define DP_AUX_CH_DATA(aux_ch, i) _MMIO(_PORT(aux_ch, _DPA_AUX_CH_DATA1, \ 82 #define VLV_DP_AUX_CH_DATA(aux_ch, i) _MMIO(VLV_DISPLAY_BASE + _PORT(aux_ch, _DPA_AUX_CH_DATA1, \ 87 #define PCH_DP_AUX_CH_DATA(aux_ch, i) _MMIO(_PORT((aux_ch) - AUX_CH_B, _PCH_DPB_AUX_CH_DATA1, _PCH_… 92 _MMIO(_PICK_EVEN_2RANGES(aux_ch, AUX_CH_USBC1, \ 102 #define XE2LPD_PICA_PW_CTL _MMIO(0x16fe04)
|
D | vlv_dsi_pll_regs.h | 11 #define MIPIO_TXESC_CLK_DIV1 _MMIO(0x160004) 13 #define MIPIO_TXESC_CLK_DIV2 _MMIO(0x160008) 18 #define BXT_MIPI_CLOCK_CTL _MMIO(0x46090) 81 #define BXT_DSI_PLL_CTL _MMIO(0x161000) 105 #define BXT_DSI_PLL_ENABLE _MMIO(0x46080)
|
/linux-6.12.1/drivers/gpu/drm/i915/gvt/ |
D | reg.h | 68 (((p) == PIPE_A) ? (((q) == PLANE_PRIMARY) ? (_MMIO(0x50080)) : \ 69 (_MMIO(0x50090))) : \ 70 (((p) == PIPE_B) ? (((q) == PLANE_PRIMARY) ? (_MMIO(0x50088)) : \ 71 (_MMIO(0x50098))) : \ 72 (((p) == PIPE_C) ? (((q) == PLANE_PRIMARY) ? (_MMIO(0x5008C)) : \ 73 (_MMIO(0x5009C))) : \ 74 (_MMIO(0x50080))))); }) 114 #define PCH_GPIO_BASE _MMIO(0xc5010) 116 #define PCH_GMBUS0 _MMIO(0xc5100) 117 #define PCH_GMBUS1 _MMIO(0xc5104) [all …]
|
D | handlers.c | 63 #define PCH_PP_STATUS _MMIO(0xc7200) 64 #define PCH_PP_CONTROL _MMIO(0xc7204) 65 #define PCH_PP_ON_DELAYS _MMIO(0xc7208) 66 #define PCH_PP_OFF_DELAYS _MMIO(0xc720c) 67 #define PCH_PP_DIVISOR _MMIO(0xc7210) 724 _MMIO(0xd80), 731 _MMIO(0x2690), 732 _MMIO(0x2694), 733 _MMIO(0x2698), 734 _MMIO(0x2754), [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/pxp/ |
D | intel_pxp_regs.h | 16 #define KCR_INIT(base) _MMIO((base) + 0xf0) 22 #define KCR_SIP(base) _MMIO((base) + 0x260) 25 #define KCR_GLOBAL_TERMINATE(base) _MMIO((base) + 0xf8)
|