Lines Matching refs:outb

120 	outb(0, fd->base + REG_BCTL);  in fdomain_make_bus_idle()
121 outb(0, fd->base + REG_MCTL); in fdomain_make_bus_idle()
124 outb(ACTL_RESET | ACTL_CLRFIRQ | PARITY_MASK, in fdomain_make_bus_idle()
127 outb(ACTL_RESET | PARITY_MASK, fd->base + REG_ACTL); in fdomain_make_bus_idle()
144 outb(CFG2_32BIT, port + REG_CFG2); in fdomain_identify()
146 outb(0, port + REG_CFG2); in fdomain_identify()
159 outb(i, base + REG_LOOPBACK); in fdomain_test_loopback()
169 outb(BCTL_RST, base + REG_BCTL); in fdomain_reset()
171 outb(0, base + REG_BCTL); in fdomain_reset()
173 outb(0, base + REG_MCTL); in fdomain_reset()
174 outb(PARITY_MASK, base + REG_ACTL); in fdomain_reset()
183 outb(BCTL_BUSEN | BCTL_SEL, fd->base + REG_BCTL); in fdomain_select()
184 outb(BIT(sh->this_id) | BIT(target), fd->base + REG_SCSI_DATA_NOACK); in fdomain_select()
187 outb(PARITY_MASK, fd->base + REG_ACTL); in fdomain_select()
196 outb(BCTL_BUSEN, fd->base + REG_BCTL); in fdomain_select()
207 outb(0, fd->base + REG_ICTL); in fdomain_finish_cmd()
252 outb(*ptr++, fd->base + REG_FIFO); in fdomain_write_data()
281 outb(ICTL_SEL | FIFO_COUNT, fd->base + REG_ICTL); in fdomain_work()
282 outb(BCTL_BUSEN | BCTL_SEL, fd->base + REG_BCTL); in fdomain_work()
283 outb(BIT(cmd->device->host->this_id) | BIT(scmd_id(cmd)), in fdomain_work()
286 outb(ACTL_IRQEN | PARITY_MASK, fd->base + REG_ACTL); in fdomain_work()
298 outb(ACTL_IRQEN | PARITY_MASK, fd->base + REG_ACTL); in fdomain_work()
301 outb(ICTL_FIFO | ICTL_REQ | FIFO_COUNT, fd->base + REG_ICTL); in fdomain_work()
302 outb(BCTL_BUSEN, fd->base + REG_BCTL); in fdomain_work()
312 outb(cmd->cmnd[cmd->SCp.sent_command++], in fdomain_work()
318 outb(ACTL_IRQEN | ACTL_FIFOWR | ACTL_FIFOEN | in fdomain_work()
325 outb(ACTL_IRQEN | ACTL_FIFOEN | PARITY_MASK, in fdomain_work()
333 outb(MESSAGE_REJECT, fd->base + REG_SCSI_DATA); in fdomain_work()
347 outb(ACTL_IRQEN | ACTL_FIFOWR | ACTL_FIFOEN | in fdomain_work()
351 outb(ACTL_IRQEN | ACTL_FIFOEN | PARITY_MASK, in fdomain_work()
369 outb(ICTL_FIFO | ICTL_SEL | ICTL_REQ | FIFO_COUNT, in fdomain_work()
371 outb(0, fd->base + REG_BCTL); in fdomain_work()
373 outb(ICTL_FIFO | ICTL_REQ | FIFO_COUNT, in fdomain_work()
388 outb(0, fd->base + REG_ICTL); in fdomain_irq()
418 outb(0, fd->base + REG_ICTL); in fdomain_queue()
419 outb(0, fd->base + REG_BCTL); /* Disable data drivers */ in fdomain_queue()
421 outb(BIT(cmd->device->host->this_id), fd->base + REG_SCSI_DATA_NOACK); in fdomain_queue()
422 outb(ICTL_ARB, fd->base + REG_ICTL); in fdomain_queue()
424 outb(ACTL_ARB | ACTL_IRQEN | PARITY_MASK, fd->base + REG_ACTL); in fdomain_queue()