/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ata/ |
H A D | pata_rb532_cf.c | 50 void __iomem *iobase; member in struct:rb532_cf_info 96 ap->ioaddr.cmd_addr = info->iobase + RB500_CF_REG_BASE; 97 ap->ioaddr.ctl_addr = info->iobase + RB500_CF_REG_CTRL; 98 ap->ioaddr.altstatus_addr = info->iobase + RB500_CF_REG_CTRL; 102 ap->ioaddr.data_addr = info->iobase + RB500_CF_REG_DBUF32; 103 ap->ioaddr.error_addr = info->iobase + RB500_CF_REG_ERR; 154 info->iobase = devm_ioremap_nocache(&pdev->dev, res->start, 156 if (!info->iobase)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/bluetooth/ |
H A D | btuart_cs.c | 113 static int btuart_write(unsigned int iobase, int fifo_size, __u8 *buf, int len) argument 118 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) 124 outb(buf[actual], iobase + UART_TX); 145 register unsigned int iobase = info->p_dev->resource[0]->start; local 158 len = btuart_write(iobase, 16, skb->data, skb->len); 178 unsigned int iobase; local 186 iobase = info->p_dev->resource[0]->start; 204 bt_cb(info->rx_skb)->pkt_type = inb(iobase + UART_RX); 237 *skb_put(info->rx_skb, 1) = inb(iobase + UART_RX); 284 } while (inb(iobase 291 unsigned int iobase; local 347 unsigned int iobase; local 481 unsigned int iobase = info->p_dev->resource[0]->start; local 551 unsigned int iobase = info->p_dev->resource[0]->start; local [all...] |
H A D | dtl1_cs.c | 115 static int dtl1_write(unsigned int iobase, int fifo_size, __u8 *buf, int len) argument 120 if (!(inb(iobase + UART_LSR) & UART_LSR_THRE)) 126 outb(buf[actual], iobase + UART_TX); 152 register unsigned int iobase = info->p_dev->resource[0]->start; local 165 len = dtl1_write(iobase, 32, skb->data, skb->len); 208 unsigned int iobase; local 217 iobase = info->p_dev->resource[0]->start; 231 *skb_put(info->rx_skb, 1) = inb(iobase + UART_RX); 287 } while (inb(iobase + UART_LSR) & UART_LSR_DR); 294 unsigned int iobase; local 464 unsigned int iobase = info->p_dev->resource[0]->start; local 537 unsigned int iobase = info->p_dev->resource[0]->start; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/comedi/drivers/ |
H A D | dt2811.c | 324 unsigned long iobase; local 326 iobase = it->options[0]; 328 printk(KERN_INFO "comedi%d: dt2811:base=0x%04lx\n", dev->minor, iobase); 330 if (!request_region(iobase, DT2811_SIZE, driver_name)) { 335 dev->iobase = iobase; 451 if (dev->iobase) 452 release_region(dev->iobase, DT2811_SIZE); 465 outb(chan, dev->iobase + DT2811_ADGCR); 468 && inb(dev->iobase [all...] |
H A D | das1800.c | 621 unsigned long iobase = it->options[0]; local 634 iobase); 645 if (iobase == 0) { 651 if (!request_region(iobase, DAS1800_SIZE, driver_das1800.driver_name)) { 654 iobase, iobase + DAS1800_SIZE - 1); 657 dev->iobase = iobase; 670 iobase2 = iobase + IOBASE2; 784 outb(devpriv->do_bits, dev->iobase [all...] |
H A D | pcl812.c | 483 outb(devpriv->mode_reg_int | 1, dev->iobase + PCL812_MODE); 488 outb(255, dev->iobase + PCL812_SOFTTRIG); 492 hi = inb(dev->iobase + PCL812_AD_HI); 499 dev->minor, dev->board_name, dev->iobase); 500 outb(devpriv->mode_reg_int | 0, dev->iobase + PCL812_MODE); 504 data[n] = ((hi & 0xf) << 8) | inb(dev->iobase + PCL812_AD_LO); 506 outb(devpriv->mode_reg_int | 0, dev->iobase + PCL812_MODE); 521 outb(1, dev->iobase + PCL812_MODE); 526 outb(255, dev->iobase + PCL812_SOFTTRIG); 530 if (!(inb(dev->iobase 1360 unsigned long iobase; local [all...] |
H A D | adl_pci7296.c | 114 dev->iobase = pci_resource_start(pcidev, 2); 116 dev->iobase); 121 (unsigned long)(dev->iobase)); 125 (unsigned long)(dev->iobase + 132 (unsigned long)(dev->iobase + 139 (unsigned long)(dev->iobase + 161 if (dev->iobase)
|
H A D | amplc_pc263.c | 229 unsigned long iobase = 0; local 253 iobase = it->options[0]; 290 iobase = pci_resource_start(pci_dev, 2); 294 ret = pc263_request_region(dev->minor, iobase, PC263_IO_SIZE); 298 dev->iobase = iobase; 323 s->state = inb(dev->iobase); 324 s->state = s->state | (inb(dev->iobase) << 8); 328 printk("(base %#lx) ", iobase); 358 if (dev->iobase) [all...] |
H A D | quatech_daqp_cs.c | 198 inb(dev->iobase + DAQP_STATUS), inb(dev->iobase + DAQP_AUX)); 229 outb(DAQP_COMMAND_STOP, dev->iobase + DAQP_COMMAND); 232 /* outb(DAQP_COMMAND_RSTF, dev->iobase+DAQP_COMMAND); */ 296 while (!((status = inb(dev->iobase + DAQP_STATUS)) 309 data = inb(dev->iobase + DAQP_FIFO); 310 data |= inb(dev->iobase + DAQP_FIFO) << 8; 364 outb(0, dev->iobase + DAQP_AUX); 367 outb(DAQP_COMMAND_RSTQ, dev->iobase + DAQP_COMMAND); 380 outb(v & 0xff, dev->iobase [all...] |
H A D | 8255.c | 152 unsigned long iobase = arg; local 155 outb(data, iobase + port); 158 return inb(iobase + port); 405 unsigned long iobase; local 411 iobase = it->options[i]; 412 if (!iobase) 430 iobase = it->options[i]; 432 printk(" 0x%04lx", iobase); 433 if (!request_region(iobase, _8255_SIZE, "8255")) { 439 iobase); 451 unsigned long iobase; local [all...] |
H A D | das08.c | 519 inb(dev->iobase + DAS08_LSB); 520 inb(dev->iobase + DAS08_MSB); 527 outb(devpriv->do_mux_bits, dev->iobase + DAS08_CONTROL); 534 dev->iobase + DAS08AO_GAIN_CONTROL); 540 if (inb(dev->iobase + DAS08_MSB) & 0x80) 544 outb_p(0, dev->iobase + DAS08_TRIG_12BIT); 547 if (!(inb(dev->iobase + DAS08_STATUS) & DAS08_EOC)) 554 msb = inb(dev->iobase + DAS08_MSB); 555 lsb = inb(dev->iobase + DAS08_LSB); 579 data[1] = DAS08_IP(inb(dev->iobase 833 das08_common_attach(struct comedi_device *dev, unsigned long iobase) argument 948 unsigned long iobase; local [all...] |
H A D | ni_at_a2150.c | 219 printk("status bits 0x%x\n", inw(dev->iobase + STATUS_REG)); 247 status = inw(dev->iobase + STATUS_REG); 328 outw(0x00, dev->iobase + DMA_TC_CLEAR_REG); 336 int status = inw(dev->iobase + STATUS_REG); 343 unsigned long iobase = it->options[0]; local 350 iobase); 367 if (iobase == 0) { 373 if (!request_region(iobase, A2150_SIZE, driver_a2150.driver_name)) { 377 dev->iobase = iobase; [all...] |
H A D | adl_pci7432.c | 121 dev->iobase = pci_resource_start(pcidev, 2); 123 dev->iobase); 163 if (dev->iobase) 186 printk(KERN_DEBUG "comedi: out: %8x on iobase %4lx\n", s->state, 187 dev->iobase + PCI7432_DO); 188 outl(s->state & 0xffffffff, dev->iobase + PCI7432_DO); 204 data[1] = inl(dev->iobase + PCI7432_DI) & 0xffffffff;
|
H A D | contec_pci_dio.c | 129 dev->iobase = pci_resource_start(pcidev, 0); 130 printk(" base addr %lx ", dev->iobase); 167 if (dev->iobase) 191 dev->iobase + thisboard->out_offs); 192 outw(s->state, dev->iobase + thisboard->out_offs); 208 data[1] = inw(dev->iobase + thisboard->in_offs);
|
H A D | ii_pci20kc.c | 136 void *iobase; member in union:pci20xxx_subdev_private 138 void *iobase; member in struct:pci20xxx_subdev_private::__anon15111 144 void *iobase; member in struct:pci20xxx_subdev_private::__anon15112 242 sdp->pci20006.iobase = 251 sdp->pci20341.iobase = 350 writeb(lo, sdp->iobase + PCI20006_LCHAN0); 351 writeb(hi, sdp->iobase + PCI20006_LCHAN0 + 1); 352 writeb(0x00, sdp->iobase + PCI20006_STROBE0); 355 writeb(lo, sdp->iobase + PCI20006_LCHAN1); 356 writeb(hi, sdp->iobase [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/pcmcia/ |
H A D | cm4000_cs.c | 305 static unsigned short io_read_num_rec_bytes(unsigned int iobase, argument 313 tmp = inb(REG_NUM_BYTES(iobase)) | 314 (inb(REG_FLAGS0(iobase)) & 4 ? 0x100 : 0); 424 unsigned int iobase = dev->p_dev->resource[0]->start; local 430 xoutb(dev->flags1, REG_FLAGS1(iobase)); 434 xoutb((unsigned char)((dev->baudv - 1) & 0xFF), REG_BAUDRATE(iobase)); 445 xoutb(stopbits, REG_STOPBITS(iobase)); 457 unsigned int iobase = dev->p_dev->resource[0]->start; local 493 xoutb(0x80, REG_FLAGS0(iobase)); 500 xoutb(dev->flags1, REG_FLAGS1(iobase)); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/comedi/drivers/addi-data/ |
H A D | hwdrv_apci2016.c | 126 ui_Temp = inw(devpriv->iobase + APCI2016_DIGITAL_OP); 140 outw(data[0], devpriv->iobase + APCI2016_DIGITAL_OP); 168 devpriv->iobase + APCI2016_DIGITAL_OP); 185 devpriv->iobase + APCI2016_DIGITAL_OP); 234 devpriv->iobase + 286 *data = inw(devpriv->iobase + APCI2016_DIGITAL_OP_RW); 455 outw(0x0, devpriv->iobase + APCI2016_DIGITAL_OP); /* Resets the digital output channels */
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/tulip/ |
H A D | de4x5.h | 16 #define DE4X5_BMR iobase+(0x000 << lp->bus) /* Bus Mode Register */ 17 #define DE4X5_TPD iobase+(0x008 << lp->bus) /* Transmit Poll Demand Reg */ 18 #define DE4X5_RPD iobase+(0x010 << lp->bus) /* Receive Poll Demand Reg */ 19 #define DE4X5_RRBA iobase+(0x018 << lp->bus) /* RX Ring Base Address Reg */ 20 #define DE4X5_TRBA iobase+(0x020 << lp->bus) /* TX Ring Base Address Reg */ 21 #define DE4X5_STS iobase+(0x028 << lp->bus) /* Status Register */ 22 #define DE4X5_OMR iobase+(0x030 << lp->bus) /* Operation Mode Register */ 23 #define DE4X5_IMR iobase+(0x038 << lp->bus) /* Interrupt Mask Register */ 24 #define DE4X5_MFC iobase+(0x040 << lp->bus) /* Missed Frame Counter */ 25 #define DE4X5_APROM iobase [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/isdn/hysdn/ |
H A D | boardergo.c | 49 if (!(bytein(card->iobase + PCI9050_INTR_REG) & PCI9050_INTR_REG_STAT1)) { 138 val = bytein(card->iobase + PCI9050_INTR_REG); /* get actual value */ 140 byteout(card->iobase + PCI9050_INTR_REG, val); 142 byteout(card->iobase + PCI9050_USER_IO, PCI9050_E1_RESET); /* reset E1 processor */ 241 byteout(card->iobase + PCI9050_USER_IO, PCI9050_E1_RUN); /* start E1 processor */ 356 byteout(card->iobase + PCI9050_INTR_REG, 357 bytein(card->iobase + PCI9050_INTR_REG) | 400 release_region(card->iobase + PCI9050_INTR_REG, 1); /* release all io ports */ 401 release_region(card->iobase + PCI9050_USER_IO, 1); 415 if (!request_region(card->iobase [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/dma/ioat/ |
H A D | dca.c | 124 void __iomem *iobase; member in struct:ioat_dca_priv 246 ioat_dca_init(struct pci_dev *pdev, void __iomem *iobase) argument 285 version = readb(iobase + IOAT_VER_OFFSET); 299 ioatdca->dca_base = iobase + 0x54; 341 ioatdca->iobase + global_req_table + (i * 4)); 366 writel(0, ioatdca->iobase + global_req_table + (i * 4)); 394 static int ioat2_dca_count_dca_slots(void __iomem *iobase, u16 dca_offset) argument 400 global_req_table = readw(iobase + dca_offset + IOAT_DCA_GREQID_OFFSET); 404 req = readl(iobase + global_req_table + (slots * sizeof(u32))); 412 ioat2_dca_init(struct pci_dev *pdev, void __iomem *iobase) argument 589 ioat3_dca_count_dca_slots(void *iobase, u16 dca_offset) argument 608 ioat3_dca_init(struct pci_dev *pdev, void __iomem *iobase) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wan/ |
H A D | hostess_sv11.c | 186 static struct z8530_dev *sv11_init(int iobase, int irq) argument 194 if (!request_region(iobase, 8, "Comtrol SV11")) { 196 iobase); 210 sv->chanA.ctrlio = iobase + 1; 211 sv->chanA.dataio = iobase + 3; 217 outb(0, iobase + 4); /* DMA off */ 240 outb(0x03 | 0x08, iobase + 4); /* DMA on */ 281 netdev->base_addr = iobase; 290 z8530_describe(sv, "I/O", iobase); 305 release_region(iobase, [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/ |
H A D | vgastate.c | 34 static inline unsigned char vga_rcrtcs(void __iomem *regbase, unsigned short iobase, argument 37 vga_w(regbase, iobase + 0x4, reg); 38 return vga_r(regbase, iobase + 0x5); 41 static inline void vga_wcrtcs(void __iomem *regbase, unsigned short iobase, argument 44 vga_w(regbase, iobase + 0x4, reg); 45 vga_w(regbase, iobase + 0x5, val); 53 unsigned short iobase; local 57 iobase = (misc & 1) ? 0x3d0 : 0x3b0; 59 vga_r(state->vgabase, iobase + 0xa); 62 vga_r(state->vgabase, iobase 229 unsigned short iobase; local 260 unsigned short iobase; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/tpm/ |
H A D | tpm_tis.c | 104 if ((ioread8(chip->vendor.iobase + TPM_ACCESS(l)) & 114 if (force || (ioread8(chip->vendor.iobase + TPM_ACCESS(l)) & 118 chip->vendor.iobase + TPM_ACCESS(l)); 130 chip->vendor.iobase + TPM_ACCESS(l)); 155 return ioread8(chip->vendor.iobase + 163 chip->vendor.iobase + TPM_STS(chip->vendor.locality)); 175 burstcnt = ioread8(chip->vendor.iobase + 177 burstcnt += ioread8(chip->vendor.iobase + 229 buf[size++] = ioread8(chip->vendor.iobase + 314 iowrite8(buf[count], chip->vendor.iobase [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/irda/ |
H A D | vlsi_ir.c | 127 static void vlsi_reg_debug(unsigned iobase, const char *s) argument 133 printk("%02x", (unsigned)inb((iobase+i))); 165 unsigned iobase = pci_resource_start(pdev, 0); local 175 seq_printf(seq, "%02x", (unsigned)inb((iobase+i))); 186 unsigned iobase = ndev->base_addr; local 219 byte = inb(iobase+VLSI_PIO_IRINTR); 229 word = inw(iobase+VLSI_PIO_RINGPTR); 231 word = inw(iobase+VLSI_PIO_RINGBASE); 234 word = inw(iobase+VLSI_PIO_RINGSIZE); 238 word = inw(iobase 765 vlsi_set_baud(vlsi_irda_dev_t *idev, unsigned iobase) argument 864 unsigned iobase = ndev->base_addr; local 1069 unsigned iobase; local 1254 vlsi_clear_regs(unsigned iobase) argument 1267 unsigned iobase; local 1320 unsigned iobase = ndev->base_addr; local 1352 unsigned iobase = ndev->base_addr; local 1456 unsigned iobase; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/ |
H A D | wd7000.c | 247 int iobase; /* This adapter's I/O base address */ member in struct:adapter 302 unsigned iobase; /* I/O base address */ member in struct:__anon15040 674 configs[wd7000_card_num].iobase = ints[3]; 707 if (configs[i].iobase == configs[j].iobase) { 715 "BUS_ON=%dns, BUS_OFF=%dns\n", configs[wd7000_card_num].irq, configs[wd7000_card_num].dma, configs[wd7000_card_num].iobase, configs[wd7000_card_num].bus_on * 125, configs[wd7000_card_num].bus_off * 125); 739 outb(host->control, host->iobase + ASC_CONTROL); 747 outb(host->control, host->iobase + ASC_CONTROL); 777 if (!WAIT(host->iobase + ASC_STAT, ASC_STATMASK, CMD_RDY, 0)) { 780 outb(*cmd, host->iobase 1394 unsigned iobase; local [all...] |