Home
last modified time | relevance | path

Searched full:outreg (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/video/fbdev/aty/
H A 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 …]
H A Dradeon_pm.c551 OUTREG( MC_IND_INDEX, indx | MC_IND_INDEX__MC_IND_WR_EN); in OUTMC()
552 OUTREG( MC_IND_DATA, value); in OUTMC()
557 OUTREG( MC_IND_INDEX, indx); in INMC()
702 OUTREG(SURFACE_CNTL, rinfo->save_regs[29]); in radeon_pm_restore_regs()
703 OUTREG(MC_FB_LOCATION, rinfo->save_regs[30]); in radeon_pm_restore_regs()
704 OUTREG(DISPLAY_BASE_ADDR, rinfo->save_regs[31]); in radeon_pm_restore_regs()
705 OUTREG(MC_AGP_LOCATION, rinfo->save_regs[32]); in radeon_pm_restore_regs()
706 OUTREG(CRTC2_DISPLAY_BASE_ADDR, rinfo->save_regs[33]); in radeon_pm_restore_regs()
707 OUTREG(CNFG_MEMSIZE, rinfo->video_ram); in radeon_pm_restore_regs()
709 OUTREG(DISP_MISC_CNTL, rinfo->save_regs[9]); in radeon_pm_restore_regs()
[all …]
H A Dradeon_backlight.c71 OUTREG(LVDS_GEN_CNTL, lvds_gen_cntl); in radeon_bl_update_status()
86 OUTREG(LVDS_GEN_CNTL, lvds_gen_cntl); in radeon_bl_update_status()
102 OUTREG(LVDS_GEN_CNTL, lvds_gen_cntl); in radeon_bl_update_status()
105 OUTREG(LVDS_GEN_CNTL, lvds_gen_cntl); in radeon_bl_update_status()
H A Dradeon_i2c.c28 OUTREG(chan->ddc_reg, val); in radeon_gpio_setscl()
42 OUTREG(chan->ddc_reg, val); in radeon_gpio_setsda()
H A 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()
H A Dradeonfb.h381 #define OUTREG(addr,val) writel(val, (rinfo->mmio_base)+addr) macro
/linux/drivers/video/fbdev/mb862xx/
H A Dmb862xxfbdrv.c92 outreg(disp, GC_L0PAL0 + (regno * 4), val); in mb862xxfb_setcolreg()
210 outreg(disp, GC_DCM1, reg); in mb862xxfb_set_par()
217 outreg(disp, GC_DCM1, reg); in mb862xxfb_set_par()
225 outreg(disp, GC_L0M, reg); in mb862xxfb_set_par()
229 outreg(disp, GC_L0EM, reg | GC_L0EM_L0EC_24); in mb862xxfb_set_par()
231 outreg(disp, GC_WY_WX, 0); in mb862xxfb_set_par()
233 outreg(disp, GC_WH_WW, reg); in mb862xxfb_set_par()
234 outreg(disp, GC_L0OA0, 0); in mb862xxfb_set_par()
235 outreg(disp, GC_L0DA0, 0); in mb862xxfb_set_par()
236 outreg(disp, GC_L0DY_L0DX, 0); in mb862xxfb_set_par()
[all …]
H A Dmb862xxfb_accel.c31 outreg(geo, GDC_GEO_REG_INPUT_FIFO, data[total]); in mb862xxfb_write_fifo()
311 outreg(disp, GC_L0EM, 3); in mb862xxfb_init_accel()
316 outreg(draw, GDC_REG_DRAW_BASE, 0); in mb862xxfb_init_accel()
317 outreg(draw, GDC_REG_MODE_MISC, 0x8000); in mb862xxfb_init_accel()
318 outreg(draw, GDC_REG_X_RESOLUTION, xres); in mb862xxfb_init_accel()
H A Dmb862xxfb.h115 #define outreg(type, off, val) \ macro
/linux/drivers/media/dvb-frontends/
H A Ddib7000p.c170 u16 outreg, fifo_threshold, smo_mode; in dib7000p_set_output_mode() local
172 outreg = 0; in dib7000p_set_output_mode()
180 outreg = (1 << 10); /* 0x0400 */ in dib7000p_set_output_mode()
183 outreg = (1 << 10) | (1 << 6); /* 0x0440 */ in dib7000p_set_output_mode()
186 outreg = (1 << 10) | (2 << 6) | (0 << 1); /* 0x0480 */ in dib7000p_set_output_mode()
190 outreg = (1 << 10) | (4 << 6); /* 0x0500 */ in dib7000p_set_output_mode()
192 outreg = (1 << 11); in dib7000p_set_output_mode()
197 outreg = (1 << 10) | (5 << 6); in dib7000p_set_output_mode()
200 outreg = (1 << 10) | (3 << 6); in dib7000p_set_output_mode()
203 outreg = 0; in dib7000p_set_output_mode()
[all …]
H A Ddib7000m.c154 u16 outreg, fifo_threshold, smo_mode, in dib7000m_set_output_mode() local
157 outreg = 0; in dib7000m_set_output_mode()
165 outreg = (1 << 10); /* 0x0400 */ in dib7000m_set_output_mode()
168 outreg = (1 << 10) | (1 << 6); /* 0x0440 */ in dib7000m_set_output_mode()
171 outreg = (1 << 10) | (2 << 6) | (0 << 1); /* 0x0482 */ in dib7000m_set_output_mode()
175 outreg = (1 << 10) | (4 << 6); /* 0x0500 */ in dib7000m_set_output_mode()
182 outreg = (1 << 10) | (5 << 6); in dib7000m_set_output_mode()
185 outreg = 0; in dib7000m_set_output_mode()
197 ret |= dib7000m_write_word(state, 1795, outreg); in dib7000m_set_output_mode()
H A Ddib9000.c1539 u16 outreg, smo_mode; in dib9000_fw_set_output_mode() local
1545 outreg = (1 << 10); /* 0x0400 */ in dib9000_fw_set_output_mode()
1548 outreg = (1 << 10) | (1 << 6); /* 0x0440 */ in dib9000_fw_set_output_mode()
1551 outreg = (1 << 10) | (2 << 6) | (0 << 1); /* 0x0482 */ in dib9000_fw_set_output_mode()
1554 outreg = (1 << 10) | (4 << 6); /* 0x0500 */ in dib9000_fw_set_output_mode()
1557 outreg = (1 << 10) | (5 << 6); in dib9000_fw_set_output_mode()
1560 outreg = 0; in dib9000_fw_set_output_mode()
1567 dib9000_write_word(state, 1795, outreg); in dib9000_fw_set_output_mode()
1581 outreg = to_fw_output_mode(mode); in dib9000_fw_set_output_mode()
1582 return dib9000_mbx_send(state, OUT_MSG_SET_OUTPUT_MODE, &outreg, 1); in dib9000_fw_set_output_mode()
H A Ddib3000mc.c188 u16 outreg = 0; in dib3000mc_set_output_mode() local
236 outreg = dib3000mc_read_word(state, 244) & 0x07FF; in dib3000mc_set_output_mode()
237 outreg |= (outmode << 11); in dib3000mc_set_output_mode()
238 ret |= dib3000mc_write_word(state, 244, outreg); in dib3000mc_set_output_mode()
/linux/drivers/watchdog/
H A Deurotechwdt.c441 goto outreg; in eurwdt_init()
462 outreg: in eurwdt_init()
H A Dwdt.c612 goto outreg; in wdt_init()
651 outreg: in wdt_init()