• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/bluetooth/

Lines Matching refs:iobase

162 	unsigned int iobase = info->p_dev->resource[0]->start;
169 outb(0x08 | 0x20, iobase + 0x30);
172 outb(0x00, iobase + 0x30);
179 unsigned int iobase = info->p_dev->resource[0]->start;
186 outb(0x10 | 0x40, iobase + 0x30);
192 outb(0x08 | 0x20, iobase + 0x30);
204 static int bluecard_write(unsigned int iobase, unsigned int offset, __u8 *buf, int len)
210 outb_p(actual, iobase + offset);
213 outb_p(buf[i], iobase + offset + i + 1);
235 register unsigned int iobase = info->p_dev->resource[0]->start;
267 outb(info->ctrl_reg, iobase + REG_CONTROL);
274 len = bluecard_write(iobase, offset, skb->data, skb->len);
277 outb_p(command, iobase + REG_COMMAND);
313 outb(info->ctrl_reg, iobase + REG_CONTROL);
317 outb(info->ctrl_reg, iobase + REG_CONTROL);
343 static int bluecard_read(unsigned int iobase, unsigned int offset, __u8 *buf, int size)
347 outb(REG_COMMAND_RX_WIN_ONE, iobase + REG_COMMAND);
349 len = inb(iobase + offset);
356 outb(REG_COMMAND_RX_WIN_TWO, iobase + REG_COMMAND);
360 buf[n] = inb(iobase + offset + i);
373 unsigned int iobase;
382 iobase = info->p_dev->resource[0]->start;
387 len = bluecard_read(iobase, offset, buf, sizeof(buf));
501 unsigned int iobase;
511 iobase = info->p_dev->resource[0]->start;
517 outb(info->ctrl_reg, iobase + REG_CONTROL);
519 reg = inb(iobase + REG_INTERRUPT);
525 outb(0x04, iobase + REG_INTERRUPT);
526 outb(REG_COMMAND_RX_BUF_ONE, iobase + REG_COMMAND);
531 outb(0x08, iobase + REG_INTERRUPT);
532 outb(REG_COMMAND_RX_BUF_TWO, iobase + REG_COMMAND);
537 outb(0x01, iobase + REG_INTERRUPT);
543 outb(0x02, iobase + REG_INTERRUPT);
551 outb(info->ctrl_reg, iobase + REG_CONTROL);
625 unsigned int iobase = info->p_dev->resource[0]->start;
635 outb(0x08 | 0x20, iobase + 0x30);
645 unsigned int iobase = info->p_dev->resource[0]->start;
654 outb(0x00, iobase + 0x30);
712 unsigned int iobase = info->p_dev->resource[0]->start;
750 id = inb(iobase + 0x30);
763 outb(info->ctrl_reg, iobase + REG_CONTROL);
766 outb(0x80, iobase + 0x30);
772 outb(0x00, iobase + 0x30);
776 outb(info->ctrl_reg, iobase + REG_CONTROL);
779 outb(0xff, iobase + REG_INTERRUPT);
781 outb(info->ctrl_reg, iobase + REG_CONTROL);
786 outb(info->ctrl_reg, iobase + REG_CONTROL);
790 outb(info->ctrl_reg, iobase + REG_CONTROL);
794 outb(info->ctrl_reg, iobase + REG_CONTROL);
802 outb(REG_COMMAND_RX_BUF_ONE, iobase + REG_COMMAND);
803 outb(REG_COMMAND_RX_BUF_TWO, iobase + REG_COMMAND);
812 outb((0x0f << RTS_LEVEL_SHIFT_BITS) | 1, iobase + REG_RX_CONTROL);
831 unsigned int iobase = info->p_dev->resource[0]->start;
843 outb(info->ctrl_reg, iobase + REG_CONTROL);
846 outb(0x80, iobase + 0x30);