Lines Matching refs:pci_iobase
321 outb(reg, hc->pci_iobase + 4); in HFC_outb_regio()
322 outb(val, hc->pci_iobase); in HFC_outb_regio()
331 outb(reg, hc->pci_iobase + 4); in HFC_inb_regio()
332 return inb(hc->pci_iobase); in HFC_inb_regio()
341 outb(reg, hc->pci_iobase + 4); in HFC_inw_regio()
342 return inw(hc->pci_iobase); in HFC_inw_regio()
351 outb(R_STATUS, hc->pci_iobase + 4); in HFC_wait_regio()
352 while (inb(hc->pci_iobase) & V_BUSY) in HFC_wait_regio()
450 outb(A_FIFO_DATA0, (hc->pci_iobase) + 4); in write_fifo_regio()
452 outl(cpu_to_le32(*(u32 *)data), hc->pci_iobase); in write_fifo_regio()
457 outw(cpu_to_le16(*(u16 *)data), hc->pci_iobase); in write_fifo_regio()
462 outb(*data, hc->pci_iobase); in write_fifo_regio()
494 outb(A_FIFO_DATA0, (hc->pci_iobase) + 4); in read_fifo_regio()
496 *(u32 *)data = le32_to_cpu(inl(hc->pci_iobase)); in read_fifo_regio()
501 *(u16 *)data = le16_to_cpu(inw(hc->pci_iobase)); in read_fifo_regio()
506 *data = inb(hc->pci_iobase); in read_fifo_regio()
571 if (!hc->pci_iobase) in readpcibridge()
584 outw(cipv, hc->pci_iobase + 4); in readpcibridge()
585 data = inb(hc->pci_iobase); in readpcibridge()
599 if (!hc->pci_iobase) in writepcibridge()
608 outw(cipv, hc->pci_iobase + 4); in writepcibridge()
620 outl(datav, hc->pci_iobase); in writepcibridge()
1089 if (hc->pci_iobase) in release_io_hfcmulti()
1090 release_region(hc->pci_iobase, 8); in release_io_hfcmulti()
1810 outw(0x4000, hc->pci_iobase + 4); in hfcmulti_leds()
1811 outl(leddw, hc->pci_iobase); in hfcmulti_leds()
4374 hc->pci_iobase = 0; in setup_pci()
4472 hc->pci_iobase = (u_int) hc->pci_dev->resource[0].start; in setup_pci()
4473 if (!hc->pci_iobase) { in setup_pci()
4480 if (!request_region(hc->pci_iobase, 8, "hfcmulti")) { in setup_pci()
4483 hc->pci_iobase); in setup_pci()
4490 m->vendor_name, m->card_name, (u_int) hc->pci_iobase, in setup_pci()
5201 outw(0x4000, hc->pci_iobase + 4); in hfcmulti_init()
5206 dips = inb(hc->pci_iobase); in hfcmulti_init()
5207 dips = inb(hc->pci_iobase); in hfcmulti_init()
5208 dips = inb(hc->pci_iobase); in hfcmulti_init()
5209 dips = ~inb(hc->pci_iobase) & 0x3F; in hfcmulti_init()
5210 outw(0x0, hc->pci_iobase + 4); in hfcmulti_init()