Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/video/fbdev/aty/
Dradeon_pm.c339 if ((INREG(CNFG_CNTL) & CFG_ATI_REV_ID_MASK) > CFG_ATI_REV_A13) in radeon_pm_enable_dynamic_mode()
422 if (INREG(MEM_CNTL) & R300_MEM_USE_CD_CH_ONLY) in radeon_pm_enable_dynamic_mode()
474 ((INREG(CNFG_CNTL) & CFG_ATI_REV_ID_MASK) < CFG_ATI_REV_A13)) || in radeon_pm_enable_dynamic_mode()
476 ((INREG(CNFG_CNTL) & CFG_ATI_REV_ID_MASK) <= CFG_ATI_REV_A13))) { in radeon_pm_enable_dynamic_mode()
492 ((INREG(CNFG_CNTL) & CFG_ATI_REV_ID_MASK) < CFG_ATI_REV_A13)) in radeon_pm_enable_dynamic_mode()
503 ((INREG(CNFG_CNTL) & CFG_ATI_REV_ID_MASK) < CFG_ATI_REV_A13)) { in radeon_pm_enable_dynamic_mode()
559 return INREG( MC_IND_DATA); in INMC()
574 rinfo->save_regs[9] = INREG(DISP_MISC_CNTL); in radeon_pm_save_regs()
575 rinfo->save_regs[10] = INREG(DISP_PWR_MAN); in radeon_pm_save_regs()
576 rinfo->save_regs[11] = INREG(LVDS_GEN_CNTL); in radeon_pm_save_regs()
[all …]
Dradeon_accel.c30 local_base = INREG(MC_FB_LOCATION) << 16; in radeon_fixup_offset()
201 clock_cntl_index = INREG(CLOCK_CNTL_INDEX); in radeonfb_engine_reset()
212 host_path_cntl = INREG(HOST_PATH_CNTL); in radeonfb_engine_reset()
213 rbbm_soft_reset = INREG(RBBM_SOFT_RESET); in radeonfb_engine_reset()
222 INREG(RBBM_SOFT_RESET); in radeonfb_engine_reset()
224 tmp = INREG(RB2D_DSTCACHE_MODE); in radeonfb_engine_reset()
235 INREG(RBBM_SOFT_RESET); in radeonfb_engine_reset()
244 INREG(RBBM_SOFT_RESET); in radeonfb_engine_reset()
248 INREG(HOST_PATH_CNTL); in radeonfb_engine_reset()
269 OUTREG(RB2D_DSTCACHE_MODE, INREG(RB2D_DSTCACHE_MODE) | in radeonfb_engine_init()
[all …]
Dradeon_base.c295 (void)INREG(CLOCK_CNTL_DATA); in radeon_pll_errata_after_index_slow()
296 (void)INREG(CRTC_GEN_CNTL); in radeon_pll_errata_after_index_slow()
307 save = INREG(CLOCK_CNTL_INDEX); in radeon_pll_errata_after_data_slow()
310 tmp = INREG(CLOCK_CNTL_DATA); in radeon_pll_errata_after_data_slow()
321 tmp = INREG(addr); in _OUTREGP()
334 data = INREG(CLOCK_CNTL_DATA); in __INPLL()
363 if ((INREG(RBBM_STATUS) & 0x7f) >= entries) in _radeon_fifo_wait()
385 if (!(INREG(DSTCACHE_CTLSTAT) & RB2D_DC_BUSY)) in radeon_engine_flush()
400 if (((INREG(RBBM_STATUS) & GUI_ACTIVE)) == 0) { in _radeon_engine_idle()
432 temp = INREG(MPP_TB_CONFIG); in radeon_map_ROM()
[all …]
Dradeon_i2c.c24 val = INREG(chan->ddc_reg) & ~(VGA_DDC_CLK_OUT_EN); in radeon_gpio_setscl()
29 (void)INREG(chan->ddc_reg); in radeon_gpio_setscl()
38 val = INREG(chan->ddc_reg) & ~(VGA_DDC_DATA_OUT_EN); in radeon_gpio_setsda()
43 (void)INREG(chan->ddc_reg); in radeon_gpio_setsda()
52 val = INREG(chan->ddc_reg); in radeon_gpio_getscl()
63 val = INREG(chan->ddc_reg); in radeon_gpio_getsda()
157 (INREG(LVDS_GEN_CNTL) & LVDS_ON)) { in radeon_probe_i2c_connector()
Dradeon_monitor.c325 ulOrigCRTC_EXT_CNTL = INREG(CRTC_EXT_CNTL); in radeon_crt_is_connected()
330 ulOrigDAC_EXT_CNTL = INREG(DAC_EXT_CNTL); in radeon_crt_is_connected()
344 ulOrigDAC_CNTL = INREG(DAC_CNTL); in radeon_crt_is_connected()
354 ulData = INREG(DAC_CNTL); in radeon_crt_is_connected()
569 ((rinfo->bios_seg && (INREG(BIOS_4_SCRATCH) & 4)) in radeon_probe_screens()
570 || (INREG(LVDS_GEN_CNTL) & LVDS_ON))) { in radeon_probe_screens()
852 u32 tmp = INREG(FP_HORZ_STRETCH) & HORZ_PANEL_SIZE; in radeon_check_modes()
854 tmp = INREG(FP_VERT_STRETCH) & VERT_PANEL_SIZE; in radeon_check_modes()
Dradeon_backlight.c69 lvds_gen_cntl = INREG(LVDS_GEN_CNTL); in radeon_bl_update_status()
Dradeonfb.h380 #define INREG(addr) readl((rinfo->mmio_base)+addr) macro
/Linux-v5.4/drivers/video/fbdev/intelfb/
Dintelfbhw.c286 if (INREG(LVDS) & PORT_ENABLE) in intelfbhw_check_non_crt()
288 if (INREG(DVOA) & PORT_ENABLE) in intelfbhw_check_non_crt()
290 if (INREG(DVOB) & PORT_ENABLE) in intelfbhw_check_non_crt()
292 if (INREG(DVOC) & PORT_ENABLE) in intelfbhw_check_non_crt()
427 tmp = INREG(DSPACNTR); in intelfbhw_do_blank()
434 tmp = INREG(DSPABASE); in intelfbhw_do_blank()
451 tmp = INREG(ADPA) & ~ADPA_DPMS_CONTROL_MASK; in intelfbhw_do_blank()
531 hw->vga0_divisor = INREG(VGA0_DIVISOR); in intelfbhw_read_hw_state()
532 hw->vga1_divisor = INREG(VGA1_DIVISOR); in intelfbhw_read_hw_state()
533 hw->vga_pd = INREG(VGAPD); in intelfbhw_read_hw_state()
[all …]
Dintelfb_i2c.c62 val = INREG(chan->reg); in intelfb_gpio_setscl()
73 val = INREG(chan->reg); in intelfb_gpio_setsda()
84 val = INREG(chan->reg); in intelfb_gpio_getscl()
96 val = INREG(chan->reg); in intelfb_gpio_getsda()
Dintelfbhw.h525 #define INREG(addr) readl((u32 __iomem *)(dinfo->mmio_base + (addr))) macro
553 head = INREG(PRI_RING_HEAD) & RING_HEAD_MASK; \
554 tail = INREG(PRI_RING_TAIL) & RING_TAIL_MASK; \
Dintelfbdrv.c1336 OUTREG(DPLL_A, INREG(DPLL_A) & ~DPLL_VCO_ENABLE); in intelfb_set_par()
1557 if (INREG(CURSOR_A_BASEADDR) != physical) { in intelfb_cursor()