Lines Matching refs:CNTRL_REG

119 #define CNTRL_REG(INFO,REG) (&(((INFO)->control_regs->REG).r))  macro
253 out_le32(CNTRL_REG(p,start_addr), in set_screen_start()
318 ctrl = le32_to_cpup(CNTRL_REG(p,ctrl)); in controlfb_blank()
340 out_le32(CNTRL_REG(p,ctrl), ctrl); in controlfb_blank()
513 out_le32(CNTRL_REG(p,ctrl), 0x400 | par->ctrl); in control_set_hardware()
526 out_le32(CNTRL_REG(p,pitch), par->pitch); in control_set_hardware()
527 out_le32(CNTRL_REG(p,mode), r->mode); in control_set_hardware()
528 out_le32(CNTRL_REG(p,vram_attr), p->vram_attr); in control_set_hardware()
529 out_le32(CNTRL_REG(p,start_addr), par->yoffset * par->pitch in control_set_hardware()
531 out_le32(CNTRL_REG(p,rfrcnt), 0x1e5); in control_set_hardware()
532 out_le32(CNTRL_REG(p,intr_ena), 0); in control_set_hardware()
535 out_le32(CNTRL_REG(p,ctrl), par->ctrl); in control_set_hardware()
618 out_le32(CNTRL_REG(p,vram_attr), 0x31); in find_vram_size()
637 out_le32(CNTRL_REG(p,vram_attr), 0x39); in find_vram_size()
762 out_le32(CNTRL_REG(p,mon_sense), 7); /* drive all lines high */ in read_control_sense()
764 out_le32(CNTRL_REG(p,mon_sense), 077); /* turn off drivers */ in read_control_sense()
766 sense = (in_le32(CNTRL_REG(p,mon_sense)) & 0x1c0) << 2; in read_control_sense()
769 out_le32(CNTRL_REG(p,mon_sense), 033); /* drive A low */ in read_control_sense()
771 sense |= (in_le32(CNTRL_REG(p,mon_sense)) & 0xc0) >> 2; in read_control_sense()
772 out_le32(CNTRL_REG(p,mon_sense), 055); /* drive B low */ in read_control_sense()
774 sense |= ((in_le32(CNTRL_REG(p,mon_sense)) & 0x100) >> 5) in read_control_sense()
775 | ((in_le32(CNTRL_REG(p,mon_sense)) & 0x40) >> 4); in read_control_sense()
776 out_le32(CNTRL_REG(p,mon_sense), 066); /* drive C low */ in read_control_sense()
778 sense |= (in_le32(CNTRL_REG(p,mon_sense)) & 0x180) >> 7; in read_control_sense()
780 out_le32(CNTRL_REG(p,mon_sense), 077); /* turn off drivers */ in read_control_sense()