Home
last modified time | relevance | path

Searched refs:OUTREG (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/drivers/video/fbdev/aty/
Dradeon_pm.c552 OUTREG( MC_IND_INDEX, indx | MC_IND_INDEX__MC_IND_WR_EN); in OUTMC()
553 OUTREG( MC_IND_DATA, value); in OUTMC()
558 OUTREG( MC_IND_INDEX, indx); in INMC()
703 OUTREG(SURFACE_CNTL, rinfo->save_regs[29]); in radeon_pm_restore_regs()
704 OUTREG(MC_FB_LOCATION, rinfo->save_regs[30]); in radeon_pm_restore_regs()
705 OUTREG(DISPLAY_BASE_ADDR, rinfo->save_regs[31]); in radeon_pm_restore_regs()
706 OUTREG(MC_AGP_LOCATION, rinfo->save_regs[32]); in radeon_pm_restore_regs()
707 OUTREG(CRTC2_DISPLAY_BASE_ADDR, rinfo->save_regs[33]); in radeon_pm_restore_regs()
708 OUTREG(CNFG_MEMSIZE, rinfo->video_ram); in radeon_pm_restore_regs()
710 OUTREG(DISP_MISC_CNTL, rinfo->save_regs[9]); in radeon_pm_restore_regs()
[all …]
Dradeon_accel.c37 OUTREG(DEFAULT_PITCH_OFFSET, (rinfo->pitch << 0x16) | in radeon_fixup_offset()
39 OUTREG(DST_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10)); in radeon_fixup_offset()
40 OUTREG(SRC_PITCH_OFFSET, (rinfo->pitch << 0x16) | (rinfo->fb_local_base >> 10)); in radeon_fixup_offset()
48 OUTREG(DP_GUI_MASTER_CNTL, in radeonfb_prim_fillrect()
53 OUTREG(DP_BRUSH_FRGD_CLR, rinfo->pseudo_palette[region->color]); in radeonfb_prim_fillrect()
55 OUTREG(DP_BRUSH_FRGD_CLR, region->color); in radeonfb_prim_fillrect()
56 OUTREG(DP_WRITE_MSK, 0xffffffff); in radeonfb_prim_fillrect()
57 OUTREG(DP_CNTL, (DST_X_LEFT_TO_RIGHT | DST_Y_TOP_TO_BOTTOM)); in radeonfb_prim_fillrect()
60 OUTREG(DSTCACHE_CTLSTAT, RB2D_DC_FLUSH_ALL); in radeonfb_prim_fillrect()
61 OUTREG(WAIT_UNTIL, (WAIT_2D_IDLECLEAN | WAIT_DMA_GUI_IDLE)); in radeonfb_prim_fillrect()
[all …]
Dradeon_base.c309 OUTREG(CLOCK_CNTL_INDEX, tmp); in radeon_pll_errata_after_data_slow()
311 OUTREG(CLOCK_CNTL_INDEX, save); in radeon_pll_errata_after_data_slow()
324 OUTREG(addr, tmp); in _OUTREGP()
343 OUTREG(CLOCK_CNTL_DATA, val); in __OUTPLL()
435 OUTREG(MPP_TB_CONFIG, temp); in radeon_map_ROM()
969 OUTREG(CRTC_OFFSET, (var->yoffset * info->fix.line_length + in radeonfb_pan_display()
1009 OUTREG(LVDS_GEN_CNTL, tmp); in radeonfb_ioctl()
1023 OUTREG(CRTC_EXT_CNTL, tmp); in radeonfb_ioctl()
1079 OUTREG(CRTC_EXT_CNTL, val); in radeon_screen_blank()
1101 OUTREG(LVDS_GEN_CNTL, target_val); in radeon_screen_blank()
[all …]
Dradeon_backlight.c75 OUTREG(LVDS_GEN_CNTL, lvds_gen_cntl); in radeon_bl_update_status()
90 OUTREG(LVDS_GEN_CNTL, lvds_gen_cntl); in radeon_bl_update_status()
106 OUTREG(LVDS_GEN_CNTL, lvds_gen_cntl); in radeon_bl_update_status()
109 OUTREG(LVDS_GEN_CNTL, lvds_gen_cntl); in radeon_bl_update_status()
Dradeon_i2c.c28 OUTREG(chan->ddc_reg, val); in radeon_gpio_setscl()
42 OUTREG(chan->ddc_reg, val); in radeon_gpio_setsda()
Dradeon_monitor.c328 OUTREG(CRTC_EXT_CNTL, ulData); in radeon_crt_is_connected()
342 OUTREG(DAC_EXT_CNTL, ulData); in radeon_crt_is_connected()
350 OUTREG(DAC_CNTL, ulData); in radeon_crt_is_connected()
361 OUTREG(DAC_CNTL, ulOrigDAC_CNTL ); in radeon_crt_is_connected()
362 OUTREG(DAC_EXT_CNTL, ulOrigDAC_EXT_CNTL ); in radeon_crt_is_connected()
363 OUTREG(CRTC_EXT_CNTL, ulOrigCRTC_EXT_CNTL); in radeon_crt_is_connected()
Dradeonfb.h381 #define OUTREG(addr,val) writel(val, (rinfo->mmio_base)+addr) macro
/Linux-v5.4/drivers/video/fbdev/intelfb/
Dintelfbhw.c410 OUTREG(DSPABASE, offset); in intelfbhw_pan_display()
432 OUTREG(DSPACNTR, tmp); in intelfbhw_do_blank()
435 OUTREG(DSPABASE, tmp); in intelfbhw_do_blank()
467 OUTREG(ADPA, tmp); in intelfbhw_do_blank()
511 OUTREG(palette_reg + (regno << 2), in intelfbhw_setcolreg()
1298 OUTREG(VGACNTRL, tmp); in intelfbhw_program_mode()
1355 OUTREG(pipe_conf_reg, tmp); in intelfbhw_program_mode()
1367 OUTREG(pipe_conf_reg, tmp); in intelfbhw_program_mode()
1371 OUTREG(ADPA, INREG(ADPA) & ~ADPA_DAC_ENABLE); in intelfbhw_program_mode()
1376 OUTREG(DSPACNTR, tmp); in intelfbhw_program_mode()
[all …]
Dintelfb_i2c.c60 OUTREG(chan->reg, (state ? SCL_VAL_OUT : 0) | in intelfb_gpio_setscl()
71 OUTREG(chan->reg, (state ? SDA_VAL_OUT : 0) | in intelfb_gpio_setsda()
82 OUTREG(chan->reg, SCL_DIR_MASK); in intelfb_gpio_getscl()
83 OUTREG(chan->reg, 0); in intelfb_gpio_getscl()
94 OUTREG(chan->reg, SDA_DIR_MASK); in intelfb_gpio_getsda()
95 OUTREG(chan->reg, 0); in intelfb_gpio_getsda()
Dintelfbhw.h530 #define OUTREG(addr, val) writel((val),(u32 __iomem *)(dinfo->mmio_base + \ macro
547 OUTREG(PRI_RING_TAIL, dinfo->ring_tail); \
Dintelfbdrv.c1336 OUTREG(DPLL_A, INREG(DPLL_A) & ~DPLL_VCO_ENABLE); in intelfb_set_par()