Lines Matching refs:CNTRL_REG

135 #define CNTRL_REG(INFO,REG) (&(((INFO)->control_regs->REG).r))  macro
212 out_le32(CNTRL_REG(p,start_addr), in set_screen_start()
245 out_le32(CNTRL_REG(p,ctrl), 0x400 | par->ctrl); in control_set_hardware()
258 out_le32(CNTRL_REG(p,pitch), par->pitch); in control_set_hardware()
259 out_le32(CNTRL_REG(p,mode), r->mode); in control_set_hardware()
260 out_le32(CNTRL_REG(p,vram_attr), p->vram_attr); in control_set_hardware()
261 out_le32(CNTRL_REG(p,start_addr), par->yoffset * par->pitch in control_set_hardware()
263 out_le32(CNTRL_REG(p,rfrcnt), 0x1e5); in control_set_hardware()
264 out_le32(CNTRL_REG(p,intr_ena), 0); in control_set_hardware()
267 out_le32(CNTRL_REG(p,ctrl), par->ctrl); in control_set_hardware()
289 out_le32(CNTRL_REG(p,vram_attr), 0x31); in find_vram_size()
303 out_le32(CNTRL_REG(p,vram_attr), 0x39); in find_vram_size()
350 out_le32(CNTRL_REG(p,mon_sense), 7); /* drive all lines high */ in read_control_sense()
352 out_le32(CNTRL_REG(p,mon_sense), 077); /* turn off drivers */ in read_control_sense()
354 sense = (in_le32(CNTRL_REG(p,mon_sense)) & 0x1c0) << 2; in read_control_sense()
357 out_le32(CNTRL_REG(p,mon_sense), 033); /* drive A low */ in read_control_sense()
359 sense |= (in_le32(CNTRL_REG(p,mon_sense)) & 0xc0) >> 2; in read_control_sense()
360 out_le32(CNTRL_REG(p,mon_sense), 055); /* drive B low */ in read_control_sense()
362 sense |= ((in_le32(CNTRL_REG(p,mon_sense)) & 0x100) >> 5) in read_control_sense()
363 | ((in_le32(CNTRL_REG(p,mon_sense)) & 0x40) >> 4); in read_control_sense()
364 out_le32(CNTRL_REG(p,mon_sense), 066); /* drive C low */ in read_control_sense()
366 sense |= (in_le32(CNTRL_REG(p,mon_sense)) & 0x180) >> 7; in read_control_sense()
368 out_le32(CNTRL_REG(p,mon_sense), 077); /* turn off drivers */ in read_control_sense()
699 ctrl = in_le32(CNTRL_REG(p, ctrl)); in controlfb_blank()
721 out_le32(CNTRL_REG(p,ctrl), ctrl); in controlfb_blank()