Searched refs:npregs (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/video/console/ |
H A D | newport_con.c | 44 static struct newport_regs *npregs; variable in typeref:struct:newport_regs 74 newport_wait(npregs); newport_render_background() 75 npregs->set.wrmask = 0xffffffff; newport_render_background() 76 npregs->set.drawmode0 = (NPORT_DMODE0_DRAW | NPORT_DMODE0_BLOCK | newport_render_background() 79 npregs->set.colori = ci; newport_render_background() 80 npregs->set.xystarti = newport_render_background() 82 npregs->go.xyendi = newport_render_background() 91 newport_bfwait(npregs); newport_init_cmap() 92 newport_cmap_setaddr(npregs, color_table[i]); newport_init_cmap() 93 newport_cmap_setrgb(npregs, newport_init_cmap() 113 newport_bfwait(npregs); newport_show_logo() 114 newport_cmap_setaddr(npregs, i + 0x20); newport_show_logo() 115 newport_cmap_setrgb(npregs, clut[0], clut[1], clut[2]); newport_show_logo() 119 newport_wait(npregs); newport_show_logo() 120 npregs->set.drawmode0 = (NPORT_DMODE0_DRAW | NPORT_DMODE0_BLOCK | newport_show_logo() 123 npregs->set.xystarti = ((newport_xsize - logo->width) << 16) | (0); newport_show_logo() 124 npregs->set.xyendi = ((newport_xsize - 1) << 16); newport_show_logo() 125 newport_wait(npregs); newport_show_logo() 128 npregs->go.hostrw0 = *data++ << 24; newport_show_logo() 140 newport_wait(npregs); newport_clear_screen() 141 npregs->set.wrmask = 0xffffffff; newport_clear_screen() 142 npregs->set.drawmode0 = (NPORT_DMODE0_DRAW | NPORT_DMODE0_BLOCK | newport_clear_screen() 145 npregs->set.colori = ci; newport_clear_screen() 146 npregs->set.xystarti = (xstart << 16) | ystart; newport_clear_screen() 147 npregs->go.xyendi = (xend << 16) | yend; newport_clear_screen() 162 newport_wait(npregs); newport_reset() 163 treg = newport_vc2_get(npregs, VC2_IREG_CONTROL); newport_reset() 164 newport_vc2_set(npregs, VC2_IREG_CONTROL, newport_reset() 167 treg = newport_vc2_get(npregs, VC2_IREG_CENTRY); newport_reset() 168 newport_vc2_set(npregs, VC2_IREG_RADDR, treg); newport_reset() 169 npregs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_RAM | newport_reset() 172 newport_bfwait(npregs); newport_reset() 174 npregs->set.dcbdata0.byshort.s1 = 0xff00; newport_reset() 176 npregs->set.dcbdata0.byshort.s1 = 0x0000; newport_reset() 182 npregs->set.dcbmode = (DCB_XMAP0 | R_DCB_XMAP9_PROTOCOL | newport_reset() 184 npregs->set.dcbdata0.bybytes.b3 &= ~XM9_PUPMODE; newport_reset() 185 npregs->set.dcbmode = (DCB_XMAP1 | R_DCB_XMAP9_PROTOCOL | newport_reset() 187 npregs->set.dcbdata0.bybytes.b3 &= ~XM9_PUPMODE; newport_reset() 190 npregs->cset.topscan = 0x3ff; newport_reset() 191 npregs->cset.xywin = (4096 << 16) | 4096; newport_reset() 207 ventry = newport_vc2_get(npregs, VC2_IREG_VENTRY); newport_get_screensize() 208 newport_vc2_set(npregs, VC2_IREG_RADDR, ventry); newport_get_screensize() 209 npregs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_RAM | newport_get_screensize() 212 newport_bfwait(npregs); newport_get_screensize() 213 linetable[i] = npregs->set.dcbdata0.byshort.s1; newport_get_screensize() 219 newport_vc2_set(npregs, VC2_IREG_RADDR, linetable[i]); newport_get_screensize() 220 npregs->set.dcbmode = (NPORT_DMODE_AVC2 | VC2_REGADDR_RAM | newport_get_screensize() 223 newport_bfwait(npregs); newport_get_screensize() 224 treg = npregs->set.dcbdata0.byshort.s1; newport_get_screensize() 228 newport_bfwait(npregs); newport_get_screensize() 229 treg = npregs->set.dcbdata0.byshort.s1; newport_get_screensize() 252 rex3_rev = npregs->cset.status & NPORT_STAT_VERS; newport_get_revisions() 254 npregs->set.dcbmode = (DCB_CMAP0 | NCMAP_PROTOCOL | newport_get_revisions() 256 tmp = npregs->set.dcbdata0.bybytes.b3; newport_get_revisions() 261 npregs->set.dcbmode = (DCB_CMAP1 | NCMAP_PROTOCOL | newport_get_revisions() 263 tmp = npregs->set.dcbdata0.bybytes.b3; newport_get_revisions() 267 vc2_rev = (newport_vc2_get(npregs, VC2_IREG_CONFIG) >> 5) & 7; newport_get_revisions() 269 npregs->set.dcbmode = (DCB_XMAP0 | R_DCB_XMAP9_PROTOCOL | newport_get_revisions() 271 xmap9_rev = npregs->set.dcbdata0.bybytes.b3 & 7; newport_get_revisions() 273 npregs->set.dcbmode = (DCB_BT445 | BT445_PROTOCOL | newport_get_revisions() 275 npregs->set.dcbdata0.bybytes.b3 = BT445_REVISION_REG; newport_get_revisions() 276 npregs->set.dcbmode = (DCB_BT445 | BT445_PROTOCOL | newport_get_revisions() 278 bt445_rev = (npregs->set.dcbdata0.bybytes.b3 >> 4) - 0x0a; newport_get_revisions() 305 npregs->cset.config = NPORT_CFG_GD0; newport_startup() 307 if (newport_wait(npregs)) newport_startup() 310 npregs->set.xstarti = TESTVAL; newport_startup() 311 if (npregs->set._xstart.word != XSTI_TO_FXSTART(TESTVAL)) newport_startup() 385 newport_wait(npregs); newport_putc() 386 npregs->set.colori = charattr & 0xf; newport_putc() 387 npregs->set.drawmode0 = (NPORT_DMODE0_DRAW | NPORT_DMODE0_BLOCK | newport_putc() 392 npregs->set.xystarti = (xpos << 16) | ((ypos + topscan) & 0x3ff); newport_putc() 393 npregs->set.xyendi = ((xpos + 7) << 16); newport_putc() 394 newport_wait(npregs); newport_putc() 397 RENDER(npregs, p); newport_putc() 418 newport_wait(npregs); newport_putcs() 421 npregs->set.colori = charattr & 0xf; newport_putcs() 422 npregs->set.drawmode0 = (NPORT_DMODE0_DRAW | NPORT_DMODE0_BLOCK | newport_putcs() 429 newport_wait(npregs); newport_putcs() 432 npregs->set.xystarti = newport_putcs() 434 npregs->set.xyendi = ((xpos + 7) << 16); newport_putcs() 437 RENDER(npregs, p); newport_putcs() 448 treg = newport_vc2_get(npregs, VC2_IREG_CONTROL); newport_cursor() 449 newport_vc2_set(npregs, VC2_IREG_CONTROL, newport_cursor() 455 treg = newport_vc2_get(npregs, VC2_IREG_CONTROL); newport_cursor() 456 newport_vc2_set(npregs, VC2_IREG_CONTROL, newport_cursor() 461 newport_vc2_set(npregs, VC2_IREG_CURSX, xcurs); newport_cursor() 462 newport_vc2_set(npregs, VC2_IREG_CURSY, ycurs); newport_cursor() 471 npregs->cset.topscan = 0x3ff; newport_switch() 489 treg = newport_vc2_get(npregs, VC2_IREG_CONTROL); newport_blank() 490 newport_vc2_set(npregs, VC2_IREG_CONTROL, newport_blank() 494 treg = newport_vc2_get(npregs, VC2_IREG_CONTROL); newport_blank() 495 newport_vc2_set(npregs, VC2_IREG_CONTROL, newport_blank() 608 npregs->cset.topscan = (topscan - 1) & 0x3ff; newport_scroll() 706 newport_wait(npregs); newport_bmove() 707 npregs->set.drawmode0 = (NPORT_DMODE0_S2S | NPORT_DMODE0_BLOCK | newport_bmove() 710 npregs->set.xystarti = (xs << 16) | ys; newport_bmove() 711 npregs->set.xyendi = (xe << 16) | ye; newport_bmove() 712 npregs->go.xymove = (xoffs << 16) | yoffs; newport_bmove() 752 if (npregs) newport_probe() 759 npregs = (struct newport_regs *)/* ioremap cannot fail */ newport_probe() 770 iounmap((void *)npregs); newport_remove()
|
Completed in 153 milliseconds