Lines Matching refs:outb
125 outb(0, fd->base + REG_BCTL); in fdomain_make_bus_idle()
126 outb(0, fd->base + REG_MCTL); in fdomain_make_bus_idle()
129 outb(ACTL_RESET | ACTL_CLRFIRQ | PARITY_MASK, in fdomain_make_bus_idle()
132 outb(ACTL_RESET | PARITY_MASK, fd->base + REG_ACTL); in fdomain_make_bus_idle()
149 outb(CFG2_32BIT, port + REG_CFG2); in fdomain_identify()
151 outb(0, port + REG_CFG2); in fdomain_identify()
164 outb(i, base + REG_LOOPBACK); in fdomain_test_loopback()
174 outb(BCTL_RST, base + REG_BCTL); in fdomain_reset()
176 outb(0, base + REG_BCTL); in fdomain_reset()
178 outb(0, base + REG_MCTL); in fdomain_reset()
179 outb(PARITY_MASK, base + REG_ACTL); in fdomain_reset()
188 outb(BCTL_BUSEN | BCTL_SEL, fd->base + REG_BCTL); in fdomain_select()
189 outb(BIT(sh->this_id) | BIT(target), fd->base + REG_SCSI_DATA_NOACK); in fdomain_select()
192 outb(PARITY_MASK, fd->base + REG_ACTL); in fdomain_select()
201 outb(BCTL_BUSEN, fd->base + REG_BCTL); in fdomain_select()
212 outb(0, fd->base + REG_ICTL); in fdomain_finish_cmd()
257 outb(*ptr++, fd->base + REG_FIFO); in fdomain_write_data()
287 outb(ICTL_SEL | FIFO_COUNT, fd->base + REG_ICTL); in fdomain_work()
288 outb(BCTL_BUSEN | BCTL_SEL, fd->base + REG_BCTL); in fdomain_work()
289 outb(BIT(cmd->device->host->this_id) | BIT(scmd_id(cmd)), in fdomain_work()
292 outb(ACTL_IRQEN | PARITY_MASK, fd->base + REG_ACTL); in fdomain_work()
304 outb(ACTL_IRQEN | PARITY_MASK, fd->base + REG_ACTL); in fdomain_work()
307 outb(ICTL_FIFO | ICTL_REQ | FIFO_COUNT, fd->base + REG_ICTL); in fdomain_work()
308 outb(BCTL_BUSEN, fd->base + REG_BCTL); in fdomain_work()
318 outb(cmd->cmnd[scsi_pointer->sent_command++], in fdomain_work()
324 outb(ACTL_IRQEN | ACTL_FIFOWR | ACTL_FIFOEN | in fdomain_work()
331 outb(ACTL_IRQEN | ACTL_FIFOEN | PARITY_MASK, in fdomain_work()
339 outb(MESSAGE_REJECT, fd->base + REG_SCSI_DATA); in fdomain_work()
353 outb(ACTL_IRQEN | ACTL_FIFOWR | ACTL_FIFOEN | in fdomain_work()
357 outb(ACTL_IRQEN | ACTL_FIFOEN | PARITY_MASK, in fdomain_work()
375 outb(ICTL_FIFO | ICTL_SEL | ICTL_REQ | FIFO_COUNT, in fdomain_work()
377 outb(0, fd->base + REG_BCTL); in fdomain_work()
379 outb(ICTL_FIFO | ICTL_REQ | FIFO_COUNT, in fdomain_work()
394 outb(0, fd->base + REG_ICTL); in fdomain_irq()
425 outb(0, fd->base + REG_ICTL); in fdomain_queue()
426 outb(0, fd->base + REG_BCTL); /* Disable data drivers */ in fdomain_queue()
428 outb(BIT(cmd->device->host->this_id), fd->base + REG_SCSI_DATA_NOACK); in fdomain_queue()
429 outb(ICTL_ARB, fd->base + REG_ICTL); in fdomain_queue()
431 outb(ACTL_ARB | ACTL_IRQEN | PARITY_MASK, fd->base + REG_ACTL); in fdomain_queue()