Searched refs:CNTRL_REG (Results 1 – 4 of 4) sorted by relevance
/drivers/video/ |
D | controlfb.c | 119 #define CNTRL_REG(INFO,REG) (&(((INFO)->control_regs->REG).r)) macro 252 out_le32(CNTRL_REG(p,start_addr), in set_screen_start() 315 ctrl = ld_le32(CNTRL_REG(p,ctrl)); in controlfb_blank() 337 out_le32(CNTRL_REG(p,ctrl), ctrl); in controlfb_blank() 509 out_le32(CNTRL_REG(p,ctrl), 0x400 | par->ctrl); in control_set_hardware() 522 out_le32(CNTRL_REG(p,pitch), par->pitch); in control_set_hardware() 523 out_le32(CNTRL_REG(p,mode), r->mode); in control_set_hardware() 524 out_le32(CNTRL_REG(p,vram_attr), p->vram_attr); in control_set_hardware() 525 out_le32(CNTRL_REG(p,start_addr), par->yoffset * par->pitch in control_set_hardware() 527 out_le32(CNTRL_REG(p,rfrcnt), 0x1e5); in control_set_hardware() [all …]
|
/drivers/ide/ |
D | opti621.c | 25 #define CNTRL_REG 3 /* index of Control register */ macro 96 outb(0xc0, reg_base + CNTRL_REG); in opti621_set_pio_mode() 100 (void)inb(reg_base + CNTRL_REG); in opti621_set_pio_mode() 102 read_reg(CNTRL_REG); in opti621_set_pio_mode() 121 write_reg(0x85, CNTRL_REG); in opti621_set_pio_mode()
|
/drivers/ata/ |
D | pata_opti.c | 41 CNTRL_REG = 3, /* index of Control register */ enumerator 148 opti_write_reg(ap, 0x85, CNTRL_REG); in opti_set_piomode()
|
D | pata_optidma.c | 40 CNTRL_REG = 3, /* index of Control register */ enumerator 179 iowrite8(0x85, regio + CNTRL_REG); in optidma_mode_setup()
|