Lines Matching refs:iobase

175 	unsigned int iobase = info->link.io.BasePort1;  in bluecard_activity_led_timeout()  local
179 outb(0x08 | 0x20, iobase + 0x30); in bluecard_activity_led_timeout()
182 outb(0x00, iobase + 0x30); in bluecard_activity_led_timeout()
189 unsigned int iobase = info->link.io.BasePort1; in bluecard_enable_activity_led() local
193 outb(0x10 | 0x40, iobase + 0x30); in bluecard_enable_activity_led()
199 outb(0x08 | 0x20, iobase + 0x30); in bluecard_enable_activity_led()
211 static int bluecard_write(unsigned int iobase, unsigned int offset, __u8 *buf, int len) in bluecard_write() argument
217 outb_p(actual, iobase + offset); in bluecard_write()
220 outb_p(buf[i], iobase + offset + i + 1); in bluecard_write()
242 register unsigned int iobase = info->link.io.BasePort1; in bluecard_write_wakeup() local
274 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_write_wakeup()
281 len = bluecard_write(iobase, offset, skb->data, skb->len); in bluecard_write_wakeup()
284 outb_p(command, iobase + REG_COMMAND); in bluecard_write_wakeup()
318 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_write_wakeup()
322 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_write_wakeup()
347 static int bluecard_read(unsigned int iobase, unsigned int offset, __u8 *buf, int size) in bluecard_read() argument
351 outb(REG_COMMAND_RX_WIN_ONE, iobase + REG_COMMAND); in bluecard_read()
353 len = inb(iobase + offset); in bluecard_read()
360 outb(REG_COMMAND_RX_WIN_TWO, iobase + REG_COMMAND); in bluecard_read()
364 buf[n] = inb(iobase + offset + i); in bluecard_read()
377 unsigned int iobase; in bluecard_receive() local
386 iobase = info->link.io.BasePort1; in bluecard_receive()
391 len = bluecard_read(iobase, offset, buf, sizeof(buf)); in bluecard_receive()
505 unsigned int iobase; in bluecard_interrupt() local
516 iobase = info->link.io.BasePort1; in bluecard_interrupt()
522 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_interrupt()
524 reg = inb(iobase + REG_INTERRUPT); in bluecard_interrupt()
530 outb(0x04, iobase + REG_INTERRUPT); in bluecard_interrupt()
531 outb(REG_COMMAND_RX_BUF_ONE, iobase + REG_COMMAND); in bluecard_interrupt()
536 outb(0x08, iobase + REG_INTERRUPT); in bluecard_interrupt()
537 outb(REG_COMMAND_RX_BUF_TWO, iobase + REG_COMMAND); in bluecard_interrupt()
542 outb(0x01, iobase + REG_INTERRUPT); in bluecard_interrupt()
548 outb(0x02, iobase + REG_INTERRUPT); in bluecard_interrupt()
556 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_interrupt()
628 unsigned int iobase = info->link.io.BasePort1; in bluecard_hci_open() local
636 outb(0x08 | 0x20, iobase + 0x30); in bluecard_hci_open()
645 unsigned int iobase = info->link.io.BasePort1; in bluecard_hci_close() local
653 outb(0x00, iobase + 0x30); in bluecard_hci_close()
710 unsigned int iobase = info->link.io.BasePort1; in bluecard_open() local
726 id = inb(iobase + 0x30); in bluecard_open()
739 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_open()
742 outb(0x80, iobase + 0x30); in bluecard_open()
749 outb(0x00, iobase + 0x30); in bluecard_open()
753 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_open()
756 outb(0xff, iobase + REG_INTERRUPT); in bluecard_open()
758 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_open()
761 outb(REG_COMMAND_RX_BUF_ONE, iobase + REG_COMMAND); in bluecard_open()
762 outb(REG_COMMAND_RX_BUF_TWO, iobase + REG_COMMAND); in bluecard_open()
771 outb((0x0f << RTS_LEVEL_SHIFT_BITS) | 1, iobase + REG_RX_CONTROL); in bluecard_open()
803 unsigned int iobase = info->link.io.BasePort1; in bluecard_close() local
815 outb(info->ctrl_reg, iobase + REG_CONTROL); in bluecard_close()
818 outb(0x80, iobase + 0x30); in bluecard_close()