Home
last modified time | relevance | path

Searched refs:WREG8 (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/mgag200/
Dmgag200_drv.h37 #define WREG8(reg, v) iowrite8(v, ((void __iomem *)mdev->rmmio) + (reg)) macro
47 WREG8(MGA_MISC_OUT, v)
65 WREG8(ATTR_INDEX, reg); \
66 WREG8(ATTR_DATA, v); \
71 WREG8(MGAREG_SEQ_INDEX, reg); \
77 WREG8(MGAREG_SEQ_INDEX, reg); \
78 WREG8(MGAREG_SEQ_DATA, v); \
83 WREG8(MGAREG_CRTC_INDEX, reg); \
89 WREG8(MGAREG_CRTC_INDEX, reg); \
90 WREG8(MGAREG_CRTC_DATA, v); \
[all …]
Dmgag200_pll.c369 WREG8(MGAREG_CRTC_INDEX, 0x1e); in mgag200_pixpll_update_g200wb()
372 WREG8(MGAREG_CRTC_DATA, tmp+1); in mgag200_pixpll_update_g200wb()
376 WREG8(DAC_INDEX, MGA1064_PIX_CLK_CTL); in mgag200_pixpll_update_g200wb()
379 WREG8(DAC_DATA, tmp); in mgag200_pixpll_update_g200wb()
381 WREG8(DAC_INDEX, MGA1064_REMHEADCTL); in mgag200_pixpll_update_g200wb()
384 WREG8(DAC_DATA, tmp); in mgag200_pixpll_update_g200wb()
389 WREG8(MGAREG_MEM_MISC_WRITE, tmp); in mgag200_pixpll_update_g200wb()
391 WREG8(DAC_INDEX, MGA1064_PIX_CLK_CTL); in mgag200_pixpll_update_g200wb()
394 WREG8(DAC_DATA, tmp); in mgag200_pixpll_update_g200wb()
399 WREG8(DAC_INDEX, MGA1064_VREF_CTL); in mgag200_pixpll_update_g200wb()
[all …]
Dmgag200_mode.c55 WREG8(DAC_INDEX + MGA1064_INDEX, 0); in mga_crtc_load_lut()
75 WREG8(DAC_INDEX + MGA1064_COL_PAL, r); in mga_crtc_load_lut()
76 WREG8(DAC_INDEX + MGA1064_COL_PAL, *g_ptr++ >> 8); in mga_crtc_load_lut()
77 WREG8(DAC_INDEX + MGA1064_COL_PAL, b); in mga_crtc_load_lut()
83 WREG8(DAC_INDEX + MGA1064_COL_PAL, *r_ptr++ >> 8); in mga_crtc_load_lut()
84 WREG8(DAC_INDEX + MGA1064_COL_PAL, *g_ptr++ >> 8); in mga_crtc_load_lut()
85 WREG8(DAC_INDEX + MGA1064_COL_PAL, *b_ptr++ >> 8); in mga_crtc_load_lut()
121 WREG8(DAC_INDEX, MGA1064_GEN_IO_CTL); in mgag200_g200wb_hold_bmc()
127 WREG8(DAC_INDEX, MGA1064_GEN_IO_DATA); in mgag200_g200wb_hold_bmc()
135 WREG8(DAC_INDEX, MGA1064_SPAREREG); in mgag200_g200wb_hold_bmc()
[all …]
Dmgag200_i2c.c38 WREG8(DAC_INDEX, MGA1064_GEN_IO_DATA); in mga_i2c_read_gpio()
46 WREG8(DAC_INDEX, MGA1064_GEN_IO_CTL); in mga_i2c_set_gpio()
Dmgag200_mm.c104 WREG8(MGA_MISC_OUT, misc); in mgag200_mm_init()
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Dmxgpu_ai.c37 WREG8(AI_MAIBOX_CONTROL_RCV_OFFSET_BYTE, 2); in xgpu_ai_mailbox_send_ack()
42 WREG8(AI_MAIBOX_CONTROL_TRN_OFFSET_BYTE, val ? 1 : 0); in xgpu_ai_mailbox_set_valid()
Dmxgpu_nv.c36 WREG8(NV_MAIBOX_CONTROL_RCV_OFFSET_BYTE, 2); in xgpu_nv_mailbox_send_ack()
41 WREG8(NV_MAIBOX_CONTROL_TRN_OFFSET_BYTE, val ? 1 : 0); in xgpu_nv_mailbox_set_valid()
Damdgpu.h1171 #define WREG8(reg, v) amdgpu_mm_wreg8(adev, (reg), (v)) macro
/Linux-v5.15/drivers/gpu/drm/radeon/
Dradeon_legacy_tv.c289 WREG8(RADEON_CLOCK_CNTL_INDEX, RADEON_PLL_TEST_CNTL); in radeon_wait_pll_lock()
291 WREG8(RADEON_CLOCK_CNTL_DATA + 3, 0); in radeon_wait_pll_lock()
Dr100.c2892 WREG8(RADEON_CLOCK_CNTL_INDEX, reg & 0x3f); in r100_pll_rreg()
2905 WREG8(RADEON_CLOCK_CNTL_INDEX, ((reg & 0x3f) | RADEON_PLL_WR_EN)); in r100_pll_wreg()
3786 WREG8(R_0003C2_GENMO_WT, C_0003C2_VGA_RAM_EN & save->GENMO_WT); in r100_mc_stop()
3817 WREG8(R_0003C2_GENMO_WT, save->GENMO_WT); in r100_mc_resume()
3830 WREG8(R_0003C2_GENMO_WT, C_0003C2_VGA_RAM_EN & tmp); in r100_vga_render_disable()
Dradeon_display.c72 WREG8(AVIVO_DC_LUT_RW_INDEX, 0); in avivo_crtc_load_lut()
209 WREG8(RADEON_PALETTE_INDEX, 0); in legacy_crtc_load_lut()
Dradeon.h2542 #define WREG8(reg, v) writeb(v, (rdev->rmmio) + (reg)) macro