• Home
  • Raw
  • Download

Lines Matching refs:CNTRL_REG

145 #define CNTRL_REG(INFO,REG) (&(((INFO)->control_regs->REG).r))  macro
222 out_le32(CNTRL_REG(p,start_addr), in set_screen_start()
255 out_le32(CNTRL_REG(p,ctrl), 0x400 | par->ctrl); in control_set_hardware()
268 out_le32(CNTRL_REG(p,pitch), par->pitch); in control_set_hardware()
269 out_le32(CNTRL_REG(p,mode), r->mode); in control_set_hardware()
270 out_le32(CNTRL_REG(p,vram_attr), p->vram_attr); in control_set_hardware()
271 out_le32(CNTRL_REG(p,start_addr), par->yoffset * par->pitch in control_set_hardware()
273 out_le32(CNTRL_REG(p,rfrcnt), 0x1e5); in control_set_hardware()
274 out_le32(CNTRL_REG(p,intr_ena), 0); in control_set_hardware()
277 out_le32(CNTRL_REG(p,ctrl), par->ctrl); in control_set_hardware()
299 out_le32(CNTRL_REG(p,vram_attr), 0x31); in find_vram_size()
313 out_le32(CNTRL_REG(p,vram_attr), 0x39); in find_vram_size()
360 out_le32(CNTRL_REG(p,mon_sense), 7); /* drive all lines high */ in read_control_sense()
362 out_le32(CNTRL_REG(p,mon_sense), 077); /* turn off drivers */ in read_control_sense()
364 sense = (in_le32(CNTRL_REG(p,mon_sense)) & 0x1c0) << 2; in read_control_sense()
367 out_le32(CNTRL_REG(p,mon_sense), 033); /* drive A low */ in read_control_sense()
369 sense |= (in_le32(CNTRL_REG(p,mon_sense)) & 0xc0) >> 2; in read_control_sense()
370 out_le32(CNTRL_REG(p,mon_sense), 055); /* drive B low */ in read_control_sense()
372 sense |= ((in_le32(CNTRL_REG(p,mon_sense)) & 0x100) >> 5) in read_control_sense()
373 | ((in_le32(CNTRL_REG(p,mon_sense)) & 0x40) >> 4); in read_control_sense()
374 out_le32(CNTRL_REG(p,mon_sense), 066); /* drive C low */ in read_control_sense()
376 sense |= (in_le32(CNTRL_REG(p,mon_sense)) & 0x180) >> 7; in read_control_sense()
378 out_le32(CNTRL_REG(p,mon_sense), 077); /* turn off drivers */ in read_control_sense()
709 ctrl = in_le32(CNTRL_REG(p, ctrl)); in controlfb_blank()
731 out_le32(CNTRL_REG(p,ctrl), ctrl); in controlfb_blank()