Lines Matching refs:CNTRL_REG
119 #define CNTRL_REG(INFO,REG) (&(((INFO)->control_regs->REG).r))
252 out_le32(CNTRL_REG(p,start_addr),
325 ctrl = ld_le32(CNTRL_REG(p,ctrl));
347 out_le32(CNTRL_REG(p,ctrl), ctrl);
519 out_le32(CNTRL_REG(p,ctrl), 0x400 | par->ctrl);
532 out_le32(CNTRL_REG(p,pitch), par->pitch);
533 out_le32(CNTRL_REG(p,mode), r->mode);
534 out_le32(CNTRL_REG(p,vram_attr), p->vram_attr);
535 out_le32(CNTRL_REG(p,start_addr), par->yoffset * par->pitch
537 out_le32(CNTRL_REG(p,rfrcnt), 0x1e5);
538 out_le32(CNTRL_REG(p,intr_ena), 0);
541 out_le32(CNTRL_REG(p,ctrl), par->ctrl);
624 out_le32(CNTRL_REG(p,vram_attr), 0x31);
643 out_le32(CNTRL_REG(p,vram_attr), 0x39);
768 out_le32(CNTRL_REG(p,mon_sense), 7); /* drive all lines high */
770 out_le32(CNTRL_REG(p,mon_sense), 077); /* turn off drivers */
772 sense = (in_le32(CNTRL_REG(p,mon_sense)) & 0x1c0) << 2;
775 out_le32(CNTRL_REG(p,mon_sense), 033); /* drive A low */
777 sense |= (in_le32(CNTRL_REG(p,mon_sense)) & 0xc0) >> 2;
778 out_le32(CNTRL_REG(p,mon_sense), 055); /* drive B low */
780 sense |= ((in_le32(CNTRL_REG(p,mon_sense)) & 0x100) >> 5)
781 | ((in_le32(CNTRL_REG(p,mon_sense)) & 0x40) >> 4);
782 out_le32(CNTRL_REG(p,mon_sense), 066); /* drive C low */
784 sense |= (in_le32(CNTRL_REG(p,mon_sense)) & 0x180) >> 7;
786 out_le32(CNTRL_REG(p,mon_sense), 077); /* turn off drivers */