ioaddr 67 arch/arm/mach-socfpga/ocram.c static inline void ecc_set_bits(u32 bit_mask, void __iomem *ioaddr) ioaddr 69 arch/arm/mach-socfpga/ocram.c u32 value = readl(ioaddr); ioaddr 72 arch/arm/mach-socfpga/ocram.c writel(value, ioaddr); ioaddr 75 arch/arm/mach-socfpga/ocram.c static inline void ecc_clear_bits(u32 bit_mask, void __iomem *ioaddr) ioaddr 77 arch/arm/mach-socfpga/ocram.c u32 value = readl(ioaddr); ioaddr 80 arch/arm/mach-socfpga/ocram.c writel(value, ioaddr); ioaddr 83 arch/arm/mach-socfpga/ocram.c static inline int ecc_test_bits(u32 bit_mask, void __iomem *ioaddr) ioaddr 85 arch/arm/mach-socfpga/ocram.c u32 value = readl(ioaddr); ioaddr 94 arch/arm/mach-socfpga/ocram.c static int altr_init_memory_port(void __iomem *ioaddr) ioaddr 98 arch/arm/mach-socfpga/ocram.c ecc_set_bits(ALTR_A10_ECC_INITA, (ioaddr + ALTR_A10_ECC_CTRL_OFST)); ioaddr 101 arch/arm/mach-socfpga/ocram.c (ioaddr + ALTR_A10_ECC_INITSTAT_OFST))) ioaddr 110 arch/arm/mach-socfpga/ocram.c (ioaddr + ALTR_A10_ECC_INTSTAT_OFST)); ioaddr 101 arch/m68k/coldfire/nettel.c static void __init nettel_smc91x_setmac(unsigned int ioaddr, unsigned int flashaddr) ioaddr 110 arch/m68k/coldfire/nettel.c writew(macp[0], ioaddr + SMC91xx_BASEMAC); ioaddr 111 arch/m68k/coldfire/nettel.c writew(macp[1], ioaddr + SMC91xx_BASEMAC + 2); ioaddr 112 arch/m68k/coldfire/nettel.c writew(macp[2], ioaddr + SMC91xx_BASEMAC + 4); ioaddr 50 arch/m68k/include/asm/io_mm.h #define Q40_ISA_IO_B(ioaddr) (q40_isa_io_base+1+4*((unsigned long)(ioaddr))) ioaddr 51 arch/m68k/include/asm/io_mm.h #define Q40_ISA_IO_W(ioaddr) (q40_isa_io_base+ 4*((unsigned long)(ioaddr))) ioaddr 61 arch/m68k/include/asm/io_mm.h #define AG_ISA_IO_B(ioaddr) ( GAYLE_IO+(ioaddr)+(((ioaddr)&1)*GAYLE_ODD) ) ioaddr 62 arch/m68k/include/asm/io_mm.h #define AG_ISA_IO_W(ioaddr) ( GAYLE_IO+(ioaddr) ) ioaddr 77 arch/m68k/include/asm/io_mm.h #define ENEC_ISA_IO_B(ioaddr) (enec_isa_read_base+((((unsigned long)(ioaddr))&0x7F)<<9)) ioaddr 78 arch/m68k/include/asm/io_mm.h #define ENEC_ISA_IO_W(ioaddr) (enec_isa_read_base+((((unsigned long)(ioaddr))&0x7F)<<9)) ioaddr 156 arch/microblaze/pci/pci-common.c resource_size_t ioaddr = pci_resource_start(pdev, bar); ioaddr 162 arch/microblaze/pci/pci-common.c ioaddr -= (unsigned long)hose->io_base_virt - _IO_BASE; ioaddr 164 arch/microblaze/pci/pci-common.c vma->vm_pgoff += (ioaddr + hose->io_base_phys) >> PAGE_SHIFT; ioaddr 191 arch/mips/alchemy/devboards/db1200.c unsigned long ioaddr = (unsigned long)this->legacy.IO_ADDR_W; ioaddr 193 arch/mips/alchemy/devboards/db1200.c ioaddr &= 0xffffff00; ioaddr 196 arch/mips/alchemy/devboards/db1200.c ioaddr += MEM_STNAND_CMD; ioaddr 198 arch/mips/alchemy/devboards/db1200.c ioaddr += MEM_STNAND_ADDR; ioaddr 201 arch/mips/alchemy/devboards/db1200.c ioaddr += MEM_STNAND_DATA; ioaddr 203 arch/mips/alchemy/devboards/db1200.c this->legacy.IO_ADDR_R = this->legacy.IO_ADDR_W = (void __iomem *)ioaddr; ioaddr 156 arch/mips/alchemy/devboards/db1300.c unsigned long ioaddr = (unsigned long)this->legacy.IO_ADDR_W; ioaddr 158 arch/mips/alchemy/devboards/db1300.c ioaddr &= 0xffffff00; ioaddr 161 arch/mips/alchemy/devboards/db1300.c ioaddr += MEM_STNAND_CMD; ioaddr 163 arch/mips/alchemy/devboards/db1300.c ioaddr += MEM_STNAND_ADDR; ioaddr 166 arch/mips/alchemy/devboards/db1300.c ioaddr += MEM_STNAND_DATA; ioaddr 168 arch/mips/alchemy/devboards/db1300.c this->legacy.IO_ADDR_R = this->legacy.IO_ADDR_W = (void __iomem *)ioaddr; ioaddr 133 arch/mips/alchemy/devboards/db1550.c unsigned long ioaddr = (unsigned long)this->legacy.IO_ADDR_W; ioaddr 135 arch/mips/alchemy/devboards/db1550.c ioaddr &= 0xffffff00; ioaddr 138 arch/mips/alchemy/devboards/db1550.c ioaddr += MEM_STNAND_CMD; ioaddr 140 arch/mips/alchemy/devboards/db1550.c ioaddr += MEM_STNAND_ADDR; ioaddr 143 arch/mips/alchemy/devboards/db1550.c ioaddr += MEM_STNAND_DATA; ioaddr 145 arch/mips/alchemy/devboards/db1550.c this->legacy.IO_ADDR_R = this->legacy.IO_ADDR_W = (void __iomem *)ioaddr; ioaddr 61 arch/mips/rb532/gpio.c unsigned offset, void __iomem *ioaddr) ioaddr 68 arch/mips/rb532/gpio.c val = readl(ioaddr); ioaddr 71 arch/mips/rb532/gpio.c writel(val, ioaddr); ioaddr 80 arch/mips/rb532/gpio.c static inline int rb532_get_bit(unsigned offset, void __iomem *ioaddr) ioaddr 82 arch/mips/rb532/gpio.c return readl(ioaddr) & (1 << offset); ioaddr 420 arch/powerpc/kernel/pci-common.c resource_size_t ioaddr = pci_resource_start(pdev, bar); ioaddr 426 arch/powerpc/kernel/pci-common.c ioaddr -= (unsigned long)hose->io_base_virt - _IO_BASE; ioaddr 428 arch/powerpc/kernel/pci-common.c vma->vm_pgoff += (ioaddr + hose->io_base_phys) >> PAGE_SHIFT; ioaddr 879 arch/powerpc/platforms/cell/iommu.c unsigned long base_pte, uaddr, ioaddr, *ptab; ioaddr 899 arch/powerpc/platforms/cell/iommu.c ioaddr = uaddr + fbase; ioaddr 900 arch/powerpc/platforms/cell/iommu.c if (ioaddr >= dbase && ioaddr < (dbase + dsize)) { ioaddr 229 arch/s390/pci/pci.c void __iomem *ioremap(unsigned long ioaddr, unsigned long size) ioaddr 238 arch/s390/pci/pci.c return (void __iomem *) ioaddr; ioaddr 240 arch/s390/pci/pci.c offset = ioaddr & ~PAGE_MASK; ioaddr 241 arch/s390/pci/pci.c ioaddr &= PAGE_MASK; ioaddr 249 arch/s390/pci/pci.c ioaddr, PAGE_KERNEL)) { ioaddr 174 arch/s390/pci/pci_insn.c static inline int __pcilg_mio(u64 *data, u64 ioaddr, u64 len, u8 *status) ioaddr 176 arch/s390/pci/pci_insn.c register u64 addr asm("2") = ioaddr; ioaddr 188 arch/s390/pci/pci_insn.c : [ioaddr] "d" (addr) ioaddr 258 arch/s390/pci/pci_insn.c static inline int __pcistg_mio(u64 data, u64 ioaddr, u64 len, u8 *status) ioaddr 260 arch/s390/pci/pci_insn.c register u64 addr asm("2") = ioaddr; ioaddr 271 arch/s390/pci/pci_insn.c : [data] "d" (data), [ioaddr] "d" (addr) ioaddr 339 arch/s390/pci/pci_insn.c static inline int __pcistb_mio(const u64 *data, u64 ioaddr, u64 len, u8 *status) ioaddr 350 arch/s390/pci/pci_insn.c : [ioaddr] "d" (ioaddr), [data] "Q" (*data) ioaddr 29 arch/s390/pci/pci_mmio.c void __iomem *ioaddr, const void __user *src, ioaddr 42 arch/s390/pci/pci_mmio.c : [ioaddr] "a" (ioaddr), [src] "Q" (*((u8 __force *)src)) ioaddr 49 arch/s390/pci/pci_mmio.c void __iomem *ioaddr, const void __user *src, ioaddr 52 arch/s390/pci/pci_mmio.c register u64 addr asm("2") = (u64 __force) ioaddr; ioaddr 80 arch/s390/pci/pci_mmio.c [ioaddr] "+a" (addr) ioaddr 198 arch/s390/pci/pci_mmio.c void __user *dst, const void __iomem *ioaddr, ioaddr 201 arch/s390/pci/pci_mmio.c register u64 addr asm("2") = (u64 __force) ioaddr; ioaddr 232 arch/s390/pci/pci_mmio.c [ioaddr] "a" (addr) ioaddr 245 arch/sparc/kernel/time_32.c return readb(pdata->ioaddr + ofs); ioaddr 253 arch/sparc/kernel/time_32.c writeb(val, pdata->ioaddr + ofs); ioaddr 286 arch/sparc/kernel/time_32.c m48t59_data.ioaddr = of_ioremap(&op->resource[0], 0, ioaddr 290 arch/sparc/kernel/time_32.c m48t59_data.ioaddr = of_ioremap(&op->resource[0], 0, ioaddr 77 arch/xtensa/kernel/pci.c resource_size_t ioaddr = pci_resource_start(pdev, bar); ioaddr 83 arch/xtensa/kernel/pci.c ioaddr -= (unsigned long)pci_ctrl->io_space.base; ioaddr 85 arch/xtensa/kernel/pci.c vma->vm_pgoff += (ioaddr + pci_ctrl->io_space.start) >> PAGE_SHIFT; ioaddr 60 drivers/ata/ata_generic.c } else if (ap->ioaddr.bmdma_addr) { ioaddr 62 drivers/ata/ata_generic.c dma_enabled = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_STATUS); ioaddr 819 drivers/ata/ata_piix.c if (unlikely(!ap->ioaddr.bmdma_addr)) ioaddr 70 drivers/ata/libata-sff.c return ioread8(ap->ioaddr.status_addr); ioaddr 92 drivers/ata/libata-sff.c return ioread8(ap->ioaddr.altstatus_addr); ioaddr 111 drivers/ata/libata-sff.c if (ap->ops->sff_check_altstatus || ap->ioaddr.altstatus_addr) { ioaddr 138 drivers/ata/libata-sff.c else if (ap->ioaddr.altstatus_addr) ioaddr 139 drivers/ata/libata-sff.c ioread8(ap->ioaddr.altstatus_addr); ioaddr 171 drivers/ata/libata-sff.c if (ap->ops->sff_check_altstatus || ap->ioaddr.altstatus_addr) { ioaddr 285 drivers/ata/libata-sff.c iowrite8(ctl, ap->ioaddr.ctl_addr); ioaddr 311 drivers/ata/libata-sff.c iowrite8(tmp, ap->ioaddr.device_addr); ioaddr 368 drivers/ata/libata-sff.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 378 drivers/ata/libata-sff.c if (ap->ops->sff_set_devctl || ioaddr->ctl_addr) ioaddr 399 drivers/ata/libata-sff.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 403 drivers/ata/libata-sff.c if (ioaddr->ctl_addr) ioaddr 404 drivers/ata/libata-sff.c iowrite8(tf->ctl, ioaddr->ctl_addr); ioaddr 410 drivers/ata/libata-sff.c WARN_ON_ONCE(!ioaddr->ctl_addr); ioaddr 411 drivers/ata/libata-sff.c iowrite8(tf->hob_feature, ioaddr->feature_addr); ioaddr 412 drivers/ata/libata-sff.c iowrite8(tf->hob_nsect, ioaddr->nsect_addr); ioaddr 413 drivers/ata/libata-sff.c iowrite8(tf->hob_lbal, ioaddr->lbal_addr); ioaddr 414 drivers/ata/libata-sff.c iowrite8(tf->hob_lbam, ioaddr->lbam_addr); ioaddr 415 drivers/ata/libata-sff.c iowrite8(tf->hob_lbah, ioaddr->lbah_addr); ioaddr 425 drivers/ata/libata-sff.c iowrite8(tf->feature, ioaddr->feature_addr); ioaddr 426 drivers/ata/libata-sff.c iowrite8(tf->nsect, ioaddr->nsect_addr); ioaddr 427 drivers/ata/libata-sff.c iowrite8(tf->lbal, ioaddr->lbal_addr); ioaddr 428 drivers/ata/libata-sff.c iowrite8(tf->lbam, ioaddr->lbam_addr); ioaddr 429 drivers/ata/libata-sff.c iowrite8(tf->lbah, ioaddr->lbah_addr); ioaddr 439 drivers/ata/libata-sff.c iowrite8(tf->device, ioaddr->device_addr); ioaddr 462 drivers/ata/libata-sff.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 465 drivers/ata/libata-sff.c tf->feature = ioread8(ioaddr->error_addr); ioaddr 466 drivers/ata/libata-sff.c tf->nsect = ioread8(ioaddr->nsect_addr); ioaddr 467 drivers/ata/libata-sff.c tf->lbal = ioread8(ioaddr->lbal_addr); ioaddr 468 drivers/ata/libata-sff.c tf->lbam = ioread8(ioaddr->lbam_addr); ioaddr 469 drivers/ata/libata-sff.c tf->lbah = ioread8(ioaddr->lbah_addr); ioaddr 470 drivers/ata/libata-sff.c tf->device = ioread8(ioaddr->device_addr); ioaddr 473 drivers/ata/libata-sff.c if (likely(ioaddr->ctl_addr)) { ioaddr 474 drivers/ata/libata-sff.c iowrite8(tf->ctl | ATA_HOB, ioaddr->ctl_addr); ioaddr 475 drivers/ata/libata-sff.c tf->hob_feature = ioread8(ioaddr->error_addr); ioaddr 476 drivers/ata/libata-sff.c tf->hob_nsect = ioread8(ioaddr->nsect_addr); ioaddr 477 drivers/ata/libata-sff.c tf->hob_lbal = ioread8(ioaddr->lbal_addr); ioaddr 478 drivers/ata/libata-sff.c tf->hob_lbam = ioread8(ioaddr->lbam_addr); ioaddr 479 drivers/ata/libata-sff.c tf->hob_lbah = ioread8(ioaddr->lbah_addr); ioaddr 480 drivers/ata/libata-sff.c iowrite8(tf->ctl, ioaddr->ctl_addr); ioaddr 503 drivers/ata/libata-sff.c iowrite8(tf->command, ap->ioaddr.command_addr); ioaddr 546 drivers/ata/libata-sff.c void __iomem *data_addr = ap->ioaddr.data_addr; ioaddr 602 drivers/ata/libata-sff.c void __iomem *data_addr = ap->ioaddr.data_addr; ioaddr 1673 drivers/ata/libata-sff.c if (ap->ops->sff_set_devctl || ap->ioaddr.ctl_addr) ioaddr 1768 drivers/ata/libata-sff.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 1773 drivers/ata/libata-sff.c iowrite8(0x55, ioaddr->nsect_addr); ioaddr 1774 drivers/ata/libata-sff.c iowrite8(0xaa, ioaddr->lbal_addr); ioaddr 1776 drivers/ata/libata-sff.c iowrite8(0xaa, ioaddr->nsect_addr); ioaddr 1777 drivers/ata/libata-sff.c iowrite8(0x55, ioaddr->lbal_addr); ioaddr 1779 drivers/ata/libata-sff.c iowrite8(0x55, ioaddr->nsect_addr); ioaddr 1780 drivers/ata/libata-sff.c iowrite8(0xaa, ioaddr->lbal_addr); ioaddr 1782 drivers/ata/libata-sff.c nsect = ioread8(ioaddr->nsect_addr); ioaddr 1783 drivers/ata/libata-sff.c lbal = ioread8(ioaddr->lbal_addr); ioaddr 1883 drivers/ata/libata-sff.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 1913 drivers/ata/libata-sff.c nsect = ioread8(ioaddr->nsect_addr); ioaddr 1914 drivers/ata/libata-sff.c lbal = ioread8(ioaddr->lbal_addr); ioaddr 1942 drivers/ata/libata-sff.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 1946 drivers/ata/libata-sff.c if (ap->ioaddr.ctl_addr) { ioaddr 1948 drivers/ata/libata-sff.c iowrite8(ap->ctl, ioaddr->ctl_addr); ioaddr 1950 drivers/ata/libata-sff.c iowrite8(ap->ctl | ATA_SRST, ioaddr->ctl_addr); ioaddr 1952 drivers/ata/libata-sff.c iowrite8(ap->ctl, ioaddr->ctl_addr); ioaddr 2079 drivers/ata/libata-sff.c if (ap->ops->sff_set_devctl || ap->ioaddr.ctl_addr) { ioaddr 2109 drivers/ata/libata-sff.c ioread16(ap->ioaddr.data_addr); ioaddr 2176 drivers/ata/libata-sff.c void ata_sff_std_ports(struct ata_ioports *ioaddr) ioaddr 2178 drivers/ata/libata-sff.c ioaddr->data_addr = ioaddr->cmd_addr + ATA_REG_DATA; ioaddr 2179 drivers/ata/libata-sff.c ioaddr->error_addr = ioaddr->cmd_addr + ATA_REG_ERR; ioaddr 2180 drivers/ata/libata-sff.c ioaddr->feature_addr = ioaddr->cmd_addr + ATA_REG_FEATURE; ioaddr 2181 drivers/ata/libata-sff.c ioaddr->nsect_addr = ioaddr->cmd_addr + ATA_REG_NSECT; ioaddr 2182 drivers/ata/libata-sff.c ioaddr->lbal_addr = ioaddr->cmd_addr + ATA_REG_LBAL; ioaddr 2183 drivers/ata/libata-sff.c ioaddr->lbam_addr = ioaddr->cmd_addr + ATA_REG_LBAM; ioaddr 2184 drivers/ata/libata-sff.c ioaddr->lbah_addr = ioaddr->cmd_addr + ATA_REG_LBAH; ioaddr 2185 drivers/ata/libata-sff.c ioaddr->device_addr = ioaddr->cmd_addr + ATA_REG_DEVICE; ioaddr 2186 drivers/ata/libata-sff.c ioaddr->status_addr = ioaddr->cmd_addr + ATA_REG_STATUS; ioaddr 2187 drivers/ata/libata-sff.c ioaddr->command_addr = ioaddr->cmd_addr + ATA_REG_CMD; ioaddr 2264 drivers/ata/libata-sff.c ap->ioaddr.cmd_addr = iomap[base]; ioaddr 2265 drivers/ata/libata-sff.c ap->ioaddr.altstatus_addr = ioaddr 2266 drivers/ata/libata-sff.c ap->ioaddr.ctl_addr = (void __iomem *) ioaddr 2268 drivers/ata/libata-sff.c ata_sff_std_ports(&ap->ioaddr); ioaddr 2928 drivers/ata/libata-sff.c void __iomem *mmio = ap->ioaddr.bmdma_addr; ioaddr 2952 drivers/ata/libata-sff.c iowrite32(ap->bmdma_prd_dma, ap->ioaddr.bmdma_addr + ATA_DMA_TABLE_OFS); ioaddr 2955 drivers/ata/libata-sff.c dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); ioaddr 2959 drivers/ata/libata-sff.c iowrite8(dmactl, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); ioaddr 2979 drivers/ata/libata-sff.c dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); ioaddr 2980 drivers/ata/libata-sff.c iowrite8(dmactl | ATA_DMA_START, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); ioaddr 3013 drivers/ata/libata-sff.c void __iomem *mmio = ap->ioaddr.bmdma_addr; ioaddr 3037 drivers/ata/libata-sff.c return ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_STATUS); ioaddr 3175 drivers/ata/libata-sff.c ap->ioaddr.bmdma_addr = bmdma; ioaddr 549 drivers/ata/pata_arasan_cf.c status = ioread8(qc->ap->ioaddr.altstatus_addr); ioaddr 582 drivers/ata/pata_arasan_cf.c status = ioread8(qc->ap->ioaddr.altstatus_addr); ioaddr 875 drivers/ata/pata_arasan_cf.c ap->ioaddr.cmd_addr = acdev->vbase + ATA_DATA_PORT; ioaddr 876 drivers/ata/pata_arasan_cf.c ap->ioaddr.data_addr = acdev->vbase + ATA_DATA_PORT; ioaddr 877 drivers/ata/pata_arasan_cf.c ap->ioaddr.error_addr = acdev->vbase + ATA_ERR_FTR; ioaddr 878 drivers/ata/pata_arasan_cf.c ap->ioaddr.feature_addr = acdev->vbase + ATA_ERR_FTR; ioaddr 879 drivers/ata/pata_arasan_cf.c ap->ioaddr.nsect_addr = acdev->vbase + ATA_SC; ioaddr 880 drivers/ata/pata_arasan_cf.c ap->ioaddr.lbal_addr = acdev->vbase + ATA_SN; ioaddr 881 drivers/ata/pata_arasan_cf.c ap->ioaddr.lbam_addr = acdev->vbase + ATA_CL; ioaddr 882 drivers/ata/pata_arasan_cf.c ap->ioaddr.lbah_addr = acdev->vbase + ATA_CH; ioaddr 883 drivers/ata/pata_arasan_cf.c ap->ioaddr.device_addr = acdev->vbase + ATA_SH; ioaddr 884 drivers/ata/pata_arasan_cf.c ap->ioaddr.status_addr = acdev->vbase + ATA_STS_CMD; ioaddr 885 drivers/ata/pata_arasan_cf.c ap->ioaddr.command_addr = acdev->vbase + ATA_STS_CMD; ioaddr 886 drivers/ata/pata_arasan_cf.c ap->ioaddr.altstatus_addr = acdev->vbase + ATA_ASTS_DCTR; ioaddr 887 drivers/ata/pata_arasan_cf.c ap->ioaddr.ctl_addr = acdev->vbase + ATA_ASTS_DCTR; ioaddr 290 drivers/ata/pata_atp867x.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 313 drivers/ata/pata_atp867x.c (unsigned long long)ioaddr->cmd_addr, ioaddr 315 drivers/ata/pata_atp867x.c (unsigned long long)ioaddr->ctl_addr, ioaddr 317 drivers/ata/pata_atp867x.c (unsigned long long)ioaddr->bmdma_addr, ioaddr 319 drivers/ata/pata_atp867x.c (unsigned long long)ioaddr->data_addr, ioaddr 320 drivers/ata/pata_atp867x.c (unsigned long long)ioaddr->error_addr, ioaddr 321 drivers/ata/pata_atp867x.c (unsigned long long)ioaddr->feature_addr, ioaddr 322 drivers/ata/pata_atp867x.c (unsigned long long)ioaddr->nsect_addr, ioaddr 323 drivers/ata/pata_atp867x.c (unsigned long long)ioaddr->lbal_addr, ioaddr 324 drivers/ata/pata_atp867x.c (unsigned long long)ioaddr->lbam_addr, ioaddr 325 drivers/ata/pata_atp867x.c (unsigned long long)ioaddr->lbah_addr, ioaddr 326 drivers/ata/pata_atp867x.c (unsigned long long)ioaddr->device_addr, ioaddr 327 drivers/ata/pata_atp867x.c (unsigned long long)ioaddr->status_addr, ioaddr 328 drivers/ata/pata_atp867x.c (unsigned long long)ioaddr->command_addr, ioaddr 435 drivers/ata/pata_atp867x.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 437 drivers/ata/pata_atp867x.c ioaddr->cmd_addr = ATP867X_IO_PORTBASE(ap, i); ioaddr 438 drivers/ata/pata_atp867x.c ioaddr->ctl_addr = ioaddr->altstatus_addr ioaddr 440 drivers/ata/pata_atp867x.c ioaddr->bmdma_addr = ATP867X_IO_DMABASE(ap, i); ioaddr 442 drivers/ata/pata_atp867x.c ata_sff_std_ports(ioaddr); ioaddr 451 drivers/ata/pata_atp867x.c (unsigned long)ioaddr->cmd_addr, ioaddr 452 drivers/ata/pata_atp867x.c (unsigned long)ioaddr->ctl_addr); ioaddr 454 drivers/ata/pata_atp867x.c (unsigned long)ioaddr->bmdma_addr); ioaddr 136 drivers/ata/pata_bk3710.c void __iomem *base = (void __iomem *)ap->ioaddr.bmdma_addr; ioaddr 201 drivers/ata/pata_bk3710.c void __iomem *base = (void __iomem *)ap->ioaddr.bmdma_addr; ioaddr 340 drivers/ata/pata_bk3710.c ap->ioaddr.data_addr = base + BK3710_TF_OFFSET; ioaddr 341 drivers/ata/pata_bk3710.c ap->ioaddr.error_addr = base + BK3710_TF_OFFSET + 1; ioaddr 342 drivers/ata/pata_bk3710.c ap->ioaddr.feature_addr = base + BK3710_TF_OFFSET + 1; ioaddr 343 drivers/ata/pata_bk3710.c ap->ioaddr.nsect_addr = base + BK3710_TF_OFFSET + 2; ioaddr 344 drivers/ata/pata_bk3710.c ap->ioaddr.lbal_addr = base + BK3710_TF_OFFSET + 3; ioaddr 345 drivers/ata/pata_bk3710.c ap->ioaddr.lbam_addr = base + BK3710_TF_OFFSET + 4; ioaddr 346 drivers/ata/pata_bk3710.c ap->ioaddr.lbah_addr = base + BK3710_TF_OFFSET + 5; ioaddr 347 drivers/ata/pata_bk3710.c ap->ioaddr.device_addr = base + BK3710_TF_OFFSET + 6; ioaddr 348 drivers/ata/pata_bk3710.c ap->ioaddr.status_addr = base + BK3710_TF_OFFSET + 7; ioaddr 349 drivers/ata/pata_bk3710.c ap->ioaddr.command_addr = base + BK3710_TF_OFFSET + 7; ioaddr 351 drivers/ata/pata_bk3710.c ap->ioaddr.altstatus_addr = base + BK3710_CTL_OFFSET; ioaddr 352 drivers/ata/pata_bk3710.c ap->ioaddr.ctl_addr = base + BK3710_CTL_OFFSET; ioaddr 354 drivers/ata/pata_bk3710.c ap->ioaddr.bmdma_addr = base; ioaddr 71 drivers/ata/pata_buddha.c void __iomem *data_addr = ap->ioaddr.data_addr; ioaddr 221 drivers/ata/pata_buddha.c ap->ioaddr.data_addr = base; ioaddr 222 drivers/ata/pata_buddha.c ap->ioaddr.error_addr = base + 2 + 1 * 4; ioaddr 223 drivers/ata/pata_buddha.c ap->ioaddr.feature_addr = base + 2 + 1 * 4; ioaddr 224 drivers/ata/pata_buddha.c ap->ioaddr.nsect_addr = base + 2 + 2 * 4; ioaddr 225 drivers/ata/pata_buddha.c ap->ioaddr.lbal_addr = base + 2 + 3 * 4; ioaddr 226 drivers/ata/pata_buddha.c ap->ioaddr.lbam_addr = base + 2 + 4 * 4; ioaddr 227 drivers/ata/pata_buddha.c ap->ioaddr.lbah_addr = base + 2 + 5 * 4; ioaddr 228 drivers/ata/pata_buddha.c ap->ioaddr.device_addr = base + 2 + 6 * 4; ioaddr 229 drivers/ata/pata_buddha.c ap->ioaddr.status_addr = base + 2 + 7 * 4; ioaddr 230 drivers/ata/pata_buddha.c ap->ioaddr.command_addr = base + 2 + 7 * 4; ioaddr 233 drivers/ata/pata_buddha.c ap->ioaddr.altstatus_addr = base + ctl; ioaddr 234 drivers/ata/pata_buddha.c ap->ioaddr.ctl_addr = base + ctl; ioaddr 121 drivers/ata/pata_cs5520.c struct ata_ioports *ioaddr; ioaddr 173 drivers/ata/pata_cs5520.c ioaddr = &host->ports[0]->ioaddr; ioaddr 174 drivers/ata/pata_cs5520.c ioaddr->cmd_addr = iomap[0]; ioaddr 175 drivers/ata/pata_cs5520.c ioaddr->ctl_addr = iomap[1]; ioaddr 176 drivers/ata/pata_cs5520.c ioaddr->altstatus_addr = iomap[1]; ioaddr 177 drivers/ata/pata_cs5520.c ioaddr->bmdma_addr = iomap[4]; ioaddr 178 drivers/ata/pata_cs5520.c ata_sff_std_ports(ioaddr); ioaddr 184 drivers/ata/pata_cs5520.c ioaddr = &host->ports[1]->ioaddr; ioaddr 185 drivers/ata/pata_cs5520.c ioaddr->cmd_addr = iomap[2]; ioaddr 186 drivers/ata/pata_cs5520.c ioaddr->ctl_addr = iomap[3]; ioaddr 187 drivers/ata/pata_cs5520.c ioaddr->altstatus_addr = iomap[3]; ioaddr 188 drivers/ata/pata_cs5520.c ioaddr->bmdma_addr = iomap[4] + 8; ioaddr 189 drivers/ata/pata_cs5520.c ata_sff_std_ports(ioaddr); ioaddr 28 drivers/ata/pata_cs5530.c unsigned long bmdma = (unsigned long)ap->ioaddr.bmdma_addr; ioaddr 112 drivers/ata/pata_cs5530.c reg = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_STATUS); ioaddr 114 drivers/ata/pata_cs5530.c iowrite8(reg, ap->ioaddr.bmdma_addr + ATA_DMA_STATUS); ioaddr 49 drivers/ata/pata_falcon.c void __iomem *data_addr = ap->ioaddr.data_addr; ioaddr 156 drivers/ata/pata_falcon.c ap->ioaddr.data_addr = base; ioaddr 157 drivers/ata/pata_falcon.c ap->ioaddr.error_addr = base + 1 + 1 * 4; ioaddr 158 drivers/ata/pata_falcon.c ap->ioaddr.feature_addr = base + 1 + 1 * 4; ioaddr 159 drivers/ata/pata_falcon.c ap->ioaddr.nsect_addr = base + 1 + 2 * 4; ioaddr 160 drivers/ata/pata_falcon.c ap->ioaddr.lbal_addr = base + 1 + 3 * 4; ioaddr 161 drivers/ata/pata_falcon.c ap->ioaddr.lbam_addr = base + 1 + 4 * 4; ioaddr 162 drivers/ata/pata_falcon.c ap->ioaddr.lbah_addr = base + 1 + 5 * 4; ioaddr 163 drivers/ata/pata_falcon.c ap->ioaddr.device_addr = base + 1 + 6 * 4; ioaddr 164 drivers/ata/pata_falcon.c ap->ioaddr.status_addr = base + 1 + 7 * 4; ioaddr 165 drivers/ata/pata_falcon.c ap->ioaddr.command_addr = base + 1 + 7 * 4; ioaddr 167 drivers/ata/pata_falcon.c ap->ioaddr.altstatus_addr = base + ATA_HD_CONTROL; ioaddr 168 drivers/ata/pata_falcon.c ap->ioaddr.ctl_addr = base + ATA_HD_CONTROL; ioaddr 519 drivers/ata/pata_ftide010.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 521 drivers/ata/pata_ftide010.c ioaddr->bmdma_addr = ftide->base + FTIDE010_DMA_REG; ioaddr 522 drivers/ata/pata_ftide010.c ioaddr->cmd_addr = ftide->base + FTIDE010_CMD_DATA; ioaddr 523 drivers/ata/pata_ftide010.c ioaddr->ctl_addr = ftide->base + FTIDE010_ALTSTAT_CTRL; ioaddr 524 drivers/ata/pata_ftide010.c ioaddr->altstatus_addr = ftide->base + FTIDE010_ALTSTAT_CTRL; ioaddr 525 drivers/ata/pata_ftide010.c ata_sff_std_ports(ioaddr); ioaddr 49 drivers/ata/pata_gayle.c void __iomem *data_addr = ap->ioaddr.data_addr; ioaddr 108 drivers/ata/pata_gayle.c (void)z_readb((unsigned long)ap->ioaddr.status_addr); ioaddr 168 drivers/ata/pata_gayle.c ap->ioaddr.data_addr = base; ioaddr 169 drivers/ata/pata_gayle.c ap->ioaddr.error_addr = base + 2 + 1 * 4; ioaddr 170 drivers/ata/pata_gayle.c ap->ioaddr.feature_addr = base + 2 + 1 * 4; ioaddr 171 drivers/ata/pata_gayle.c ap->ioaddr.nsect_addr = base + 2 + 2 * 4; ioaddr 172 drivers/ata/pata_gayle.c ap->ioaddr.lbal_addr = base + 2 + 3 * 4; ioaddr 173 drivers/ata/pata_gayle.c ap->ioaddr.lbam_addr = base + 2 + 4 * 4; ioaddr 174 drivers/ata/pata_gayle.c ap->ioaddr.lbah_addr = base + 2 + 5 * 4; ioaddr 175 drivers/ata/pata_gayle.c ap->ioaddr.device_addr = base + 2 + 6 * 4; ioaddr 176 drivers/ata/pata_gayle.c ap->ioaddr.status_addr = base + 2 + 7 * 4; ioaddr 177 drivers/ata/pata_gayle.c ap->ioaddr.command_addr = base + 2 + 7 * 4; ioaddr 179 drivers/ata/pata_gayle.c ap->ioaddr.altstatus_addr = base + GAYLE_CONTROL; ioaddr 180 drivers/ata/pata_gayle.c ap->ioaddr.ctl_addr = base + GAYLE_CONTROL; ioaddr 476 drivers/ata/pata_hpt37x.c void __iomem *bmdma = ap->ioaddr.bmdma_addr; ioaddr 278 drivers/ata/pata_hpt3x2n.c void __iomem *bmdma = ap->ioaddr.bmdma_addr - ap->port_no * 8; ioaddr 100 drivers/ata/pata_hpt3x3.c void __iomem *mmio = ap->ioaddr.bmdma_addr; ioaddr 119 drivers/ata/pata_hpt3x3.c u8 r = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_STATUS); ioaddr 121 drivers/ata/pata_hpt3x3.c iowrite8(r, ap->ioaddr.bmdma_addr + ATA_DMA_STATUS); ioaddr 232 drivers/ata/pata_hpt3x3.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 234 drivers/ata/pata_hpt3x3.c ioaddr->cmd_addr = base + offset_cmd[i]; ioaddr 235 drivers/ata/pata_hpt3x3.c ioaddr->altstatus_addr = ioaddr 236 drivers/ata/pata_hpt3x3.c ioaddr->ctl_addr = base + offset_ctl[i]; ioaddr 237 drivers/ata/pata_hpt3x3.c ioaddr->scr_addr = NULL; ioaddr 238 drivers/ata/pata_hpt3x3.c ata_sff_std_ports(ioaddr); ioaddr 239 drivers/ata/pata_hpt3x3.c ioaddr->bmdma_addr = base + 8 * i; ioaddr 345 drivers/ata/pata_icside.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 348 drivers/ata/pata_icside.c ioaddr->cmd_addr = cmd; ioaddr 349 drivers/ata/pata_icside.c ioaddr->data_addr = cmd + (ATA_REG_DATA << port->stepping); ioaddr 350 drivers/ata/pata_icside.c ioaddr->error_addr = cmd + (ATA_REG_ERR << port->stepping); ioaddr 351 drivers/ata/pata_icside.c ioaddr->feature_addr = cmd + (ATA_REG_FEATURE << port->stepping); ioaddr 352 drivers/ata/pata_icside.c ioaddr->nsect_addr = cmd + (ATA_REG_NSECT << port->stepping); ioaddr 353 drivers/ata/pata_icside.c ioaddr->lbal_addr = cmd + (ATA_REG_LBAL << port->stepping); ioaddr 354 drivers/ata/pata_icside.c ioaddr->lbam_addr = cmd + (ATA_REG_LBAM << port->stepping); ioaddr 355 drivers/ata/pata_icside.c ioaddr->lbah_addr = cmd + (ATA_REG_LBAH << port->stepping); ioaddr 356 drivers/ata/pata_icside.c ioaddr->device_addr = cmd + (ATA_REG_DEVICE << port->stepping); ioaddr 357 drivers/ata/pata_icside.c ioaddr->status_addr = cmd + (ATA_REG_STATUS << port->stepping); ioaddr 358 drivers/ata/pata_icside.c ioaddr->command_addr = cmd + (ATA_REG_CMD << port->stepping); ioaddr 360 drivers/ata/pata_icside.c ioaddr->ctl_addr = base + port->ctrloffset; ioaddr 361 drivers/ata/pata_icside.c ioaddr->altstatus_addr = ioaddr->ctl_addr; ioaddr 111 drivers/ata/pata_imx.c static void pata_imx_setup_port(struct ata_ioports *ioaddr) ioaddr 114 drivers/ata/pata_imx.c ioaddr->data_addr = ioaddr->cmd_addr + (ATA_REG_DATA << 2); ioaddr 115 drivers/ata/pata_imx.c ioaddr->error_addr = ioaddr->cmd_addr + (ATA_REG_ERR << 2); ioaddr 116 drivers/ata/pata_imx.c ioaddr->feature_addr = ioaddr->cmd_addr + (ATA_REG_FEATURE << 2); ioaddr 117 drivers/ata/pata_imx.c ioaddr->nsect_addr = ioaddr->cmd_addr + (ATA_REG_NSECT << 2); ioaddr 118 drivers/ata/pata_imx.c ioaddr->lbal_addr = ioaddr->cmd_addr + (ATA_REG_LBAL << 2); ioaddr 119 drivers/ata/pata_imx.c ioaddr->lbam_addr = ioaddr->cmd_addr + (ATA_REG_LBAM << 2); ioaddr 120 drivers/ata/pata_imx.c ioaddr->lbah_addr = ioaddr->cmd_addr + (ATA_REG_LBAH << 2); ioaddr 121 drivers/ata/pata_imx.c ioaddr->device_addr = ioaddr->cmd_addr + (ATA_REG_DEVICE << 2); ioaddr 122 drivers/ata/pata_imx.c ioaddr->status_addr = ioaddr->cmd_addr + (ATA_REG_STATUS << 2); ioaddr 123 drivers/ata/pata_imx.c ioaddr->command_addr = ioaddr->cmd_addr + (ATA_REG_CMD << 2); ioaddr 174 drivers/ata/pata_imx.c ap->ioaddr.cmd_addr = priv->host_regs + PATA_IMX_DRIVE_DATA; ioaddr 175 drivers/ata/pata_imx.c ap->ioaddr.ctl_addr = priv->host_regs + PATA_IMX_DRIVE_CONTROL; ioaddr 177 drivers/ata/pata_imx.c ap->ioaddr.altstatus_addr = ap->ioaddr.ctl_addr; ioaddr 179 drivers/ata/pata_imx.c pata_imx_setup_port(&ap->ioaddr); ioaddr 80 drivers/ata/pata_isapnp.c ap->ioaddr.cmd_addr = cmd_addr; ioaddr 85 drivers/ata/pata_isapnp.c ap->ioaddr.altstatus_addr = ctl_addr; ioaddr 86 drivers/ata/pata_isapnp.c ap->ioaddr.ctl_addr = ctl_addr; ioaddr 90 drivers/ata/pata_isapnp.c ata_sff_std_ports(&ap->ioaddr); ioaddr 668 drivers/ata/pata_it821x.c iowrite8(ap->ctl, ap->ioaddr.ctl_addr); ioaddr 670 drivers/ata/pata_it821x.c iowrite8(ATA_DEVICE_OBS, ap->ioaddr.device_addr); ioaddr 671 drivers/ata/pata_it821x.c iowrite8(cmd, ap->ioaddr.command_addr); ioaddr 676 drivers/ata/pata_it821x.c status = ioread8(ap->ioaddr.status_addr); ioaddr 683 drivers/ata/pata_it821x.c ioread16_rep(ap->ioaddr.data_addr, buf, len/2); ioaddr 46 drivers/ata/pata_ixp4xx_cf.c void __iomem *mmio = ap->ioaddr.data_addr; ioaddr 99 drivers/ata/pata_ixp4xx_cf.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 103 drivers/ata/pata_ixp4xx_cf.c ioaddr->cmd_addr = data->cs0; ioaddr 104 drivers/ata/pata_ixp4xx_cf.c ioaddr->altstatus_addr = data->cs1 + 0x06; ioaddr 105 drivers/ata/pata_ixp4xx_cf.c ioaddr->ctl_addr = data->cs1 + 0x06; ioaddr 107 drivers/ata/pata_ixp4xx_cf.c ata_sff_std_ports(ioaddr); ioaddr 115 drivers/ata/pata_ixp4xx_cf.c *(unsigned long *)&ioaddr->data_addr ^= 0x02; ioaddr 116 drivers/ata/pata_ixp4xx_cf.c *(unsigned long *)&ioaddr->cmd_addr ^= 0x03; ioaddr 117 drivers/ata/pata_ixp4xx_cf.c *(unsigned long *)&ioaddr->altstatus_addr ^= 0x03; ioaddr 118 drivers/ata/pata_ixp4xx_cf.c *(unsigned long *)&ioaddr->ctl_addr ^= 0x03; ioaddr 119 drivers/ata/pata_ixp4xx_cf.c *(unsigned long *)&ioaddr->error_addr ^= 0x03; ioaddr 120 drivers/ata/pata_ixp4xx_cf.c *(unsigned long *)&ioaddr->feature_addr ^= 0x03; ioaddr 121 drivers/ata/pata_ixp4xx_cf.c *(unsigned long *)&ioaddr->nsect_addr ^= 0x03; ioaddr 122 drivers/ata/pata_ixp4xx_cf.c *(unsigned long *)&ioaddr->lbal_addr ^= 0x03; ioaddr 123 drivers/ata/pata_ixp4xx_cf.c *(unsigned long *)&ioaddr->lbam_addr ^= 0x03; ioaddr 124 drivers/ata/pata_ixp4xx_cf.c *(unsigned long *)&ioaddr->lbah_addr ^= 0x03; ioaddr 125 drivers/ata/pata_ixp4xx_cf.c *(unsigned long *)&ioaddr->device_addr ^= 0x03; ioaddr 126 drivers/ata/pata_ixp4xx_cf.c *(unsigned long *)&ioaddr->status_addr ^= 0x03; ioaddr 127 drivers/ata/pata_ixp4xx_cf.c *(unsigned long *)&ioaddr->command_addr ^= 0x03; ioaddr 307 drivers/ata/pata_legacy.c ioread8(ap->ioaddr.nsect_addr); ioaddr 308 drivers/ata/pata_legacy.c ioread8(ap->ioaddr.nsect_addr); ioaddr 309 drivers/ata/pata_legacy.c ioread8(ap->ioaddr.nsect_addr); ioaddr 313 drivers/ata/pata_legacy.c ioread32_rep(ap->ioaddr.data_addr, buf, buflen >> 2); ioaddr 315 drivers/ata/pata_legacy.c iowrite32_rep(ap->ioaddr.data_addr, buf, buflen >> 2); ioaddr 320 drivers/ata/pata_legacy.c pad = cpu_to_le32(ioread32(ap->ioaddr.data_addr)); ioaddr 324 drivers/ata/pata_legacy.c iowrite32(le32_to_cpu(pad), ap->ioaddr.data_addr); ioaddr 364 drivers/ata/pata_legacy.c iowrite8(recover << 4 | active, ap->ioaddr.device_addr); ioaddr 365 drivers/ata/pata_legacy.c ioread8(ap->ioaddr.status_addr); ioaddr 398 drivers/ata/pata_legacy.c iowrite8(recover << 4 | active, ap->ioaddr.device_addr); ioaddr 407 drivers/ata/pata_legacy.c ioread8(ap->ioaddr.status_addr); ioaddr 456 drivers/ata/pata_legacy.c ioread16(ap->ioaddr.error_addr); ioaddr 457 drivers/ata/pata_legacy.c ioread16(ap->ioaddr.error_addr); ioaddr 458 drivers/ata/pata_legacy.c iowrite8(3, ap->ioaddr.nsect_addr); ioaddr 461 drivers/ata/pata_legacy.c clock = 1000000000 / khz[ioread8(ap->ioaddr.lbah_addr) & 0x03]; ioaddr 479 drivers/ata/pata_legacy.c rc = ioread8(ap->ioaddr.lbal_addr); ioaddr 482 drivers/ata/pata_legacy.c iowrite8(rc, ap->ioaddr.lbal_addr); ioaddr 485 drivers/ata/pata_legacy.c iowrite8(active << 4 | recover, ap->ioaddr.error_addr); ioaddr 489 drivers/ata/pata_legacy.c rc = ioread8(ap->ioaddr.device_addr); ioaddr 493 drivers/ata/pata_legacy.c iowrite8(rc, ap->ioaddr.device_addr); ioaddr 496 drivers/ata/pata_legacy.c iowrite8(active << 4 | recover, ap->ioaddr.data_addr); ioaddr 499 drivers/ata/pata_legacy.c rc = ioread8(ap->ioaddr.lbal_addr); ioaddr 502 drivers/ata/pata_legacy.c iowrite8(rc, ap->ioaddr.lbal_addr); ioaddr 505 drivers/ata/pata_legacy.c iowrite8(0x83, ap->ioaddr.nsect_addr); ioaddr 535 drivers/ata/pata_legacy.c ioread16(ap->ioaddr.error_addr); ioaddr 536 drivers/ata/pata_legacy.c ioread16(ap->ioaddr.error_addr); ioaddr 537 drivers/ata/pata_legacy.c iowrite8(3, ap->ioaddr.nsect_addr); ioaddr 558 drivers/ata/pata_legacy.c rc = ioread8(ap->ioaddr.lbal_addr); ioaddr 561 drivers/ata/pata_legacy.c iowrite8(rc, ap->ioaddr.lbal_addr); ioaddr 564 drivers/ata/pata_legacy.c iowrite8(active << 4 | recover, ap->ioaddr.error_addr); ioaddr 568 drivers/ata/pata_legacy.c rc = ioread8(ap->ioaddr.device_addr); ioaddr 572 drivers/ata/pata_legacy.c iowrite8(rc, ap->ioaddr.device_addr); ioaddr 575 drivers/ata/pata_legacy.c iowrite8(active << 4 | recover, ap->ioaddr.data_addr); ioaddr 578 drivers/ata/pata_legacy.c rc = ioread8(ap->ioaddr.lbal_addr); ioaddr 581 drivers/ata/pata_legacy.c iowrite8(rc, ap->ioaddr.lbal_addr); ioaddr 584 drivers/ata/pata_legacy.c iowrite8(0x83, ap->ioaddr.nsect_addr); ioaddr 703 drivers/ata/pata_legacy.c iowrite32_rep(ap->ioaddr.data_addr, buf, buflen >> 2); ioaddr 705 drivers/ata/pata_legacy.c ioread32_rep(ap->ioaddr.data_addr, buf, buflen >> 2); ioaddr 711 drivers/ata/pata_legacy.c iowrite32(le32_to_cpu(pad), ap->ioaddr.data_addr); ioaddr 713 drivers/ata/pata_legacy.c pad = cpu_to_le32(ioread32(ap->ioaddr.data_addr)); ioaddr 978 drivers/ata/pata_legacy.c ap->ioaddr.cmd_addr = io_addr; ioaddr 979 drivers/ata/pata_legacy.c ap->ioaddr.altstatus_addr = ctrl_addr; ioaddr 980 drivers/ata/pata_legacy.c ap->ioaddr.ctl_addr = ctrl_addr; ioaddr 981 drivers/ata/pata_legacy.c ata_sff_std_ports(&ap->ioaddr); ioaddr 372 drivers/ata/pata_macio.c void __iomem *rbase = ap->ioaddr.cmd_addr; ioaddr 576 drivers/ata/pata_macio.c struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; ioaddr 595 drivers/ata/pata_macio.c struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; ioaddr 608 drivers/ata/pata_macio.c void __iomem *rbase = ap->ioaddr.cmd_addr; ioaddr 624 drivers/ata/pata_macio.c struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; ioaddr 637 drivers/ata/pata_macio.c struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; ioaddr 651 drivers/ata/pata_macio.c struct dbdma_regs __iomem *dma_regs = ap->ioaddr.bmdma_addr; ioaddr 711 drivers/ata/pata_macio.c if (ap->ioaddr.bmdma_addr == NULL) ioaddr 725 drivers/ata/pata_macio.c ap->ioaddr.bmdma_addr = NULL; ioaddr 984 drivers/ata/pata_macio.c static void pata_macio_setup_ios(struct ata_ioports *ioaddr, ioaddr 988 drivers/ata/pata_macio.c ioaddr->cmd_addr = base; ioaddr 991 drivers/ata/pata_macio.c ioaddr->data_addr = base + (ATA_REG_DATA << 4); ioaddr 992 drivers/ata/pata_macio.c ioaddr->error_addr = base + (ATA_REG_ERR << 4); ioaddr 993 drivers/ata/pata_macio.c ioaddr->feature_addr = base + (ATA_REG_FEATURE << 4); ioaddr 994 drivers/ata/pata_macio.c ioaddr->nsect_addr = base + (ATA_REG_NSECT << 4); ioaddr 995 drivers/ata/pata_macio.c ioaddr->lbal_addr = base + (ATA_REG_LBAL << 4); ioaddr 996 drivers/ata/pata_macio.c ioaddr->lbam_addr = base + (ATA_REG_LBAM << 4); ioaddr 997 drivers/ata/pata_macio.c ioaddr->lbah_addr = base + (ATA_REG_LBAH << 4); ioaddr 998 drivers/ata/pata_macio.c ioaddr->device_addr = base + (ATA_REG_DEVICE << 4); ioaddr 999 drivers/ata/pata_macio.c ioaddr->status_addr = base + (ATA_REG_STATUS << 4); ioaddr 1000 drivers/ata/pata_macio.c ioaddr->command_addr = base + (ATA_REG_CMD << 4); ioaddr 1001 drivers/ata/pata_macio.c ioaddr->altstatus_addr = base + 0x160; ioaddr 1002 drivers/ata/pata_macio.c ioaddr->ctl_addr = base + 0x160; ioaddr 1003 drivers/ata/pata_macio.c ioaddr->bmdma_addr = dma; ioaddr 1094 drivers/ata/pata_macio.c pata_macio_setup_ios(&priv->host->ports[0]->ioaddr, ioaddr 86 drivers/ata/pata_marvell.c if (ioread8(ap->ioaddr.bmdma_addr + 1) & 1) ioaddr 645 drivers/ata/pata_mpc52xx.c aio = &ap->ioaddr; ioaddr 204 drivers/ata/pata_mpiix.c ap->ioaddr.cmd_addr = cmd_addr; ioaddr 205 drivers/ata/pata_mpiix.c ap->ioaddr.ctl_addr = ctl_addr; ioaddr 206 drivers/ata/pata_mpiix.c ap->ioaddr.altstatus_addr = ctl_addr; ioaddr 209 drivers/ata/pata_mpiix.c ata_sff_std_ports(&ap->ioaddr); ioaddr 65 drivers/ata/pata_ninja32.c ap->ioaddr.bmdma_addr + 0x1f); ioaddr 74 drivers/ata/pata_ninja32.c iowrite8(0xd6, ap->ioaddr.bmdma_addr + 0x1f); ioaddr 140 drivers/ata/pata_ninja32.c ap->ioaddr.cmd_addr = base + 0x10; ioaddr 141 drivers/ata/pata_ninja32.c ap->ioaddr.ctl_addr = base + 0x1E; ioaddr 142 drivers/ata/pata_ninja32.c ap->ioaddr.altstatus_addr = base + 0x1E; ioaddr 143 drivers/ata/pata_ninja32.c ap->ioaddr.bmdma_addr = base; ioaddr 144 drivers/ata/pata_ninja32.c ata_sff_std_ports(&ap->ioaddr); ioaddr 129 drivers/ata/pata_ns87415.c iowrite32(ap->bmdma_prd_dma, ap->ioaddr.bmdma_addr + ATA_DMA_TABLE_OFS); ioaddr 132 drivers/ata/pata_ns87415.c dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); ioaddr 139 drivers/ata/pata_ns87415.c iowrite8(dmactl, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); ioaddr 184 drivers/ata/pata_ns87415.c void __iomem *mmio = ap->ioaddr.bmdma_addr; ioaddr 250 drivers/ata/pata_ns87415.c return ns87560_read_buggy(ap->ioaddr.status_addr); ioaddr 266 drivers/ata/pata_ns87415.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 269 drivers/ata/pata_ns87415.c tf->feature = ioread8(ioaddr->error_addr); ioaddr 270 drivers/ata/pata_ns87415.c tf->nsect = ioread8(ioaddr->nsect_addr); ioaddr 271 drivers/ata/pata_ns87415.c tf->lbal = ioread8(ioaddr->lbal_addr); ioaddr 272 drivers/ata/pata_ns87415.c tf->lbam = ioread8(ioaddr->lbam_addr); ioaddr 273 drivers/ata/pata_ns87415.c tf->lbah = ioread8(ioaddr->lbah_addr); ioaddr 274 drivers/ata/pata_ns87415.c tf->device = ns87560_read_buggy(ioaddr->device_addr); ioaddr 277 drivers/ata/pata_ns87415.c iowrite8(tf->ctl | ATA_HOB, ioaddr->ctl_addr); ioaddr 278 drivers/ata/pata_ns87415.c tf->hob_feature = ioread8(ioaddr->error_addr); ioaddr 279 drivers/ata/pata_ns87415.c tf->hob_nsect = ioread8(ioaddr->nsect_addr); ioaddr 280 drivers/ata/pata_ns87415.c tf->hob_lbal = ioread8(ioaddr->lbal_addr); ioaddr 281 drivers/ata/pata_ns87415.c tf->hob_lbam = ioread8(ioaddr->lbam_addr); ioaddr 282 drivers/ata/pata_ns87415.c tf->hob_lbah = ioread8(ioaddr->lbah_addr); ioaddr 283 drivers/ata/pata_ns87415.c iowrite8(tf->ctl, ioaddr->ctl_addr); ioaddr 298 drivers/ata/pata_ns87415.c return ns87560_read_buggy(ap->ioaddr.bmdma_addr + ATA_DMA_STATUS); ioaddr 299 drivers/ata/pata_octeon_cf.c void __iomem *data_addr = ap->ioaddr.data_addr; ioaddr 314 drivers/ata/pata_octeon_cf.c ioread8(ap->ioaddr.altstatus_addr); ioaddr 338 drivers/ata/pata_octeon_cf.c void __iomem *data_addr = ap->ioaddr.data_addr; ioaddr 353 drivers/ata/pata_octeon_cf.c ioread8(ap->ioaddr.altstatus_addr); ioaddr 386 drivers/ata/pata_octeon_cf.c void __iomem *base = ap->ioaddr.data_addr; ioaddr 404 drivers/ata/pata_octeon_cf.c if (likely(ap->ioaddr.ctl_addr)) { ioaddr 405 drivers/ata/pata_octeon_cf.c iowrite8(tf->ctl | ATA_HOB, ap->ioaddr.ctl_addr); ioaddr 418 drivers/ata/pata_octeon_cf.c iowrite8(tf->ctl, ap->ioaddr.ctl_addr); ioaddr 429 drivers/ata/pata_octeon_cf.c void __iomem *base = ap->ioaddr.data_addr; ioaddr 439 drivers/ata/pata_octeon_cf.c void __iomem *base = ap->ioaddr.data_addr; ioaddr 471 drivers/ata/pata_octeon_cf.c void __iomem *base = ap->ioaddr.data_addr; ioaddr 474 drivers/ata/pata_octeon_cf.c iowrite8(tf->ctl, ap->ioaddr.ctl_addr); ioaddr 518 drivers/ata/pata_octeon_cf.c void __iomem *base = ap->ioaddr.data_addr; ioaddr 712 drivers/ata/pata_octeon_cf.c status = ioread8(ap->ioaddr.altstatus_addr); ioaddr 761 drivers/ata/pata_octeon_cf.c status = ioread8(ap->ioaddr.altstatus_addr); ioaddr 948 drivers/ata/pata_octeon_cf.c ap->ioaddr.cmd_addr = base; ioaddr 949 drivers/ata/pata_octeon_cf.c ata_sff_std_ports(&ap->ioaddr); ioaddr 951 drivers/ata/pata_octeon_cf.c ap->ioaddr.altstatus_addr = base + 0xe; ioaddr 952 drivers/ata/pata_octeon_cf.c ap->ioaddr.ctl_addr = base + 0xe; ioaddr 956 drivers/ata/pata_octeon_cf.c ap->ioaddr.cmd_addr = base + (ATA_REG_CMD << 1) + 1; ioaddr 957 drivers/ata/pata_octeon_cf.c ap->ioaddr.data_addr = base + (ATA_REG_DATA << 1); ioaddr 958 drivers/ata/pata_octeon_cf.c ap->ioaddr.error_addr = base + (ATA_REG_ERR << 1) + 1; ioaddr 959 drivers/ata/pata_octeon_cf.c ap->ioaddr.feature_addr = base + (ATA_REG_FEATURE << 1) + 1; ioaddr 960 drivers/ata/pata_octeon_cf.c ap->ioaddr.nsect_addr = base + (ATA_REG_NSECT << 1) + 1; ioaddr 961 drivers/ata/pata_octeon_cf.c ap->ioaddr.lbal_addr = base + (ATA_REG_LBAL << 1) + 1; ioaddr 962 drivers/ata/pata_octeon_cf.c ap->ioaddr.lbam_addr = base + (ATA_REG_LBAM << 1) + 1; ioaddr 963 drivers/ata/pata_octeon_cf.c ap->ioaddr.lbah_addr = base + (ATA_REG_LBAH << 1) + 1; ioaddr 964 drivers/ata/pata_octeon_cf.c ap->ioaddr.device_addr = base + (ATA_REG_DEVICE << 1) + 1; ioaddr 965 drivers/ata/pata_octeon_cf.c ap->ioaddr.status_addr = base + (ATA_REG_STATUS << 1) + 1; ioaddr 966 drivers/ata/pata_octeon_cf.c ap->ioaddr.command_addr = base + (ATA_REG_CMD << 1) + 1; ioaddr 967 drivers/ata/pata_octeon_cf.c ap->ioaddr.altstatus_addr = cs1 + (6 << 1) + 1; ioaddr 968 drivers/ata/pata_octeon_cf.c ap->ioaddr.ctl_addr = cs1 + (6 << 1) + 1; ioaddr 987 drivers/ata/pata_octeon_cf.c ap->ioaddr.data_addr = base + ATA_REG_DATA; ioaddr 988 drivers/ata/pata_octeon_cf.c ap->ioaddr.nsect_addr = base + ATA_REG_NSECT; ioaddr 989 drivers/ata/pata_octeon_cf.c ap->ioaddr.lbal_addr = base + ATA_REG_LBAL; ioaddr 990 drivers/ata/pata_octeon_cf.c ap->ioaddr.ctl_addr = base + 0xe; ioaddr 991 drivers/ata/pata_octeon_cf.c ap->ioaddr.altstatus_addr = base + 0xe; ioaddr 993 drivers/ata/pata_octeon_cf.c cf_port->c0 = ap->ioaddr.ctl_addr; ioaddr 999 drivers/ata/pata_octeon_cf.c ata_port_desc(ap, "cmd %p ctl %p", base, ap->ioaddr.ctl_addr); ioaddr 83 drivers/ata/pata_opti.c void __iomem *regio = ap->ioaddr.cmd_addr; ioaddr 112 drivers/ata/pata_opti.c void __iomem *regio = ap->ioaddr.cmd_addr; ioaddr 79 drivers/ata/pata_optidma.c void __iomem *regio = ap->ioaddr.cmd_addr; ioaddr 96 drivers/ata/pata_optidma.c void __iomem *regio = ap->ioaddr.cmd_addr; ioaddr 121 drivers/ata/pata_optidma.c void __iomem *regio = ap->ioaddr.cmd_addr; ioaddr 93 drivers/ata/pata_palmld.c ap->ioaddr.cmd_addr = mem + 0x10; ioaddr 94 drivers/ata/pata_palmld.c ap->ioaddr.altstatus_addr = mem + 0xe; ioaddr 95 drivers/ata/pata_palmld.c ap->ioaddr.ctl_addr = mem + 0xe; ioaddr 98 drivers/ata/pata_palmld.c ata_sff_std_ports(&ap->ioaddr); ioaddr 97 drivers/ata/pata_pcmcia.c ioread8_rep(ap->ioaddr.data_addr, buf, buflen); ioaddr 99 drivers/ata/pata_pcmcia.c iowrite8_rep(ap->ioaddr.data_addr, buf, buflen); ioaddr 128 drivers/ata/pata_pcmcia.c ioread8(ap->ioaddr.data_addr); ioaddr 258 drivers/ata/pata_pcmcia.c ap->ioaddr.cmd_addr = io_addr + 0x10 * p; ioaddr 259 drivers/ata/pata_pcmcia.c ap->ioaddr.altstatus_addr = ctl_addr + 0x10 * p; ioaddr 260 drivers/ata/pata_pcmcia.c ap->ioaddr.ctl_addr = ctl_addr + 0x10 * p; ioaddr 261 drivers/ata/pata_pcmcia.c ata_sff_std_ports(&ap->ioaddr); ioaddr 734 drivers/ata/pata_pdc2027x.c pdc_ata_setup_port(&ap->ioaddr, mmio_base + cmd_offset[i]); ioaddr 735 drivers/ata/pata_pdc2027x.c ap->ioaddr.bmdma_addr = mmio_base + bmdma_offset[i]; ioaddr 43 drivers/ata/pata_pdc202xx_old.c iowrite8(tf->command, ap->ioaddr.command_addr); ioaddr 184 drivers/ata/pata_pdc202xx_old.c void __iomem *master = ap->host->ports[0]->ioaddr.bmdma_addr; ioaddr 235 drivers/ata/pata_pdc202xx_old.c void __iomem *master = ap->host->ports[0]->ioaddr.bmdma_addr; ioaddr 267 drivers/ata/pata_pdc202xx_old.c void __iomem *bmdma = ap->ioaddr.bmdma_addr; ioaddr 50 drivers/ata/pata_platform.c static void pata_platform_setup_port(struct ata_ioports *ioaddr, ioaddr 54 drivers/ata/pata_platform.c ioaddr->data_addr = ioaddr->cmd_addr + (ATA_REG_DATA << shift); ioaddr 55 drivers/ata/pata_platform.c ioaddr->error_addr = ioaddr->cmd_addr + (ATA_REG_ERR << shift); ioaddr 56 drivers/ata/pata_platform.c ioaddr->feature_addr = ioaddr->cmd_addr + (ATA_REG_FEATURE << shift); ioaddr 57 drivers/ata/pata_platform.c ioaddr->nsect_addr = ioaddr->cmd_addr + (ATA_REG_NSECT << shift); ioaddr 58 drivers/ata/pata_platform.c ioaddr->lbal_addr = ioaddr->cmd_addr + (ATA_REG_LBAL << shift); ioaddr 59 drivers/ata/pata_platform.c ioaddr->lbam_addr = ioaddr->cmd_addr + (ATA_REG_LBAM << shift); ioaddr 60 drivers/ata/pata_platform.c ioaddr->lbah_addr = ioaddr->cmd_addr + (ATA_REG_LBAH << shift); ioaddr 61 drivers/ata/pata_platform.c ioaddr->device_addr = ioaddr->cmd_addr + (ATA_REG_DEVICE << shift); ioaddr 62 drivers/ata/pata_platform.c ioaddr->status_addr = ioaddr->cmd_addr + (ATA_REG_STATUS << shift); ioaddr 63 drivers/ata/pata_platform.c ioaddr->command_addr = ioaddr->cmd_addr + (ATA_REG_CMD << shift); ioaddr 152 drivers/ata/pata_platform.c ap->ioaddr.cmd_addr = devm_ioremap(dev, io_res->start, ioaddr 154 drivers/ata/pata_platform.c ap->ioaddr.ctl_addr = devm_ioremap(dev, ctl_res->start, ioaddr 157 drivers/ata/pata_platform.c ap->ioaddr.cmd_addr = devm_ioport_map(dev, io_res->start, ioaddr 159 drivers/ata/pata_platform.c ap->ioaddr.ctl_addr = devm_ioport_map(dev, ctl_res->start, ioaddr 162 drivers/ata/pata_platform.c if (!ap->ioaddr.cmd_addr || !ap->ioaddr.ctl_addr) { ioaddr 167 drivers/ata/pata_platform.c ap->ioaddr.altstatus_addr = ap->ioaddr.ctl_addr; ioaddr 169 drivers/ata/pata_platform.c pata_platform_setup_port(&ap->ioaddr, ioport_shift); ioaddr 222 drivers/ata/pata_pxa.c ap->ioaddr.cmd_addr = devm_ioremap(&pdev->dev, cmd_res->start, ioaddr 224 drivers/ata/pata_pxa.c ap->ioaddr.ctl_addr = devm_ioremap(&pdev->dev, ctl_res->start, ioaddr 226 drivers/ata/pata_pxa.c ap->ioaddr.bmdma_addr = devm_ioremap(&pdev->dev, dma_res->start, ioaddr 232 drivers/ata/pata_pxa.c ap->ioaddr.altstatus_addr = ap->ioaddr.ctl_addr; ioaddr 233 drivers/ata/pata_pxa.c ap->ioaddr.data_addr = ap->ioaddr.cmd_addr + ioaddr 235 drivers/ata/pata_pxa.c ap->ioaddr.error_addr = ap->ioaddr.cmd_addr + ioaddr 237 drivers/ata/pata_pxa.c ap->ioaddr.feature_addr = ap->ioaddr.cmd_addr + ioaddr 239 drivers/ata/pata_pxa.c ap->ioaddr.nsect_addr = ap->ioaddr.cmd_addr + ioaddr 241 drivers/ata/pata_pxa.c ap->ioaddr.lbal_addr = ap->ioaddr.cmd_addr + ioaddr 243 drivers/ata/pata_pxa.c ap->ioaddr.lbam_addr = ap->ioaddr.cmd_addr + ioaddr 245 drivers/ata/pata_pxa.c ap->ioaddr.lbah_addr = ap->ioaddr.cmd_addr + ioaddr 247 drivers/ata/pata_pxa.c ap->ioaddr.device_addr = ap->ioaddr.cmd_addr + ioaddr 249 drivers/ata/pata_pxa.c ap->ioaddr.status_addr = ap->ioaddr.cmd_addr + ioaddr 251 drivers/ata/pata_pxa.c ap->ioaddr.command_addr = ap->ioaddr.cmd_addr + ioaddr 92 drivers/ata/pata_rb532_cf.c ap->ioaddr.cmd_addr = info->iobase + RB500_CF_REG_BASE; ioaddr 93 drivers/ata/pata_rb532_cf.c ap->ioaddr.ctl_addr = info->iobase + RB500_CF_REG_CTRL; ioaddr 94 drivers/ata/pata_rb532_cf.c ap->ioaddr.altstatus_addr = info->iobase + RB500_CF_REG_CTRL; ioaddr 96 drivers/ata/pata_rb532_cf.c ata_sff_std_ports(&ap->ioaddr); ioaddr 98 drivers/ata/pata_rb532_cf.c ap->ioaddr.data_addr = info->iobase + RB500_CF_REG_DBUF32; ioaddr 99 drivers/ata/pata_rb532_cf.c ap->ioaddr.error_addr = info->iobase + RB500_CF_REG_ERR; ioaddr 178 drivers/ata/pata_samsung_cf.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 182 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->ctl, ioaddr->ctl_addr); ioaddr 188 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->hob_feature, ioaddr->feature_addr); ioaddr 189 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->hob_nsect, ioaddr->nsect_addr); ioaddr 190 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->hob_lbal, ioaddr->lbal_addr); ioaddr 191 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->hob_lbam, ioaddr->lbam_addr); ioaddr 192 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->hob_lbah, ioaddr->lbah_addr); ioaddr 196 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->feature, ioaddr->feature_addr); ioaddr 197 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->nsect, ioaddr->nsect_addr); ioaddr 198 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->lbal, ioaddr->lbal_addr); ioaddr 199 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->lbam, ioaddr->lbam_addr); ioaddr 200 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->lbah, ioaddr->lbah_addr); ioaddr 204 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->device, ioaddr->device_addr); ioaddr 214 drivers/ata/pata_samsung_cf.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 216 drivers/ata/pata_samsung_cf.c tf->feature = ata_inb(ap->host, ioaddr->error_addr); ioaddr 217 drivers/ata/pata_samsung_cf.c tf->nsect = ata_inb(ap->host, ioaddr->nsect_addr); ioaddr 218 drivers/ata/pata_samsung_cf.c tf->lbal = ata_inb(ap->host, ioaddr->lbal_addr); ioaddr 219 drivers/ata/pata_samsung_cf.c tf->lbam = ata_inb(ap->host, ioaddr->lbam_addr); ioaddr 220 drivers/ata/pata_samsung_cf.c tf->lbah = ata_inb(ap->host, ioaddr->lbah_addr); ioaddr 221 drivers/ata/pata_samsung_cf.c tf->device = ata_inb(ap->host, ioaddr->device_addr); ioaddr 224 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->ctl | ATA_HOB, ioaddr->ctl_addr); ioaddr 225 drivers/ata/pata_samsung_cf.c tf->hob_feature = ata_inb(ap->host, ioaddr->error_addr); ioaddr 226 drivers/ata/pata_samsung_cf.c tf->hob_nsect = ata_inb(ap->host, ioaddr->nsect_addr); ioaddr 227 drivers/ata/pata_samsung_cf.c tf->hob_lbal = ata_inb(ap->host, ioaddr->lbal_addr); ioaddr 228 drivers/ata/pata_samsung_cf.c tf->hob_lbam = ata_inb(ap->host, ioaddr->lbam_addr); ioaddr 229 drivers/ata/pata_samsung_cf.c tf->hob_lbah = ata_inb(ap->host, ioaddr->lbah_addr); ioaddr 230 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->ctl, ioaddr->ctl_addr); ioaddr 241 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tf->command, ap->ioaddr.command_addr); ioaddr 250 drivers/ata/pata_samsung_cf.c return ata_inb(ap->host, ap->ioaddr.status_addr); ioaddr 258 drivers/ata/pata_samsung_cf.c return ata_inb(ap->host, ap->ioaddr.altstatus_addr); ioaddr 269 drivers/ata/pata_samsung_cf.c void __iomem *data_addr = ap->ioaddr.data_addr; ioaddr 304 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, tmp, ap->ioaddr.device_addr); ioaddr 314 drivers/ata/pata_samsung_cf.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 319 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, 0x55, ioaddr->nsect_addr); ioaddr 320 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, 0xaa, ioaddr->lbal_addr); ioaddr 322 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, 0xaa, ioaddr->nsect_addr); ioaddr 323 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, 0x55, ioaddr->lbal_addr); ioaddr 325 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, 0x55, ioaddr->nsect_addr); ioaddr 326 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, 0xaa, ioaddr->lbal_addr); ioaddr 328 drivers/ata/pata_samsung_cf.c nsect = ata_inb(ap->host, ioaddr->nsect_addr); ioaddr 329 drivers/ata/pata_samsung_cf.c lbal = ata_inb(ap->host, ioaddr->lbal_addr); ioaddr 364 drivers/ata/pata_samsung_cf.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 367 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, ap->ctl, ioaddr->ctl_addr); ioaddr 369 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, ap->ctl | ATA_SRST, ioaddr->ctl_addr); ioaddr 371 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, ap->ctl, ioaddr->ctl_addr); ioaddr 415 drivers/ata/pata_samsung_cf.c ata_outb(ap->host, ctl, ap->ioaddr.ctl_addr); ioaddr 556 drivers/ata/pata_samsung_cf.c ap->ioaddr.cmd_addr = info->ide_addr + S3C_ATA_CMD; ioaddr 557 drivers/ata/pata_samsung_cf.c ap->ioaddr.data_addr = info->ide_addr + S3C_ATA_PIO_DTR; ioaddr 558 drivers/ata/pata_samsung_cf.c ap->ioaddr.error_addr = info->ide_addr + S3C_ATA_PIO_FED; ioaddr 559 drivers/ata/pata_samsung_cf.c ap->ioaddr.feature_addr = info->ide_addr + S3C_ATA_PIO_FED; ioaddr 560 drivers/ata/pata_samsung_cf.c ap->ioaddr.nsect_addr = info->ide_addr + S3C_ATA_PIO_SCR; ioaddr 561 drivers/ata/pata_samsung_cf.c ap->ioaddr.lbal_addr = info->ide_addr + S3C_ATA_PIO_LLR; ioaddr 562 drivers/ata/pata_samsung_cf.c ap->ioaddr.lbam_addr = info->ide_addr + S3C_ATA_PIO_LMR; ioaddr 563 drivers/ata/pata_samsung_cf.c ap->ioaddr.lbah_addr = info->ide_addr + S3C_ATA_PIO_LHR; ioaddr 564 drivers/ata/pata_samsung_cf.c ap->ioaddr.device_addr = info->ide_addr + S3C_ATA_PIO_DVR; ioaddr 565 drivers/ata/pata_samsung_cf.c ap->ioaddr.status_addr = info->ide_addr + S3C_ATA_PIO_CSD; ioaddr 566 drivers/ata/pata_samsung_cf.c ap->ioaddr.command_addr = info->ide_addr + S3C_ATA_PIO_CSD; ioaddr 567 drivers/ata/pata_samsung_cf.c ap->ioaddr.altstatus_addr = info->ide_addr + S3C_ATA_PIO_DAD; ioaddr 568 drivers/ata/pata_samsung_cf.c ap->ioaddr.ctl_addr = info->ide_addr + S3C_ATA_PIO_DAD; ioaddr 215 drivers/ata/pata_sil680.c iowrite8(tf->command, ap->ioaddr.command_addr); ioaddr 216 drivers/ata/pata_sil680.c ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); ioaddr 384 drivers/ata/pata_sil680.c host->ports[0]->ioaddr.bmdma_addr = mmio_base + 0x00; ioaddr 385 drivers/ata/pata_sil680.c host->ports[0]->ioaddr.cmd_addr = mmio_base + 0x80; ioaddr 386 drivers/ata/pata_sil680.c host->ports[0]->ioaddr.ctl_addr = mmio_base + 0x8a; ioaddr 387 drivers/ata/pata_sil680.c host->ports[0]->ioaddr.altstatus_addr = mmio_base + 0x8a; ioaddr 388 drivers/ata/pata_sil680.c ata_sff_std_ports(&host->ports[0]->ioaddr); ioaddr 389 drivers/ata/pata_sil680.c host->ports[1]->ioaddr.bmdma_addr = mmio_base + 0x08; ioaddr 390 drivers/ata/pata_sil680.c host->ports[1]->ioaddr.cmd_addr = mmio_base + 0xc0; ioaddr 391 drivers/ata/pata_sil680.c host->ports[1]->ioaddr.ctl_addr = mmio_base + 0xca; ioaddr 392 drivers/ata/pata_sil680.c host->ports[1]->ioaddr.altstatus_addr = mmio_base + 0xca; ioaddr 393 drivers/ata/pata_sil680.c ata_sff_std_ports(&host->ports[1]->ioaddr); ioaddr 392 drivers/ata/pata_via.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 398 drivers/ata/pata_via.c iowrite8(tf->ctl, ioaddr->ctl_addr); ioaddr 405 drivers/ata/pata_via.c iowrite8(tf->device, ioaddr->device_addr); ioaddr 408 drivers/ata/pata_via.c iowrite8(vp->cached_device, ioaddr->device_addr); ioaddr 411 drivers/ata/pata_via.c WARN_ON_ONCE(!ioaddr->ctl_addr); ioaddr 412 drivers/ata/pata_via.c iowrite8(tf->hob_feature, ioaddr->feature_addr); ioaddr 413 drivers/ata/pata_via.c iowrite8(tf->hob_nsect, ioaddr->nsect_addr); ioaddr 414 drivers/ata/pata_via.c iowrite8(tf->hob_lbal, ioaddr->lbal_addr); ioaddr 415 drivers/ata/pata_via.c iowrite8(tf->hob_lbam, ioaddr->lbam_addr); ioaddr 416 drivers/ata/pata_via.c iowrite8(tf->hob_lbah, ioaddr->lbah_addr); ioaddr 426 drivers/ata/pata_via.c iowrite8(tf->feature, ioaddr->feature_addr); ioaddr 427 drivers/ata/pata_via.c iowrite8(tf->nsect, ioaddr->nsect_addr); ioaddr 428 drivers/ata/pata_via.c iowrite8(tf->lbal, ioaddr->lbal_addr); ioaddr 429 drivers/ata/pata_via.c iowrite8(tf->lbam, ioaddr->lbam_addr); ioaddr 430 drivers/ata/pata_via.c iowrite8(tf->lbah, ioaddr->lbah_addr); ioaddr 194 drivers/ata/pdc_adma.c writeb(ATA_NIEN, ap->ioaddr.ctl_addr); ioaddr 229 drivers/ata/pdc_adma.c writeb(ATA_NIEN, ap->ioaddr.ctl_addr); ioaddr 616 drivers/ata/pdc_adma.c adma_ata_setup_port(&ap->ioaddr, port_base); ioaddr 412 drivers/ata/sata_dwc_460ex.c *val = sata_dwc_readl(link->ap->ioaddr.scr_addr + (scr * 4)); ioaddr 428 drivers/ata/sata_dwc_460ex.c sata_dwc_writel(link->ap->ioaddr.scr_addr + (scr * 4), val); ioaddr 1232 drivers/ata/sata_dwc_460ex.c host->ports[0]->ioaddr.cmd_addr = base; ioaddr 1233 drivers/ata/sata_dwc_460ex.c host->ports[0]->ioaddr.scr_addr = base + SATA_DWC_SCR_OFFSET; ioaddr 1234 drivers/ata/sata_dwc_460ex.c sata_dwc_setup_port(&host->ports[0]->ioaddr, base); ioaddr 1981 drivers/ata/sata_mv.c if (ioread8(ap->ioaddr.altstatus_addr) & ATA_BUSY) ioaddr 2208 drivers/ata/sata_mv.c u8 stat = ioread8(ap->ioaddr.status_addr); ioaddr 3963 drivers/ata/sata_mv.c mv_port_init(&ap->ioaddr, port_mmio); ioaddr 1247 drivers/ata/sata_nv.c struct ata_ioports *ioport = &ap->ioaddr; ioaddr 1487 drivers/ata/sata_nv.c irq_stat = ioread8(host->ports[0]->ioaddr.scr_addr + NV_INT_STATUS); ioaddr 1513 drivers/ata/sata_nv.c *val = ioread32(link->ap->ioaddr.scr_addr + (sc_reg * 4)); ioaddr 1522 drivers/ata/sata_nv.c iowrite32(val, link->ap->ioaddr.scr_addr + (sc_reg * 4)); ioaddr 1560 drivers/ata/sata_nv.c void __iomem *scr_addr = ap->host->ports[0]->ioaddr.scr_addr; ioaddr 1571 drivers/ata/sata_nv.c void __iomem *scr_addr = ap->host->ports[0]->ioaddr.scr_addr; ioaddr 1771 drivers/ata/sata_nv.c ioread8(ap->ioaddr.error_addr)); ioaddr 1946 drivers/ata/sata_nv.c pp->sactive_block = ap->ioaddr.scr_addr + 4 * SCR_ACTIVE; ioaddr 2172 drivers/ata/sata_nv.c ap->ioaddr.bmdma_addr + ATA_DMA_TABLE_OFS); ioaddr 2175 drivers/ata/sata_nv.c dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD); ioaddr 2180 drivers/ata/sata_nv.c iowrite8(dmactl | ATA_DMA_START, ap->ioaddr.bmdma_addr + ATA_DMA_CMD); ioaddr 2366 drivers/ata/sata_nv.c host->ports[0]->ioaddr.scr_addr = base + NV_PORT0_SCR_REG_OFFSET; ioaddr 2367 drivers/ata/sata_nv.c host->ports[1]->ioaddr.scr_addr = base + NV_PORT1_SCR_REG_OFFSET; ioaddr 349 drivers/ata/sata_promise.c void __iomem *sata_mmio = ap->ioaddr.scr_addr; ioaddr 362 drivers/ata/sata_promise.c void __iomem *sata_mmio = ap->ioaddr.scr_addr; ioaddr 377 drivers/ata/sata_promise.c void __iomem *sata_mmio = ap->ioaddr.scr_addr; ioaddr 395 drivers/ata/sata_promise.c void __iomem *sata_mmio = ap->ioaddr.scr_addr; ioaddr 411 drivers/ata/sata_promise.c void __iomem *sata_mmio = ap->ioaddr.scr_addr; ioaddr 419 drivers/ata/sata_promise.c void __iomem *ata_ctlstat_mmio = ap->ioaddr.cmd_addr + PDC_CTLSTAT; ioaddr 454 drivers/ata/sata_promise.c void __iomem *ata_mmio = ap->ioaddr.cmd_addr; ioaddr 472 drivers/ata/sata_promise.c *val = readl(link->ap->ioaddr.scr_addr + (sc_reg * 4)); ioaddr 481 drivers/ata/sata_promise.c writel(val, link->ap->ioaddr.scr_addr + (sc_reg * 4)); ioaddr 702 drivers/ata/sata_promise.c void __iomem *ata_mmio = ap->ioaddr.cmd_addr; ioaddr 737 drivers/ata/sata_promise.c void __iomem *ata_mmio = ap->ioaddr.cmd_addr; ioaddr 779 drivers/ata/sata_promise.c void __iomem *ata_mmio = ap->ioaddr.cmd_addr; ioaddr 879 drivers/ata/sata_promise.c void __iomem *ata_mmio = ap->ioaddr.cmd_addr; ioaddr 912 drivers/ata/sata_promise.c void __iomem *ata_mmio = ap->ioaddr.cmd_addr; ioaddr 1008 drivers/ata/sata_promise.c void __iomem *ata_mmio = ap->ioaddr.cmd_addr; ioaddr 1096 drivers/ata/sata_promise.c ap->ioaddr.cmd_addr = base; ioaddr 1097 drivers/ata/sata_promise.c ap->ioaddr.data_addr = base; ioaddr 1098 drivers/ata/sata_promise.c ap->ioaddr.feature_addr = ioaddr 1099 drivers/ata/sata_promise.c ap->ioaddr.error_addr = base + 0x4; ioaddr 1100 drivers/ata/sata_promise.c ap->ioaddr.nsect_addr = base + 0x8; ioaddr 1101 drivers/ata/sata_promise.c ap->ioaddr.lbal_addr = base + 0xc; ioaddr 1102 drivers/ata/sata_promise.c ap->ioaddr.lbam_addr = base + 0x10; ioaddr 1103 drivers/ata/sata_promise.c ap->ioaddr.lbah_addr = base + 0x14; ioaddr 1104 drivers/ata/sata_promise.c ap->ioaddr.device_addr = base + 0x18; ioaddr 1105 drivers/ata/sata_promise.c ap->ioaddr.command_addr = ioaddr 1106 drivers/ata/sata_promise.c ap->ioaddr.status_addr = base + 0x1c; ioaddr 1107 drivers/ata/sata_promise.c ap->ioaddr.altstatus_addr = ioaddr 1108 drivers/ata/sata_promise.c ap->ioaddr.ctl_addr = base + 0x38; ioaddr 1109 drivers/ata/sata_promise.c ap->ioaddr.scr_addr = scr_addr; ioaddr 218 drivers/ata/sata_qstor.c *val = readl(link->ap->ioaddr.scr_addr + (sc_reg * 8)); ioaddr 232 drivers/ata/sata_qstor.c writel(val, link->ap->ioaddr.scr_addr + (sc_reg * 8)); ioaddr 586 drivers/ata/sata_qstor.c qs_ata_setup_port(&ap->ioaddr, chan); ioaddr 267 drivers/ata/sata_rcar.c return ioread32(ap->ioaddr.status_addr); ioaddr 272 drivers/ata/sata_rcar.c return ioread32(ap->ioaddr.altstatus_addr); ioaddr 277 drivers/ata/sata_rcar.c iowrite32(ctl, ap->ioaddr.ctl_addr); ioaddr 282 drivers/ata/sata_rcar.c iowrite32(ATA_DEVICE_OBS, ap->ioaddr.device_addr); ioaddr 289 drivers/ata/sata_rcar.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 294 drivers/ata/sata_rcar.c iowrite32(0x55, ioaddr->nsect_addr); ioaddr 295 drivers/ata/sata_rcar.c iowrite32(0xaa, ioaddr->lbal_addr); ioaddr 297 drivers/ata/sata_rcar.c iowrite32(0xaa, ioaddr->nsect_addr); ioaddr 298 drivers/ata/sata_rcar.c iowrite32(0x55, ioaddr->lbal_addr); ioaddr 300 drivers/ata/sata_rcar.c iowrite32(0x55, ioaddr->nsect_addr); ioaddr 301 drivers/ata/sata_rcar.c iowrite32(0xaa, ioaddr->lbal_addr); ioaddr 303 drivers/ata/sata_rcar.c nsect = ioread32(ioaddr->nsect_addr); ioaddr 304 drivers/ata/sata_rcar.c lbal = ioread32(ioaddr->lbal_addr); ioaddr 324 drivers/ata/sata_rcar.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 329 drivers/ata/sata_rcar.c iowrite32(ap->ctl, ioaddr->ctl_addr); ioaddr 331 drivers/ata/sata_rcar.c iowrite32(ap->ctl | ATA_SRST, ioaddr->ctl_addr); ioaddr 333 drivers/ata/sata_rcar.c iowrite32(ap->ctl, ioaddr->ctl_addr); ioaddr 371 drivers/ata/sata_rcar.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 375 drivers/ata/sata_rcar.c iowrite32(tf->ctl, ioaddr->ctl_addr); ioaddr 381 drivers/ata/sata_rcar.c iowrite32(tf->hob_feature, ioaddr->feature_addr); ioaddr 382 drivers/ata/sata_rcar.c iowrite32(tf->hob_nsect, ioaddr->nsect_addr); ioaddr 383 drivers/ata/sata_rcar.c iowrite32(tf->hob_lbal, ioaddr->lbal_addr); ioaddr 384 drivers/ata/sata_rcar.c iowrite32(tf->hob_lbam, ioaddr->lbam_addr); ioaddr 385 drivers/ata/sata_rcar.c iowrite32(tf->hob_lbah, ioaddr->lbah_addr); ioaddr 395 drivers/ata/sata_rcar.c iowrite32(tf->feature, ioaddr->feature_addr); ioaddr 396 drivers/ata/sata_rcar.c iowrite32(tf->nsect, ioaddr->nsect_addr); ioaddr 397 drivers/ata/sata_rcar.c iowrite32(tf->lbal, ioaddr->lbal_addr); ioaddr 398 drivers/ata/sata_rcar.c iowrite32(tf->lbam, ioaddr->lbam_addr); ioaddr 399 drivers/ata/sata_rcar.c iowrite32(tf->lbah, ioaddr->lbah_addr); ioaddr 409 drivers/ata/sata_rcar.c iowrite32(tf->device, ioaddr->device_addr); ioaddr 418 drivers/ata/sata_rcar.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 421 drivers/ata/sata_rcar.c tf->feature = ioread32(ioaddr->error_addr); ioaddr 422 drivers/ata/sata_rcar.c tf->nsect = ioread32(ioaddr->nsect_addr); ioaddr 423 drivers/ata/sata_rcar.c tf->lbal = ioread32(ioaddr->lbal_addr); ioaddr 424 drivers/ata/sata_rcar.c tf->lbam = ioread32(ioaddr->lbam_addr); ioaddr 425 drivers/ata/sata_rcar.c tf->lbah = ioread32(ioaddr->lbah_addr); ioaddr 426 drivers/ata/sata_rcar.c tf->device = ioread32(ioaddr->device_addr); ioaddr 429 drivers/ata/sata_rcar.c iowrite32(tf->ctl | ATA_HOB, ioaddr->ctl_addr); ioaddr 430 drivers/ata/sata_rcar.c tf->hob_feature = ioread32(ioaddr->error_addr); ioaddr 431 drivers/ata/sata_rcar.c tf->hob_nsect = ioread32(ioaddr->nsect_addr); ioaddr 432 drivers/ata/sata_rcar.c tf->hob_lbal = ioread32(ioaddr->lbal_addr); ioaddr 433 drivers/ata/sata_rcar.c tf->hob_lbam = ioread32(ioaddr->lbam_addr); ioaddr 434 drivers/ata/sata_rcar.c tf->hob_lbah = ioread32(ioaddr->lbah_addr); ioaddr 435 drivers/ata/sata_rcar.c iowrite32(tf->ctl, ioaddr->ctl_addr); ioaddr 445 drivers/ata/sata_rcar.c iowrite32(tf->command, ap->ioaddr.command_addr); ioaddr 454 drivers/ata/sata_rcar.c void __iomem *data_addr = ap->ioaddr.data_addr; ioaddr 500 drivers/ata/sata_rcar.c ioread32(ap->ioaddr.data_addr); ioaddr 513 drivers/ata/sata_rcar.c *val = ioread32(link->ap->ioaddr.scr_addr + (sc_reg << 2)); ioaddr 523 drivers/ata/sata_rcar.c iowrite32(val, link->ap->ioaddr.scr_addr + (sc_reg << 2)); ioaddr 757 drivers/ata/sata_rcar.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 769 drivers/ata/sata_rcar.c ioaddr->cmd_addr = base + SDATA_REG; ioaddr 770 drivers/ata/sata_rcar.c ioaddr->ctl_addr = base + SSDEVCON_REG; ioaddr 771 drivers/ata/sata_rcar.c ioaddr->scr_addr = base + SCRSSTS_REG; ioaddr 772 drivers/ata/sata_rcar.c ioaddr->altstatus_addr = ioaddr->ctl_addr; ioaddr 774 drivers/ata/sata_rcar.c ioaddr->data_addr = ioaddr->cmd_addr + (ATA_REG_DATA << 2); ioaddr 775 drivers/ata/sata_rcar.c ioaddr->error_addr = ioaddr->cmd_addr + (ATA_REG_ERR << 2); ioaddr 776 drivers/ata/sata_rcar.c ioaddr->feature_addr = ioaddr->cmd_addr + (ATA_REG_FEATURE << 2); ioaddr 777 drivers/ata/sata_rcar.c ioaddr->nsect_addr = ioaddr->cmd_addr + (ATA_REG_NSECT << 2); ioaddr 778 drivers/ata/sata_rcar.c ioaddr->lbal_addr = ioaddr->cmd_addr + (ATA_REG_LBAL << 2); ioaddr 779 drivers/ata/sata_rcar.c ioaddr->lbam_addr = ioaddr->cmd_addr + (ATA_REG_LBAM << 2); ioaddr 780 drivers/ata/sata_rcar.c ioaddr->lbah_addr = ioaddr->cmd_addr + (ATA_REG_LBAH << 2); ioaddr 781 drivers/ata/sata_rcar.c ioaddr->device_addr = ioaddr->cmd_addr + (ATA_REG_DEVICE << 2); ioaddr 782 drivers/ata/sata_rcar.c ioaddr->status_addr = ioaddr->cmd_addr + (ATA_REG_STATUS << 2); ioaddr 783 drivers/ata/sata_rcar.c ioaddr->command_addr = ioaddr->cmd_addr + (ATA_REG_CMD << 2); ioaddr 267 drivers/ata/sata_sil.c void __iomem *bmdma = ap->ioaddr.bmdma_addr; ioaddr 379 drivers/ata/sata_sil.c void __iomem *offset = ap->ioaddr.scr_addr; ioaddr 554 drivers/ata/sata_sil.c iowrite8(ioread8(ap->ioaddr.bmdma_addr) & ~SIL_DMA_ENABLE, ioaddr 555 drivers/ata/sata_sil.c ap->ioaddr.bmdma_addr); ioaddr 560 drivers/ata/sata_sil.c ioread8(ap->ioaddr.bmdma_addr); ioaddr 768 drivers/ata/sata_sil.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 770 drivers/ata/sata_sil.c ioaddr->cmd_addr = mmio_base + sil_port[i].tf; ioaddr 771 drivers/ata/sata_sil.c ioaddr->altstatus_addr = ioaddr 772 drivers/ata/sata_sil.c ioaddr->ctl_addr = mmio_base + sil_port[i].ctl; ioaddr 773 drivers/ata/sata_sil.c ioaddr->bmdma_addr = mmio_base + sil_port[i].bmdma; ioaddr 774 drivers/ata/sata_sil.c ioaddr->scr_addr = mmio_base + sil_port[i].scr; ioaddr 775 drivers/ata/sata_sil.c ata_sff_std_ports(ioaddr); ioaddr 154 drivers/ata/sata_sis.c void __iomem *base = ap->ioaddr.scr_addr + link->pmp * 0x10; ioaddr 169 drivers/ata/sata_sis.c void __iomem *base = ap->ioaddr.scr_addr + link->pmp * 0x10; ioaddr 288 drivers/ata/sata_sis.c host->ports[0]->ioaddr.scr_addr = mmio; ioaddr 289 drivers/ata/sata_sis.c host->ports[1]->ioaddr.scr_addr = mmio + port2_start; ioaddr 110 drivers/ata/sata_svw.c *val = readl(link->ap->ioaddr.scr_addr + (sc_reg * 4)); ioaddr 120 drivers/ata/sata_svw.c writel(val, link->ap->ioaddr.scr_addr + (sc_reg * 4)); ioaddr 128 drivers/ata/sata_svw.c void __iomem *mmio = link->ap->ioaddr.bmdma_addr; ioaddr 145 drivers/ata/sata_svw.c void __iomem *mmio = link->ap->ioaddr.bmdma_addr; ioaddr 160 drivers/ata/sata_svw.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 164 drivers/ata/sata_svw.c writeb(tf->ctl, ioaddr->ctl_addr); ioaddr 170 drivers/ata/sata_svw.c ioaddr->feature_addr); ioaddr 172 drivers/ata/sata_svw.c ioaddr->nsect_addr); ioaddr 174 drivers/ata/sata_svw.c ioaddr->lbal_addr); ioaddr 176 drivers/ata/sata_svw.c ioaddr->lbam_addr); ioaddr 178 drivers/ata/sata_svw.c ioaddr->lbah_addr); ioaddr 180 drivers/ata/sata_svw.c writew(tf->feature, ioaddr->feature_addr); ioaddr 181 drivers/ata/sata_svw.c writew(tf->nsect, ioaddr->nsect_addr); ioaddr 182 drivers/ata/sata_svw.c writew(tf->lbal, ioaddr->lbal_addr); ioaddr 183 drivers/ata/sata_svw.c writew(tf->lbam, ioaddr->lbam_addr); ioaddr 184 drivers/ata/sata_svw.c writew(tf->lbah, ioaddr->lbah_addr); ioaddr 188 drivers/ata/sata_svw.c writeb(tf->device, ioaddr->device_addr); ioaddr 196 drivers/ata/sata_svw.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 200 drivers/ata/sata_svw.c tf->device = readw(ioaddr->device_addr); ioaddr 201 drivers/ata/sata_svw.c feature = readw(ioaddr->error_addr); ioaddr 202 drivers/ata/sata_svw.c nsect = readw(ioaddr->nsect_addr); ioaddr 203 drivers/ata/sata_svw.c lbal = readw(ioaddr->lbal_addr); ioaddr 204 drivers/ata/sata_svw.c lbam = readw(ioaddr->lbam_addr); ioaddr 205 drivers/ata/sata_svw.c lbah = readw(ioaddr->lbah_addr); ioaddr 235 drivers/ata/sata_svw.c void __iomem *mmio = ap->ioaddr.bmdma_addr; ioaddr 264 drivers/ata/sata_svw.c void __iomem *mmio = ap->ioaddr.bmdma_addr; ioaddr 300 drivers/ata/sata_svw.c return readl(ap->ioaddr.status_addr); ioaddr 468 drivers/ata/sata_svw.c k2_sata_setup_port(&ap->ioaddr, mmio_base + offset); ioaddr 655 drivers/ata/sata_sx4.c ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); ioaddr 656 drivers/ata/sata_sx4.c readl(ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); ioaddr 737 drivers/ata/sata_sx4.c ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); ioaddr 738 drivers/ata/sata_sx4.c readl(ap->ioaddr.cmd_addr + PDC_PKT_SUBMIT); ioaddr 770 drivers/ata/sata_sx4.c ioread8(ap->ioaddr.status_addr); ioaddr 839 drivers/ata/sata_sx4.c void __iomem *mmio = ap->ioaddr.cmd_addr; ioaddr 853 drivers/ata/sata_sx4.c void __iomem *mmio = ap->ioaddr.cmd_addr; ioaddr 859 drivers/ata/sata_sx4.c ioread8(ap->ioaddr.status_addr); ioaddr 870 drivers/ata/sata_sx4.c void __iomem *mmio = ap->ioaddr.cmd_addr + PDC_CTLSTAT; ioaddr 1465 drivers/ata/sata_sx4.c pdc_sata_setup_port(&ap->ioaddr, base + offset); ioaddr 136 drivers/ata/sata_uli.c struct ata_ioports *ioaddr; ioaddr 176 drivers/ata/sata_uli.c ioaddr = &host->ports[2]->ioaddr; ioaddr 177 drivers/ata/sata_uli.c ioaddr->cmd_addr = iomap[0] + 8; ioaddr 178 drivers/ata/sata_uli.c ioaddr->altstatus_addr = ioaddr 179 drivers/ata/sata_uli.c ioaddr->ctl_addr = (void __iomem *) ioaddr 181 drivers/ata/sata_uli.c ioaddr->bmdma_addr = iomap[4] + 16; ioaddr 183 drivers/ata/sata_uli.c ata_sff_std_ports(ioaddr); ioaddr 191 drivers/ata/sata_uli.c ioaddr = &host->ports[3]->ioaddr; ioaddr 192 drivers/ata/sata_uli.c ioaddr->cmd_addr = iomap[2] + 8; ioaddr 193 drivers/ata/sata_uli.c ioaddr->altstatus_addr = ioaddr 194 drivers/ata/sata_uli.c ioaddr->ctl_addr = (void __iomem *) ioaddr 196 drivers/ata/sata_uli.c ioaddr->bmdma_addr = iomap[4] + 24; ioaddr 198 drivers/ata/sata_uli.c ata_sff_std_ports(ioaddr); ioaddr 189 drivers/ata/sata_via.c *val = ioread32(link->ap->ioaddr.scr_addr + (4 * sc_reg)); ioaddr 197 drivers/ata/sata_via.c iowrite32(val, link->ap->ioaddr.scr_addr + (4 * sc_reg)); ioaddr 441 drivers/ata/sata_via.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 443 drivers/ata/sata_via.c ioaddr->cmd_addr = reg_addr; ioaddr 444 drivers/ata/sata_via.c ioaddr->altstatus_addr = ioaddr 445 drivers/ata/sata_via.c ioaddr->ctl_addr = (void __iomem *) ioaddr 447 drivers/ata/sata_via.c ioaddr->bmdma_addr = bmdma_addr; ioaddr 448 drivers/ata/sata_via.c ioaddr->scr_addr = vt6421_scr_addr(iomap[5], ap->port_no); ioaddr 450 drivers/ata/sata_via.c ata_sff_std_ports(ioaddr); ioaddr 478 drivers/ata/sata_via.c host->ports[0]->ioaddr.scr_addr = svia_scr_addr(host->iomap[5], 0); ioaddr 479 drivers/ata/sata_via.c host->ports[1]->ioaddr.scr_addr = svia_scr_addr(host->iomap[5], 1); ioaddr 89 drivers/ata/sata_vsc.c *val = readl(link->ap->ioaddr.scr_addr + (sc_reg * 4)); ioaddr 99 drivers/ata/sata_vsc.c writel(val, link->ap->ioaddr.scr_addr + (sc_reg * 4)); ioaddr 144 drivers/ata/sata_vsc.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 159 drivers/ata/sata_vsc.c ioaddr->feature_addr); ioaddr 161 drivers/ata/sata_vsc.c ioaddr->nsect_addr); ioaddr 163 drivers/ata/sata_vsc.c ioaddr->lbal_addr); ioaddr 165 drivers/ata/sata_vsc.c ioaddr->lbam_addr); ioaddr 167 drivers/ata/sata_vsc.c ioaddr->lbah_addr); ioaddr 169 drivers/ata/sata_vsc.c writew(tf->feature, ioaddr->feature_addr); ioaddr 170 drivers/ata/sata_vsc.c writew(tf->nsect, ioaddr->nsect_addr); ioaddr 171 drivers/ata/sata_vsc.c writew(tf->lbal, ioaddr->lbal_addr); ioaddr 172 drivers/ata/sata_vsc.c writew(tf->lbam, ioaddr->lbam_addr); ioaddr 173 drivers/ata/sata_vsc.c writew(tf->lbah, ioaddr->lbah_addr); ioaddr 177 drivers/ata/sata_vsc.c writeb(tf->device, ioaddr->device_addr); ioaddr 185 drivers/ata/sata_vsc.c struct ata_ioports *ioaddr = &ap->ioaddr; ioaddr 189 drivers/ata/sata_vsc.c tf->device = readw(ioaddr->device_addr); ioaddr 190 drivers/ata/sata_vsc.c feature = readw(ioaddr->error_addr); ioaddr 191 drivers/ata/sata_vsc.c nsect = readw(ioaddr->nsect_addr); ioaddr 192 drivers/ata/sata_vsc.c lbal = readw(ioaddr->lbal_addr); ioaddr 193 drivers/ata/sata_vsc.c lbam = readw(ioaddr->lbam_addr); ioaddr 194 drivers/ata/sata_vsc.c lbah = readw(ioaddr->lbah_addr); ioaddr 365 drivers/ata/sata_vsc.c vsc_sata_setup_port(&ap->ioaddr, mmio_base + offset); ioaddr 1734 drivers/atm/eni.c eni_dev->ioaddr = base; ioaddr 1802 drivers/atm/eni.c iounmap(ed->ioaddr); ioaddr 76 drivers/atm/eni.h void __iomem *ioaddr; ioaddr 144 drivers/crypto/s5p-sss.c #define SSS_REG(dev, reg) ((dev)->ioaddr + (SSS_REG_##reg)) ioaddr 302 drivers/crypto/s5p-sss.c void __iomem *ioaddr; ioaddr 2226 drivers/crypto/s5p-sss.c pdata->ioaddr = devm_ioremap_resource(&pdev->dev, res); ioaddr 2227 drivers/crypto/s5p-sss.c if (IS_ERR(pdata->ioaddr)) { ioaddr 2229 drivers/crypto/s5p-sss.c return PTR_ERR(pdata->ioaddr); ioaddr 2233 drivers/crypto/s5p-sss.c pdata->ioaddr = devm_ioremap_resource(&pdev->dev, res); ioaddr 2234 drivers/crypto/s5p-sss.c if (IS_ERR(pdata->ioaddr)) ioaddr 2235 drivers/crypto/s5p-sss.c return PTR_ERR(pdata->ioaddr); ioaddr 2274 drivers/crypto/s5p-sss.c pdata->aes_ioaddr = pdata->ioaddr + variant->aes_offset; ioaddr 2275 drivers/crypto/s5p-sss.c pdata->io_hash_base = pdata->ioaddr + variant->hash_offset; ioaddr 953 drivers/edac/altera_edac.c static inline void ecc_set_bits(u32 bit_mask, void __iomem *ioaddr) ioaddr 955 drivers/edac/altera_edac.c u32 value = readl(ioaddr); ioaddr 958 drivers/edac/altera_edac.c writel(value, ioaddr); ioaddr 961 drivers/edac/altera_edac.c static inline void ecc_clear_bits(u32 bit_mask, void __iomem *ioaddr) ioaddr 963 drivers/edac/altera_edac.c u32 value = readl(ioaddr); ioaddr 966 drivers/edac/altera_edac.c writel(value, ioaddr); ioaddr 969 drivers/edac/altera_edac.c static inline int ecc_test_bits(u32 bit_mask, void __iomem *ioaddr) ioaddr 971 drivers/edac/altera_edac.c u32 value = readl(ioaddr); ioaddr 980 drivers/edac/altera_edac.c static int __maybe_unused altr_init_memory_port(void __iomem *ioaddr, int port) ioaddr 996 drivers/edac/altera_edac.c ecc_set_bits(init_mask, (ioaddr + ALTR_A10_ECC_CTRL_OFST)); ioaddr 999 drivers/edac/altera_edac.c (ioaddr + ALTR_A10_ECC_INITSTAT_OFST))) ioaddr 1007 drivers/edac/altera_edac.c writel(clear_mask, (ioaddr + ALTR_A10_ECC_INTSTAT_OFST)); ioaddr 71 drivers/fpga/dfl-fme-mgr.c void __iomem *ioaddr; ioaddr 113 drivers/fpga/dfl-fme-mgr.c void __iomem *fme_pr = priv->ioaddr; ioaddr 170 drivers/fpga/dfl-fme-mgr.c void __iomem *fme_pr = priv->ioaddr; ioaddr 225 drivers/fpga/dfl-fme-mgr.c void __iomem *fme_pr = priv->ioaddr; ioaddr 295 drivers/fpga/dfl-fme-mgr.c if (pdata->ioaddr) ioaddr 296 drivers/fpga/dfl-fme-mgr.c priv->ioaddr = pdata->ioaddr; ioaddr 298 drivers/fpga/dfl-fme-mgr.c if (!priv->ioaddr) { ioaddr 300 drivers/fpga/dfl-fme-mgr.c priv->ioaddr = devm_ioremap_resource(dev, res); ioaddr 301 drivers/fpga/dfl-fme-mgr.c if (IS_ERR(priv->ioaddr)) ioaddr 302 drivers/fpga/dfl-fme-mgr.c return PTR_ERR(priv->ioaddr); ioaddr 309 drivers/fpga/dfl-fme-mgr.c fme_mgr_get_compat_id(priv->ioaddr, compat_id); ioaddr 184 drivers/fpga/dfl-fme-pr.c if (!feature->ioaddr) ioaddr 187 drivers/fpga/dfl-fme-pr.c mgr_pdata.ioaddr = feature->ioaddr; ioaddr 77 drivers/fpga/dfl-fme-pr.h void __iomem *ioaddr; ioaddr 433 drivers/fpga/dfl.c void __iomem *ioaddr; ioaddr 449 drivers/fpga/dfl.c void __iomem *ioaddr; ioaddr 527 drivers/fpga/dfl.c feature->ioaddr = finfo->ioaddr; ioaddr 557 drivers/fpga/dfl.c enum dfl_id_type type, void __iomem *ioaddr) ioaddr 580 drivers/fpga/dfl.c binfo->ioaddr = ioaddr; ioaddr 656 drivers/fpga/dfl.c size = size ? size : feature_size(dfl->ioaddr + ofst); ioaddr 657 drivers/fpga/dfl.c fid = fid ? fid : feature_id(dfl->ioaddr + ofst); ioaddr 670 drivers/fpga/dfl.c finfo->ioaddr = dfl->ioaddr + ofst; ioaddr 682 drivers/fpga/dfl.c u64 v = readq(binfo->ioaddr + PORT_HDR_CAP); ioaddr 718 drivers/fpga/dfl.c v = readq(dfl->ioaddr + ofst + DFH); ioaddr 723 drivers/fpga/dfl.c dfl->ioaddr + ofst); ioaddr 734 drivers/fpga/dfl.c v = readq(dfl->ioaddr + ofst + NEXT_AFU); ioaddr 751 drivers/fpga/dfl.c (unsigned long long)feature_id(dfl->ioaddr + ofst)); ioaddr 771 drivers/fpga/dfl.c v = readq(dfl->ioaddr + ofst + DFH); ioaddr 792 drivers/fpga/dfl.c void __iomem *start = dfl->ioaddr; ioaddr 793 drivers/fpga/dfl.c void __iomem *end = dfl->ioaddr + dfl->len; ioaddr 805 drivers/fpga/dfl.c ret = parse_feature(binfo, dfl, start - dfl->ioaddr); ioaddr 877 drivers/fpga/dfl.c void __iomem *ioaddr) ioaddr 887 drivers/fpga/dfl.c dfl->ioaddr = ioaddr; ioaddr 204 drivers/fpga/dfl.h void __iomem *ioaddr; ioaddr 328 drivers/fpga/dfl.h if (feature && feature->ioaddr) ioaddr 329 drivers/fpga/dfl.h return feature->ioaddr; ioaddr 390 drivers/fpga/dfl.h void __iomem *ioaddr; ioaddr 398 drivers/fpga/dfl.h void __iomem *ioaddr); ioaddr 113 drivers/gpu/drm/bochs/bochs_hw.c unsigned long addr, size, mem, ioaddr, iosize; ioaddr 122 drivers/gpu/drm/bochs/bochs_hw.c ioaddr = pci_resource_start(pdev, 2); ioaddr 124 drivers/gpu/drm/bochs/bochs_hw.c bochs->mmio = ioremap(ioaddr, iosize); ioaddr 130 drivers/gpu/drm/bochs/bochs_hw.c ioaddr = VBE_DISPI_IOPORT_INDEX; ioaddr 132 drivers/gpu/drm/bochs/bochs_hw.c if (!request_region(ioaddr, iosize, "bochs-drm")) { ioaddr 174 drivers/gpu/drm/bochs/bochs_hw.c ioaddr); ioaddr 214 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c resource_size_t addr, size, ioaddr, iosize; ioaddr 216 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c ioaddr = pci_resource_start(pdev, 1); ioaddr 218 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c priv->mmio = devm_ioremap_nocache(dev->dev, ioaddr, iosize); ioaddr 59 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(IOP3XX_ICR_UNIT_RESET, iop3xx_adap->ioaddr + CR_OFFSET); ioaddr 60 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(IOP3XX_ISR_CLEARBITS, iop3xx_adap->ioaddr + SR_OFFSET); ioaddr 61 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(0, iop3xx_adap->ioaddr + CR_OFFSET); ioaddr 89 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(cr, iop3xx_adap->ioaddr + CR_OFFSET); ioaddr 95 drivers/i2c/busses/i2c-iop3xx.c unsigned long cr = __raw_readl(iop3xx_adap->ioaddr + CR_OFFSET); ioaddr 100 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(cr, iop3xx_adap->ioaddr + CR_OFFSET); ioaddr 111 drivers/i2c/busses/i2c-iop3xx.c u32 sr = __raw_readl(iop3xx_adap->ioaddr + SR_OFFSET); ioaddr 114 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(sr, iop3xx_adap->ioaddr + SR_OFFSET); ioaddr 231 drivers/i2c/busses/i2c-iop3xx.c unsigned long cr = __raw_readl(iop3xx_adap->ioaddr + CR_OFFSET); ioaddr 242 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(iic_cook_addr(msg), iop3xx_adap->ioaddr + DBR_OFFSET); ioaddr 247 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(cr, iop3xx_adap->ioaddr + CR_OFFSET); ioaddr 257 drivers/i2c/busses/i2c-iop3xx.c unsigned long cr = __raw_readl(iop3xx_adap->ioaddr + CR_OFFSET); ioaddr 261 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(byte, iop3xx_adap->ioaddr + DBR_OFFSET); ioaddr 269 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(cr, iop3xx_adap->ioaddr + CR_OFFSET); ioaddr 279 drivers/i2c/busses/i2c-iop3xx.c unsigned long cr = __raw_readl(iop3xx_adap->ioaddr + CR_OFFSET); ioaddr 291 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(cr, iop3xx_adap->ioaddr + CR_OFFSET); ioaddr 295 drivers/i2c/busses/i2c-iop3xx.c *byte = __raw_readl(iop3xx_adap->ioaddr + DBR_OFFSET); ioaddr 396 drivers/i2c/busses/i2c-iop3xx.c unsigned long cr = __raw_readl(adapter_data->ioaddr + CR_OFFSET); ioaddr 403 drivers/i2c/busses/i2c-iop3xx.c __raw_writel(cr, adapter_data->ioaddr + CR_OFFSET); ioaddr 405 drivers/i2c/busses/i2c-iop3xx.c iounmap(adapter_data->ioaddr); ioaddr 462 drivers/i2c/busses/i2c-iop3xx.c adapter_data->ioaddr = ioremap(res->start, IOP3XX_I2C_IO_SIZE); ioaddr 463 drivers/i2c/busses/i2c-iop3xx.c if (!adapter_data->ioaddr) { ioaddr 508 drivers/i2c/busses/i2c-iop3xx.c iounmap(adapter_data->ioaddr); ioaddr 90 drivers/i2c/busses/i2c-iop3xx.h void __iomem *ioaddr; ioaddr 42 drivers/i2c/busses/i2c-pnx.c void __iomem *ioaddr; ioaddr 84 drivers/i2c/busses/i2c-pnx.c #define I2C_REG_RX(a) ((a)->ioaddr) /* Rx FIFO reg (RO) */ ioaddr 85 drivers/i2c/busses/i2c-pnx.c #define I2C_REG_TX(a) ((a)->ioaddr) /* Tx FIFO reg (WO) */ ioaddr 86 drivers/i2c/busses/i2c-pnx.c #define I2C_REG_STS(a) ((a)->ioaddr + 0x04) /* Status reg (RO) */ ioaddr 87 drivers/i2c/busses/i2c-pnx.c #define I2C_REG_CTL(a) ((a)->ioaddr + 0x08) /* Ctl reg */ ioaddr 88 drivers/i2c/busses/i2c-pnx.c #define I2C_REG_CKL(a) ((a)->ioaddr + 0x0c) /* Clock divider low */ ioaddr 89 drivers/i2c/busses/i2c-pnx.c #define I2C_REG_CKH(a) ((a)->ioaddr + 0x10) /* Clock divider high */ ioaddr 90 drivers/i2c/busses/i2c-pnx.c #define I2C_REG_ADR(a) ((a)->ioaddr + 0x14) /* I2C address */ ioaddr 91 drivers/i2c/busses/i2c-pnx.c #define I2C_REG_RFL(a) ((a)->ioaddr + 0x18) /* Rx FIFO level (RO) */ ioaddr 92 drivers/i2c/busses/i2c-pnx.c #define I2C_REG_TFL(a) ((a)->ioaddr + 0x1c) /* Tx FIFO level (RO) */ ioaddr 93 drivers/i2c/busses/i2c-pnx.c #define I2C_REG_RXB(a) ((a)->ioaddr + 0x20) /* Num of bytes Rx-ed (RO) */ ioaddr 94 drivers/i2c/busses/i2c-pnx.c #define I2C_REG_TXB(a) ((a)->ioaddr + 0x24) /* Num of bytes Tx-ed (RO) */ ioaddr 95 drivers/i2c/busses/i2c-pnx.c #define I2C_REG_TXS(a) ((a)->ioaddr + 0x28) /* Tx slave FIFO (RO) */ ioaddr 96 drivers/i2c/busses/i2c-pnx.c #define I2C_REG_STFL(a) ((a)->ioaddr + 0x2c) /* Tx slave FIFO level (RO) */ ioaddr 687 drivers/i2c/busses/i2c-pnx.c alg_data->ioaddr = devm_ioremap_resource(&pdev->dev, res); ioaddr 688 drivers/i2c/busses/i2c-pnx.c if (IS_ERR(alg_data->ioaddr)) ioaddr 689 drivers/i2c/busses/i2c-pnx.c return PTR_ERR(alg_data->ioaddr); ioaddr 456 drivers/ide/siimage.c void __iomem *ioaddr = host->host_priv; ioaddr 462 drivers/ide/siimage.c if (ioaddr) ioaddr 465 drivers/ide/siimage.c base = (unsigned long)ioaddr; ioaddr 467 drivers/ide/siimage.c if (ioaddr && pdev_is_sata(dev)) { ioaddr 472 drivers/ide/siimage.c tmp32 = readl(ioaddr + 0x48); ioaddr 475 drivers/ide/siimage.c writel(tmp32, ioaddr + 0x48); ioaddr 476 drivers/ide/siimage.c readl(ioaddr + 0x48); /* flush */ ioaddr 478 drivers/ide/siimage.c writel(0, ioaddr + 0x148); ioaddr 479 drivers/ide/siimage.c writel(0, ioaddr + 0x1C8); ioaddr 518 drivers/ide/siimage.c writel(0xFFFF0000, ioaddr + 0x108); ioaddr 519 drivers/ide/siimage.c writel(0xFFFF0000, ioaddr + 0x188); ioaddr 520 drivers/ide/siimage.c writel(0x00680000, ioaddr + 0x148); ioaddr 521 drivers/ide/siimage.c writel(0x00680000, ioaddr + 0x1C8); ioaddr 738 drivers/ide/siimage.c void __iomem *ioaddr = NULL; ioaddr 774 drivers/ide/siimage.c ioaddr = pci_ioremap_bar(dev, 5); ioaddr 775 drivers/ide/siimage.c if (ioaddr == NULL) ioaddr 780 drivers/ide/siimage.c rc = ide_pci_init_one(dev, &d, ioaddr); ioaddr 782 drivers/ide/siimage.c if (ioaddr) { ioaddr 783 drivers/ide/siimage.c iounmap(ioaddr); ioaddr 795 drivers/ide/siimage.c void __iomem *ioaddr = host->host_priv; ioaddr 799 drivers/ide/siimage.c if (ioaddr) { ioaddr 803 drivers/ide/siimage.c iounmap(ioaddr); ioaddr 3579 drivers/iommu/arm-smmu-v3.c resource_size_t ioaddr; ioaddr 3608 drivers/iommu/arm-smmu-v3.c ioaddr = res->start; ioaddr 3652 drivers/iommu/arm-smmu-v3.c "smmu3.%pa", &ioaddr); ioaddr 2007 drivers/iommu/arm-smmu.c resource_size_t ioaddr; ioaddr 2032 drivers/iommu/arm-smmu.c ioaddr = res->start; ioaddr 2113 drivers/iommu/arm-smmu.c "smmu.%pa", &ioaddr); ioaddr 721 drivers/iommu/msm_iommu.c resource_size_t ioaddr; ioaddr 765 drivers/iommu/msm_iommu.c ioaddr = r->start; ioaddr 808 drivers/iommu/msm_iommu.c "msm-smmu.%pa", &ioaddr); ioaddr 810 drivers/iommu/msm_iommu.c pr_err("Could not add msm-smmu at %pa to sysfs\n", &ioaddr); ioaddr 819 drivers/iommu/msm_iommu.c pr_err("Could not register msm-smmu at %pa\n", &ioaddr); ioaddr 666 drivers/iommu/mtk_iommu.c resource_size_t ioaddr; ioaddr 692 drivers/iommu/mtk_iommu.c ioaddr = res->start; ioaddr 745 drivers/iommu/mtk_iommu.c "mtk-iommu.%pa", &ioaddr); ioaddr 159 drivers/media/rc/nuvoton-cir.c static void nvt_set_ioaddr(struct nvt_dev *nvt, unsigned long *ioaddr) ioaddr 167 drivers/media/rc/nuvoton-cir.c *ioaddr = old_addr; ioaddr 169 drivers/media/rc/nuvoton-cir.c nvt_cr_write(nvt, *ioaddr >> 8, CR_CIR_BASE_ADDR_HI); ioaddr 170 drivers/media/rc/nuvoton-cir.c nvt_cr_write(nvt, *ioaddr & 0xff, CR_CIR_BASE_ADDR_LO); ioaddr 148 drivers/mmc/host/bcm2835.c void __iomem *ioaddr; ioaddr 225 drivers/mmc/host/bcm2835.c dev_dbg(dev, "SDCMD 0x%08x\n", readl(host->ioaddr + SDCMD)); ioaddr 226 drivers/mmc/host/bcm2835.c dev_dbg(dev, "SDARG 0x%08x\n", readl(host->ioaddr + SDARG)); ioaddr 227 drivers/mmc/host/bcm2835.c dev_dbg(dev, "SDTOUT 0x%08x\n", readl(host->ioaddr + SDTOUT)); ioaddr 228 drivers/mmc/host/bcm2835.c dev_dbg(dev, "SDCDIV 0x%08x\n", readl(host->ioaddr + SDCDIV)); ioaddr 229 drivers/mmc/host/bcm2835.c dev_dbg(dev, "SDRSP0 0x%08x\n", readl(host->ioaddr + SDRSP0)); ioaddr 230 drivers/mmc/host/bcm2835.c dev_dbg(dev, "SDRSP1 0x%08x\n", readl(host->ioaddr + SDRSP1)); ioaddr 231 drivers/mmc/host/bcm2835.c dev_dbg(dev, "SDRSP2 0x%08x\n", readl(host->ioaddr + SDRSP2)); ioaddr 232 drivers/mmc/host/bcm2835.c dev_dbg(dev, "SDRSP3 0x%08x\n", readl(host->ioaddr + SDRSP3)); ioaddr 233 drivers/mmc/host/bcm2835.c dev_dbg(dev, "SDHSTS 0x%08x\n", readl(host->ioaddr + SDHSTS)); ioaddr 234 drivers/mmc/host/bcm2835.c dev_dbg(dev, "SDVDD 0x%08x\n", readl(host->ioaddr + SDVDD)); ioaddr 235 drivers/mmc/host/bcm2835.c dev_dbg(dev, "SDEDM 0x%08x\n", readl(host->ioaddr + SDEDM)); ioaddr 236 drivers/mmc/host/bcm2835.c dev_dbg(dev, "SDHCFG 0x%08x\n", readl(host->ioaddr + SDHCFG)); ioaddr 237 drivers/mmc/host/bcm2835.c dev_dbg(dev, "SDHBCT 0x%08x\n", readl(host->ioaddr + SDHBCT)); ioaddr 238 drivers/mmc/host/bcm2835.c dev_dbg(dev, "SDHBLC 0x%08x\n", readl(host->ioaddr + SDHBLC)); ioaddr 246 drivers/mmc/host/bcm2835.c writel(SDVDD_POWER_OFF, host->ioaddr + SDVDD); ioaddr 247 drivers/mmc/host/bcm2835.c writel(0, host->ioaddr + SDCMD); ioaddr 248 drivers/mmc/host/bcm2835.c writel(0, host->ioaddr + SDARG); ioaddr 249 drivers/mmc/host/bcm2835.c writel(0xf00000, host->ioaddr + SDTOUT); ioaddr 250 drivers/mmc/host/bcm2835.c writel(0, host->ioaddr + SDCDIV); ioaddr 251 drivers/mmc/host/bcm2835.c writel(0x7f8, host->ioaddr + SDHSTS); /* Write 1s to clear */ ioaddr 252 drivers/mmc/host/bcm2835.c writel(0, host->ioaddr + SDHCFG); ioaddr 253 drivers/mmc/host/bcm2835.c writel(0, host->ioaddr + SDHBCT); ioaddr 254 drivers/mmc/host/bcm2835.c writel(0, host->ioaddr + SDHBLC); ioaddr 257 drivers/mmc/host/bcm2835.c temp = readl(host->ioaddr + SDEDM); ioaddr 262 drivers/mmc/host/bcm2835.c writel(temp, host->ioaddr + SDEDM); ioaddr 264 drivers/mmc/host/bcm2835.c writel(SDVDD_POWER_ON, host->ioaddr + SDVDD); ioaddr 267 drivers/mmc/host/bcm2835.c writel(host->hcfg, host->ioaddr + SDHCFG); ioaddr 268 drivers/mmc/host/bcm2835.c writel(host->cdiv, host->ioaddr + SDCDIV); ioaddr 296 drivers/mmc/host/bcm2835.c edm = readl(host->ioaddr + SDEDM); ioaddr 304 drivers/mmc/host/bcm2835.c host->ioaddr + SDEDM); ioaddr 369 drivers/mmc/host/bcm2835.c edm = readl(host->ioaddr + SDEDM); ioaddr 387 drivers/mmc/host/bcm2835.c hsts = readl(host->ioaddr + SDHSTS); ioaddr 412 drivers/mmc/host/bcm2835.c *(buf++) = readl(host->ioaddr + SDDATA); ioaddr 414 drivers/mmc/host/bcm2835.c writel(*(buf++), host->ioaddr + SDDATA); ioaddr 437 drivers/mmc/host/bcm2835.c sdhsts = readl(host->ioaddr + SDHSTS); ioaddr 541 drivers/mmc/host/bcm2835.c writel(host->hcfg, host->ioaddr + SDHCFG); ioaddr 572 drivers/mmc/host/bcm2835.c writel(data->blksz, host->ioaddr + SDHBCT); ioaddr 573 drivers/mmc/host/bcm2835.c writel(data->blocks, host->ioaddr + SDHBLC); ioaddr 582 drivers/mmc/host/bcm2835.c ret = readl_poll_timeout(host->ioaddr + SDCMD, value, ioaddr 586 drivers/mmc/host/bcm2835.c ret = readl_poll_timeout(host->ioaddr + SDCMD, value, ioaddr 650 drivers/mmc/host/bcm2835.c sdhsts = readl(host->ioaddr + SDHSTS); ioaddr 652 drivers/mmc/host/bcm2835.c writel(sdhsts, host->ioaddr + SDHSTS); ioaddr 663 drivers/mmc/host/bcm2835.c writel(cmd->arg, host->ioaddr + SDARG); ioaddr 686 drivers/mmc/host/bcm2835.c writel(sdcmd | SDCMD_NEW_FLAG, host->ioaddr + SDCMD); ioaddr 724 drivers/mmc/host/bcm2835.c writel(host->hcfg, host->ioaddr + SDHCFG); ioaddr 736 drivers/mmc/host/bcm2835.c readl(host->ioaddr + SDHSTS)); ioaddr 758 drivers/mmc/host/bcm2835.c u32 sdhsts = readl(host->ioaddr + SDHSTS); ioaddr 761 drivers/mmc/host/bcm2835.c writel(SDHSTS_ERROR_MASK, host->ioaddr + SDHSTS); ioaddr 775 drivers/mmc/host/bcm2835.c edm = readl(host->ioaddr + SDEDM); ioaddr 781 drivers/mmc/host/bcm2835.c host->ioaddr + SDEDM); ioaddr 793 drivers/mmc/host/bcm2835.c readl(host->ioaddr + SDRSP0 + i * 4); ioaddr 796 drivers/mmc/host/bcm2835.c cmd->resp[0] = readl(host->ioaddr + SDRSP0); ioaddr 933 drivers/mmc/host/bcm2835.c writel(host->hcfg, host->ioaddr + SDHCFG); ioaddr 945 drivers/mmc/host/bcm2835.c writel(host->hcfg, host->ioaddr + SDHCFG); ioaddr 982 drivers/mmc/host/bcm2835.c intmask = readl(host->ioaddr + SDHSTS); ioaddr 988 drivers/mmc/host/bcm2835.c host->ioaddr + SDHSTS); ioaddr 1084 drivers/mmc/host/bcm2835.c u32 edm = readl(host->ioaddr + SDEDM); ioaddr 1087 drivers/mmc/host/bcm2835.c *(buf++) = readl(host->ioaddr + SDDATA); ioaddr 1131 drivers/mmc/host/bcm2835.c writel(host->cdiv, host->ioaddr + SDCDIV); ioaddr 1154 drivers/mmc/host/bcm2835.c writel(host->cdiv, host->ioaddr + SDCDIV); ioaddr 1157 drivers/mmc/host/bcm2835.c writel(mmc->actual_clock / 2, host->ioaddr + SDTOUT); ioaddr 1192 drivers/mmc/host/bcm2835.c edm = readl(host->ioaddr + SDEDM); ioaddr 1198 drivers/mmc/host/bcm2835.c readl(host->ioaddr + SDCMD) & SDCMD_CMD_MASK, ioaddr 1254 drivers/mmc/host/bcm2835.c writel(host->hcfg, host->ioaddr + SDHCFG); ioaddr 1377 drivers/mmc/host/bcm2835.c host->ioaddr = devm_ioremap_resource(dev, iomem); ioaddr 1378 drivers/mmc/host/bcm2835.c if (IS_ERR(host->ioaddr)) { ioaddr 1379 drivers/mmc/host/bcm2835.c ret = PTR_ERR(host->ioaddr); ioaddr 1446 drivers/mmc/host/bcm2835.c writel(SDVDD_POWER_OFF, host->ioaddr + SDVDD); ioaddr 741 drivers/mmc/host/sdhci-acpi.c host->ioaddr = devm_ioremap_nocache(dev, iomem->start, ioaddr 743 drivers/mmc/host/sdhci-acpi.c if (host->ioaddr == NULL) { ioaddr 229 drivers/mmc/host/sdhci-bcm-kona.c dev_dbg(dev, "%s: inited. IOADDR=%p\n", __func__, host->ioaddr); ioaddr 377 drivers/mmc/host/sdhci-cadence.c priv->hrs_addr = host->ioaddr; ioaddr 379 drivers/mmc/host/sdhci-cadence.c host->ioaddr += SDHCI_CDNS_SRS_BASE; ioaddr 29 drivers/mmc/host/sdhci-dove.c ret = readw(host->ioaddr + reg); ioaddr 38 drivers/mmc/host/sdhci-dove.c ret = readl(host->ioaddr + reg); ioaddr 299 drivers/mmc/host/sdhci-esdhc-imx.c void __iomem *base = host->ioaddr + (reg & ~0x3); ioaddr 309 drivers/mmc/host/sdhci-esdhc-imx.c u32 val = readl(host->ioaddr + reg); ioaddr 342 drivers/mmc/host/sdhci-esdhc-imx.c val = readl(host->ioaddr + SDHCI_CAPABILITIES) & 0xFFFF; ioaddr 384 drivers/mmc/host/sdhci-esdhc-imx.c writel(SDHCI_INT_RESPONSE, host->ioaddr + ioaddr 410 drivers/mmc/host/sdhci-esdhc-imx.c data = readl(host->ioaddr + SDHCI_HOST_CONTROL); ioaddr 412 drivers/mmc/host/sdhci-esdhc-imx.c writel(data, host->ioaddr + SDHCI_HOST_CONTROL); ioaddr 414 drivers/mmc/host/sdhci-esdhc-imx.c writel(data, host->ioaddr + SDHCI_HOST_CONTROL); ioaddr 427 drivers/mmc/host/sdhci-esdhc-imx.c v = readl(host->ioaddr + ESDHC_VENDOR_SPEC); ioaddr 429 drivers/mmc/host/sdhci-esdhc-imx.c writel(v, host->ioaddr + ESDHC_VENDOR_SPEC); ioaddr 436 drivers/mmc/host/sdhci-esdhc-imx.c writel(data, host->ioaddr + SDHCI_TRANSFER_MODE); ioaddr 441 drivers/mmc/host/sdhci-esdhc-imx.c writel(val, host->ioaddr + reg); ioaddr 463 drivers/mmc/host/sdhci-esdhc-imx.c val = readl(host->ioaddr + ESDHC_VENDOR_SPEC); ioaddr 469 drivers/mmc/host/sdhci-esdhc-imx.c val = readl(host->ioaddr + ESDHC_MIX_CTRL); ioaddr 472 drivers/mmc/host/sdhci-esdhc-imx.c val = readl(host->ioaddr + SDHCI_AUTO_CMD_STATUS); ioaddr 487 drivers/mmc/host/sdhci-esdhc-imx.c u32 m = readl(host->ioaddr + ESDHC_MIX_CTRL); ioaddr 495 drivers/mmc/host/sdhci-esdhc-imx.c ret = readw(host->ioaddr + SDHCI_TRANSFER_MODE); ioaddr 501 drivers/mmc/host/sdhci-esdhc-imx.c return readw(host->ioaddr + reg); ioaddr 512 drivers/mmc/host/sdhci-esdhc-imx.c new_val = readl(host->ioaddr + ESDHC_VENDOR_SPEC); ioaddr 517 drivers/mmc/host/sdhci-esdhc-imx.c writel(new_val, host->ioaddr + ESDHC_VENDOR_SPEC); ioaddr 520 drivers/mmc/host/sdhci-esdhc-imx.c new_val = readl(host->ioaddr + ESDHC_VENDOR_SPEC); ioaddr 525 drivers/mmc/host/sdhci-esdhc-imx.c writel(new_val, host->ioaddr + ESDHC_VENDOR_SPEC); ioaddr 527 drivers/mmc/host/sdhci-esdhc-imx.c new_val = readl(host->ioaddr + ESDHC_MIX_CTRL); ioaddr 535 drivers/mmc/host/sdhci-esdhc-imx.c writel(new_val , host->ioaddr + ESDHC_MIX_CTRL); ioaddr 537 drivers/mmc/host/sdhci-esdhc-imx.c u32 v = readl(host->ioaddr + SDHCI_AUTO_CMD_STATUS); ioaddr 538 drivers/mmc/host/sdhci-esdhc-imx.c u32 m = readl(host->ioaddr + ESDHC_MIX_CTRL); ioaddr 555 drivers/mmc/host/sdhci-esdhc-imx.c writel(v, host->ioaddr + SDHCI_AUTO_CMD_STATUS); ioaddr 556 drivers/mmc/host/sdhci-esdhc-imx.c writel(m, host->ioaddr + ESDHC_MIX_CTRL); ioaddr 565 drivers/mmc/host/sdhci-esdhc-imx.c v = readl(host->ioaddr + ESDHC_VENDOR_SPEC); ioaddr 567 drivers/mmc/host/sdhci-esdhc-imx.c writel(v, host->ioaddr + ESDHC_VENDOR_SPEC); ioaddr 572 drivers/mmc/host/sdhci-esdhc-imx.c u32 m = readl(host->ioaddr + ESDHC_MIX_CTRL); ioaddr 579 drivers/mmc/host/sdhci-esdhc-imx.c writel(m, host->ioaddr + ESDHC_MIX_CTRL); ioaddr 585 drivers/mmc/host/sdhci-esdhc-imx.c m = readl(host->ioaddr + ESDHC_WTMK_LVL); ioaddr 594 drivers/mmc/host/sdhci-esdhc-imx.c writel(m, host->ioaddr + ESDHC_WTMK_LVL); ioaddr 613 drivers/mmc/host/sdhci-esdhc-imx.c host->ioaddr + SDHCI_TRANSFER_MODE); ioaddr 616 drivers/mmc/host/sdhci-esdhc-imx.c host->ioaddr + SDHCI_TRANSFER_MODE); ioaddr 632 drivers/mmc/host/sdhci-esdhc-imx.c val = readl(host->ioaddr + reg); ioaddr 641 drivers/mmc/host/sdhci-esdhc-imx.c return readb(host->ioaddr + reg); ioaddr 681 drivers/mmc/host/sdhci-esdhc-imx.c new_val = readl(host->ioaddr + SDHCI_HOST_CONTROL); ioaddr 706 drivers/mmc/host/sdhci-esdhc-imx.c new_val = readl(host->ioaddr + ESDHC_MIX_CTRL); ioaddr 708 drivers/mmc/host/sdhci-esdhc-imx.c host->ioaddr + ESDHC_MIX_CTRL); ioaddr 749 drivers/mmc/host/sdhci-esdhc-imx.c val = readl(host->ioaddr + ESDHC_VENDOR_SPEC); ioaddr 751 drivers/mmc/host/sdhci-esdhc-imx.c host->ioaddr + ESDHC_VENDOR_SPEC); ioaddr 765 drivers/mmc/host/sdhci-esdhc-imx.c val = readl(host->ioaddr + ESDHC_DLL_CTRL); ioaddr 766 drivers/mmc/host/sdhci-esdhc-imx.c writel(val | BIT(10), host->ioaddr + ESDHC_DLL_CTRL); ioaddr 767 drivers/mmc/host/sdhci-esdhc-imx.c temp = readl(host->ioaddr + ESDHC_DLL_CTRL); ioaddr 768 drivers/mmc/host/sdhci-esdhc-imx.c writel(val, host->ioaddr + ESDHC_DLL_CTRL); ioaddr 807 drivers/mmc/host/sdhci-esdhc-imx.c val = readl(host->ioaddr + ESDHC_VENDOR_SPEC); ioaddr 809 drivers/mmc/host/sdhci-esdhc-imx.c host->ioaddr + ESDHC_VENDOR_SPEC); ioaddr 825 drivers/mmc/host/sdhci-esdhc-imx.c return !(readl(host->ioaddr + SDHCI_PRESENT_STATE) & ioaddr 875 drivers/mmc/host/sdhci-esdhc-imx.c reg = readl(host->ioaddr + ESDHC_MIX_CTRL); ioaddr 878 drivers/mmc/host/sdhci-esdhc-imx.c writel(reg, host->ioaddr + ESDHC_MIX_CTRL); ioaddr 879 drivers/mmc/host/sdhci-esdhc-imx.c writel(val << 8, host->ioaddr + ESDHC_TUNE_CTRL_STATUS); ioaddr 882 drivers/mmc/host/sdhci-esdhc-imx.c val, readl(host->ioaddr + ESDHC_TUNE_CTRL_STATUS)); ioaddr 889 drivers/mmc/host/sdhci-esdhc-imx.c reg = readl(host->ioaddr + ESDHC_MIX_CTRL); ioaddr 892 drivers/mmc/host/sdhci-esdhc-imx.c writel(reg, host->ioaddr + ESDHC_MIX_CTRL); ioaddr 936 drivers/mmc/host/sdhci-esdhc-imx.c m = readl(host->ioaddr + ESDHC_MIX_CTRL); ioaddr 941 drivers/mmc/host/sdhci-esdhc-imx.c writel(m, host->ioaddr + ESDHC_MIX_CTRL); ioaddr 991 drivers/mmc/host/sdhci-esdhc-imx.c writel(readl(host->ioaddr + ESDHC_VENDOR_SPEC) & ioaddr 993 drivers/mmc/host/sdhci-esdhc-imx.c host->ioaddr + ESDHC_VENDOR_SPEC); ioaddr 997 drivers/mmc/host/sdhci-esdhc-imx.c host->ioaddr + ESDHC_STROBE_DLL_CTRL); ioaddr 999 drivers/mmc/host/sdhci-esdhc-imx.c writel(0, host->ioaddr + ESDHC_STROBE_DLL_CTRL); ioaddr 1008 drivers/mmc/host/sdhci-esdhc-imx.c writel(v, host->ioaddr + ESDHC_STROBE_DLL_CTRL); ioaddr 1011 drivers/mmc/host/sdhci-esdhc-imx.c v = readl(host->ioaddr + ESDHC_STROBE_DLL_STATUS); ioaddr 1029 drivers/mmc/host/sdhci-esdhc-imx.c ctrl = readl(host->ioaddr + ESDHC_MIX_CTRL); ioaddr 1032 drivers/mmc/host/sdhci-esdhc-imx.c writel(ctrl, host->ioaddr + ESDHC_MIX_CTRL); ioaddr 1033 drivers/mmc/host/sdhci-esdhc-imx.c writel(0, host->ioaddr + ESDHC_TUNE_CTRL_STATUS); ioaddr 1035 drivers/mmc/host/sdhci-esdhc-imx.c ctrl = readl(host->ioaddr + SDHCI_AUTO_CMD_STATUS); ioaddr 1037 drivers/mmc/host/sdhci-esdhc-imx.c writel(ctrl, host->ioaddr + SDHCI_AUTO_CMD_STATUS); ioaddr 1050 drivers/mmc/host/sdhci-esdhc-imx.c m = readl(host->ioaddr + ESDHC_MIX_CTRL); ioaddr 1061 drivers/mmc/host/sdhci-esdhc-imx.c writel(m, host->ioaddr + ESDHC_MIX_CTRL); ioaddr 1066 drivers/mmc/host/sdhci-esdhc-imx.c writel(m, host->ioaddr + ESDHC_MIX_CTRL); ioaddr 1075 drivers/mmc/host/sdhci-esdhc-imx.c writel(v, host->ioaddr + ESDHC_DLL_CTRL); ioaddr 1080 drivers/mmc/host/sdhci-esdhc-imx.c writel(m, host->ioaddr + ESDHC_MIX_CTRL); ioaddr 1174 drivers/mmc/host/sdhci-esdhc-imx.c writel(ESDHC_WTMK_DEFAULT_VAL, host->ioaddr + ESDHC_WTMK_LVL); ioaddr 1187 drivers/mmc/host/sdhci-esdhc-imx.c writel(readl(host->ioaddr + SDHCI_HOST_CONTROL) ioaddr 1189 drivers/mmc/host/sdhci-esdhc-imx.c host->ioaddr + SDHCI_HOST_CONTROL); ioaddr 1195 drivers/mmc/host/sdhci-esdhc-imx.c writel(readl(host->ioaddr + 0x6c) & ~BIT(7), ioaddr 1196 drivers/mmc/host/sdhci-esdhc-imx.c host->ioaddr + 0x6c); ioaddr 1199 drivers/mmc/host/sdhci-esdhc-imx.c writel(0x0, host->ioaddr + ESDHC_DLL_CTRL); ioaddr 1211 drivers/mmc/host/sdhci-esdhc-imx.c tmp = readl(host->ioaddr + ESDHC_VEND_SPEC2); ioaddr 1213 drivers/mmc/host/sdhci-esdhc-imx.c writel(tmp, host->ioaddr + ESDHC_VEND_SPEC2); ioaddr 1219 drivers/mmc/host/sdhci-esdhc-imx.c tmp = readl(host->ioaddr + ESDHC_TUNING_CTRL); ioaddr 1232 drivers/mmc/host/sdhci-esdhc-imx.c writel(tmp, host->ioaddr + ESDHC_TUNING_CTRL); ioaddr 1239 drivers/mmc/host/sdhci-esdhc-imx.c tmp = readl(host->ioaddr + ESDHC_TUNING_CTRL); ioaddr 1241 drivers/mmc/host/sdhci-esdhc-imx.c writel(tmp, host->ioaddr + ESDHC_TUNING_CTRL); ioaddr 1508 drivers/mmc/host/sdhci-esdhc-imx.c writel(0x0, host->ioaddr + ESDHC_MIX_CTRL); ioaddr 1509 drivers/mmc/host/sdhci-esdhc-imx.c writel(0x0, host->ioaddr + SDHCI_AUTO_CMD_STATUS); ioaddr 1510 drivers/mmc/host/sdhci-esdhc-imx.c writel(0x0, host->ioaddr + ESDHC_TUNE_CTRL_STATUS); ioaddr 1543 drivers/mmc/host/sdhci-esdhc-imx.c cq_host->mmio = host->ioaddr + ESDHC_CQHCI_ADDR_OFFSET; ioaddr 1592 drivers/mmc/host/sdhci-esdhc-imx.c int dead = (readl(host->ioaddr + SDHCI_INT_STATUS) == 0xffffffff); ioaddr 45 drivers/mmc/host/sdhci-iproc.c u32 val = readl(host->ioaddr + reg); ioaddr 85 drivers/mmc/host/sdhci-iproc.c writel(val, host->ioaddr + reg); ioaddr 284 drivers/mmc/host/sdhci-msm.c return readl_relaxed(host->ioaddr + offset); ioaddr 299 drivers/mmc/host/sdhci-msm.c writel_relaxed(val, host->ioaddr + offset); ioaddr 353 drivers/mmc/host/sdhci-msm.c ck_out_en = !!(readl_relaxed(host->ioaddr + ioaddr 364 drivers/mmc/host/sdhci-msm.c ck_out_en = !!(readl_relaxed(host->ioaddr + ioaddr 389 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); ioaddr 392 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); ioaddr 403 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); ioaddr 406 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); ioaddr 408 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); ioaddr 410 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); ioaddr 417 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); ioaddr 420 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); ioaddr 567 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); ioaddr 570 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); ioaddr 595 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); ioaddr 597 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); ioaddr 600 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 603 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 606 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 609 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 613 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 616 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 619 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 622 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 630 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 640 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 645 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 651 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 654 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 657 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 660 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 665 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 668 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 672 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 675 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 678 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 681 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 685 drivers/mmc/host/sdhci-msm.c while (!(readl_relaxed(host->ioaddr + msm_offset->core_dll_status) & ioaddr 710 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 713 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 717 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); ioaddr 720 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); ioaddr 729 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); ioaddr 732 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); ioaddr 752 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec); ioaddr 756 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec); ioaddr 763 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 767 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 776 drivers/mmc/host/sdhci-msm.c rc = readl_relaxed_poll_timeout(host->ioaddr + ioaddr 847 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config); ioaddr 849 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config); ioaddr 851 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); ioaddr 853 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); ioaddr 855 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + CORE_CSR_CDC_GEN_CFG); ioaddr 857 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + CORE_CSR_CDC_GEN_CFG); ioaddr 859 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + CORE_CSR_CDC_GEN_CFG); ioaddr 861 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + CORE_CSR_CDC_GEN_CFG); ioaddr 863 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); ioaddr 865 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); ioaddr 869 drivers/mmc/host/sdhci-msm.c writel_relaxed(0x11800EC, host->ioaddr + CORE_CSR_CDC_CTLR_CFG0); ioaddr 870 drivers/mmc/host/sdhci-msm.c writel_relaxed(0x3011111, host->ioaddr + CORE_CSR_CDC_CTLR_CFG1); ioaddr 871 drivers/mmc/host/sdhci-msm.c writel_relaxed(0x1201000, host->ioaddr + CORE_CSR_CDC_CAL_TIMER_CFG0); ioaddr 872 drivers/mmc/host/sdhci-msm.c writel_relaxed(0x4, host->ioaddr + CORE_CSR_CDC_CAL_TIMER_CFG1); ioaddr 873 drivers/mmc/host/sdhci-msm.c writel_relaxed(0xCB732020, host->ioaddr + CORE_CSR_CDC_REFCOUNT_CFG); ioaddr 874 drivers/mmc/host/sdhci-msm.c writel_relaxed(0xB19, host->ioaddr + CORE_CSR_CDC_COARSE_CAL_CFG); ioaddr 875 drivers/mmc/host/sdhci-msm.c writel_relaxed(0x4E2, host->ioaddr + CORE_CSR_CDC_DELAY_CFG); ioaddr 876 drivers/mmc/host/sdhci-msm.c writel_relaxed(0x0, host->ioaddr + CORE_CDC_OFFSET_CFG); ioaddr 877 drivers/mmc/host/sdhci-msm.c writel_relaxed(0x16334, host->ioaddr + CORE_CDC_SLAVE_DDA_CFG); ioaddr 881 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + CORE_CSR_CDC_CTLR_CFG0); ioaddr 883 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + CORE_CSR_CDC_CTLR_CFG0); ioaddr 885 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + CORE_CSR_CDC_CTLR_CFG0); ioaddr 887 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + CORE_CSR_CDC_CTLR_CFG0); ioaddr 889 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + CORE_CSR_CDC_CTLR_CFG0); ioaddr 891 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + CORE_CSR_CDC_CTLR_CFG0); ioaddr 893 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + CORE_CSR_CDC_CAL_TIMER_CFG0); ioaddr 895 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + CORE_CSR_CDC_CAL_TIMER_CFG0); ioaddr 897 drivers/mmc/host/sdhci-msm.c ret = readl_relaxed_poll_timeout(host->ioaddr + CORE_CSR_CDC_STATUS0, ioaddr 908 drivers/mmc/host/sdhci-msm.c ret = readl_relaxed(host->ioaddr + CORE_CSR_CDC_STATUS0) ioaddr 917 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + msm_offset->core_ddr_200_cfg); ioaddr 919 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + msm_offset->core_ddr_200_cfg); ioaddr 949 drivers/mmc/host/sdhci-msm.c writel_relaxed(DDR_CONFIG_POR_VAL, host->ioaddr + ddr_cfg_offset); ioaddr 952 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 955 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 959 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + msm_offset->core_dll_config_2); ioaddr 961 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + msm_offset->core_dll_config_2); ioaddr 963 drivers/mmc/host/sdhci-msm.c ret = readl_relaxed_poll_timeout(host->ioaddr + ioaddr 975 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec3); ioaddr 977 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + msm_offset->core_vendor_spec3); ioaddr 1016 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 1019 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 1078 drivers/mmc/host/sdhci-msm.c u32 config, oldconfig = readl_relaxed(host->ioaddr + ioaddr 1091 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 1260 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 1263 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 1266 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 1269 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 1471 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 1483 drivers/mmc/host/sdhci-msm.c writel_relaxed(new_config, host->ioaddr + ioaddr 1633 drivers/mmc/host/sdhci-msm.c writew_relaxed(val, host->ioaddr + reg); ioaddr 1646 drivers/mmc/host/sdhci-msm.c writeb_relaxed(val, host->ioaddr + reg); ioaddr 1678 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + ioaddr 1688 drivers/mmc/host/sdhci-msm.c host->ioaddr + msm_offset->core_vendor_spec); ioaddr 1868 drivers/mmc/host/sdhci-msm.c host->ioaddr + msm_offset->core_vendor_spec); ioaddr 1881 drivers/mmc/host/sdhci-msm.c host_version = readw_relaxed((host->ioaddr + SDHCI_HOST_VERSION)); ioaddr 1909 drivers/mmc/host/sdhci-msm.c config = readl_relaxed(host->ioaddr + SDHCI_CAPABILITIES); ioaddr 1911 drivers/mmc/host/sdhci-msm.c writel_relaxed(config, host->ioaddr + ioaddr 1993 drivers/mmc/host/sdhci-msm.c int dead = (readl_relaxed(host->ioaddr + SDHCI_INT_STATUS) == ioaddr 710 drivers/mmc/host/sdhci-of-arasan.c cq_host->mmio = host->ioaddr + SDHCI_ARASAN_CQE_BASE_ADDR; ioaddr 44 drivers/mmc/host/sdhci-of-at91.c mc1r = readb(host->ioaddr + SDMMC_MC1R); ioaddr 46 drivers/mmc/host/sdhci-of-at91.c writeb(mc1r, host->ioaddr + SDMMC_MC1R); ioaddr 161 drivers/mmc/host/sdhci-of-at91.c caps0 = readl(host->ioaddr + SDHCI_CAPABILITIES); ioaddr 162 drivers/mmc/host/sdhci-of-at91.c caps1 = readl(host->ioaddr + SDHCI_CAPABILITIES_1); ioaddr 186 drivers/mmc/host/sdhci-of-at91.c host->ioaddr + SDMMC_CACR); ioaddr 187 drivers/mmc/host/sdhci-of-at91.c writel(caps1, host->ioaddr + SDHCI_CAPABILITIES_1); ioaddr 189 drivers/mmc/host/sdhci-of-at91.c writel(0, host->ioaddr + SDMMC_CACR); ioaddr 202 drivers/mmc/host/sdhci-of-at91.c host->ioaddr + SDHCI_PRESET_FOR_SDR12); ioaddr 205 drivers/mmc/host/sdhci-of-at91.c host->ioaddr + SDHCI_PRESET_FOR_SDR25); ioaddr 208 drivers/mmc/host/sdhci-of-at91.c host->ioaddr + SDHCI_PRESET_FOR_SDR50); ioaddr 211 drivers/mmc/host/sdhci-of-at91.c host->ioaddr + SDHCI_PRESET_FOR_SDR104); ioaddr 214 drivers/mmc/host/sdhci-of-at91.c host->ioaddr + SDHCI_PRESET_FOR_DDR50); ioaddr 328 drivers/mmc/host/sdhci-of-esdhc.c value = ioread32be(host->ioaddr + ESDHC_CAPABILITIES_1); ioaddr 330 drivers/mmc/host/sdhci-of-esdhc.c value = ioread32be(host->ioaddr + reg); ioaddr 343 drivers/mmc/host/sdhci-of-esdhc.c value = ioread32(host->ioaddr + ESDHC_CAPABILITIES_1); ioaddr 345 drivers/mmc/host/sdhci-of-esdhc.c value = ioread32(host->ioaddr + reg); ioaddr 358 drivers/mmc/host/sdhci-of-esdhc.c value = ioread32be(host->ioaddr + base); ioaddr 369 drivers/mmc/host/sdhci-of-esdhc.c value = ioread32(host->ioaddr + base); ioaddr 380 drivers/mmc/host/sdhci-of-esdhc.c value = ioread32be(host->ioaddr + base); ioaddr 391 drivers/mmc/host/sdhci-of-esdhc.c value = ioread32(host->ioaddr + base); ioaddr 401 drivers/mmc/host/sdhci-of-esdhc.c iowrite32be(value, host->ioaddr + reg); ioaddr 409 drivers/mmc/host/sdhci-of-esdhc.c iowrite32(value, host->ioaddr + reg); ioaddr 420 drivers/mmc/host/sdhci-of-esdhc.c value = ioread32be(host->ioaddr + base); ioaddr 423 drivers/mmc/host/sdhci-of-esdhc.c iowrite32be(ret, host->ioaddr + base); ioaddr 433 drivers/mmc/host/sdhci-of-esdhc.c iowrite32be(ret, host->ioaddr + base); ioaddr 446 drivers/mmc/host/sdhci-of-esdhc.c value = ioread32(host->ioaddr + base); ioaddr 449 drivers/mmc/host/sdhci-of-esdhc.c iowrite32(ret, host->ioaddr + base); ioaddr 459 drivers/mmc/host/sdhci-of-esdhc.c iowrite32(ret, host->ioaddr + base); ioaddr 470 drivers/mmc/host/sdhci-of-esdhc.c value = ioread32be(host->ioaddr + base); ioaddr 472 drivers/mmc/host/sdhci-of-esdhc.c iowrite32be(ret, host->ioaddr + base); ioaddr 481 drivers/mmc/host/sdhci-of-esdhc.c value = ioread32(host->ioaddr + base); ioaddr 483 drivers/mmc/host/sdhci-of-esdhc.c iowrite32(ret, host->ioaddr + base); ioaddr 1062 drivers/mmc/host/sdhci-omap.c omap_host->base = host->ioaddr; ioaddr 1067 drivers/mmc/host/sdhci-omap.c host->ioaddr += offset; ioaddr 837 drivers/mmc/host/sdhci-pci-core.c cq_host->mmio = host->ioaddr + 0x200; ioaddr 1266 drivers/mmc/host/sdhci-pci-core.c scratch = readb(host->ioaddr + 0xC0); ioaddr 1273 drivers/mmc/host/sdhci-pci-core.c writeb(scratch, host->ioaddr + 0xC0); ioaddr 1281 drivers/mmc/host/sdhci-pci-core.c version = readl(slot->host->ioaddr + SDHCI_HOST_VERSION); ioaddr 1408 drivers/mmc/host/sdhci-pci-core.c u8 board_rev = readb(slot->host->ioaddr + SYSKT_BOARD_REV); ioaddr 1409 drivers/mmc/host/sdhci-pci-core.c u8 chip_rev = readb(slot->host->ioaddr + SYSKT_CHIP_REV); ioaddr 1417 drivers/mmc/host/sdhci-pci-core.c writeb(SYSKT_POWER_330, slot->host->ioaddr + SYSKT_POWER_DATA); ioaddr 1418 drivers/mmc/host/sdhci-pci-core.c writeb(SYSKT_POWER_START, slot->host->ioaddr + SYSKT_POWER_CMD); ioaddr 1422 drivers/mmc/host/sdhci-pci-core.c ps = readw(slot->host->ioaddr + SYSKT_POWER_STATUS); ioaddr 1430 drivers/mmc/host/sdhci-pci-core.c writeb(0, slot->host->ioaddr + SYSKT_POWER_CMD); ioaddr 1966 drivers/mmc/host/sdhci-pci-core.c host->ioaddr = pcim_iomap_table(pdev)[bar]; ioaddr 2054 drivers/mmc/host/sdhci-pci-core.c scratch = readl(slot->host->ioaddr + SDHCI_INT_STATUS); ioaddr 335 drivers/mmc/host/sdhci-pci-gli.c value = readl(host->ioaddr + reg); ioaddr 109 drivers/mmc/host/sdhci-pic32.c u32 bus = readl(host->ioaddr + SDH_SHARED_BUS_CTRL); ioaddr 121 drivers/mmc/host/sdhci-pic32.c writel(bus, host->ioaddr + SDH_SHARED_BUS_CTRL); ioaddr 132 drivers/mmc/host/sdhci-pic32.c host->caps = readl(host->ioaddr + SDHCI_CAPABILITIES); ioaddr 226 drivers/mmc/host/sdhci-pic32.c scratch = readl(host->ioaddr + SDHCI_INT_STATUS); ioaddr 121 drivers/mmc/host/sdhci-pltfm.c void __iomem *ioaddr; ioaddr 124 drivers/mmc/host/sdhci-pltfm.c ioaddr = devm_platform_ioremap_resource(pdev, 0); ioaddr 125 drivers/mmc/host/sdhci-pltfm.c if (IS_ERR(ioaddr)) { ioaddr 126 drivers/mmc/host/sdhci-pltfm.c ret = PTR_ERR(ioaddr); ioaddr 144 drivers/mmc/host/sdhci-pltfm.c host->ioaddr = ioaddr; ioaddr 198 drivers/mmc/host/sdhci-pltfm.c int dead = (readl(host->ioaddr + SDHCI_INT_STATUS) == 0xffffffff); ioaddr 38 drivers/mmc/host/sdhci-pltfm.h return in_be32(host->ioaddr + reg); ioaddr 43 drivers/mmc/host/sdhci-pltfm.h return in_be16(host->ioaddr + (reg ^ 0x2)); ioaddr 48 drivers/mmc/host/sdhci-pltfm.h return in_8(host->ioaddr + (reg ^ 0x3)); ioaddr 54 drivers/mmc/host/sdhci-pltfm.h out_be32(host->ioaddr + reg, val); ioaddr 78 drivers/mmc/host/sdhci-pltfm.h clrsetbits_be32(host->ioaddr + base, 0xffff << shift, val << shift); ioaddr 86 drivers/mmc/host/sdhci-pltfm.h clrsetbits_be32(host->ioaddr + base , 0xff << shift, val << shift); ioaddr 59 drivers/mmc/host/sdhci-pxav2.c tmp = readw(host->ioaddr + SD_CLOCK_BURST_SIZE_SETUP); ioaddr 67 drivers/mmc/host/sdhci-pxav2.c writew(tmp, host->ioaddr + SD_CLOCK_BURST_SIZE_SETUP); ioaddr 71 drivers/mmc/host/sdhci-pxav2.c tmp = readw(host->ioaddr + SD_FIFO_PARAM); ioaddr 73 drivers/mmc/host/sdhci-pxav2.c writew(tmp, host->ioaddr + SD_FIFO_PARAM); ioaddr 75 drivers/mmc/host/sdhci-pxav2.c tmp = readw(host->ioaddr + SD_FIFO_PARAM); ioaddr 78 drivers/mmc/host/sdhci-pxav2.c writew(tmp, host->ioaddr + SD_FIFO_PARAM); ioaddr 88 drivers/mmc/host/sdhci-pxav2.c ctrl = readb(host->ioaddr + SDHCI_HOST_CONTROL); ioaddr 89 drivers/mmc/host/sdhci-pxav2.c tmp = readw(host->ioaddr + SD_CE_ATA_2); ioaddr 100 drivers/mmc/host/sdhci-pxav2.c writew(tmp, host->ioaddr + SD_CE_ATA_2); ioaddr 101 drivers/mmc/host/sdhci-pxav2.c writeb(ctrl, host->ioaddr + SDHCI_HOST_CONTROL); ioaddr 181 drivers/mmc/host/sdhci-pxav3.c tmp = readw(host->ioaddr + SD_CLOCK_BURST_SIZE_SETUP); ioaddr 185 drivers/mmc/host/sdhci-pxav3.c writew(tmp, host->ioaddr + SD_CLOCK_BURST_SIZE_SETUP); ioaddr 209 drivers/mmc/host/sdhci-pxav3.c tmp = readw(host->ioaddr + SD_CE_ATA_2); ioaddr 211 drivers/mmc/host/sdhci-pxav3.c writew(tmp, host->ioaddr + SD_CE_ATA_2); ioaddr 214 drivers/mmc/host/sdhci-pxav3.c tmp = readw(host->ioaddr + SD_CFG_FIFO_PARAM); ioaddr 216 drivers/mmc/host/sdhci-pxav3.c writew(tmp, host->ioaddr + SD_CFG_FIFO_PARAM); ioaddr 223 drivers/mmc/host/sdhci-pxav3.c if ((readw(host->ioaddr + SD_CE_ATA_2) ioaddr 233 drivers/mmc/host/sdhci-pxav3.c tmp = readw(host->ioaddr + SD_CE_ATA_2); ioaddr 235 drivers/mmc/host/sdhci-pxav3.c writew(tmp, host->ioaddr + SD_CE_ATA_2); ioaddr 265 drivers/mmc/host/sdhci-s3c.c writew(0, host->ioaddr + SDHCI_CLOCK_CONTROL); ioaddr 267 drivers/mmc/host/sdhci-s3c.c ctrl = readl(host->ioaddr + S3C_SDHCI_CONTROL2); ioaddr 270 drivers/mmc/host/sdhci-s3c.c writel(ctrl, host->ioaddr + S3C_SDHCI_CONTROL2); ioaddr 274 drivers/mmc/host/sdhci-s3c.c host->ioaddr + S3C64XX_SDHCI_CONTROL4); ioaddr 276 drivers/mmc/host/sdhci-s3c.c ctrl = readl(host->ioaddr + S3C_SDHCI_CONTROL2); ioaddr 282 drivers/mmc/host/sdhci-s3c.c writel(ctrl, host->ioaddr + S3C_SDHCI_CONTROL2); ioaddr 288 drivers/mmc/host/sdhci-s3c.c writel(ctrl, host->ioaddr + S3C_SDHCI_CONTROL3); ioaddr 559 drivers/mmc/host/sdhci-s3c.c host->ioaddr = devm_ioremap_resource(&pdev->dev, res); ioaddr 560 drivers/mmc/host/sdhci-s3c.c if (IS_ERR(host->ioaddr)) { ioaddr 561 drivers/mmc/host/sdhci-s3c.c ret = PTR_ERR(host->ioaddr); ioaddr 42 drivers/mmc/host/sdhci-sirf.c u32 val = readl(host->ioaddr + reg); ioaddr 64 drivers/mmc/host/sdhci-sirf.c ret = readw(host->ioaddr + reg); ioaddr 67 drivers/mmc/host/sdhci-sirf.c ret = readw(host->ioaddr + SDHCI_HOST_VERSION); ioaddr 60 drivers/mmc/host/sdhci-spear.c host->ioaddr = devm_ioremap_resource(&pdev->dev, iomem); ioaddr 61 drivers/mmc/host/sdhci-spear.c if (IS_ERR(host->ioaddr)) { ioaddr 62 drivers/mmc/host/sdhci-spear.c ret = PTR_ERR(host->ioaddr); ioaddr 129 drivers/mmc/host/sdhci-spear.c scratch = readl(host->ioaddr + SDHCI_INT_STATUS); ioaddr 118 drivers/mmc/host/sdhci-sprd.c return readl_relaxed(host->ioaddr + reg); ioaddr 130 drivers/mmc/host/sdhci-sprd.c writel_relaxed(val, host->ioaddr + reg); ioaddr 139 drivers/mmc/host/sdhci-sprd.c writew_relaxed(val, host->ioaddr + reg); ioaddr 153 drivers/mmc/host/sdhci-sprd.c if (readb_relaxed(host->ioaddr + reg) & SDHCI_HW_RESET_CARD) ioaddr 157 drivers/mmc/host/sdhci-sprd.c writeb_relaxed(val, host->ioaddr + reg); ioaddr 360 drivers/mmc/host/sdhci-sprd.c val = readb_relaxed(host->ioaddr + SDHCI_SOFTWARE_RESET); ioaddr 362 drivers/mmc/host/sdhci-sprd.c writeb_relaxed(val, host->ioaddr + SDHCI_SOFTWARE_RESET); ioaddr 367 drivers/mmc/host/sdhci-sprd.c writeb_relaxed(val, host->ioaddr + SDHCI_SOFTWARE_RESET); ioaddr 123 drivers/mmc/host/sdhci-st.c static inline void st_mmcss_set_static_delay(void __iomem *ioaddr) ioaddr 125 drivers/mmc/host/sdhci-st.c if (!ioaddr) ioaddr 128 drivers/mmc/host/sdhci-st.c writel_relaxed(0x0, ioaddr + ST_TOP_MMC_DLY_CTRL); ioaddr 130 drivers/mmc/host/sdhci-st.c ioaddr + ST_TOP_MMC_TX_CLK_DLY); ioaddr 157 drivers/mmc/host/sdhci-st.c host->ioaddr + ST_MMC_CCONFIG_REG_1); ioaddr 176 drivers/mmc/host/sdhci-st.c writel_relaxed(cconf2, host->ioaddr + ST_MMC_CCONFIG_REG_2); ioaddr 183 drivers/mmc/host/sdhci-st.c host->ioaddr + ST_MMC_GP_OUTPUT); ioaddr 209 drivers/mmc/host/sdhci-st.c writel_relaxed(cconf3, host->ioaddr + ST_MMC_CCONFIG_REG_3); ioaddr 210 drivers/mmc/host/sdhci-st.c writel_relaxed(cconf4, host->ioaddr + ST_MMC_CCONFIG_REG_4); ioaddr 211 drivers/mmc/host/sdhci-st.c writel_relaxed(cconf5, host->ioaddr + ST_MMC_CCONFIG_REG_5); ioaddr 214 drivers/mmc/host/sdhci-st.c static inline void st_mmcss_set_dll(void __iomem *ioaddr) ioaddr 216 drivers/mmc/host/sdhci-st.c if (!ioaddr) ioaddr 219 drivers/mmc/host/sdhci-st.c writel_relaxed(ST_TOP_MMC_DYN_DLY_CONF, ioaddr + ST_TOP_MMC_DLY_CTRL); ioaddr 221 drivers/mmc/host/sdhci-st.c ioaddr + ST_TOP_MMC_TX_DLL_STEP_DLY); ioaddr 224 drivers/mmc/host/sdhci-st.c static int st_mmcss_lock_dll(void __iomem *ioaddr) ioaddr 232 drivers/mmc/host/sdhci-st.c value = readl(ioaddr + ST_MMC_STATUS_R); ioaddr 250 drivers/mmc/host/sdhci-st.c ret = st_mmcss_lock_dll(host->ioaddr); ioaddr 313 drivers/mmc/host/sdhci-st.c ret = readl_relaxed(host->ioaddr + reg); ioaddr 318 drivers/mmc/host/sdhci-st.c ret = readl_relaxed(host->ioaddr + reg); ioaddr 419 drivers/mmc/host/sdhci-st.c host_version = readw_relaxed((host->ioaddr + SDHCI_HOST_VERSION)); ioaddr 167 drivers/mmc/host/sdhci-tegra.c return readw(host->ioaddr + reg); ioaddr 184 drivers/mmc/host/sdhci-tegra.c host->ioaddr + SDHCI_TRANSFER_MODE); ioaddr 188 drivers/mmc/host/sdhci-tegra.c writew(val, host->ioaddr + reg); ioaddr 204 drivers/mmc/host/sdhci-tegra.c writel(val, host->ioaddr + reg); ioaddr 209 drivers/mmc/host/sdhci-tegra.c u8 gap_ctrl = readb(host->ioaddr + SDHCI_BLOCK_GAP_CONTROL); ioaddr 214 drivers/mmc/host/sdhci-tegra.c writeb(gap_ctrl, host->ioaddr + SDHCI_BLOCK_GAP_CONTROL); ioaddr 254 drivers/mmc/host/sdhci-tegra.c writew(val, host->ioaddr + reg); ioaddr 551 drivers/mmc/host/sdhci-tegra.c ret = readl_poll_timeout(host->ioaddr + SDHCI_TEGRA_AUTO_CAL_STATUS, ioaddr 791 drivers/mmc/host/sdhci-tegra.c err = readl_poll_timeout(host->ioaddr + SDHCI_TEGRA_VENDOR_DLLCAL_STA, ioaddr 1482 drivers/mmc/host/sdhci-tegra.c cq_host->mmio = host->ioaddr + SDHCI_TEGRA_CQE_BASE_ADDR; ioaddr 489 drivers/mmc/host/sdhci.h void __iomem *ioaddr; /* Mapped address */ ioaddr 658 drivers/mmc/host/sdhci.h writel(val, host->ioaddr + reg); ioaddr 666 drivers/mmc/host/sdhci.h writew(val, host->ioaddr + reg); ioaddr 674 drivers/mmc/host/sdhci.h writeb(val, host->ioaddr + reg); ioaddr 682 drivers/mmc/host/sdhci.h return readl(host->ioaddr + reg); ioaddr 690 drivers/mmc/host/sdhci.h return readw(host->ioaddr + reg); ioaddr 698 drivers/mmc/host/sdhci.h return readb(host->ioaddr + reg); ioaddr 705 drivers/mmc/host/sdhci.h writel(val, host->ioaddr + reg); ioaddr 710 drivers/mmc/host/sdhci.h writew(val, host->ioaddr + reg); ioaddr 715 drivers/mmc/host/sdhci.h writeb(val, host->ioaddr + reg); ioaddr 720 drivers/mmc/host/sdhci.h return readl(host->ioaddr + reg); ioaddr 725 drivers/mmc/host/sdhci.h return readw(host->ioaddr + reg); ioaddr 730 drivers/mmc/host/sdhci.h return readb(host->ioaddr + reg); ioaddr 236 drivers/mmc/host/sdhci_am654.c writeb(val, host->ioaddr + reg); ioaddr 151 drivers/mmc/host/sdhci_f_sdh30.c host->ioaddr = devm_ioremap_resource(&pdev->dev, res); ioaddr 152 drivers/mmc/host/sdhci_f_sdh30.c if (IS_ERR(host->ioaddr)) { ioaddr 153 drivers/mmc/host/sdhci_f_sdh30.c ret = PTR_ERR(host->ioaddr); ioaddr 217 drivers/mmc/host/sdhci_f_sdh30.c sdhci_remove_host(host, readl(host->ioaddr + SDHCI_INT_STATUS) == ioaddr 43 drivers/mmc/host/toshsd.c iowrite16(0, host->ioaddr + SD_SOFTWARERESET); /* assert */ ioaddr 45 drivers/mmc/host/toshsd.c iowrite16(1, host->ioaddr + SD_SOFTWARERESET); /* deassert */ ioaddr 49 drivers/mmc/host/toshsd.c iowrite16(0, host->ioaddr + SD_CARDCLOCKCTRL); ioaddr 50 drivers/mmc/host/toshsd.c iowrite32(0, host->ioaddr + SD_CARDSTATUS); ioaddr 51 drivers/mmc/host/toshsd.c iowrite32(0, host->ioaddr + SD_ERRORSTATUS0); ioaddr 52 drivers/mmc/host/toshsd.c iowrite16(0, host->ioaddr + SD_STOPINTERNAL); ioaddr 55 drivers/mmc/host/toshsd.c iowrite16(0x100, host->ioaddr + SDIO_BASE + SDIO_CLOCKNWAITCTRL); ioaddr 68 drivers/mmc/host/toshsd.c host->ioaddr + SD_INTMASKCARD); ioaddr 70 drivers/mmc/host/toshsd.c iowrite16(0x1000, host->ioaddr + SD_TRANSACTIONCTRL); ioaddr 99 drivers/mmc/host/toshsd.c iowrite16(clk, host->ioaddr + SD_CARDCLOCKCTRL); ioaddr 103 drivers/mmc/host/toshsd.c iowrite16(0, host->ioaddr + SD_CARDCLOCKCTRL); ioaddr 127 drivers/mmc/host/toshsd.c host->ioaddr + SD_CARDOPTIONSETUP); ioaddr 133 drivers/mmc/host/toshsd.c host->ioaddr + SD_CARDOPTIONSETUP); ioaddr 140 drivers/mmc/host/toshsd.c iowrite16(state, host->ioaddr + SDIO_BASE + SDIO_LEDCTRL); ioaddr 192 drivers/mmc/host/toshsd.c ioread32_rep(host->ioaddr + SD_DATAPORT, buf, count >> 2); ioaddr 194 drivers/mmc/host/toshsd.c iowrite32_rep(host->ioaddr + SD_DATAPORT, buf, count >> 2); ioaddr 221 drivers/mmc/host/toshsd.c data = ioread16(host->ioaddr + SD_RESPONSE0); ioaddr 224 drivers/mmc/host/toshsd.c data = ioread16(host->ioaddr + SD_RESPONSE1); ioaddr 227 drivers/mmc/host/toshsd.c data = ioread16(host->ioaddr + SD_RESPONSE2); ioaddr 230 drivers/mmc/host/toshsd.c data = ioread16(host->ioaddr + SD_RESPONSE3); ioaddr 233 drivers/mmc/host/toshsd.c data = ioread16(host->ioaddr + SD_RESPONSE4); ioaddr 236 drivers/mmc/host/toshsd.c data = ioread16(host->ioaddr + SD_RESPONSE5); ioaddr 239 drivers/mmc/host/toshsd.c data = ioread16(host->ioaddr + SD_RESPONSE6); ioaddr 242 drivers/mmc/host/toshsd.c data = ioread16(host->ioaddr + SD_RESPONSE7); ioaddr 246 drivers/mmc/host/toshsd.c data = ioread16(host->ioaddr + SD_RESPONSE0); ioaddr 249 drivers/mmc/host/toshsd.c data = ioread16(host->ioaddr + SD_RESPONSE1); ioaddr 284 drivers/mmc/host/toshsd.c iowrite16(0, host->ioaddr + SD_STOPINTERNAL); ioaddr 296 drivers/mmc/host/toshsd.c int_status = ioread32(host->ioaddr + SD_CARDSTATUS); ioaddr 297 drivers/mmc/host/toshsd.c int_mask = ioread32(host->ioaddr + SD_INTMASKCARD); ioaddr 329 drivers/mmc/host/toshsd.c detail = ioread32(host->ioaddr + SD_ERRORSTATUS0); ioaddr 354 drivers/mmc/host/toshsd.c host->ioaddr + SD_CARDSTATUS); ioaddr 366 drivers/mmc/host/toshsd.c host->ioaddr + SD_CARDSTATUS); ioaddr 378 drivers/mmc/host/toshsd.c host->ioaddr + SD_CARDSTATUS); ioaddr 387 drivers/mmc/host/toshsd.c host->ioaddr + SD_CARDSTATUS); ioaddr 394 drivers/mmc/host/toshsd.c host->ioaddr + SD_CARDSTATUS); ioaddr 411 drivers/mmc/host/toshsd.c host->ioaddr + SD_STOPINTERNAL); ioaddr 459 drivers/mmc/host/toshsd.c host->ioaddr + SD_STOPINTERNAL); ioaddr 470 drivers/mmc/host/toshsd.c iowrite32(cmd->arg, host->ioaddr + SD_ARG0); ioaddr 471 drivers/mmc/host/toshsd.c iowrite16(c, host->ioaddr + SD_CMD); ioaddr 491 drivers/mmc/host/toshsd.c iowrite16(data->blocks, host->ioaddr + SD_BLOCKCOUNT); ioaddr 492 drivers/mmc/host/toshsd.c iowrite16(data->blksz, host->ioaddr + SD_CARDXFERDATALEN); ioaddr 502 drivers/mmc/host/toshsd.c if (!(ioread16(host->ioaddr + SD_CARDSTATUS) & SD_CARD_PRESENT_0)) { ioaddr 539 drivers/mmc/host/toshsd.c return !(ioread16(host->ioaddr + SD_CARDSTATUS) & SD_CARD_WRITE_PROTECT); ioaddr 546 drivers/mmc/host/toshsd.c return !!(ioread16(host->ioaddr + SD_CARDSTATUS) & SD_CARD_PRESENT_0); ioaddr 560 drivers/mmc/host/toshsd.c iowrite32(0xffffffff, host->ioaddr + SD_INTMASKCARD); ioaddr 562 drivers/mmc/host/toshsd.c iowrite16(0x000, host->ioaddr + SDIO_BASE + SDIO_CLOCKNWAITCTRL); ioaddr 563 drivers/mmc/host/toshsd.c iowrite16(0, host->ioaddr + SD_CARDCLOCKCTRL); ioaddr 631 drivers/mmc/host/toshsd.c host->ioaddr = pci_iomap(pdev, 0, 0); ioaddr 632 drivers/mmc/host/toshsd.c if (!host->ioaddr) { ioaddr 664 drivers/mmc/host/toshsd.c pci_iounmap(pdev, host->ioaddr); ioaddr 682 drivers/mmc/host/toshsd.c pci_iounmap(pdev, host->ioaddr); ioaddr 171 drivers/mmc/host/toshsd.h void __iomem *ioaddr; /* mapped address */ ioaddr 181 drivers/net/appletalk/cops.c static int cops_probe1 (struct net_device *dev, int ioaddr); ioaddr 182 drivers/net/appletalk/cops.c static int cops_irq (int ioaddr, int board); ioaddr 275 drivers/net/appletalk/cops.c static int __init cops_probe1(struct net_device *dev, int ioaddr) ioaddr 286 drivers/net/appletalk/cops.c if (!request_region(ioaddr, COPS_IO_EXTENT, dev->name)) ioaddr 301 drivers/net/appletalk/cops.c dev->irq = cops_irq(ioaddr, board); ioaddr 335 drivers/net/appletalk/cops.c dev->base_addr = ioaddr; ioaddr 350 drivers/net/appletalk/cops.c dev->name, cardname, ioaddr, dev->irq); ioaddr 354 drivers/net/appletalk/cops.c dev->name, cardname, ioaddr, dev->irq); ioaddr 357 drivers/net/appletalk/cops.c dev->name, cardname, ioaddr); ioaddr 363 drivers/net/appletalk/cops.c release_region(ioaddr, COPS_IO_EXTENT); ioaddr 367 drivers/net/appletalk/cops.c static int __init cops_irq (int ioaddr, int board) ioaddr 380 drivers/net/appletalk/cops.c outb(0, ioaddr+DAYNA_RESET); ioaddr 381 drivers/net/appletalk/cops.c inb(ioaddr+DAYNA_RESET); ioaddr 386 drivers/net/appletalk/cops.c inb(ioaddr); ioaddr 387 drivers/net/appletalk/cops.c outb(0, ioaddr); ioaddr 388 drivers/net/appletalk/cops.c outb(0, ioaddr+TANG_RESET); ioaddr 398 drivers/net/appletalk/cops.c status = (inb(ioaddr+DAYNA_CARD_STATUS)&3); ioaddr 404 drivers/net/appletalk/cops.c if((inb(ioaddr+TANG_CARD_STATUS)& TANG_TX_READY) !=0) ioaddr 472 drivers/net/appletalk/cops.c static void tangent_wait_reset(int ioaddr) ioaddr 476 drivers/net/appletalk/cops.c while(timeout++ < 5 && (inb(ioaddr+TANG_CARD_STATUS)&TANG_TX_READY)==0) ioaddr 486 drivers/net/appletalk/cops.c int ioaddr=dev->base_addr; ioaddr 490 drivers/net/appletalk/cops.c inb(ioaddr); /* Clear request latch. */ ioaddr 491 drivers/net/appletalk/cops.c outb(0,ioaddr); /* Clear the TANG_TX_READY flop. */ ioaddr 492 drivers/net/appletalk/cops.c outb(0, ioaddr+TANG_RESET); /* Reset the adapter. */ ioaddr 494 drivers/net/appletalk/cops.c tangent_wait_reset(ioaddr); ioaddr 495 drivers/net/appletalk/cops.c outb(0, ioaddr+TANG_CLEAR_INT); ioaddr 499 drivers/net/appletalk/cops.c outb(0, ioaddr+DAYNA_RESET); /* Assert the reset port */ ioaddr 500 drivers/net/appletalk/cops.c inb(ioaddr+DAYNA_RESET); /* Clear the reset */ ioaddr 515 drivers/net/appletalk/cops.c int ioaddr=dev->base_addr; ioaddr 562 drivers/net/appletalk/cops.c if((inb(ioaddr+DAYNA_CARD_STATUS)&3)==1) ioaddr 577 drivers/net/appletalk/cops.c outb(ltf->data[i], ioaddr); ioaddr 586 drivers/net/appletalk/cops.c outb(1, ioaddr+DAYNA_INT_CARD); ioaddr 588 drivers/net/appletalk/cops.c inb(ioaddr); ioaddr 592 drivers/net/appletalk/cops.c tangent_wait_reset(ioaddr); ioaddr 593 drivers/net/appletalk/cops.c inb(ioaddr); /* Clear initial ready signal. */ ioaddr 606 drivers/net/appletalk/cops.c int ioaddr = dev->base_addr; ioaddr 611 drivers/net/appletalk/cops.c while((inb(ioaddr+DAYNA_CARD_STATUS)&DAYNA_TX_READY)==0) ioaddr 613 drivers/net/appletalk/cops.c outb(0, ioaddr+COPS_CLEAR_INT); /* Clear interrupts. */ ioaddr 614 drivers/net/appletalk/cops.c if((inb(ioaddr+DAYNA_CARD_STATUS)&0x03)==DAYNA_RX_REQUEST) ioaddr 619 drivers/net/appletalk/cops.c outb(2, ioaddr); /* Output command packet length as 2. */ ioaddr 620 drivers/net/appletalk/cops.c outb(0, ioaddr); ioaddr 621 drivers/net/appletalk/cops.c outb(LAP_INIT, ioaddr); /* Send LAP_INIT command byte. */ ioaddr 622 drivers/net/appletalk/cops.c outb(nodeid, ioaddr); /* Suggest node address. */ ioaddr 628 drivers/net/appletalk/cops.c while(inb(ioaddr+TANG_CARD_STATUS)&TANG_RX_READY) ioaddr 630 drivers/net/appletalk/cops.c outb(0, ioaddr+COPS_CLEAR_INT); /* Clear interrupt. */ ioaddr 638 drivers/net/appletalk/cops.c outb(2, ioaddr); /* Command length LSB */ ioaddr 639 drivers/net/appletalk/cops.c outb(0, ioaddr); /* Command length MSB */ ioaddr 640 drivers/net/appletalk/cops.c outb(LAP_INIT, ioaddr); /* Send LAP_INIT byte */ ioaddr 641 drivers/net/appletalk/cops.c outb(nodeid, ioaddr); /* LAP address hint. */ ioaddr 642 drivers/net/appletalk/cops.c outb(0xFF, ioaddr); /* Int. level to use */ ioaddr 648 drivers/net/appletalk/cops.c outb(0, ioaddr+COPS_CLEAR_INT); /* Clear any interrupt. */ ioaddr 652 drivers/net/appletalk/cops.c if((inb(ioaddr+DAYNA_CARD_STATUS)&0x03)==DAYNA_RX_REQUEST) ioaddr 657 drivers/net/appletalk/cops.c if(inb(ioaddr+TANG_CARD_STATUS)&TANG_RX_READY) ioaddr 678 drivers/net/appletalk/cops.c int ioaddr, status; ioaddr 687 drivers/net/appletalk/cops.c ioaddr = dev->base_addr; ioaddr 689 drivers/net/appletalk/cops.c status=inb(ioaddr+TANG_CARD_STATUS); ioaddr 694 drivers/net/appletalk/cops.c status = inb(ioaddr+TANG_CARD_STATUS); ioaddr 710 drivers/net/appletalk/cops.c int ioaddr, status; ioaddr 713 drivers/net/appletalk/cops.c ioaddr = dev->base_addr; ioaddr 719 drivers/net/appletalk/cops.c outb(0, ioaddr + COPS_CLEAR_INT); ioaddr 720 drivers/net/appletalk/cops.c status=inb(ioaddr+DAYNA_CARD_STATUS); ioaddr 729 drivers/net/appletalk/cops.c status=inb(ioaddr+TANG_CARD_STATUS); ioaddr 734 drivers/net/appletalk/cops.c status=inb(ioaddr+TANG_CARD_STATUS); ioaddr 750 drivers/net/appletalk/cops.c int ioaddr = dev->base_addr; ioaddr 759 drivers/net/appletalk/cops.c outb(0, ioaddr); /* Send out Zero length. */ ioaddr 760 drivers/net/appletalk/cops.c outb(0, ioaddr); ioaddr 761 drivers/net/appletalk/cops.c outb(DATA_READ, ioaddr); /* Send read command out. */ ioaddr 767 drivers/net/appletalk/cops.c if((inb(ioaddr+DAYNA_CARD_STATUS)&0x03)==DAYNA_RX_READY) ioaddr 780 drivers/net/appletalk/cops.c pkt_len = inb(ioaddr); ioaddr 781 drivers/net/appletalk/cops.c pkt_len |= (inb(ioaddr) << 8); ioaddr 783 drivers/net/appletalk/cops.c rsp_type=inb(ioaddr); ioaddr 793 drivers/net/appletalk/cops.c inb(ioaddr); ioaddr 801 drivers/net/appletalk/cops.c insb(ioaddr, skb->data, pkt_len); /* Eat the Data */ ioaddr 804 drivers/net/appletalk/cops.c outb(1, ioaddr+DAYNA_INT_CARD); /* Interrupt the card */ ioaddr 850 drivers/net/appletalk/cops.c int ioaddr = dev->base_addr; ioaddr 855 drivers/net/appletalk/cops.c if((inb(ioaddr+TANG_CARD_STATUS)&TANG_TX_READY)==0) ioaddr 873 drivers/net/appletalk/cops.c int ioaddr = dev->base_addr; ioaddr 884 drivers/net/appletalk/cops.c while((inb(ioaddr+DAYNA_CARD_STATUS)&DAYNA_TX_READY)==0) ioaddr 887 drivers/net/appletalk/cops.c while((inb(ioaddr+TANG_CARD_STATUS)&TANG_TX_READY)==0) ioaddr 891 drivers/net/appletalk/cops.c outb(skb->len, ioaddr); ioaddr 892 drivers/net/appletalk/cops.c outb(skb->len >> 8, ioaddr); ioaddr 895 drivers/net/appletalk/cops.c outb(LAP_WRITE, ioaddr); ioaddr 898 drivers/net/appletalk/cops.c while((inb(ioaddr+DAYNA_CARD_STATUS)&DAYNA_TX_READY)==0); ioaddr 900 drivers/net/appletalk/cops.c outsb(ioaddr, skb->data, skb->len); /* Send out the data. */ ioaddr 903 drivers/net/appletalk/cops.c outb(1, ioaddr+DAYNA_INT_CARD); ioaddr 243 drivers/net/arcnet/arc-rimi.c void __iomem *ioaddr = lp->mem_start + 0x800; ioaddr 246 drivers/net/arcnet/arc-rimi.c dev->name, arcnet_readb(ioaddr, COM9026_REG_R_STATUS)); ioaddr 249 drivers/net/arcnet/arc-rimi.c arcnet_writeb(TESTvalue, ioaddr, -0x800); /* fake reset */ ioaddr 253 drivers/net/arcnet/arc-rimi.c arcnet_writeb(CFLAGScmd | RESETclear, ioaddr, COM9026_REG_W_COMMAND); ioaddr 254 drivers/net/arcnet/arc-rimi.c arcnet_writeb(CFLAGScmd | CONFIGclear, ioaddr, COM9026_REG_W_COMMAND); ioaddr 257 drivers/net/arcnet/arc-rimi.c arcnet_writeb(CONFIGcmd | EXTconf, ioaddr, COM9026_REG_W_COMMAND); ioaddr 266 drivers/net/arcnet/arc-rimi.c void __iomem *ioaddr = lp->mem_start + 0x800; ioaddr 268 drivers/net/arcnet/arc-rimi.c arcnet_writeb(mask, ioaddr, COM9026_REG_W_INTMASK); ioaddr 274 drivers/net/arcnet/arc-rimi.c void __iomem *ioaddr = lp->mem_start + 0x800; ioaddr 276 drivers/net/arcnet/arc-rimi.c return arcnet_readb(ioaddr, COM9026_REG_R_STATUS); ioaddr 282 drivers/net/arcnet/arc-rimi.c void __iomem *ioaddr = lp->mem_start + 0x800; ioaddr 284 drivers/net/arcnet/arc-rimi.c arcnet_writeb(cmd, ioaddr, COM9026_REG_W_COMMAND); ioaddr 52 drivers/net/arcnet/com20020-isa.c int ioaddr; ioaddr 60 drivers/net/arcnet/com20020-isa.c ioaddr = dev->base_addr; ioaddr 61 drivers/net/arcnet/com20020-isa.c if (!ioaddr) { ioaddr 65 drivers/net/arcnet/com20020-isa.c if (!request_region(ioaddr, ARCNET_TOTAL_SIZE, "arcnet (COM20020)")) { ioaddr 67 drivers/net/arcnet/com20020-isa.c ioaddr, ioaddr + ARCNET_TOTAL_SIZE - 1); ioaddr 70 drivers/net/arcnet/com20020-isa.c if (arcnet_inb(ioaddr, COM20020_REG_R_STATUS) == 0xFF) { ioaddr 71 drivers/net/arcnet/com20020-isa.c arc_printk(D_NORMAL, dev, "IO address %x empty\n", ioaddr); ioaddr 86 drivers/net/arcnet/com20020-isa.c arcnet_inb(ioaddr, COM20020_REG_R_STATUS)); ioaddr 87 drivers/net/arcnet/com20020-isa.c arcnet_outb(0, ioaddr, COM20020_REG_W_INTMASK); ioaddr 89 drivers/net/arcnet/com20020-isa.c arcnet_outb(NORXflag, ioaddr, COM20020_REG_W_INTMASK); ioaddr 91 drivers/net/arcnet/com20020-isa.c arcnet_outb(0, ioaddr, COM20020_REG_W_INTMASK); ioaddr 97 drivers/net/arcnet/com20020-isa.c arcnet_outb(NORXflag, ioaddr, COM20020_REG_W_INTMASK); ioaddr 99 drivers/net/arcnet/com20020-isa.c arcnet_outb(0, ioaddr, COM20020_REG_W_INTMASK); ioaddr 118 drivers/net/arcnet/com20020-isa.c release_region(ioaddr, ARCNET_TOTAL_SIZE); ioaddr 127 drivers/net/arcnet/com20020-pci.c int i, ioaddr, ret; ioaddr 145 drivers/net/arcnet/com20020-pci.c ioaddr = pci_resource_start(pdev, mm->bar) + mm->offset; ioaddr 146 drivers/net/arcnet/com20020-pci.c r = devm_request_region(&pdev->dev, ioaddr, mm->size, ioaddr 150 drivers/net/arcnet/com20020-pci.c ioaddr, ioaddr + mm->size - 1); ioaddr 153 drivers/net/arcnet/com20020-pci.c priv->misc = ioaddr; ioaddr 173 drivers/net/arcnet/com20020-pci.c ioaddr = pci_resource_start(pdev, cm->bar) + cm->offset; ioaddr 175 drivers/net/arcnet/com20020-pci.c r = devm_request_region(&pdev->dev, ioaddr, cm->size, ioaddr 179 drivers/net/arcnet/com20020-pci.c ioaddr, ioaddr + cm->size - 1); ioaddr 188 drivers/net/arcnet/com20020-pci.c arcnet_outb(0x00, ioaddr, COM20020_REG_W_COMMAND); ioaddr 189 drivers/net/arcnet/com20020-pci.c arcnet_inb(ioaddr, COM20020_REG_R_DIAGSTAT); ioaddr 192 drivers/net/arcnet/com20020-pci.c dev->base_addr = ioaddr; ioaddr 216 drivers/net/arcnet/com20020-pci.c if (arcnet_inb(ioaddr, COM20020_REG_R_STATUS) == 0xFF) { ioaddr 217 drivers/net/arcnet/com20020-pci.c pr_err("IO address %Xh is empty!\n", ioaddr); ioaddr 65 drivers/net/arcnet/com20020.c int ioaddr = dev->base_addr, ofs = 512 * bufnum + offset; ioaddr 69 drivers/net/arcnet/com20020.c ioaddr, COM20020_REG_W_ADDR_HI); ioaddr 70 drivers/net/arcnet/com20020.c arcnet_outb(ofs & 0xff, ioaddr, COM20020_REG_W_ADDR_LO); ioaddr 74 drivers/net/arcnet/com20020.c arcnet_insb(ioaddr, COM20020_REG_RW_MEMDATA, buf, count)); ioaddr 80 drivers/net/arcnet/com20020.c int ioaddr = dev->base_addr, ofs = 512 * bufnum + offset; ioaddr 83 drivers/net/arcnet/com20020.c arcnet_outb((ofs >> 8) | AUTOINCflag, ioaddr, COM20020_REG_W_ADDR_HI); ioaddr 84 drivers/net/arcnet/com20020.c arcnet_outb(ofs & 0xff, ioaddr, COM20020_REG_W_ADDR_LO); ioaddr 88 drivers/net/arcnet/com20020.c arcnet_outsb(ioaddr, COM20020_REG_RW_MEMDATA, buf, count)); ioaddr 94 drivers/net/arcnet/com20020.c int ioaddr = dev->base_addr, status; ioaddr 97 drivers/net/arcnet/com20020.c arcnet_outb(XTOcfg(3) | RESETcfg, ioaddr, COM20020_REG_W_CONFIG); ioaddr 99 drivers/net/arcnet/com20020.c arcnet_outb(XTOcfg(3), ioaddr, COM20020_REG_W_CONFIG); ioaddr 109 drivers/net/arcnet/com20020.c com20020_set_subaddress(lp, ioaddr, SUB_SETUP1); ioaddr 110 drivers/net/arcnet/com20020.c arcnet_outb(lp->setup, ioaddr, COM20020_REG_W_XREG); ioaddr 113 drivers/net/arcnet/com20020.c com20020_set_subaddress(lp, ioaddr, SUB_SETUP2); ioaddr 114 drivers/net/arcnet/com20020.c arcnet_outb(lp->setup2, ioaddr, COM20020_REG_W_XREG); ioaddr 118 drivers/net/arcnet/com20020.c arcnet_outb(STARTIOcmd, ioaddr, COM20020_REG_W_COMMAND); ioaddr 123 drivers/net/arcnet/com20020.c arcnet_outb(lp->config, ioaddr, COM20020_REG_W_CONFIG); ioaddr 124 drivers/net/arcnet/com20020.c arcnet_outb(0x42, ioaddr, COM20020_REG_W_XREG); ioaddr 126 drivers/net/arcnet/com20020.c status = arcnet_inb(ioaddr, COM20020_REG_R_STATUS); ioaddr 135 drivers/net/arcnet/com20020.c ioaddr, COM20020_REG_W_COMMAND); ioaddr 136 drivers/net/arcnet/com20020.c status = arcnet_inb(ioaddr, COM20020_REG_R_STATUS); ioaddr 142 drivers/net/arcnet/com20020.c ioaddr, COM20020_REG_W_ADDR_HI); ioaddr 143 drivers/net/arcnet/com20020.c arcnet_outb(0, ioaddr, COM20020_REG_W_ADDR_LO); ioaddr 145 drivers/net/arcnet/com20020.c status = arcnet_inb(ioaddr, COM20020_REG_RW_MEMDATA); ioaddr 156 drivers/net/arcnet/com20020.c int ioaddr = dev->base_addr; ioaddr 161 drivers/net/arcnet/com20020.c com20020_set_subaddress(lp, ioaddr, SUB_NODE); ioaddr 162 drivers/net/arcnet/com20020.c arcnet_outb(dev->dev_addr[0], ioaddr, COM20020_REG_W_XREG); ioaddr 169 drivers/net/arcnet/com20020.c int ioaddr = dev->base_addr; ioaddr 173 drivers/net/arcnet/com20020.c arcnet_outb(lp->config, ioaddr, COM20020_REG_W_CONFIG); ioaddr 180 drivers/net/arcnet/com20020.c int ioaddr = dev->base_addr; ioaddr 187 drivers/net/arcnet/com20020.c arcnet_outb(lp->config, ioaddr, COM20020_REG_W_CONFIG); ioaddr 206 drivers/net/arcnet/com20020.c int ioaddr = dev->base_addr; ioaddr 223 drivers/net/arcnet/com20020.c dev->dev_addr[0] = arcnet_inb(ioaddr, 8); ioaddr 225 drivers/net/arcnet/com20020.c com20020_set_subaddress(lp, ioaddr, SUB_SETUP1); ioaddr 226 drivers/net/arcnet/com20020.c arcnet_outb(lp->setup, ioaddr, COM20020_REG_W_XREG); ioaddr 229 drivers/net/arcnet/com20020.c com20020_set_subaddress(lp, ioaddr, SUB_SETUP2); ioaddr 230 drivers/net/arcnet/com20020.c arcnet_outb(lp->setup2, ioaddr, COM20020_REG_W_XREG); ioaddr 234 drivers/net/arcnet/com20020.c arcnet_outb(STARTIOcmd, ioaddr, COM20020_REG_W_COMMAND); ioaddr 239 drivers/net/arcnet/com20020.c arcnet_outb(lp->config, ioaddr, COM20020_REG_W_CONFIG); ioaddr 240 drivers/net/arcnet/com20020.c arcnet_outb(dev->dev_addr[0], ioaddr, COM20020_REG_W_XREG); ioaddr 285 drivers/net/arcnet/com20020.c u_int ioaddr = dev->base_addr; ioaddr 291 drivers/net/arcnet/com20020.c dev->name, arcnet_inb(ioaddr, COM20020_REG_R_STATUS)); ioaddr 296 drivers/net/arcnet/com20020.c arcnet_outb(lp->config, ioaddr, COM20020_REG_W_CONFIG); ioaddr 301 drivers/net/arcnet/com20020.c arcnet_outb(lp->config | RESETcfg, ioaddr, COM20020_REG_W_CONFIG); ioaddr 303 drivers/net/arcnet/com20020.c arcnet_outb(lp->config, ioaddr, COM20020_REG_W_CONFIG); ioaddr 310 drivers/net/arcnet/com20020.c ioaddr, COM20020_REG_W_COMMAND); ioaddr 324 drivers/net/arcnet/com20020.c arcnet_outb(CONFIGcmd | EXTconf, ioaddr, COM20020_REG_W_COMMAND); ioaddr 334 drivers/net/arcnet/com20020.c u_int ioaddr = dev->base_addr; ioaddr 336 drivers/net/arcnet/com20020.c arc_printk(D_DURING, dev, "Setting mask to %x at %x\n", mask, ioaddr); ioaddr 337 drivers/net/arcnet/com20020.c arcnet_outb(mask, ioaddr, COM20020_REG_W_INTMASK); ioaddr 342 drivers/net/arcnet/com20020.c u_int ioaddr = dev->base_addr; ioaddr 344 drivers/net/arcnet/com20020.c arcnet_outb(cmd, ioaddr, COM20020_REG_W_COMMAND); ioaddr 349 drivers/net/arcnet/com20020.c u_int ioaddr = dev->base_addr; ioaddr 351 drivers/net/arcnet/com20020.c return arcnet_inb(ioaddr, COM20020_REG_R_STATUS) + ioaddr 352 drivers/net/arcnet/com20020.c (arcnet_inb(ioaddr, COM20020_REG_R_DIAGSTAT) << 8); ioaddr 358 drivers/net/arcnet/com20020.c int ioaddr = dev->base_addr; ioaddr 362 drivers/net/arcnet/com20020.c arcnet_outb(lp->config, ioaddr, COM20020_REG_W_CONFIG); ioaddr 375 drivers/net/arcnet/com20020.c int ioaddr = dev->base_addr; ioaddr 381 drivers/net/arcnet/com20020.c com20020_set_subaddress(lp, ioaddr, SUB_SETUP1); ioaddr 383 drivers/net/arcnet/com20020.c arcnet_outb(lp->setup, ioaddr, COM20020_REG_W_XREG); ioaddr 388 drivers/net/arcnet/com20020.c com20020_set_subaddress(lp, ioaddr, SUB_SETUP1); ioaddr 390 drivers/net/arcnet/com20020.c arcnet_outb(lp->setup, ioaddr, COM20020_REG_W_XREG); ioaddr 122 drivers/net/arcnet/com20020.h int ioaddr, int val) ioaddr 126 drivers/net/arcnet/com20020.h arcnet_outb(lp->config, ioaddr, COM20020_REG_W_CONFIG); ioaddr 128 drivers/net/arcnet/com20020.h arcnet_outb(val, ioaddr, COM20020_REG_W_SUBADR); ioaddr 55 drivers/net/arcnet/com20020_cs.c int ioaddr = dev->base_addr; ioaddr 61 drivers/net/arcnet/com20020_cs.c pr_cont("%04X:", ioaddr + count); ioaddr 62 drivers/net/arcnet/com20020_cs.c pr_cont(" %02X", arcnet_inb(ioaddr, count)); ioaddr 70 drivers/net/arcnet/com20020_cs.c ioaddr, com20020_REG_W_ADDR_HI); ioaddr 71 drivers/net/arcnet/com20020_cs.c arcnet_outb(count & 0xff, ioaddr, COM20020_REG_W_ADDR_LO); ioaddr 78 drivers/net/arcnet/com20020_cs.c pr_cont(" %02X", arcnet_inb(ioaddr, COM20020_REG_RW_MEMDATA)); ioaddr 194 drivers/net/arcnet/com20020_cs.c int ioaddr; ioaddr 210 drivers/net/arcnet/com20020_cs.c for (ioaddr = 0x100; ioaddr < 0x400; ioaddr += 0x10) { ioaddr 211 drivers/net/arcnet/com20020_cs.c link->resource[0]->start = ioaddr; ioaddr 225 drivers/net/arcnet/com20020_cs.c ioaddr = dev->base_addr = link->resource[0]->start; ioaddr 226 drivers/net/arcnet/com20020_cs.c dev_dbg(&link->dev, "got ioaddr %Xh\n", ioaddr); ioaddr 293 drivers/net/arcnet/com20020_cs.c int ioaddr = dev->base_addr; ioaddr 296 drivers/net/arcnet/com20020_cs.c arcnet_outb(lp->config | 0x80, ioaddr, COM20020_REG_W_CONFIG); ioaddr 298 drivers/net/arcnet/com20020_cs.c arcnet_outb(lp->config, ioaddr, COM20020_REG_W_CONFIG); ioaddr 73 drivers/net/arcnet/com90io.c int ioaddr = dev->base_addr; ioaddr 75 drivers/net/arcnet/com90io.c arcnet_outb(offset >> 8, ioaddr, COM9026_REG_W_ADDR_HI); ioaddr 76 drivers/net/arcnet/com90io.c arcnet_outb(offset & 0xff, ioaddr, COM9026_REG_W_ADDR_LO); ioaddr 78 drivers/net/arcnet/com90io.c return arcnet_inb(ioaddr, COM9026_REG_RW_MEMDATA); ioaddr 85 drivers/net/arcnet/com90io.c int ioaddr = dev->base_addr; ioaddr 87 drivers/net/arcnet/com90io.c arcnet_outb(offset >> 8, ioaddr, COM9026_REG_W_ADDR_HI); ioaddr 88 drivers/net/arcnet/com90io.c arcnet_outb(offset & 0xff, ioaddr, COM9026_REG_W_ADDR_LO); ioaddr 90 drivers/net/arcnet/com90io.c arcnet_outb(datum, ioaddr, COM9026_REG_RW_MEMDATA); ioaddr 98 drivers/net/arcnet/com90io.c int ioaddr = dev->base_addr; ioaddr 100 drivers/net/arcnet/com90io.c arcnet_outb((offset >> 8) | AUTOINCflag, ioaddr, COM9026_REG_W_ADDR_HI); ioaddr 101 drivers/net/arcnet/com90io.c arcnet_outb(offset & 0xff, ioaddr, COM9026_REG_W_ADDR_LO); ioaddr 107 drivers/net/arcnet/com90io.c *(dest++) = arcnet_inb(ioaddr, COM9026_REG_RW_MEMDATA); ioaddr 114 drivers/net/arcnet/com90io.c int ioaddr = dev->base_addr; ioaddr 116 drivers/net/arcnet/com90io.c arcnet_outb((offset >> 8) | AUTOINCflag, ioaddr, COM9026_REG_W_ADDR_HI); ioaddr 117 drivers/net/arcnet/com90io.c arcnet_outb(offset & 0xff, ioaddr,COM9026_REG_W_ADDR_LO); ioaddr 123 drivers/net/arcnet/com90io.c arcnet_outb(*(dest++), ioaddr, COM9026_REG_RW_MEMDATA); ioaddr 132 drivers/net/arcnet/com90io.c int ioaddr = dev->base_addr, status; ioaddr 140 drivers/net/arcnet/com90io.c if (!ioaddr) { ioaddr 144 drivers/net/arcnet/com90io.c if (!request_region(ioaddr, ARCNET_TOTAL_SIZE, "com90io probe")) { ioaddr 146 drivers/net/arcnet/com90io.c ioaddr, ioaddr + ARCNET_TOTAL_SIZE - 1); ioaddr 149 drivers/net/arcnet/com90io.c if (arcnet_inb(ioaddr, COM9026_REG_R_STATUS) == 0xFF) { ioaddr 151 drivers/net/arcnet/com90io.c ioaddr); ioaddr 154 drivers/net/arcnet/com90io.c arcnet_inb(ioaddr, COM9026_REG_R_RESET); ioaddr 157 drivers/net/arcnet/com90io.c status = arcnet_inb(ioaddr, COM9026_REG_R_STATUS); ioaddr 167 drivers/net/arcnet/com90io.c ioaddr, COM9026_REG_W_COMMAND); ioaddr 172 drivers/net/arcnet/com90io.c status = arcnet_inb(ioaddr, COM9026_REG_R_STATUS); ioaddr 180 drivers/net/arcnet/com90io.c ioaddr, COM9026_REG_RW_CONFIG); ioaddr 184 drivers/net/arcnet/com90io.c arcnet_outb(AUTOINCflag, ioaddr, COM9026_REG_W_ADDR_HI); ioaddr 185 drivers/net/arcnet/com90io.c arcnet_outb(0, ioaddr, COM9026_REG_W_ADDR_LO); ioaddr 187 drivers/net/arcnet/com90io.c status = arcnet_inb(ioaddr, COM9026_REG_RW_MEMDATA); ioaddr 200 drivers/net/arcnet/com90io.c arcnet_outb(NORXflag, ioaddr, COM9026_REG_W_INTMASK); ioaddr 202 drivers/net/arcnet/com90io.c arcnet_outb(0, ioaddr, COM9026_REG_W_INTMASK); ioaddr 210 drivers/net/arcnet/com90io.c release_region(ioaddr, ARCNET_TOTAL_SIZE); /* end of probing */ ioaddr 214 drivers/net/arcnet/com90io.c release_region(ioaddr, ARCNET_TOTAL_SIZE); ioaddr 224 drivers/net/arcnet/com90io.c int ioaddr = dev->base_addr; ioaddr 251 drivers/net/arcnet/com90io.c arcnet_outb(lp->config, ioaddr, COM9026_REG_RW_CONFIG); ioaddr 259 drivers/net/arcnet/com90io.c arcnet_outb(arcnet_inb(ioaddr, COM9026_REG_RW_CONFIG) & ~IOMAPflag, ioaddr 260 drivers/net/arcnet/com90io.c ioaddr, COM9026_REG_RW_CONFIG); ioaddr 282 drivers/net/arcnet/com90io.c short ioaddr = dev->base_addr; ioaddr 285 drivers/net/arcnet/com90io.c dev->name, arcnet_inb(ioaddr, COM9026_REG_R_STATUS)); ioaddr 289 drivers/net/arcnet/com90io.c arcnet_inb(ioaddr, COM9026_REG_R_RESET); ioaddr 294 drivers/net/arcnet/com90io.c arcnet_outb(lp->config, ioaddr, COM9026_REG_RW_CONFIG); ioaddr 296 drivers/net/arcnet/com90io.c arcnet_outb(CFLAGScmd | RESETclear, ioaddr, COM9026_REG_W_COMMAND); ioaddr 298 drivers/net/arcnet/com90io.c arcnet_outb(CFLAGScmd | CONFIGclear, ioaddr, COM9026_REG_W_COMMAND); ioaddr 306 drivers/net/arcnet/com90io.c arcnet_outb(CONFIGcmd | EXTconf, ioaddr, COM9026_REG_W_COMMAND); ioaddr 313 drivers/net/arcnet/com90io.c short ioaddr = dev->base_addr; ioaddr 315 drivers/net/arcnet/com90io.c arcnet_outb(cmd, ioaddr, COM9026_REG_W_COMMAND); ioaddr 320 drivers/net/arcnet/com90io.c short ioaddr = dev->base_addr; ioaddr 322 drivers/net/arcnet/com90io.c return arcnet_inb(ioaddr, COM9026_REG_R_STATUS); ioaddr 327 drivers/net/arcnet/com90io.c short ioaddr = dev->base_addr; ioaddr 329 drivers/net/arcnet/com90io.c arcnet_outb(mask, ioaddr, COM9026_REG_W_INTMASK); ioaddr 410 drivers/net/arcnet/com90io.c int ioaddr = dev->base_addr; ioaddr 417 drivers/net/arcnet/com90io.c arcnet_outb(arcnet_inb(ioaddr, COM9026_REG_RW_CONFIG) & ~IOMAPflag, ioaddr 418 drivers/net/arcnet/com90io.c ioaddr, COM9026_REG_RW_CONFIG); ioaddr 58 drivers/net/arcnet/com90xx.c static int com90xx_found(int ioaddr, int airq, u_long shmem, void __iomem *); ioaddr 98 drivers/net/arcnet/com90xx.c int count, status, ioaddr, numprint, airq, openparen = 0; ioaddr 150 drivers/net/arcnet/com90xx.c ioaddr = *port; ioaddr 161 drivers/net/arcnet/com90xx.c if (arcnet_inb(ioaddr, COM9026_REG_R_STATUS) == 0xFF) { ioaddr 171 drivers/net/arcnet/com90xx.c arcnet_inb(ioaddr, COM9026_REG_R_RESET); ioaddr 311 drivers/net/arcnet/com90xx.c ioaddr = *port; ioaddr 312 drivers/net/arcnet/com90xx.c status = arcnet_inb(ioaddr, COM9026_REG_R_STATUS); ioaddr 325 drivers/net/arcnet/com90xx.c ioaddr, COM9026_REG_W_COMMAND); ioaddr 326 drivers/net/arcnet/com90xx.c status = arcnet_inb(ioaddr, COM9026_REG_R_STATUS); ioaddr 346 drivers/net/arcnet/com90xx.c arcnet_outb(NORXflag, ioaddr, COM9026_REG_W_INTMASK); ioaddr 348 drivers/net/arcnet/com90xx.c arcnet_outb(0, ioaddr, COM9026_REG_W_INTMASK); ioaddr 375 drivers/net/arcnet/com90xx.c arcnet_inb(ioaddr, COM9026_REG_R_RESET); ioaddr 383 drivers/net/arcnet/com90xx.c arcnet_inb(ioaddr, COM9026_REG_R_RESET); ioaddr 460 drivers/net/arcnet/com90xx.c static int __init com90xx_found(int ioaddr, int airq, u_long shmem, ioaddr 536 drivers/net/arcnet/com90xx.c dev->base_addr = ioaddr; ioaddr 563 drivers/net/arcnet/com90xx.c short ioaddr = dev->base_addr; ioaddr 565 drivers/net/arcnet/com90xx.c arcnet_outb(cmd, ioaddr, COM9026_REG_W_COMMAND); ioaddr 570 drivers/net/arcnet/com90xx.c short ioaddr = dev->base_addr; ioaddr 572 drivers/net/arcnet/com90xx.c return arcnet_inb(ioaddr, COM9026_REG_R_STATUS); ioaddr 577 drivers/net/arcnet/com90xx.c short ioaddr = dev->base_addr; ioaddr 579 drivers/net/arcnet/com90xx.c arcnet_outb(mask, ioaddr, COM9026_REG_W_INTMASK); ioaddr 592 drivers/net/arcnet/com90xx.c short ioaddr = dev->base_addr; ioaddr 595 drivers/net/arcnet/com90xx.c arcnet_inb(ioaddr, COM9026_REG_R_STATUS)); ioaddr 599 drivers/net/arcnet/com90xx.c arcnet_inb(ioaddr, COM9026_REG_R_RESET); ioaddr 603 drivers/net/arcnet/com90xx.c arcnet_outb(CFLAGScmd | RESETclear, ioaddr, COM9026_REG_W_COMMAND); ioaddr 604 drivers/net/arcnet/com90xx.c arcnet_outb(CFLAGScmd | CONFIGclear, ioaddr, COM9026_REG_W_COMMAND); ioaddr 608 drivers/net/arcnet/com90xx.c arcnet_outb(arcnet_inb(ioaddr, COM9026_REG_RW_CONFIG) | ENABLE16flag, ioaddr 609 drivers/net/arcnet/com90xx.c ioaddr, COM9026_REG_RW_CONFIG); ioaddr 619 drivers/net/arcnet/com90xx.c arcnet_outb(CONFIGcmd | EXTconf, ioaddr, COM9026_REG_W_COMMAND); ioaddr 120 drivers/net/ethernet/3com/3c509.c #define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD) ioaddr 190 drivers/net/ethernet/3com/3c509.c static ushort read_eeprom(int ioaddr, int index); ioaddr 272 drivers/net/ethernet/3com/3c509.c static void el3_dev_fill(struct net_device *dev, __be16 *phys_addr, int ioaddr, ioaddr 278 drivers/net/ethernet/3com/3c509.c dev->base_addr = ioaddr; ioaddr 287 drivers/net/ethernet/3com/3c509.c int ioaddr, isa_irq, if_port, err; ioaddr 298 drivers/net/ethernet/3com/3c509.c ioaddr = 0x200 + ((iobase & 0x1f) << 4); ioaddr 311 drivers/net/ethernet/3com/3c509.c if (!request_region(ioaddr, EL3_IO_EXTENT, "3c509-isa")) { ioaddr 320 drivers/net/ethernet/3com/3c509.c outb((ioaddr >> 4) | 0xe0, id_port); ioaddr 323 drivers/net/ethernet/3com/3c509.c if (inw(ioaddr) != 0x6d50) { ioaddr 329 drivers/net/ethernet/3com/3c509.c outw(0x0f00, ioaddr + WN0_IRQ); ioaddr 331 drivers/net/ethernet/3com/3c509.c el3_dev_fill(dev, phys_addr, ioaddr, isa_irq, if_port, EL3_ISA); ioaddr 361 drivers/net/ethernet/3com/3c509.c int ioaddr = ndev->base_addr, err; ioaddr 371 drivers/net/ethernet/3com/3c509.c outb((ioaddr >> 4) | 0xe0, id_port); ioaddr 373 drivers/net/ethernet/3com/3c509.c if (inw(ioaddr) != 0x6d50) ioaddr 376 drivers/net/ethernet/3com/3c509.c outw(0x0f00, ioaddr + WN0_IRQ); ioaddr 410 drivers/net/ethernet/3com/3c509.c int ioaddr, irq, if_port; ioaddr 415 drivers/net/ethernet/3com/3c509.c ioaddr = pnp_port_start(pdev, 0); ioaddr 416 drivers/net/ethernet/3com/3c509.c if (!request_region(ioaddr, EL3_IO_EXTENT, "3c509-pnp")) ioaddr 421 drivers/net/ethernet/3com/3c509.c phys_addr[i] = htons(read_eeprom(ioaddr, i)); ioaddr 422 drivers/net/ethernet/3com/3c509.c if_port = read_eeprom(ioaddr, 8) >> 14; ioaddr 425 drivers/net/ethernet/3com/3c509.c release_region(ioaddr, EL3_IO_EXTENT); ioaddr 431 drivers/net/ethernet/3com/3c509.c el3_dev_fill(dev, phys_addr, ioaddr, irq, if_port, EL3_PNP); ioaddr 567 drivers/net/ethernet/3com/3c509.c int ioaddr, irq, if_port; ioaddr 575 drivers/net/ethernet/3com/3c509.c ioaddr = edev->base_addr; ioaddr 577 drivers/net/ethernet/3com/3c509.c if (!request_region(ioaddr, EL3_IO_EXTENT, "3c579-eisa")) ioaddr 581 drivers/net/ethernet/3com/3c509.c outw(SelectWindow | 0, ioaddr + 0xC80 + EL3_CMD); ioaddr 583 drivers/net/ethernet/3com/3c509.c irq = inw(ioaddr + WN0_IRQ) >> 12; ioaddr 584 drivers/net/ethernet/3com/3c509.c if_port = inw(ioaddr + 6)>>14; ioaddr 586 drivers/net/ethernet/3com/3c509.c phys_addr[i] = htons(read_eeprom(ioaddr, i)); ioaddr 589 drivers/net/ethernet/3com/3c509.c read_eeprom(ioaddr, 3); ioaddr 593 drivers/net/ethernet/3com/3c509.c release_region(ioaddr, EL3_IO_EXTENT); ioaddr 600 drivers/net/ethernet/3com/3c509.c el3_dev_fill(dev, phys_addr, ioaddr, irq, if_port, EL3_EISA); ioaddr 631 drivers/net/ethernet/3com/3c509.c static ushort read_eeprom(int ioaddr, int index) ioaddr 633 drivers/net/ethernet/3com/3c509.c outw(EEPROM_READ + index, ioaddr + 10); ioaddr 637 drivers/net/ethernet/3com/3c509.c return inw(ioaddr + 12); ioaddr 666 drivers/net/ethernet/3com/3c509.c int ioaddr = dev->base_addr; ioaddr 669 drivers/net/ethernet/3com/3c509.c outw(TxReset, ioaddr + EL3_CMD); ioaddr 670 drivers/net/ethernet/3com/3c509.c outw(RxReset, ioaddr + EL3_CMD); ioaddr 671 drivers/net/ethernet/3com/3c509.c outw(SetStatusEnb | 0x00, ioaddr + EL3_CMD); ioaddr 680 drivers/net/ethernet/3com/3c509.c dev->irq, ioaddr + EL3_STATUS, inw(ioaddr + EL3_STATUS)); ioaddr 686 drivers/net/ethernet/3com/3c509.c dev->name, dev->irq, inw(ioaddr + EL3_STATUS)); ioaddr 694 drivers/net/ethernet/3com/3c509.c int ioaddr = dev->base_addr; ioaddr 698 drivers/net/ethernet/3com/3c509.c dev->name, inb(ioaddr + TX_STATUS), inw(ioaddr + EL3_STATUS), ioaddr 699 drivers/net/ethernet/3com/3c509.c inw(ioaddr + TX_FREE)); ioaddr 703 drivers/net/ethernet/3com/3c509.c outw(TxReset, ioaddr + EL3_CMD); ioaddr 704 drivers/net/ethernet/3com/3c509.c outw(TxEnable, ioaddr + EL3_CMD); ioaddr 713 drivers/net/ethernet/3com/3c509.c int ioaddr = dev->base_addr; ioaddr 722 drivers/net/ethernet/3com/3c509.c dev->name, skb->len, inw(ioaddr + EL3_STATUS)); ioaddr 738 drivers/net/ethernet/3com/3c509.c outw(skb->len, ioaddr + TX_FIFO); ioaddr 739 drivers/net/ethernet/3com/3c509.c outw(0x00, ioaddr + TX_FIFO); ioaddr 741 drivers/net/ethernet/3com/3c509.c outsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2); ioaddr 743 drivers/net/ethernet/3com/3c509.c if (inw(ioaddr + TX_FREE) > 1536) ioaddr 747 drivers/net/ethernet/3com/3c509.c outw(SetTxThreshold + 1536, ioaddr + EL3_CMD); ioaddr 758 drivers/net/ethernet/3com/3c509.c while (--i > 0 && (tx_status = inb(ioaddr + TX_STATUS)) > 0) { ioaddr 760 drivers/net/ethernet/3com/3c509.c if (tx_status & 0x30) outw(TxReset, ioaddr + EL3_CMD); ioaddr 761 drivers/net/ethernet/3com/3c509.c if (tx_status & 0x3C) outw(TxEnable, ioaddr + EL3_CMD); ioaddr 762 drivers/net/ethernet/3com/3c509.c outb(0x00, ioaddr + TX_STATUS); /* Pop the status stack. */ ioaddr 774 drivers/net/ethernet/3com/3c509.c int ioaddr, status; ioaddr 780 drivers/net/ethernet/3com/3c509.c ioaddr = dev->base_addr; ioaddr 783 drivers/net/ethernet/3com/3c509.c status = inw(ioaddr + EL3_STATUS); ioaddr 787 drivers/net/ethernet/3com/3c509.c while ((status = inw(ioaddr + EL3_STATUS)) & ioaddr 797 drivers/net/ethernet/3com/3c509.c outw(AckIntr | TxAvailable, ioaddr + EL3_CMD); ioaddr 806 drivers/net/ethernet/3com/3c509.c outw(AckIntr | RxEarly, ioaddr + EL3_CMD); ioaddr 812 drivers/net/ethernet/3com/3c509.c while (--i>0 && (tx_status = inb(ioaddr + TX_STATUS)) > 0) { ioaddr 814 drivers/net/ethernet/3com/3c509.c if (tx_status & 0x30) outw(TxReset, ioaddr + EL3_CMD); ioaddr 815 drivers/net/ethernet/3com/3c509.c if (tx_status & 0x3C) outw(TxEnable, ioaddr + EL3_CMD); ioaddr 816 drivers/net/ethernet/3com/3c509.c outb(0x00, ioaddr + TX_STATUS); /* Pop the status stack. */ ioaddr 821 drivers/net/ethernet/3com/3c509.c outw(RxReset, ioaddr + EL3_CMD); ioaddr 826 drivers/net/ethernet/3com/3c509.c ioaddr + EL3_CMD); ioaddr 827 drivers/net/ethernet/3com/3c509.c outw(RxEnable, ioaddr + EL3_CMD); /* Re-enable the receiver. */ ioaddr 828 drivers/net/ethernet/3com/3c509.c outw(AckIntr | AdapterFailure, ioaddr + EL3_CMD); ioaddr 836 drivers/net/ethernet/3com/3c509.c outw(AckIntr | 0xFF, ioaddr + EL3_CMD); ioaddr 840 drivers/net/ethernet/3com/3c509.c outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); /* Ack IRQ */ ioaddr 845 drivers/net/ethernet/3com/3c509.c inw(ioaddr + EL3_STATUS)); ioaddr 889 drivers/net/ethernet/3com/3c509.c int ioaddr = dev->base_addr; ioaddr 894 drivers/net/ethernet/3com/3c509.c outw(StatsDisable, ioaddr + EL3_CMD); ioaddr 897 drivers/net/ethernet/3com/3c509.c dev->stats.tx_carrier_errors += inb(ioaddr + 0); ioaddr 898 drivers/net/ethernet/3com/3c509.c dev->stats.tx_heartbeat_errors += inb(ioaddr + 1); ioaddr 899 drivers/net/ethernet/3com/3c509.c /* Multiple collisions. */ inb(ioaddr + 2); ioaddr 900 drivers/net/ethernet/3com/3c509.c dev->stats.collisions += inb(ioaddr + 3); ioaddr 901 drivers/net/ethernet/3com/3c509.c dev->stats.tx_window_errors += inb(ioaddr + 4); ioaddr 902 drivers/net/ethernet/3com/3c509.c dev->stats.rx_fifo_errors += inb(ioaddr + 5); ioaddr 903 drivers/net/ethernet/3com/3c509.c dev->stats.tx_packets += inb(ioaddr + 6); ioaddr 904 drivers/net/ethernet/3com/3c509.c /* Rx packets */ inb(ioaddr + 7); ioaddr 905 drivers/net/ethernet/3com/3c509.c /* Tx deferrals */ inb(ioaddr + 8); ioaddr 906 drivers/net/ethernet/3com/3c509.c inw(ioaddr + 10); /* Total Rx and Tx octets. */ ioaddr 907 drivers/net/ethernet/3com/3c509.c inw(ioaddr + 12); ioaddr 911 drivers/net/ethernet/3com/3c509.c outw(StatsEnable, ioaddr + EL3_CMD); ioaddr 917 drivers/net/ethernet/3com/3c509.c int ioaddr = dev->base_addr; ioaddr 922 drivers/net/ethernet/3com/3c509.c inw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS)); ioaddr 923 drivers/net/ethernet/3com/3c509.c while ((rx_status = inw(ioaddr + RX_STATUS)) > 0) { ioaddr 927 drivers/net/ethernet/3com/3c509.c outw(RxDiscard, ioaddr + EL3_CMD); ioaddr 949 drivers/net/ethernet/3com/3c509.c insl(ioaddr + RX_FIFO, skb_put(skb,pkt_len), ioaddr 952 drivers/net/ethernet/3com/3c509.c outw(RxDiscard, ioaddr + EL3_CMD); /* Pop top Rx packet. */ ioaddr 959 drivers/net/ethernet/3com/3c509.c outw(RxDiscard, ioaddr + EL3_CMD); ioaddr 965 drivers/net/ethernet/3com/3c509.c inw(ioaddr + EL3_STATUS); /* Delay. */ ioaddr 966 drivers/net/ethernet/3com/3c509.c while (inw(ioaddr + EL3_STATUS) & 0x1000) ioaddr 968 drivers/net/ethernet/3com/3c509.c inw(ioaddr + EL3_STATUS) ); ioaddr 982 drivers/net/ethernet/3com/3c509.c int ioaddr = dev->base_addr; ioaddr 996 drivers/net/ethernet/3com/3c509.c ioaddr + EL3_CMD); ioaddr 999 drivers/net/ethernet/3com/3c509.c outw(SetRxFilter | RxStation | RxMulticast | RxBroadcast, ioaddr + EL3_CMD); ioaddr 1002 drivers/net/ethernet/3com/3c509.c outw(SetRxFilter | RxStation | RxBroadcast, ioaddr + EL3_CMD); ioaddr 1009 drivers/net/ethernet/3com/3c509.c int ioaddr = dev->base_addr; ioaddr 1024 drivers/net/ethernet/3com/3c509.c outw(0x0f00, ioaddr + WN0_IRQ); ioaddr 1033 drivers/net/ethernet/3com/3c509.c int ioaddr = dev->base_addr; ioaddr 1037 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN4_MEDIA); ioaddr 1046 drivers/net/ethernet/3com/3c509.c int ioaddr = dev->base_addr; ioaddr 1051 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN0_ADDR_CONF); ioaddr 1067 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN0_CONF_CTRL); ioaddr 1076 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN4_NETDIAG); ioaddr 1092 drivers/net/ethernet/3com/3c509.c int ioaddr = dev->base_addr; ioaddr 1102 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN0_ADDR_CONF); ioaddr 1120 drivers/net/ethernet/3com/3c509.c outw(tmp, ioaddr + WN0_ADDR_CONF); ioaddr 1123 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN0_ADDR_CONF); ioaddr 1125 drivers/net/ethernet/3com/3c509.c outw(StartCoax, ioaddr + EL3_CMD); ioaddr 1132 drivers/net/ethernet/3com/3c509.c tmp = inw(ioaddr + WN4_NETDIAG); ioaddr 1137 drivers/net/ethernet/3com/3c509.c outw(tmp, ioaddr + WN4_NETDIAG); ioaddr 1205 drivers/net/ethernet/3com/3c509.c int ioaddr = dev->base_addr; ioaddr 1210 drivers/net/ethernet/3com/3c509.c outw(StatsDisable, ioaddr + EL3_CMD); ioaddr 1213 drivers/net/ethernet/3com/3c509.c outw(RxDisable, ioaddr + EL3_CMD); ioaddr 1214 drivers/net/ethernet/3com/3c509.c outw(TxDisable, ioaddr + EL3_CMD); ioaddr 1218 drivers/net/ethernet/3com/3c509.c outw(StopCoax, ioaddr + EL3_CMD); ioaddr 1222 drivers/net/ethernet/3com/3c509.c outw(inw(ioaddr + WN4_MEDIA) & ~MEDIA_TP, ioaddr + WN4_MEDIA); ioaddr 1225 drivers/net/ethernet/3com/3c509.c outw(SetIntrEnb | 0x0000, ioaddr + EL3_CMD); ioaddr 1234 drivers/net/ethernet/3com/3c509.c int ioaddr = dev->base_addr; ioaddr 1237 drivers/net/ethernet/3com/3c509.c outw(0x0001, ioaddr + 4); ioaddr 1240 drivers/net/ethernet/3com/3c509.c outw((dev->irq << 12) | 0x0f00, ioaddr + WN0_IRQ); ioaddr 1246 drivers/net/ethernet/3com/3c509.c outb(dev->dev_addr[i], ioaddr + i); ioaddr 1250 drivers/net/ethernet/3com/3c509.c outw(StartCoax, ioaddr + EL3_CMD); ioaddr 1255 drivers/net/ethernet/3com/3c509.c sw_info = (read_eeprom(ioaddr, 0x14) & 0x400f) | ioaddr 1256 drivers/net/ethernet/3com/3c509.c (read_eeprom(ioaddr, 0x0d) & 0xBff0); ioaddr 1259 drivers/net/ethernet/3com/3c509.c net_diag = inw(ioaddr + WN4_NETDIAG); ioaddr 1283 drivers/net/ethernet/3com/3c509.c outw(net_diag, ioaddr + WN4_NETDIAG); ioaddr 1288 drivers/net/ethernet/3com/3c509.c outw(inw(ioaddr + WN4_MEDIA) | MEDIA_TP, ioaddr + WN4_MEDIA); ioaddr 1292 drivers/net/ethernet/3com/3c509.c outw(StatsDisable, ioaddr + EL3_CMD); ioaddr 1295 drivers/net/ethernet/3com/3c509.c inb(ioaddr + i); ioaddr 1296 drivers/net/ethernet/3com/3c509.c inw(ioaddr + 10); ioaddr 1297 drivers/net/ethernet/3com/3c509.c inw(ioaddr + 12); ioaddr 1303 drivers/net/ethernet/3com/3c509.c outw(SetRxFilter | RxStation | RxBroadcast, ioaddr + EL3_CMD); ioaddr 1304 drivers/net/ethernet/3com/3c509.c outw(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ ioaddr 1306 drivers/net/ethernet/3com/3c509.c outw(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ ioaddr 1307 drivers/net/ethernet/3com/3c509.c outw(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ ioaddr 1309 drivers/net/ethernet/3com/3c509.c outw(SetStatusEnb | 0xff, ioaddr + EL3_CMD); ioaddr 1312 drivers/net/ethernet/3com/3c509.c ioaddr + EL3_CMD); ioaddr 1314 drivers/net/ethernet/3com/3c509.c ioaddr + EL3_CMD); ioaddr 1328 drivers/net/ethernet/3com/3c509.c int ioaddr; ioaddr 1332 drivers/net/ethernet/3com/3c509.c ioaddr = dev->base_addr; ioaddr 1340 drivers/net/ethernet/3com/3c509.c outw(PowerDown, ioaddr + EL3_CMD); ioaddr 1352 drivers/net/ethernet/3com/3c509.c int ioaddr; ioaddr 1356 drivers/net/ethernet/3com/3c509.c ioaddr = dev->base_addr; ioaddr 1360 drivers/net/ethernet/3com/3c509.c outw(PowerUp, ioaddr + EL3_CMD); ioaddr 175 drivers/net/ethernet/3com/3c515.c #define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD) ioaddr 367 drivers/net/ethernet/3com/3c515.c static int corkscrew_setup(struct net_device *dev, int ioaddr, ioaddr 446 drivers/net/ethernet/3com/3c515.c static int check_device(unsigned ioaddr) ioaddr 450 drivers/net/ethernet/3com/3c515.c if (!request_region(ioaddr, CORKSCREW_TOTAL_SIZE, "3c515")) ioaddr 453 drivers/net/ethernet/3com/3c515.c if ((inw(ioaddr + 0x2002) & 0x1f0) != (ioaddr & 0x1f0)) { ioaddr 454 drivers/net/ethernet/3com/3c515.c release_region(ioaddr, CORKSCREW_TOTAL_SIZE); ioaddr 458 drivers/net/ethernet/3com/3c515.c outw(EEPROM_Read + 7, ioaddr + Wn0EepromCmd); ioaddr 462 drivers/net/ethernet/3com/3c515.c if ((inw(ioaddr + Wn0EepromCmd) & 0x0200) == 0) ioaddr 465 drivers/net/ethernet/3com/3c515.c if (inw(ioaddr + Wn0EepromData) != 0x6d50) { ioaddr 466 drivers/net/ethernet/3com/3c515.c release_region(ioaddr, CORKSCREW_TOTAL_SIZE); ioaddr 488 drivers/net/ethernet/3com/3c515.c static int ioaddr; ioaddr 526 drivers/net/ethernet/3com/3c515.c ioaddr = pnp_port_start(idev, 0); ioaddr 528 drivers/net/ethernet/3com/3c515.c if (!check_device(ioaddr)) { ioaddr 534 drivers/net/ethernet/3com/3c515.c (char*) corkscrew_isapnp_adapters[i].driver_data, ioaddr, irq); ioaddr 536 drivers/net/ethernet/3com/3c515.c inl(ioaddr + 0x2002), inw(ioaddr + 0x2000)); ioaddr 540 drivers/net/ethernet/3com/3c515.c err = corkscrew_setup(dev, ioaddr, idev, cards_found++); ioaddr 550 drivers/net/ethernet/3com/3c515.c for (ioaddr = 0x100; ioaddr < 0x400; ioaddr += 0x20) { ioaddr 551 drivers/net/ethernet/3com/3c515.c if (!check_device(ioaddr)) ioaddr 555 drivers/net/ethernet/3com/3c515.c inl(ioaddr + 0x2002), inw(ioaddr + 0x2000)); ioaddr 556 drivers/net/ethernet/3com/3c515.c err = corkscrew_setup(dev, ioaddr, NULL, cards_found++); ioaddr 578 drivers/net/ethernet/3com/3c515.c static int corkscrew_setup(struct net_device *dev, int ioaddr, ioaddr 591 drivers/net/ethernet/3com/3c515.c irq = inw(ioaddr + 0x2002) & 15; ioaddr 594 drivers/net/ethernet/3com/3c515.c irq = inw(ioaddr + 0x2002) & 15; ioaddr 597 drivers/net/ethernet/3com/3c515.c dev->base_addr = ioaddr; ioaddr 599 drivers/net/ethernet/3com/3c515.c dev->dma = inw(ioaddr + 0x2000) & 7; ioaddr 626 drivers/net/ethernet/3com/3c515.c pr_info("%s: 3Com %s at %#3x,", dev->name, vp->product_name, ioaddr); ioaddr 637 drivers/net/ethernet/3com/3c515.c outw(EEPROM_Read + i, ioaddr + Wn0EepromCmd); ioaddr 641 drivers/net/ethernet/3com/3c515.c if ((inw(ioaddr + Wn0EepromCmd) & 0x0200) == 0) ioaddr 644 drivers/net/ethernet/3com/3c515.c eeprom[i] = inw(ioaddr + Wn0EepromData); ioaddr 671 drivers/net/ethernet/3com/3c515.c vp->available_media = inw(ioaddr + Wn3_Options); ioaddr 672 drivers/net/ethernet/3com/3c515.c config = inl(ioaddr + Wn3_Config); ioaddr 675 drivers/net/ethernet/3com/3c515.c config, inw(ioaddr + Wn3_Options)); ioaddr 710 drivers/net/ethernet/3com/3c515.c int ioaddr = dev->base_addr; ioaddr 719 drivers/net/ethernet/3com/3c515.c outb(0x20, ioaddr + Wn3_MAC_Ctrl); /* Set the full-duplex bit. */ ioaddr 720 drivers/net/ethernet/3com/3c515.c config = inl(ioaddr + Wn3_Config); ioaddr 742 drivers/net/ethernet/3com/3c515.c outl(config, ioaddr + Wn3_Config); ioaddr 749 drivers/net/ethernet/3com/3c515.c outw(TxReset, ioaddr + EL3_CMD); ioaddr 751 drivers/net/ethernet/3com/3c515.c if (!(inw(ioaddr + EL3_STATUS) & CmdInProgress)) ioaddr 754 drivers/net/ethernet/3com/3c515.c outw(RxReset, ioaddr + EL3_CMD); ioaddr 757 drivers/net/ethernet/3com/3c515.c if (!(inw(ioaddr + EL3_STATUS) & CmdInProgress)) ioaddr 760 drivers/net/ethernet/3com/3c515.c outw(SetStatusEnb | 0x00, ioaddr + EL3_CMD); ioaddr 783 drivers/net/ethernet/3com/3c515.c dev->name, dev->irq, inw(ioaddr + Wn4_Media)); ioaddr 789 drivers/net/ethernet/3com/3c515.c outb(dev->dev_addr[i], ioaddr + i); ioaddr 791 drivers/net/ethernet/3com/3c515.c outw(0, ioaddr + i); ioaddr 795 drivers/net/ethernet/3com/3c515.c outw(StartCoax, ioaddr + EL3_CMD); ioaddr 797 drivers/net/ethernet/3com/3c515.c outw((inw(ioaddr + Wn4_Media) & ~(Media_10TP | Media_SQE)) | ioaddr 798 drivers/net/ethernet/3com/3c515.c media_tbl[dev->if_port].media_bits, ioaddr + Wn4_Media); ioaddr 801 drivers/net/ethernet/3com/3c515.c outw(StatsDisable, ioaddr + EL3_CMD); ioaddr 804 drivers/net/ethernet/3com/3c515.c inb(ioaddr + i); ioaddr 805 drivers/net/ethernet/3com/3c515.c inw(ioaddr + 10); ioaddr 806 drivers/net/ethernet/3com/3c515.c inw(ioaddr + 12); ioaddr 809 drivers/net/ethernet/3com/3c515.c inb(ioaddr + 12); ioaddr 811 drivers/net/ethernet/3com/3c515.c outw(0x0040, ioaddr + Wn4_NetDiag); ioaddr 839 drivers/net/ethernet/3com/3c515.c outl(isa_virt_to_bus(&vp->rx_ring[0]), ioaddr + UpListPtr); ioaddr 843 drivers/net/ethernet/3com/3c515.c outb(PKT_BUF_SZ >> 8, ioaddr + TxFreeThreshold); /* Room for a packet. */ ioaddr 847 drivers/net/ethernet/3com/3c515.c outl(0, ioaddr + DownListPtr); ioaddr 851 drivers/net/ethernet/3com/3c515.c outw(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ ioaddr 855 drivers/net/ethernet/3com/3c515.c outw(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ ioaddr 856 drivers/net/ethernet/3com/3c515.c outw(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ ioaddr 861 drivers/net/ethernet/3com/3c515.c (vp->bus_master ? DMADone : 0), ioaddr + EL3_CMD); ioaddr 864 drivers/net/ethernet/3com/3c515.c ioaddr + EL3_CMD); ioaddr 867 drivers/net/ethernet/3com/3c515.c ioaddr + EL3_CMD); ioaddr 877 drivers/net/ethernet/3com/3c515.c int ioaddr = dev->base_addr; ioaddr 888 drivers/net/ethernet/3com/3c515.c int old_window = inw(ioaddr + EL3_CMD) >> 13; ioaddr 891 drivers/net/ethernet/3com/3c515.c media_status = inw(ioaddr + Wn4_Media); ioaddr 943 drivers/net/ethernet/3com/3c515.c ioaddr + Wn4_Media); ioaddr 946 drivers/net/ethernet/3com/3c515.c config = inl(ioaddr + Wn3_Config); ioaddr 948 drivers/net/ethernet/3com/3c515.c outl(config, ioaddr + Wn3_Config); ioaddr 951 drivers/net/ethernet/3com/3c515.c ioaddr + EL3_CMD); ioaddr 968 drivers/net/ethernet/3com/3c515.c int ioaddr = dev->base_addr; ioaddr 971 drivers/net/ethernet/3com/3c515.c dev->name, inb(ioaddr + TxStatus), ioaddr 972 drivers/net/ethernet/3com/3c515.c inw(ioaddr + EL3_STATUS)); ioaddr 974 drivers/net/ethernet/3com/3c515.c if ((inb(ioaddr + TxStatus) & 0x88) == 0x88) ioaddr 981 drivers/net/ethernet/3com/3c515.c pr_debug(" Down list %8.8x vs. %p.\n", inl(ioaddr + DownListPtr), ioaddr 990 drivers/net/ethernet/3com/3c515.c outw(TxReset, ioaddr + EL3_CMD); ioaddr 992 drivers/net/ethernet/3com/3c515.c if (!(inw(ioaddr + EL3_STATUS) & CmdInProgress)) ioaddr 994 drivers/net/ethernet/3com/3c515.c outw(TxEnable, ioaddr + EL3_CMD); ioaddr 1005 drivers/net/ethernet/3com/3c515.c int ioaddr = dev->base_addr; ioaddr 1035 drivers/net/ethernet/3com/3c515.c outw(DownStall, ioaddr + EL3_CMD); ioaddr 1038 drivers/net/ethernet/3com/3c515.c if ((inw(ioaddr + EL3_STATUS) & CmdInProgress) == 0) ioaddr 1042 drivers/net/ethernet/3com/3c515.c if (inl(ioaddr + DownListPtr) == 0) { ioaddr 1044 drivers/net/ethernet/3com/3c515.c ioaddr + DownListPtr); ioaddr 1047 drivers/net/ethernet/3com/3c515.c outw(DownUnstall, ioaddr + EL3_CMD); ioaddr 1061 drivers/net/ethernet/3com/3c515.c outl(skb->len, ioaddr + TX_FIFO); ioaddr 1066 drivers/net/ethernet/3com/3c515.c outl((int) (skb->data), ioaddr + Wn7_MasterAddr); ioaddr 1067 drivers/net/ethernet/3com/3c515.c outw((skb->len + 3) & ~3, ioaddr + Wn7_MasterLen); ioaddr 1069 drivers/net/ethernet/3com/3c515.c outw(StartDMADown, ioaddr + EL3_CMD); ioaddr 1073 drivers/net/ethernet/3com/3c515.c outsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2); ioaddr 1075 drivers/net/ethernet/3com/3c515.c if (inw(ioaddr + TxFree) > 1536) { ioaddr 1080 drivers/net/ethernet/3com/3c515.c ioaddr + EL3_CMD); ioaddr 1084 drivers/net/ethernet/3com/3c515.c outsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2); ioaddr 1086 drivers/net/ethernet/3com/3c515.c if (inw(ioaddr + TxFree) > 1536) { ioaddr 1090 drivers/net/ethernet/3com/3c515.c outw(SetTxThreshold + (1536 >> 2), ioaddr + EL3_CMD); ioaddr 1099 drivers/net/ethernet/3com/3c515.c while (--i > 0 && (tx_status = inb(ioaddr + TxStatus)) > 0) { ioaddr 1110 drivers/net/ethernet/3com/3c515.c outw(TxReset, ioaddr + EL3_CMD); ioaddr 1112 drivers/net/ethernet/3com/3c515.c if (!(inw(ioaddr + EL3_STATUS) & CmdInProgress)) ioaddr 1115 drivers/net/ethernet/3com/3c515.c outw(TxEnable, ioaddr + EL3_CMD); ioaddr 1117 drivers/net/ethernet/3com/3c515.c outb(0x00, ioaddr + TxStatus); /* Pop the status stack. */ ioaddr 1131 drivers/net/ethernet/3com/3c515.c int ioaddr, status; ioaddr 1135 drivers/net/ethernet/3com/3c515.c ioaddr = dev->base_addr; ioaddr 1136 drivers/net/ethernet/3com/3c515.c latency = inb(ioaddr + Timer); ioaddr 1140 drivers/net/ethernet/3com/3c515.c status = inw(ioaddr + EL3_STATUS); ioaddr 1169 drivers/net/ethernet/3com/3c515.c outw(AckIntr | TxAvailable, ioaddr + EL3_CMD); ioaddr 1177 drivers/net/ethernet/3com/3c515.c if (inl(ioaddr + DownListPtr) == isa_virt_to_bus(&lp->tx_ring[entry])) ioaddr 1186 drivers/net/ethernet/3com/3c515.c outw(AckIntr | DownComplete, ioaddr + EL3_CMD); ioaddr 1194 drivers/net/ethernet/3com/3c515.c outw(0x1000, ioaddr + Wn7_MasterStatus); /* Ack the event. */ ioaddr 1201 drivers/net/ethernet/3com/3c515.c outw(AckIntr | UpComplete, ioaddr + EL3_CMD); ioaddr 1207 drivers/net/ethernet/3com/3c515.c outw(AckIntr | RxEarly, ioaddr + EL3_CMD); ioaddr 1213 drivers/net/ethernet/3com/3c515.c update_stats(ioaddr, dev); ioaddr 1216 drivers/net/ethernet/3com/3c515.c if (DoneDidThat == 0 && inw(ioaddr + EL3_STATUS) & StatsFull) { ioaddr 1224 drivers/net/ethernet/3com/3c515.c pr_cont(" %2.2x", inb(ioaddr + reg)); ioaddr 1231 drivers/net/ethernet/3com/3c515.c TxComplete, ioaddr + EL3_CMD); ioaddr 1237 drivers/net/ethernet/3com/3c515.c outw(RxReset, ioaddr + EL3_CMD); ioaddr 1240 drivers/net/ethernet/3com/3c515.c outw(RxEnable, ioaddr + EL3_CMD); /* Re-enable the receiver. */ ioaddr 1242 drivers/net/ethernet/3com/3c515.c ioaddr + EL3_CMD); ioaddr 1250 drivers/net/ethernet/3com/3c515.c outw(SetStatusEnb | ((~status) & 0x7FE), ioaddr + EL3_CMD); ioaddr 1251 drivers/net/ethernet/3com/3c515.c outw(AckIntr | 0x7FF, ioaddr + EL3_CMD); ioaddr 1255 drivers/net/ethernet/3com/3c515.c outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); ioaddr 1257 drivers/net/ethernet/3com/3c515.c } while ((status = inw(ioaddr + EL3_STATUS)) & (IntLatch | RxComplete)); ioaddr 1268 drivers/net/ethernet/3com/3c515.c int ioaddr = dev->base_addr; ioaddr 1274 drivers/net/ethernet/3com/3c515.c inw(ioaddr + EL3_STATUS), inw(ioaddr + RxStatus)); ioaddr 1275 drivers/net/ethernet/3com/3c515.c while ((rx_status = inw(ioaddr + RxStatus)) > 0) { ioaddr 1277 drivers/net/ethernet/3com/3c515.c unsigned char rx_error = inb(ioaddr + RxErrors); ioaddr 1304 drivers/net/ethernet/3com/3c515.c insl(ioaddr + RX_FIFO, ioaddr 1307 drivers/net/ethernet/3com/3c515.c outw(RxDiscard, ioaddr + EL3_CMD); /* Pop top Rx packet. */ ioaddr 1314 drivers/net/ethernet/3com/3c515.c if (! (inw(ioaddr + EL3_STATUS) & CmdInProgress)) ioaddr 1320 drivers/net/ethernet/3com/3c515.c outw(RxDiscard, ioaddr + EL3_CMD); ioaddr 1324 drivers/net/ethernet/3com/3c515.c if (!(inw(ioaddr + EL3_STATUS) & CmdInProgress)) ioaddr 1334 drivers/net/ethernet/3com/3c515.c int ioaddr = dev->base_addr; ioaddr 1339 drivers/net/ethernet/3com/3c515.c inw(ioaddr + EL3_STATUS), inw(ioaddr + RxStatus)); ioaddr 1417 drivers/net/ethernet/3com/3c515.c int ioaddr = dev->base_addr; ioaddr 1424 drivers/net/ethernet/3com/3c515.c dev->name, inw(ioaddr + EL3_STATUS), ioaddr 1425 drivers/net/ethernet/3com/3c515.c inb(ioaddr + TxStatus)); ioaddr 1433 drivers/net/ethernet/3com/3c515.c outw(StatsDisable, ioaddr + EL3_CMD); ioaddr 1436 drivers/net/ethernet/3com/3c515.c outw(RxDisable, ioaddr + EL3_CMD); ioaddr 1437 drivers/net/ethernet/3com/3c515.c outw(TxDisable, ioaddr + EL3_CMD); ioaddr 1441 drivers/net/ethernet/3com/3c515.c outw(StopCoax, ioaddr + EL3_CMD); ioaddr 1445 drivers/net/ethernet/3com/3c515.c outw(SetIntrEnb | 0x0000, ioaddr + EL3_CMD); ioaddr 1447 drivers/net/ethernet/3com/3c515.c update_stats(ioaddr, dev); ioaddr 1449 drivers/net/ethernet/3com/3c515.c outl(0, ioaddr + UpListPtr); ioaddr 1457 drivers/net/ethernet/3com/3c515.c outl(0, ioaddr + DownListPtr); ioaddr 1488 drivers/net/ethernet/3com/3c515.c static void update_stats(int ioaddr, struct net_device *dev) ioaddr 1493 drivers/net/ethernet/3com/3c515.c dev->stats.tx_carrier_errors += inb(ioaddr + 0); ioaddr 1494 drivers/net/ethernet/3com/3c515.c dev->stats.tx_heartbeat_errors += inb(ioaddr + 1); ioaddr 1495 drivers/net/ethernet/3com/3c515.c /* Multiple collisions. */ inb(ioaddr + 2); ioaddr 1496 drivers/net/ethernet/3com/3c515.c dev->stats.collisions += inb(ioaddr + 3); ioaddr 1497 drivers/net/ethernet/3com/3c515.c dev->stats.tx_window_errors += inb(ioaddr + 4); ioaddr 1498 drivers/net/ethernet/3com/3c515.c dev->stats.rx_fifo_errors += inb(ioaddr + 5); ioaddr 1499 drivers/net/ethernet/3com/3c515.c dev->stats.tx_packets += inb(ioaddr + 6); ioaddr 1500 drivers/net/ethernet/3com/3c515.c dev->stats.tx_packets += (inb(ioaddr + 9) & 0x30) << 4; ioaddr 1501 drivers/net/ethernet/3com/3c515.c /* Rx packets */ inb(ioaddr + 7); ioaddr 1503 drivers/net/ethernet/3com/3c515.c /* Tx deferrals */ inb(ioaddr + 8); ioaddr 1507 drivers/net/ethernet/3com/3c515.c inw(ioaddr + 10); /* Total Rx and Tx octets. */ ioaddr 1508 drivers/net/ethernet/3com/3c515.c inw(ioaddr + 12); ioaddr 1511 drivers/net/ethernet/3com/3c515.c inb(ioaddr + 12); ioaddr 1523 drivers/net/ethernet/3com/3c515.c int ioaddr = dev->base_addr; ioaddr 1536 drivers/net/ethernet/3com/3c515.c outw(new_mode, ioaddr + EL3_CMD); ioaddr 131 drivers/net/ethernet/3com/3c574_cs.c #define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD) ioaddr 220 drivers/net/ethernet/3com/3c574_cs.c static void mdio_sync(unsigned int ioaddr, int bits); ioaddr 221 drivers/net/ethernet/3com/3c574_cs.c static int mdio_read(unsigned int ioaddr, int phy_id, int location); ioaddr 222 drivers/net/ethernet/3com/3c574_cs.c static void mdio_write(unsigned int ioaddr, int phy_id, int location, ioaddr 224 drivers/net/ethernet/3com/3c574_cs.c static unsigned short read_eeprom(unsigned int ioaddr, int index); ioaddr 308 drivers/net/ethernet/3com/3c574_cs.c unsigned int ioaddr; ioaddr 341 drivers/net/ethernet/3com/3c574_cs.c ioaddr = dev->base_addr; ioaddr 356 drivers/net/ethernet/3com/3c574_cs.c phys_addr[i] = htons(read_eeprom(ioaddr, i + 10)); ioaddr 370 drivers/net/ethernet/3com/3c574_cs.c outw(2<<11, ioaddr + RunnerRdCtrl); ioaddr 371 drivers/net/ethernet/3com/3c574_cs.c mcr = inb(ioaddr + 2); ioaddr 372 drivers/net/ethernet/3com/3c574_cs.c outw(0<<11, ioaddr + RunnerRdCtrl); ioaddr 375 drivers/net/ethernet/3com/3c574_cs.c config = inl(ioaddr + Wn3_Config); ioaddr 386 drivers/net/ethernet/3com/3c574_cs.c outw(0x8040, ioaddr + Wn3_Options); ioaddr 388 drivers/net/ethernet/3com/3c574_cs.c outw(0xc040, ioaddr + Wn3_Options); ioaddr 392 drivers/net/ethernet/3com/3c574_cs.c outw(0x8040, ioaddr + Wn3_Options); ioaddr 397 drivers/net/ethernet/3com/3c574_cs.c mdio_sync(ioaddr, 32); ioaddr 398 drivers/net/ethernet/3com/3c574_cs.c mii_status = mdio_read(ioaddr, phy & 0x1f, 1); ioaddr 413 drivers/net/ethernet/3com/3c574_cs.c i = mdio_read(ioaddr, lp->phys, 16) | 0x40; ioaddr 414 drivers/net/ethernet/3com/3c574_cs.c mdio_write(ioaddr, lp->phys, 16, i); ioaddr 415 drivers/net/ethernet/3com/3c574_cs.c lp->advertising = mdio_read(ioaddr, lp->phys, 4); ioaddr 419 drivers/net/ethernet/3com/3c574_cs.c mdio_write(ioaddr, lp->phys, 4, lp->advertising); ioaddr 474 drivers/net/ethernet/3com/3c574_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 477 drivers/net/ethernet/3com/3c574_cs.c inw(ioaddr+EL3_STATUS), ioaddr 478 drivers/net/ethernet/3com/3c574_cs.c inw(ioaddr+RxStatus), inb(ioaddr+TxStatus), ioaddr 479 drivers/net/ethernet/3com/3c574_cs.c inw(ioaddr+TxFree)); ioaddr 482 drivers/net/ethernet/3com/3c574_cs.c inw(ioaddr+0x04), inw(ioaddr+0x06), ioaddr 483 drivers/net/ethernet/3com/3c574_cs.c inw(ioaddr+0x08), inw(ioaddr+0x0a)); ioaddr 503 drivers/net/ethernet/3com/3c574_cs.c static unsigned short read_eeprom(unsigned int ioaddr, int index) ioaddr 506 drivers/net/ethernet/3com/3c574_cs.c outw(EEPROM_Read + index, ioaddr + Wn0EepromCmd); ioaddr 509 drivers/net/ethernet/3com/3c574_cs.c if ((inw(ioaddr + Wn0EepromCmd) & 0x8000) == 0) ioaddr 512 drivers/net/ethernet/3com/3c574_cs.c return inw(ioaddr + Wn0EepromData); ioaddr 531 drivers/net/ethernet/3com/3c574_cs.c static void mdio_sync(unsigned int ioaddr, int bits) ioaddr 533 drivers/net/ethernet/3com/3c574_cs.c unsigned int mdio_addr = ioaddr + Wn4_PhysicalMgmt; ioaddr 542 drivers/net/ethernet/3com/3c574_cs.c static int mdio_read(unsigned int ioaddr, int phy_id, int location) ioaddr 547 drivers/net/ethernet/3com/3c574_cs.c unsigned int mdio_addr = ioaddr + Wn4_PhysicalMgmt; ioaddr 550 drivers/net/ethernet/3com/3c574_cs.c mdio_sync(ioaddr, 32); ioaddr 567 drivers/net/ethernet/3com/3c574_cs.c static void mdio_write(unsigned int ioaddr, int phy_id, int location, int value) ioaddr 570 drivers/net/ethernet/3com/3c574_cs.c unsigned int mdio_addr = ioaddr + Wn4_PhysicalMgmt; ioaddr 574 drivers/net/ethernet/3com/3c574_cs.c mdio_sync(ioaddr, 32); ioaddr 594 drivers/net/ethernet/3com/3c574_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 601 drivers/net/ethernet/3com/3c574_cs.c outw(0, ioaddr + RunnerWrCtrl); ioaddr 602 drivers/net/ethernet/3com/3c574_cs.c outw(0, ioaddr + RunnerRdCtrl); ioaddr 607 drivers/net/ethernet/3com/3c574_cs.c outb(dev->dev_addr[i], ioaddr + i); ioaddr 609 drivers/net/ethernet/3com/3c574_cs.c outw(0, ioaddr + i); ioaddr 613 drivers/net/ethernet/3com/3c574_cs.c outb((dev->mtu > 1500 ? 0x40 : 0), ioaddr + Wn3_MAC_Ctrl); ioaddr 615 drivers/net/ethernet/3com/3c574_cs.c ioaddr + Wn3_Config); ioaddr 617 drivers/net/ethernet/3com/3c574_cs.c outw(0x8040, ioaddr + Wn3_Options); ioaddr 619 drivers/net/ethernet/3com/3c574_cs.c outw(0xc040, ioaddr + Wn3_Options); ioaddr 628 drivers/net/ethernet/3com/3c574_cs.c outw(0x8040, ioaddr + Wn3_Options); ioaddr 631 drivers/net/ethernet/3com/3c574_cs.c outw(StatsDisable, ioaddr + EL3_CMD); ioaddr 634 drivers/net/ethernet/3com/3c574_cs.c inb(ioaddr + i); ioaddr 635 drivers/net/ethernet/3com/3c574_cs.c inw(ioaddr + 10); ioaddr 636 drivers/net/ethernet/3com/3c574_cs.c inw(ioaddr + 12); ioaddr 638 drivers/net/ethernet/3com/3c574_cs.c inb(ioaddr + 12); ioaddr 639 drivers/net/ethernet/3com/3c574_cs.c inb(ioaddr + 13); ioaddr 642 drivers/net/ethernet/3com/3c574_cs.c outw(0x0040, ioaddr + Wn4_NetDiag); ioaddr 648 drivers/net/ethernet/3com/3c574_cs.c mdio_sync(ioaddr, 32); ioaddr 649 drivers/net/ethernet/3com/3c574_cs.c mdio_write(ioaddr, lp->phys, 4, lp->advertising); ioaddr 652 drivers/net/ethernet/3com/3c574_cs.c i = mdio_read(ioaddr, lp->phys, 16) | 0x20; ioaddr 653 drivers/net/ethernet/3com/3c574_cs.c mdio_write(ioaddr, lp->phys, 16, i); ioaddr 660 drivers/net/ethernet/3com/3c574_cs.c outw(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ ioaddr 661 drivers/net/ethernet/3com/3c574_cs.c outw(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ ioaddr 662 drivers/net/ethernet/3com/3c574_cs.c outw(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ ioaddr 664 drivers/net/ethernet/3com/3c574_cs.c outw(SetStatusEnb | 0xff, ioaddr + EL3_CMD); ioaddr 667 drivers/net/ethernet/3com/3c574_cs.c ioaddr + EL3_CMD); ioaddr 669 drivers/net/ethernet/3com/3c574_cs.c | AdapterFailure | RxEarly, ioaddr + EL3_CMD); ioaddr 695 drivers/net/ethernet/3com/3c574_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 703 drivers/net/ethernet/3com/3c574_cs.c outw(TxEnable, ioaddr + EL3_CMD); ioaddr 709 drivers/net/ethernet/3com/3c574_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 714 drivers/net/ethernet/3com/3c574_cs.c u_char tx_status = inb(ioaddr + TxStatus); ioaddr 723 drivers/net/ethernet/3com/3c574_cs.c outw(TxEnable, ioaddr + EL3_CMD); ioaddr 726 drivers/net/ethernet/3com/3c574_cs.c outb(0x00, ioaddr + TxStatus); /* Pop the status stack. */ ioaddr 733 drivers/net/ethernet/3com/3c574_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 739 drivers/net/ethernet/3com/3c574_cs.c inw(ioaddr + EL3_STATUS)); ioaddr 746 drivers/net/ethernet/3com/3c574_cs.c outw(skb->len, ioaddr + TX_FIFO); ioaddr 747 drivers/net/ethernet/3com/3c574_cs.c outw(0, ioaddr + TX_FIFO); ioaddr 749 drivers/net/ethernet/3com/3c574_cs.c outsl(ioaddr + TX_FIFO, skb->data, (skb->len+3)>>2); ioaddr 752 drivers/net/ethernet/3com/3c574_cs.c if (inw(ioaddr + TxFree) <= 1536) { ioaddr 756 drivers/net/ethernet/3com/3c574_cs.c outw(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); ioaddr 770 drivers/net/ethernet/3com/3c574_cs.c unsigned int ioaddr; ioaddr 777 drivers/net/ethernet/3com/3c574_cs.c ioaddr = dev->base_addr; ioaddr 780 drivers/net/ethernet/3com/3c574_cs.c dev->name, inw(ioaddr + EL3_STATUS)); ioaddr 784 drivers/net/ethernet/3com/3c574_cs.c while ((status = inw(ioaddr + EL3_STATUS)) & ioaddr 800 drivers/net/ethernet/3com/3c574_cs.c outw(AckIntr | TxAvailable, ioaddr + EL3_CMD); ioaddr 813 drivers/net/ethernet/3com/3c574_cs.c outw(AckIntr | RxEarly, ioaddr + EL3_CMD); ioaddr 818 drivers/net/ethernet/3com/3c574_cs.c fifo_diag = inw(ioaddr + Wn4_FIFODiag); ioaddr 825 drivers/net/ethernet/3com/3c574_cs.c outw(TxEnable, ioaddr + EL3_CMD); ioaddr 831 drivers/net/ethernet/3com/3c574_cs.c outw(RxEnable, ioaddr + EL3_CMD); ioaddr 833 drivers/net/ethernet/3com/3c574_cs.c outw(AckIntr | AdapterFailure, ioaddr + EL3_CMD); ioaddr 841 drivers/net/ethernet/3com/3c574_cs.c outw(AckIntr | 0xFF, ioaddr + EL3_CMD); ioaddr 845 drivers/net/ethernet/3com/3c574_cs.c outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); ioaddr 849 drivers/net/ethernet/3com/3c574_cs.c dev->name, inw(ioaddr + EL3_STATUS)); ioaddr 864 drivers/net/ethernet/3com/3c574_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 873 drivers/net/ethernet/3com/3c574_cs.c if ((inw(ioaddr + EL3_STATUS) & IntLatch) && (inb(ioaddr + Timer) == 0xff)) { ioaddr 892 drivers/net/ethernet/3com/3c574_cs.c media = mdio_read(ioaddr, lp->phys, 1); ioaddr 893 drivers/net/ethernet/3com/3c574_cs.c partner = mdio_read(ioaddr, lp->phys, 5); ioaddr 917 drivers/net/ethernet/3com/3c574_cs.c (dev->mtu > 1500 ? 0x40 : 0), ioaddr + Wn3_MAC_Ctrl); ioaddr 953 drivers/net/ethernet/3com/3c574_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 958 drivers/net/ethernet/3com/3c574_cs.c if (inw(ioaddr+EL3_STATUS) == 0xffff) /* No card. */ ioaddr 964 drivers/net/ethernet/3com/3c574_cs.c dev->stats.tx_carrier_errors += inb(ioaddr + 0); ioaddr 965 drivers/net/ethernet/3com/3c574_cs.c dev->stats.tx_heartbeat_errors += inb(ioaddr + 1); ioaddr 966 drivers/net/ethernet/3com/3c574_cs.c /* Multiple collisions. */ inb(ioaddr + 2); ioaddr 967 drivers/net/ethernet/3com/3c574_cs.c dev->stats.collisions += inb(ioaddr + 3); ioaddr 968 drivers/net/ethernet/3com/3c574_cs.c dev->stats.tx_window_errors += inb(ioaddr + 4); ioaddr 969 drivers/net/ethernet/3com/3c574_cs.c dev->stats.rx_fifo_errors += inb(ioaddr + 5); ioaddr 970 drivers/net/ethernet/3com/3c574_cs.c dev->stats.tx_packets += inb(ioaddr + 6); ioaddr 971 drivers/net/ethernet/3com/3c574_cs.c up = inb(ioaddr + 9); ioaddr 973 drivers/net/ethernet/3com/3c574_cs.c /* Rx packets */ inb(ioaddr + 7); ioaddr 974 drivers/net/ethernet/3com/3c574_cs.c /* Tx deferrals */ inb(ioaddr + 8); ioaddr 975 drivers/net/ethernet/3com/3c574_cs.c rx = inw(ioaddr + 10); ioaddr 976 drivers/net/ethernet/3com/3c574_cs.c tx = inw(ioaddr + 12); ioaddr 979 drivers/net/ethernet/3com/3c574_cs.c /* BadSSD */ inb(ioaddr + 12); ioaddr 980 drivers/net/ethernet/3com/3c574_cs.c up = inb(ioaddr + 13); ioaddr 987 drivers/net/ethernet/3com/3c574_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 991 drivers/net/ethernet/3com/3c574_cs.c dev->name, inw(ioaddr+EL3_STATUS), inw(ioaddr+RxStatus)); ioaddr 992 drivers/net/ethernet/3com/3c574_cs.c while (!((rx_status = inw(ioaddr + RxStatus)) & 0x8000) && ioaddr 1016 drivers/net/ethernet/3com/3c574_cs.c insl(ioaddr+RX_FIFO, skb_put(skb, pkt_len), ioaddr 1038 drivers/net/ethernet/3com/3c574_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1056 drivers/net/ethernet/3com/3c574_cs.c saved_window = inw(ioaddr + EL3_CMD) >> 13; ioaddr 1058 drivers/net/ethernet/3com/3c574_cs.c data->val_out = mdio_read(ioaddr, data->phy_id & 0x1f, ioaddr 1070 drivers/net/ethernet/3com/3c574_cs.c saved_window = inw(ioaddr + EL3_CMD) >> 13; ioaddr 1072 drivers/net/ethernet/3com/3c574_cs.c mdio_write(ioaddr, data->phy_id & 0x1f, ioaddr 1093 drivers/net/ethernet/3com/3c574_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1097 drivers/net/ethernet/3com/3c574_cs.c ioaddr + EL3_CMD); ioaddr 1099 drivers/net/ethernet/3com/3c574_cs.c outw(SetRxFilter|RxStation|RxMulticast|RxBroadcast, ioaddr + EL3_CMD); ioaddr 1101 drivers/net/ethernet/3com/3c574_cs.c outw(SetRxFilter | RxStation | RxBroadcast, ioaddr + EL3_CMD); ioaddr 1116 drivers/net/ethernet/3com/3c574_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1126 drivers/net/ethernet/3com/3c574_cs.c outw(StatsDisable, ioaddr + EL3_CMD); ioaddr 1129 drivers/net/ethernet/3com/3c574_cs.c outw(RxDisable, ioaddr + EL3_CMD); ioaddr 1130 drivers/net/ethernet/3com/3c574_cs.c outw(TxDisable, ioaddr + EL3_CMD); ioaddr 1139 drivers/net/ethernet/3com/3c574_cs.c outw(SetIntrEnb | 0x0000, ioaddr + EL3_CMD); ioaddr 68 drivers/net/ethernet/3com/3c589_cs.c #define EL3WINDOW(win_num) outw(SelectWindow + (win_num), ioaddr + EL3_CMD) ioaddr 164 drivers/net/ethernet/3com/3c589_cs.c static u16 read_eeprom(unsigned int ioaddr, int index); ioaddr 243 drivers/net/ethernet/3com/3c589_cs.c unsigned int ioaddr; ioaddr 280 drivers/net/ethernet/3com/3c589_cs.c ioaddr = dev->base_addr; ioaddr 294 drivers/net/ethernet/3com/3c589_cs.c phys_addr[i] = htons(read_eeprom(ioaddr, i)); ioaddr 306 drivers/net/ethernet/3com/3c589_cs.c outw(0x3f00, ioaddr + 8); ioaddr 307 drivers/net/ethernet/3com/3c589_cs.c fifo = inl(ioaddr); ioaddr 381 drivers/net/ethernet/3com/3c589_cs.c static u16 read_eeprom(unsigned int ioaddr, int index) ioaddr 384 drivers/net/ethernet/3com/3c589_cs.c outw(EEPROM_READ + index, ioaddr + 10); ioaddr 387 drivers/net/ethernet/3com/3c589_cs.c if ((inw(ioaddr + 10) & EEPROM_BUSY) == 0) ioaddr 389 drivers/net/ethernet/3com/3c589_cs.c return inw(ioaddr + 12); ioaddr 399 drivers/net/ethernet/3com/3c589_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 405 drivers/net/ethernet/3com/3c589_cs.c outw(0, ioaddr + 6); ioaddr 408 drivers/net/ethernet/3com/3c589_cs.c outw(3<<14, ioaddr + 6); ioaddr 411 drivers/net/ethernet/3com/3c589_cs.c outw(1<<14, ioaddr + 6); ioaddr 415 drivers/net/ethernet/3com/3c589_cs.c outw((if_port == 2) ? StartCoax : StopCoax, ioaddr + EL3_CMD); ioaddr 418 drivers/net/ethernet/3com/3c589_cs.c outw(MEDIA_LED | ((if_port < 2) ? MEDIA_TP : 0), ioaddr + WN4_MEDIA); ioaddr 428 drivers/net/ethernet/3com/3c589_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 431 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS), ioaddr 432 drivers/net/ethernet/3com/3c589_cs.c inb(ioaddr+TX_STATUS), inw(ioaddr+TX_FREE)); ioaddr 435 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr+0x04), inw(ioaddr+0x06), inw(ioaddr+0x08), ioaddr 436 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr+0x0a)); ioaddr 443 drivers/net/ethernet/3com/3c589_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 447 drivers/net/ethernet/3com/3c589_cs.c outw(0x0001, ioaddr + 4); /* Activate board. */ ioaddr 448 drivers/net/ethernet/3com/3c589_cs.c outw(0x3f00, ioaddr + 8); /* Set the IRQ line. */ ioaddr 453 drivers/net/ethernet/3com/3c589_cs.c outb(dev->dev_addr[i], ioaddr + i); ioaddr 458 drivers/net/ethernet/3com/3c589_cs.c outw(StatsDisable, ioaddr + EL3_CMD); ioaddr 461 drivers/net/ethernet/3com/3c589_cs.c inb(ioaddr+i); ioaddr 462 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr + 10); ioaddr 463 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr + 12); ioaddr 469 drivers/net/ethernet/3com/3c589_cs.c outw(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ ioaddr 470 drivers/net/ethernet/3com/3c589_cs.c outw(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ ioaddr 471 drivers/net/ethernet/3com/3c589_cs.c outw(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ ioaddr 473 drivers/net/ethernet/3com/3c589_cs.c outw(SetStatusEnb | 0xff, ioaddr + EL3_CMD); ioaddr 476 drivers/net/ethernet/3com/3c589_cs.c ioaddr + EL3_CMD); ioaddr 478 drivers/net/ethernet/3com/3c589_cs.c | AdapterFailure, ioaddr + EL3_CMD); ioaddr 531 drivers/net/ethernet/3com/3c589_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 539 drivers/net/ethernet/3com/3c589_cs.c outw(TxEnable, ioaddr + EL3_CMD); ioaddr 545 drivers/net/ethernet/3com/3c589_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 550 drivers/net/ethernet/3com/3c589_cs.c u_char tx_status = inb(ioaddr + TX_STATUS); ioaddr 558 drivers/net/ethernet/3com/3c589_cs.c outw(TxEnable, ioaddr + EL3_CMD); ioaddr 561 drivers/net/ethernet/3com/3c589_cs.c outb(0x00, ioaddr + TX_STATUS); /* Pop the status stack. */ ioaddr 568 drivers/net/ethernet/3com/3c589_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 573 drivers/net/ethernet/3com/3c589_cs.c (long)skb->len, inw(ioaddr + EL3_STATUS)); ioaddr 580 drivers/net/ethernet/3com/3c589_cs.c outw(skb->len, ioaddr + TX_FIFO); ioaddr 581 drivers/net/ethernet/3com/3c589_cs.c outw(0x00, ioaddr + TX_FIFO); ioaddr 583 drivers/net/ethernet/3com/3c589_cs.c outsl(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2); ioaddr 585 drivers/net/ethernet/3com/3c589_cs.c if (inw(ioaddr + TX_FREE) <= 1536) { ioaddr 588 drivers/net/ethernet/3com/3c589_cs.c outw(SetTxThreshold + 1536, ioaddr + EL3_CMD); ioaddr 603 drivers/net/ethernet/3com/3c589_cs.c unsigned int ioaddr; ioaddr 610 drivers/net/ethernet/3com/3c589_cs.c ioaddr = dev->base_addr; ioaddr 612 drivers/net/ethernet/3com/3c589_cs.c netdev_dbg(dev, "interrupt, status %4.4x.\n", inw(ioaddr + EL3_STATUS)); ioaddr 615 drivers/net/ethernet/3com/3c589_cs.c while ((status = inw(ioaddr + EL3_STATUS)) & ioaddr 627 drivers/net/ethernet/3com/3c589_cs.c outw(AckIntr | TxAvailable, ioaddr + EL3_CMD); ioaddr 639 drivers/net/ethernet/3com/3c589_cs.c outw(AckIntr | RxEarly, ioaddr + EL3_CMD); ioaddr 644 drivers/net/ethernet/3com/3c589_cs.c fifo_diag = inw(ioaddr + 4); ioaddr 651 drivers/net/ethernet/3com/3c589_cs.c outw(TxEnable, ioaddr + EL3_CMD); ioaddr 657 drivers/net/ethernet/3com/3c589_cs.c outw(RxEnable, ioaddr + EL3_CMD); ioaddr 659 drivers/net/ethernet/3com/3c589_cs.c outw(AckIntr | AdapterFailure, ioaddr + EL3_CMD); ioaddr 666 drivers/net/ethernet/3com/3c589_cs.c outw(AckIntr | 0xFF, ioaddr + EL3_CMD); ioaddr 670 drivers/net/ethernet/3com/3c589_cs.c outw(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); ioaddr 675 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr + EL3_STATUS)); ioaddr 683 drivers/net/ethernet/3com/3c589_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 693 drivers/net/ethernet/3com/3c589_cs.c if ((inw(ioaddr + EL3_STATUS) & IntLatch) && ioaddr 694 drivers/net/ethernet/3com/3c589_cs.c (inb(ioaddr + EL3_TIMER) == 0xff)) { ioaddr 717 drivers/net/ethernet/3com/3c589_cs.c media = inw(ioaddr+WN4_MEDIA) & 0xc810; ioaddr 725 drivers/net/ethernet/3com/3c589_cs.c outw(StatsDisable, ioaddr + EL3_CMD); ioaddr 726 drivers/net/ethernet/3com/3c589_cs.c errs = inb(ioaddr + 0); ioaddr 727 drivers/net/ethernet/3com/3c589_cs.c outw(StatsEnable, ioaddr + EL3_CMD); ioaddr 790 drivers/net/ethernet/3com/3c589_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 794 drivers/net/ethernet/3com/3c589_cs.c outw(StatsDisable, ioaddr + EL3_CMD); ioaddr 797 drivers/net/ethernet/3com/3c589_cs.c dev->stats.tx_carrier_errors += inb(ioaddr + 0); ioaddr 798 drivers/net/ethernet/3com/3c589_cs.c dev->stats.tx_heartbeat_errors += inb(ioaddr + 1); ioaddr 800 drivers/net/ethernet/3com/3c589_cs.c inb(ioaddr + 2); ioaddr 801 drivers/net/ethernet/3com/3c589_cs.c dev->stats.collisions += inb(ioaddr + 3); ioaddr 802 drivers/net/ethernet/3com/3c589_cs.c dev->stats.tx_window_errors += inb(ioaddr + 4); ioaddr 803 drivers/net/ethernet/3com/3c589_cs.c dev->stats.rx_fifo_errors += inb(ioaddr + 5); ioaddr 804 drivers/net/ethernet/3com/3c589_cs.c dev->stats.tx_packets += inb(ioaddr + 6); ioaddr 806 drivers/net/ethernet/3com/3c589_cs.c inb(ioaddr + 7); ioaddr 808 drivers/net/ethernet/3com/3c589_cs.c inb(ioaddr + 8); ioaddr 810 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr + 10); ioaddr 812 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr + 12); ioaddr 816 drivers/net/ethernet/3com/3c589_cs.c outw(StatsEnable, ioaddr + EL3_CMD); ioaddr 821 drivers/net/ethernet/3com/3c589_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 826 drivers/net/ethernet/3com/3c589_cs.c inw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS)); ioaddr 827 drivers/net/ethernet/3com/3c589_cs.c while (!((rx_status = inw(ioaddr + RX_STATUS)) & 0x8000) && ioaddr 863 drivers/net/ethernet/3com/3c589_cs.c insl(ioaddr+RX_FIFO, skb_put(skb, pkt_len), ioaddr 885 drivers/net/ethernet/3com/3c589_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 892 drivers/net/ethernet/3com/3c589_cs.c outw(opts, ioaddr + EL3_CMD); ioaddr 909 drivers/net/ethernet/3com/3c589_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 915 drivers/net/ethernet/3com/3c589_cs.c outw(StatsDisable, ioaddr + EL3_CMD); ioaddr 918 drivers/net/ethernet/3com/3c589_cs.c outw(RxDisable, ioaddr + EL3_CMD); ioaddr 919 drivers/net/ethernet/3com/3c589_cs.c outw(TxDisable, ioaddr + EL3_CMD); ioaddr 923 drivers/net/ethernet/3com/3c589_cs.c outw(StopCoax, ioaddr + EL3_CMD); ioaddr 927 drivers/net/ethernet/3com/3c589_cs.c outw(0, ioaddr + WN4_MEDIA); ioaddr 933 drivers/net/ethernet/3com/3c589_cs.c outw(0x0f00, ioaddr + WN0_IRQ); ioaddr 936 drivers/net/ethernet/3com/3c589_cs.c if ((inw(ioaddr+EL3_STATUS) & 0xe000) == 0x2000) ioaddr 612 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr; /* IO address space */ ioaddr 663 drivers/net/ethernet/3com/3c59x.c iowrite16(SelectWindow + window, vp->ioaddr + EL3_CMD); ioaddr 676 drivers/net/ethernet/3com/3c59x.c ret = ioread ## size(vp->ioaddr + addr); \ ioaddr 687 drivers/net/ethernet/3com/3c59x.c iowrite ## size(value, vp->ioaddr + addr); \ ioaddr 753 drivers/net/ethernet/3com/3c59x.c static int vortex_probe1(struct device *gendev, void __iomem *ioaddr, int irq, ioaddr 773 drivers/net/ethernet/3com/3c59x.c static void update_stats(void __iomem *ioaddr, struct net_device *dev); ioaddr 905 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr; ioaddr 913 drivers/net/ethernet/3com/3c59x.c ioaddr = ioport_map(edev->base_addr, VORTEX_TOTAL_SIZE); ioaddr 915 drivers/net/ethernet/3com/3c59x.c if (vortex_probe1(device, ioaddr, ioread16(ioaddr + 0xC88) >> 12, ioaddr 931 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr; ioaddr 942 drivers/net/ethernet/3com/3c59x.c ioaddr = vp->ioaddr; ioaddr 945 drivers/net/ethernet/3com/3c59x.c iowrite16(TotalReset|0x14, ioaddr + EL3_CMD); ioaddr 1000 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr; ioaddr 1022 drivers/net/ethernet/3com/3c59x.c ioaddr = pci_iomap(pdev, pci_bar, 0); ioaddr 1023 drivers/net/ethernet/3com/3c59x.c if (!ioaddr) /* If mapping fails, fall-back to BAR 0... */ ioaddr 1024 drivers/net/ethernet/3com/3c59x.c ioaddr = pci_iomap(pdev, 0, 0); ioaddr 1025 drivers/net/ethernet/3com/3c59x.c if (!ioaddr) { ioaddr 1030 drivers/net/ethernet/3com/3c59x.c rc = vortex_probe1(&pdev->dev, ioaddr, pdev->irq, ioaddr 1039 drivers/net/ethernet/3com/3c59x.c pci_iounmap(pdev, ioaddr); ioaddr 1088 drivers/net/ethernet/3com/3c59x.c static int vortex_probe1(struct device *gendev, void __iomem *ioaddr, int irq, ioaddr 1158 drivers/net/ethernet/3com/3c59x.c ioaddr); ioaddr 1160 drivers/net/ethernet/3com/3c59x.c dev->base_addr = (unsigned long)ioaddr; ioaddr 1163 drivers/net/ethernet/3com/3c59x.c vp->ioaddr = ioaddr; ioaddr 1489 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr = vp->ioaddr; ioaddr 1492 drivers/net/ethernet/3com/3c59x.c iowrite16(cmd, ioaddr + EL3_CMD); ioaddr 1494 drivers/net/ethernet/3com/3c59x.c if (!(ioread16(ioaddr + EL3_STATUS) & CmdInProgress)) ioaddr 1500 drivers/net/ethernet/3com/3c59x.c if (!(ioread16(ioaddr + EL3_STATUS) & CmdInProgress)) { ioaddr 1509 drivers/net/ethernet/3com/3c59x.c dev->name, cmd, ioread16(ioaddr + EL3_STATUS)); ioaddr 1549 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr = vp->ioaddr; ioaddr 1625 drivers/net/ethernet/3com/3c59x.c iowrite16(SetStatusEnb | 0x00, ioaddr + EL3_CMD); ioaddr 1649 drivers/net/ethernet/3com/3c59x.c iowrite16(StartCoax, ioaddr + EL3_CMD); ioaddr 1659 drivers/net/ethernet/3com/3c59x.c iowrite16(StatsDisable, ioaddr + EL3_CMD); ioaddr 1672 drivers/net/ethernet/3com/3c59x.c iowrite16(SetRxThreshold + (1536>>2), ioaddr + EL3_CMD); ioaddr 1673 drivers/net/ethernet/3com/3c59x.c iowrite32(0x0020, ioaddr + PktStatus); ioaddr 1674 drivers/net/ethernet/3com/3c59x.c iowrite32(vp->rx_ring_dma, ioaddr + UpListPtr); ioaddr 1679 drivers/net/ethernet/3com/3c59x.c iowrite8(PKT_BUF_SZ>>8, ioaddr + TxFreeThreshold); /* Room for a packet. */ ioaddr 1685 drivers/net/ethernet/3com/3c59x.c iowrite32(0, ioaddr + DownListPtr); ioaddr 1691 drivers/net/ethernet/3com/3c59x.c iowrite16(StatsEnable, ioaddr + EL3_CMD); /* Turn on statistics. */ ioaddr 1693 drivers/net/ethernet/3com/3c59x.c iowrite16(RxEnable, ioaddr + EL3_CMD); /* Enable the receiver. */ ioaddr 1694 drivers/net/ethernet/3com/3c59x.c iowrite16(TxEnable, ioaddr + EL3_CMD); /* Enable transmitter. */ ioaddr 1704 drivers/net/ethernet/3com/3c59x.c iowrite16(vp->status_enable, ioaddr + EL3_CMD); ioaddr 1707 drivers/net/ethernet/3com/3c59x.c ioaddr + EL3_CMD); ioaddr 1708 drivers/net/ethernet/3com/3c59x.c iowrite16(vp->intr_enable, ioaddr + EL3_CMD); ioaddr 1786 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr = vp->ioaddr; ioaddr 1862 drivers/net/ethernet/3com/3c59x.c ioaddr + EL3_CMD); ioaddr 1877 drivers/net/ethernet/3com/3c59x.c iowrite16(FakeIntr, ioaddr + EL3_CMD); ioaddr 1883 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr = vp->ioaddr; ioaddr 1886 drivers/net/ethernet/3com/3c59x.c dev->name, ioread8(ioaddr + TxStatus), ioaddr 1887 drivers/net/ethernet/3com/3c59x.c ioread16(ioaddr + EL3_STATUS)); ioaddr 1891 drivers/net/ethernet/3com/3c59x.c ioread32(ioaddr + PktStatus), ioaddr 1894 drivers/net/ethernet/3com/3c59x.c if ((ioread8(ioaddr + TxStatus) & 0x88) == 0x88) ioaddr 1897 drivers/net/ethernet/3com/3c59x.c if (ioread16(ioaddr + EL3_STATUS) & IntLatch) { ioaddr 1912 drivers/net/ethernet/3com/3c59x.c if (vp->cur_tx - vp->dirty_tx > 0 && ioread32(ioaddr + DownListPtr) == 0) ioaddr 1914 drivers/net/ethernet/3com/3c59x.c ioaddr + DownListPtr); ioaddr 1920 drivers/net/ethernet/3com/3c59x.c iowrite8(PKT_BUF_SZ>>8, ioaddr + TxFreeThreshold); ioaddr 1921 drivers/net/ethernet/3com/3c59x.c iowrite16(DownUnstall, ioaddr + EL3_CMD); ioaddr 1928 drivers/net/ethernet/3com/3c59x.c iowrite16(TxEnable, ioaddr + EL3_CMD); ioaddr 1940 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr = vp->ioaddr; ioaddr 1949 drivers/net/ethernet/3com/3c59x.c tx_status = ioread8(ioaddr + TxStatus); ioaddr 1964 drivers/net/ethernet/3com/3c59x.c iowrite8(0, ioaddr + TxStatus); ioaddr 1971 drivers/net/ethernet/3com/3c59x.c iowrite16(TxEnable, ioaddr + EL3_CMD); ioaddr 1976 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | RxEarly, ioaddr + EL3_CMD); ioaddr 1982 drivers/net/ethernet/3com/3c59x.c update_stats(ioaddr, dev); ioaddr 1986 drivers/net/ethernet/3com/3c59x.c ioread16(ioaddr + EL3_STATUS) & StatsFull) { ioaddr 1991 drivers/net/ethernet/3com/3c59x.c ioaddr + EL3_CMD); ioaddr 1997 drivers/net/ethernet/3com/3c59x.c iowrite16(vp->status_enable, ioaddr + EL3_CMD); ioaddr 1998 drivers/net/ethernet/3com/3c59x.c iowrite16(vp->intr_enable, ioaddr + EL3_CMD); ioaddr 2007 drivers/net/ethernet/3com/3c59x.c int bus_status = ioread32(ioaddr + PktStatus); ioaddr 2027 drivers/net/ethernet/3com/3c59x.c iowrite16(RxEnable, ioaddr + EL3_CMD); /* Re-enable the receiver. */ ioaddr 2028 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | HostError, ioaddr + EL3_CMD); ioaddr 2034 drivers/net/ethernet/3com/3c59x.c iowrite16(TxEnable, ioaddr + EL3_CMD); ioaddr 2044 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr = vp->ioaddr; ioaddr 2048 drivers/net/ethernet/3com/3c59x.c iowrite32(skb->len, ioaddr + TX_FIFO); ioaddr 2062 drivers/net/ethernet/3com/3c59x.c iowrite32(vp->tx_skb_dma, ioaddr + Wn7_MasterAddr); ioaddr 2063 drivers/net/ethernet/3com/3c59x.c iowrite16(len, ioaddr + Wn7_MasterLen); ioaddr 2067 drivers/net/ethernet/3com/3c59x.c iowrite16(StartDMADown, ioaddr + EL3_CMD); ioaddr 2072 drivers/net/ethernet/3com/3c59x.c iowrite32_rep(ioaddr + TX_FIFO, skb->data, (skb->len + 3) >> 2); ioaddr 2074 drivers/net/ethernet/3com/3c59x.c if (ioread16(ioaddr + TxFree) > 1536) { ioaddr 2079 drivers/net/ethernet/3com/3c59x.c iowrite16(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); ioaddr 2090 drivers/net/ethernet/3com/3c59x.c while (--i > 0 && (tx_status = ioread8(ioaddr + TxStatus)) > 0) { ioaddr 2100 drivers/net/ethernet/3com/3c59x.c iowrite16(TxEnable, ioaddr + EL3_CMD); ioaddr 2102 drivers/net/ethernet/3com/3c59x.c iowrite8(0x00, ioaddr + TxStatus); /* Pop the status stack. */ ioaddr 2112 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr = vp->ioaddr; ioaddr 2215 drivers/net/ethernet/3com/3c59x.c if (ioread32(ioaddr + DownListPtr) == 0) { ioaddr 2216 drivers/net/ethernet/3com/3c59x.c iowrite32(vp->tx_ring_dma + entry * sizeof(struct boom_tx_desc), ioaddr + DownListPtr); ioaddr 2234 drivers/net/ethernet/3com/3c59x.c iowrite16(DownUnstall, ioaddr + EL3_CMD); ioaddr 2255 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr; ioaddr 2261 drivers/net/ethernet/3com/3c59x.c ioaddr = vp->ioaddr; ioaddr 2263 drivers/net/ethernet/3com/3c59x.c status = ioread16(ioaddr + EL3_STATUS); ioaddr 2282 drivers/net/ethernet/3com/3c59x.c dev->name, status, ioread8(ioaddr + Timer)); ioaddr 2298 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | TxAvailable, ioaddr + EL3_CMD); ioaddr 2303 drivers/net/ethernet/3com/3c59x.c if (ioread16(ioaddr + Wn7_MasterStatus) & 0x1000) { ioaddr 2304 drivers/net/ethernet/3com/3c59x.c iowrite16(0x1000, ioaddr + Wn7_MasterStatus); /* Ack the event. */ ioaddr 2309 drivers/net/ethernet/3com/3c59x.c if (ioread16(ioaddr + TxFree) > 1536) { ioaddr 2317 drivers/net/ethernet/3com/3c59x.c iowrite16(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD); ioaddr 2341 drivers/net/ethernet/3com/3c59x.c ioaddr + EL3_CMD); ioaddr 2342 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | (vp->deferred & 0x7ff), ioaddr + EL3_CMD); ioaddr 2343 drivers/net/ethernet/3com/3c59x.c } while ((status = ioread16(ioaddr + EL3_CMD)) & IntLatch); ioaddr 2349 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); ioaddr 2350 drivers/net/ethernet/3com/3c59x.c } while ((status = ioread16(ioaddr + EL3_STATUS)) & (IntLatch | RxComplete)); ioaddr 2371 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr; ioaddr 2377 drivers/net/ethernet/3com/3c59x.c ioaddr = vp->ioaddr; ioaddr 2381 drivers/net/ethernet/3com/3c59x.c status = ioread16(ioaddr + EL3_STATUS); ioaddr 2403 drivers/net/ethernet/3com/3c59x.c dev->name, status, ioread8(ioaddr + Timer)); ioaddr 2409 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | UpComplete, ioaddr + EL3_CMD); ioaddr 2418 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | DownComplete, ioaddr + EL3_CMD); ioaddr 2422 drivers/net/ethernet/3com/3c59x.c if (ioread32(ioaddr + DownListPtr) == ioaddr 2477 drivers/net/ethernet/3com/3c59x.c ioaddr + EL3_CMD); ioaddr 2478 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | (vp->deferred & 0x7ff), ioaddr + EL3_CMD); ioaddr 2479 drivers/net/ethernet/3com/3c59x.c } while ((status = ioread16(ioaddr + EL3_CMD)) & IntLatch); ioaddr 2485 drivers/net/ethernet/3com/3c59x.c iowrite16(AckIntr | IntReq | IntLatch, ioaddr + EL3_CMD); ioaddr 2489 drivers/net/ethernet/3com/3c59x.c } while ((status = ioread16(ioaddr + EL3_STATUS)) & IntLatch); ioaddr 2523 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr = vp->ioaddr; ioaddr 2529 drivers/net/ethernet/3com/3c59x.c ioread16(ioaddr+EL3_STATUS), ioread16(ioaddr+RxStatus)); ioaddr 2530 drivers/net/ethernet/3com/3c59x.c while ((rx_status = ioread16(ioaddr + RxStatus)) > 0) { ioaddr 2532 drivers/net/ethernet/3com/3c59x.c unsigned char rx_error = ioread8(ioaddr + RxErrors); ioaddr 2554 drivers/net/ethernet/3com/3c59x.c ! (ioread16(ioaddr + Wn7_MasterStatus) & 0x8000)) { ioaddr 2557 drivers/net/ethernet/3com/3c59x.c iowrite32(dma, ioaddr + Wn7_MasterAddr); ioaddr 2558 drivers/net/ethernet/3com/3c59x.c iowrite16((skb->len + 3) & ~3, ioaddr + Wn7_MasterLen); ioaddr 2559 drivers/net/ethernet/3com/3c59x.c iowrite16(StartDMAUp, ioaddr + EL3_CMD); ioaddr 2560 drivers/net/ethernet/3com/3c59x.c while (ioread16(ioaddr + Wn7_MasterStatus) & 0x8000) ioaddr 2564 drivers/net/ethernet/3com/3c59x.c ioread32_rep(ioaddr + RX_FIFO, ioaddr 2568 drivers/net/ethernet/3com/3c59x.c iowrite16(RxDiscard, ioaddr + EL3_CMD); /* Pop top Rx packet. */ ioaddr 2574 drivers/net/ethernet/3com/3c59x.c if ( ! (ioread16(ioaddr + EL3_STATUS) & CmdInProgress)) ioaddr 2593 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr = vp->ioaddr; ioaddr 2598 drivers/net/ethernet/3com/3c59x.c pr_debug("boomerang_rx(): status %4.4x\n", ioread16(ioaddr+EL3_STATUS)); ioaddr 2677 drivers/net/ethernet/3com/3c59x.c iowrite16(UpUnstall, ioaddr + EL3_CMD); ioaddr 2687 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr = vp->ioaddr; ioaddr 2695 drivers/net/ethernet/3com/3c59x.c iowrite16(StatsDisable, ioaddr + EL3_CMD); ioaddr 2698 drivers/net/ethernet/3com/3c59x.c iowrite16(RxDisable, ioaddr + EL3_CMD); ioaddr 2699 drivers/net/ethernet/3com/3c59x.c iowrite16(TxDisable, ioaddr + EL3_CMD); ioaddr 2706 drivers/net/ethernet/3com/3c59x.c iowrite16(StopCoax, ioaddr + EL3_CMD); ioaddr 2708 drivers/net/ethernet/3com/3c59x.c iowrite16(SetIntrEnb | 0x0000, ioaddr + EL3_CMD); ioaddr 2710 drivers/net/ethernet/3com/3c59x.c update_stats(ioaddr, dev); ioaddr 2712 drivers/net/ethernet/3com/3c59x.c iowrite32(0, ioaddr + UpListPtr); ioaddr 2714 drivers/net/ethernet/3com/3c59x.c iowrite32(0, ioaddr + DownListPtr); ioaddr 2727 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr = vp->ioaddr; ioaddr 2735 drivers/net/ethernet/3com/3c59x.c dev->name, ioread16(ioaddr + EL3_STATUS), ioread8(ioaddr + TxStatus)); ioaddr 2790 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr = vp->ioaddr; ioaddr 2794 drivers/net/ethernet/3com/3c59x.c int stalled = ioread32(ioaddr + PktStatus) & 0x04; /* Possible racy. But it's only debug stuff */ ioaddr 2801 drivers/net/ethernet/3com/3c59x.c ioread32(ioaddr + DownListPtr), ioaddr 2817 drivers/net/ethernet/3com/3c59x.c iowrite16(DownUnstall, ioaddr + EL3_CMD); ioaddr 2825 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr = vp->ioaddr; ioaddr 2830 drivers/net/ethernet/3com/3c59x.c update_stats(ioaddr, dev); ioaddr 2843 drivers/net/ethernet/3com/3c59x.c static void update_stats(void __iomem *ioaddr, struct net_device *dev) ioaddr 2928 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr = vp->ioaddr; ioaddr 2932 drivers/net/ethernet/3com/3c59x.c update_stats(ioaddr, dev); ioaddr 3055 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr = vp->ioaddr; ioaddr 3067 drivers/net/ethernet/3com/3c59x.c iowrite16(new_mode, ioaddr + EL3_CMD); ioaddr 3227 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr = vp->ioaddr; ioaddr 3235 drivers/net/ethernet/3com/3c59x.c iowrite16(SetRxFilter|RxStation|RxMulticast|RxBroadcast, ioaddr + EL3_CMD); ioaddr 3236 drivers/net/ethernet/3com/3c59x.c iowrite16(RxEnable, ioaddr + EL3_CMD); ioaddr 3278 drivers/net/ethernet/3com/3c59x.c vp->ioaddr + EL3_CMD); ioaddr 3280 drivers/net/ethernet/3com/3c59x.c pci_iounmap(pdev, vp->ioaddr); ioaddr 3324 drivers/net/ethernet/3com/3c59x.c void __iomem *ioaddr; ioaddr 3332 drivers/net/ethernet/3com/3c59x.c ioaddr = ioport_map(compaq_net_device->base_addr, ioaddr 3336 drivers/net/ethernet/3com/3c59x.c iowrite16(TotalReset, ioaddr + EL3_CMD); ioaddr 268 drivers/net/ethernet/3com/typhoon.c void __iomem *ioaddr ____cacheline_aligned; ioaddr 379 drivers/net/ethernet/3com/typhoon.c typhoon_reset(void __iomem *ioaddr, int wait_type) ioaddr 389 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_INTR_ALL, ioaddr + TYPHOON_REG_INTR_MASK); ioaddr 390 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_INTR_ALL, ioaddr + TYPHOON_REG_INTR_STATUS); ioaddr 392 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_RESET_ALL, ioaddr + TYPHOON_REG_SOFT_RESET); ioaddr 393 drivers/net/ethernet/3com/typhoon.c typhoon_post_pci_writes(ioaddr); ioaddr 395 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_RESET_NONE, ioaddr + TYPHOON_REG_SOFT_RESET); ioaddr 399 drivers/net/ethernet/3com/typhoon.c if(ioread32(ioaddr + TYPHOON_REG_STATUS) == ioaddr 413 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_INTR_ALL, ioaddr + TYPHOON_REG_INTR_MASK); ioaddr 414 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_INTR_ALL, ioaddr + TYPHOON_REG_INTR_STATUS); ioaddr 434 drivers/net/ethernet/3com/typhoon.c typhoon_wait_status(void __iomem *ioaddr, u32 wait_value) ioaddr 439 drivers/net/ethernet/3com/typhoon.c if(ioread32(ioaddr + TYPHOON_REG_STATUS) == wait_value) ioaddr 475 drivers/net/ethernet/3com/typhoon.c iowrite32(ring->lastWrite, tp->ioaddr + TYPHOON_REG_CMD_READY); ioaddr 629 drivers/net/ethernet/3com/typhoon.c iowrite32(ring->lastWrite, tp->ioaddr + TYPHOON_REG_CMD_READY); ioaddr 630 drivers/net/ethernet/3com/typhoon.c typhoon_post_pci_writes(tp->ioaddr); ioaddr 683 drivers/net/ethernet/3com/typhoon.c iowrite32(1, tp->ioaddr + TYPHOON_REG_SELF_INTERRUPT); ioaddr 1162 drivers/net/ethernet/3com/typhoon.c typhoon_wait_interrupt(void __iomem *ioaddr) ioaddr 1167 drivers/net/ethernet/3com/typhoon.c if(ioread32(ioaddr + TYPHOON_REG_INTR_STATUS) & ioaddr 1176 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_INTR_BOOTCMD, ioaddr + TYPHOON_REG_INTR_STATUS); ioaddr 1332 drivers/net/ethernet/3com/typhoon.c void __iomem *ioaddr = tp->ioaddr; ioaddr 1364 drivers/net/ethernet/3com/typhoon.c irqEnabled = ioread32(ioaddr + TYPHOON_REG_INTR_ENABLE); ioaddr 1366 drivers/net/ethernet/3com/typhoon.c ioaddr + TYPHOON_REG_INTR_ENABLE); ioaddr 1367 drivers/net/ethernet/3com/typhoon.c irqMasked = ioread32(ioaddr + TYPHOON_REG_INTR_MASK); ioaddr 1369 drivers/net/ethernet/3com/typhoon.c ioaddr + TYPHOON_REG_INTR_MASK); ioaddr 1372 drivers/net/ethernet/3com/typhoon.c if(typhoon_wait_status(ioaddr, TYPHOON_STATUS_WAITING_FOR_HOST) < 0) { ioaddr 1380 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_INTR_BOOTCMD, ioaddr + TYPHOON_REG_INTR_STATUS); ioaddr 1381 drivers/net/ethernet/3com/typhoon.c iowrite32(load_addr, ioaddr + TYPHOON_REG_DOWNLOAD_BOOT_ADDR); ioaddr 1383 drivers/net/ethernet/3com/typhoon.c iowrite32(hmac, ioaddr + TYPHOON_REG_DOWNLOAD_HMAC_0); ioaddr 1385 drivers/net/ethernet/3com/typhoon.c iowrite32(hmac, ioaddr + TYPHOON_REG_DOWNLOAD_HMAC_1); ioaddr 1387 drivers/net/ethernet/3com/typhoon.c iowrite32(hmac, ioaddr + TYPHOON_REG_DOWNLOAD_HMAC_2); ioaddr 1389 drivers/net/ethernet/3com/typhoon.c iowrite32(hmac, ioaddr + TYPHOON_REG_DOWNLOAD_HMAC_3); ioaddr 1391 drivers/net/ethernet/3com/typhoon.c iowrite32(hmac, ioaddr + TYPHOON_REG_DOWNLOAD_HMAC_4); ioaddr 1392 drivers/net/ethernet/3com/typhoon.c typhoon_post_pci_writes(ioaddr); ioaddr 1393 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_BOOTCMD_RUNTIME_IMAGE, ioaddr + TYPHOON_REG_COMMAND); ioaddr 1410 drivers/net/ethernet/3com/typhoon.c if(typhoon_wait_interrupt(ioaddr) < 0 || ioaddr 1411 drivers/net/ethernet/3com/typhoon.c ioread32(ioaddr + TYPHOON_REG_STATUS) != ioaddr 1426 drivers/net/ethernet/3com/typhoon.c iowrite32(len, ioaddr + TYPHOON_REG_BOOT_LENGTH); ioaddr 1428 drivers/net/ethernet/3com/typhoon.c ioaddr + TYPHOON_REG_BOOT_CHECKSUM); ioaddr 1430 drivers/net/ethernet/3com/typhoon.c ioaddr + TYPHOON_REG_BOOT_DEST_ADDR); ioaddr 1431 drivers/net/ethernet/3com/typhoon.c iowrite32(0, ioaddr + TYPHOON_REG_BOOT_DATA_HI); ioaddr 1432 drivers/net/ethernet/3com/typhoon.c iowrite32(dpage_dma, ioaddr + TYPHOON_REG_BOOT_DATA_LO); ioaddr 1433 drivers/net/ethernet/3com/typhoon.c typhoon_post_pci_writes(ioaddr); ioaddr 1435 drivers/net/ethernet/3com/typhoon.c ioaddr + TYPHOON_REG_COMMAND); ioaddr 1443 drivers/net/ethernet/3com/typhoon.c if(typhoon_wait_interrupt(ioaddr) < 0 || ioaddr 1444 drivers/net/ethernet/3com/typhoon.c ioread32(ioaddr + TYPHOON_REG_STATUS) != ioaddr 1450 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_BOOTCMD_DNLD_COMPLETE, ioaddr + TYPHOON_REG_COMMAND); ioaddr 1452 drivers/net/ethernet/3com/typhoon.c if(typhoon_wait_status(ioaddr, TYPHOON_STATUS_WAITING_FOR_BOOT) < 0) { ioaddr 1454 drivers/net/ethernet/3com/typhoon.c ioread32(ioaddr + TYPHOON_REG_STATUS)); ioaddr 1461 drivers/net/ethernet/3com/typhoon.c iowrite32(irqMasked, ioaddr + TYPHOON_REG_INTR_MASK); ioaddr 1462 drivers/net/ethernet/3com/typhoon.c iowrite32(irqEnabled, ioaddr + TYPHOON_REG_INTR_ENABLE); ioaddr 1473 drivers/net/ethernet/3com/typhoon.c void __iomem *ioaddr = tp->ioaddr; ioaddr 1475 drivers/net/ethernet/3com/typhoon.c if(typhoon_wait_status(ioaddr, initial_status) < 0) { ioaddr 1480 drivers/net/ethernet/3com/typhoon.c iowrite32(0, ioaddr + TYPHOON_REG_BOOT_RECORD_ADDR_HI); ioaddr 1481 drivers/net/ethernet/3com/typhoon.c iowrite32(tp->shared_dma, ioaddr + TYPHOON_REG_BOOT_RECORD_ADDR_LO); ioaddr 1482 drivers/net/ethernet/3com/typhoon.c typhoon_post_pci_writes(ioaddr); ioaddr 1484 drivers/net/ethernet/3com/typhoon.c ioaddr + TYPHOON_REG_COMMAND); ioaddr 1486 drivers/net/ethernet/3com/typhoon.c if(typhoon_wait_status(ioaddr, TYPHOON_STATUS_RUNNING) < 0) { ioaddr 1488 drivers/net/ethernet/3com/typhoon.c ioread32(ioaddr + TYPHOON_REG_STATUS)); ioaddr 1494 drivers/net/ethernet/3com/typhoon.c iowrite32(0, ioaddr + TYPHOON_REG_TX_HI_READY); ioaddr 1495 drivers/net/ethernet/3com/typhoon.c iowrite32(0, ioaddr + TYPHOON_REG_CMD_READY); ioaddr 1496 drivers/net/ethernet/3com/typhoon.c iowrite32(0, ioaddr + TYPHOON_REG_TX_LO_READY); ioaddr 1497 drivers/net/ethernet/3com/typhoon.c typhoon_post_pci_writes(ioaddr); ioaddr 1498 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_BOOTCMD_BOOT, ioaddr + TYPHOON_REG_COMMAND); ioaddr 1757 drivers/net/ethernet/3com/typhoon.c tp->ioaddr + TYPHOON_REG_INTR_MASK); ioaddr 1758 drivers/net/ethernet/3com/typhoon.c typhoon_post_pci_writes(tp->ioaddr); ioaddr 1769 drivers/net/ethernet/3com/typhoon.c void __iomem *ioaddr = tp->ioaddr; ioaddr 1772 drivers/net/ethernet/3com/typhoon.c intr_status = ioread32(ioaddr + TYPHOON_REG_INTR_STATUS); ioaddr 1776 drivers/net/ethernet/3com/typhoon.c iowrite32(intr_status, ioaddr + TYPHOON_REG_INTR_STATUS); ioaddr 1779 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_INTR_ALL, ioaddr + TYPHOON_REG_INTR_MASK); ioaddr 1780 drivers/net/ethernet/3com/typhoon.c typhoon_post_pci_writes(ioaddr); ioaddr 1808 drivers/net/ethernet/3com/typhoon.c void __iomem *ioaddr = tp->ioaddr; ioaddr 1828 drivers/net/ethernet/3com/typhoon.c if(typhoon_wait_status(ioaddr, TYPHOON_STATUS_SLEEPING) < 0) ioaddr 1845 drivers/net/ethernet/3com/typhoon.c void __iomem *ioaddr = tp->ioaddr; ioaddr 1854 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_BOOTCMD_WAKEUP, ioaddr + TYPHOON_REG_COMMAND); ioaddr 1855 drivers/net/ethernet/3com/typhoon.c if(typhoon_wait_status(ioaddr, TYPHOON_STATUS_WAITING_FOR_HOST) < 0 || ioaddr 1857 drivers/net/ethernet/3com/typhoon.c return typhoon_reset(ioaddr, wait_type); ioaddr 1866 drivers/net/ethernet/3com/typhoon.c void __iomem *ioaddr = tp->ioaddr; ioaddr 1941 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_INTR_ENABLE_ALL, ioaddr + TYPHOON_REG_INTR_ENABLE); ioaddr 1942 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_INTR_NONE, ioaddr + TYPHOON_REG_INTR_MASK); ioaddr 1943 drivers/net/ethernet/3com/typhoon.c typhoon_post_pci_writes(ioaddr); ioaddr 1948 drivers/net/ethernet/3com/typhoon.c typhoon_reset(ioaddr, WaitNoSleep); ioaddr 1959 drivers/net/ethernet/3com/typhoon.c void __iomem *ioaddr = tp->ioaddr; ioaddr 1967 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_INTR_NONE, ioaddr + TYPHOON_REG_INTR_ENABLE); ioaddr 1998 drivers/net/ethernet/3com/typhoon.c if(typhoon_wait_status(ioaddr, TYPHOON_STATUS_HALTED) < 0) ioaddr 2001 drivers/net/ethernet/3com/typhoon.c if(typhoon_reset(ioaddr, wait_type) < 0) { ioaddr 2020 drivers/net/ethernet/3com/typhoon.c if(typhoon_reset(tp->ioaddr, WaitNoSleep) < 0) { ioaddr 2039 drivers/net/ethernet/3com/typhoon.c typhoon_reset(tp->ioaddr, NoWait); ioaddr 2081 drivers/net/ethernet/3com/typhoon.c typhoon_reset(tp->ioaddr, NoWait); ioaddr 2144 drivers/net/ethernet/3com/typhoon.c typhoon_reset(tp->ioaddr, NoWait); ioaddr 2210 drivers/net/ethernet/3com/typhoon.c void __iomem *ioaddr = pci_iomap(pdev, 1, 128); ioaddr 2214 drivers/net/ethernet/3com/typhoon.c if(!ioaddr) ioaddr 2217 drivers/net/ethernet/3com/typhoon.c if(ioread32(ioaddr + TYPHOON_REG_STATUS) != ioaddr 2221 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_INTR_ALL, ioaddr + TYPHOON_REG_INTR_MASK); ioaddr 2222 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_INTR_ALL, ioaddr + TYPHOON_REG_INTR_STATUS); ioaddr 2223 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_INTR_ALL, ioaddr + TYPHOON_REG_INTR_ENABLE); ioaddr 2229 drivers/net/ethernet/3com/typhoon.c val = ioread32(ioaddr + TYPHOON_REG_INTR_STATUS); ioaddr 2231 drivers/net/ethernet/3com/typhoon.c iowrite32(1, ioaddr + TYPHOON_REG_SELF_INTERRUPT); ioaddr 2232 drivers/net/ethernet/3com/typhoon.c ioread32(ioaddr + TYPHOON_REG_INTR_STATUS); ioaddr 2234 drivers/net/ethernet/3com/typhoon.c val = ioread32(ioaddr + TYPHOON_REG_INTR_STATUS); ioaddr 2239 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_INTR_ALL, ioaddr + TYPHOON_REG_INTR_MASK); ioaddr 2240 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_INTR_ALL, ioaddr + TYPHOON_REG_INTR_STATUS); ioaddr 2241 drivers/net/ethernet/3com/typhoon.c iowrite32(TYPHOON_INTR_NONE, ioaddr + TYPHOON_REG_INTR_ENABLE); ioaddr 2242 drivers/net/ethernet/3com/typhoon.c ioread32(ioaddr + TYPHOON_REG_INTR_STATUS); ioaddr 2245 drivers/net/ethernet/3com/typhoon.c pci_iounmap(pdev, ioaddr); ioaddr 2270 drivers/net/ethernet/3com/typhoon.c void __iomem *ioaddr; ioaddr 2338 drivers/net/ethernet/3com/typhoon.c ioaddr = pci_iomap(pdev, use_mmio, 128); ioaddr 2339 drivers/net/ethernet/3com/typhoon.c if (!ioaddr) { ioaddr 2361 drivers/net/ethernet/3com/typhoon.c tp->ioaddr = ioaddr; ioaddr 2362 drivers/net/ethernet/3com/typhoon.c tp->tx_ioaddr = ioaddr; ioaddr 2372 drivers/net/ethernet/3com/typhoon.c err = typhoon_reset(ioaddr, WaitSleep); ioaddr 2498 drivers/net/ethernet/3com/typhoon.c typhoon_reset(ioaddr, NoWait); ioaddr 2504 drivers/net/ethernet/3com/typhoon.c pci_iounmap(pdev, ioaddr); ioaddr 2527 drivers/net/ethernet/3com/typhoon.c typhoon_reset(tp->ioaddr, NoWait); ioaddr 2528 drivers/net/ethernet/3com/typhoon.c pci_iounmap(pdev, tp->ioaddr); ioaddr 79 drivers/net/ethernet/8390/apne.c static int apne_probe1(struct net_device *dev, int ioaddr); ioaddr 204 drivers/net/ethernet/8390/apne.c static int __init apne_probe1(struct net_device *dev, int ioaddr) ioaddr 224 drivers/net/ethernet/8390/apne.c outb(inb(ioaddr + NE_RESET), ioaddr + NE_RESET); ioaddr 226 drivers/net/ethernet/8390/apne.c while ((inb(ioaddr + NE_EN0_ISR) & ENISR_RESET) == 0) ioaddr 232 drivers/net/ethernet/8390/apne.c outb(0xff, ioaddr + NE_EN0_ISR); /* Ack all intr. */ ioaddr 258 drivers/net/ethernet/8390/apne.c outb(program_seq[i].value, ioaddr + program_seq[i].offset); ioaddr 263 drivers/net/ethernet/8390/apne.c SA_prom[i] = inb(ioaddr + NE_DATAPORT); ioaddr 264 drivers/net/ethernet/8390/apne.c SA_prom[i+1] = inb(ioaddr + NE_DATAPORT); ioaddr 280 drivers/net/ethernet/8390/apne.c outb(0x49, ioaddr + NE_EN0_DCFG); ioaddr 307 drivers/net/ethernet/8390/apne.c outb(0x49, ioaddr + NE_EN0_DCFG); ioaddr 320 drivers/net/ethernet/8390/apne.c dev->base_addr = ioaddr; ioaddr 113 drivers/net/ethernet/8390/ax88796.c void __iomem *ioaddr = ei_local->mem; ioaddr 117 drivers/net/ethernet/8390/ax88796.c reg0 = ei_inb(ioaddr); ioaddr 121 drivers/net/ethernet/8390/ax88796.c ei_outb(E8390_NODMA + E8390_PAGE1 + E8390_STOP, ioaddr + E8390_CMD); ioaddr 122 drivers/net/ethernet/8390/ax88796.c regd = ei_inb(ioaddr + 0x0d); ioaddr 123 drivers/net/ethernet/8390/ax88796.c ei_outb(0xff, ioaddr + 0x0d); ioaddr 124 drivers/net/ethernet/8390/ax88796.c ei_outb(E8390_NODMA + E8390_PAGE0, ioaddr + E8390_CMD); ioaddr 125 drivers/net/ethernet/8390/ax88796.c ei_inb(ioaddr + EN0_COUNTER0); /* Clear the counter by reading. */ ioaddr 126 drivers/net/ethernet/8390/ax88796.c if (ei_inb(ioaddr + EN0_COUNTER0) != 0) { ioaddr 127 drivers/net/ethernet/8390/ax88796.c ei_outb(reg0, ioaddr); ioaddr 128 drivers/net/ethernet/8390/ax88796.c ei_outb(regd, ioaddr + 0x0d); /* Restore the old values. */ ioaddr 655 drivers/net/ethernet/8390/ax88796.c void __iomem *ioaddr = ei_local->mem; ioaddr 659 drivers/net/ethernet/8390/ax88796.c ei_outb(E8390_NODMA + E8390_PAGE0 + E8390_STOP, ioaddr + E8390_CMD); ioaddr 662 drivers/net/ethernet/8390/ax88796.c ei_outb(ax->plat->dcr_val & ~1, ioaddr + EN0_DCFG); ioaddr 663 drivers/net/ethernet/8390/ax88796.c ei_outb(ax->plat->gpoc_val, ioaddr + EI_SHIFT(0x17)); ioaddr 678 drivers/net/ethernet/8390/ax88796.c void __iomem *ioaddr = ei_local->mem; ioaddr 697 drivers/net/ethernet/8390/ax88796.c ei_outb(6, ioaddr + EN0_RCNTLO); ioaddr 698 drivers/net/ethernet/8390/ax88796.c ei_outb(0, ioaddr + EN0_RCNTHI); ioaddr 699 drivers/net/ethernet/8390/ax88796.c ei_outb(0, ioaddr + EN0_RSARLO); ioaddr 700 drivers/net/ethernet/8390/ax88796.c ei_outb(0, ioaddr + EN0_RSARHI); ioaddr 701 drivers/net/ethernet/8390/ax88796.c ei_outb(E8390_RREAD + E8390_START, ioaddr + NE_CMD); ioaddr 703 drivers/net/ethernet/8390/ax88796.c SA_prom[i] = ei_inb(ioaddr + NE_DATAPORT); ioaddr 704 drivers/net/ethernet/8390/ax88796.c SA_prom[i + 1] = ei_inb(ioaddr + NE_DATAPORT); ioaddr 706 drivers/net/ethernet/8390/ax88796.c ei_outb(ENISR_RDC, ioaddr + EN0_ISR); /* Ack intr. */ ioaddr 748 drivers/net/ethernet/8390/ax88796.c ei_inb(ioaddr + EN1_PHYS_SHIFT(i)); ioaddr 189 drivers/net/ethernet/8390/axnet_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 219 drivers/net/ethernet/8390/axnet_cs.c outb_p(program_seq[i].value, ioaddr + program_seq[i].offset); ioaddr 222 drivers/net/ethernet/8390/axnet_cs.c j = inw(ioaddr + AXNET_DATAPORT); ioaddr 1516 drivers/net/ethernet/8390/axnet_cs.c long ioaddr = dev->base_addr; ioaddr 1526 drivers/net/ethernet/8390/axnet_cs.c dev->stats.rx_frame_errors += inb_p(ioaddr + EN0_COUNTER0); ioaddr 1527 drivers/net/ethernet/8390/axnet_cs.c dev->stats.rx_crc_errors += inb_p(ioaddr + EN0_COUNTER1); ioaddr 1528 drivers/net/ethernet/8390/axnet_cs.c dev->stats.rx_missed_errors+= inb_p(ioaddr + EN0_COUNTER2); ioaddr 116 drivers/net/ethernet/8390/hydra.c unsigned long ioaddr = board+HYDRA_NIC_BASE; ioaddr 135 drivers/net/ethernet/8390/hydra.c z_writeb(0x4b, ioaddr + NE_EN0_DCFG); ioaddr 139 drivers/net/ethernet/8390/hydra.c dev->base_addr = ioaddr; ioaddr 852 drivers/net/ethernet/8390/lib8390.c unsigned long ioaddr = dev->base_addr; ioaddr 862 drivers/net/ethernet/8390/lib8390.c dev->stats.rx_frame_errors += ei_inb_p(ioaddr + EN0_COUNTER0); ioaddr 863 drivers/net/ethernet/8390/lib8390.c dev->stats.rx_crc_errors += ei_inb_p(ioaddr + EN0_COUNTER1); ioaddr 864 drivers/net/ethernet/8390/lib8390.c dev->stats.rx_missed_errors += ei_inb_p(ioaddr + EN0_COUNTER2); ioaddr 175 drivers/net/ethernet/8390/ne.c static int ne_probe1(struct net_device *dev, unsigned long ioaddr); ioaddr 233 drivers/net/ethernet/8390/ne.c int ioaddr = netcard_portlist[base_addr]; ioaddr 235 drivers/net/ethernet/8390/ne.c if (ne_probe1(dev, ioaddr) == 0) ioaddr 291 drivers/net/ethernet/8390/ne.c static int __init ne_probe1(struct net_device *dev, unsigned long ioaddr) ioaddr 303 drivers/net/ethernet/8390/ne.c if (!request_region(ioaddr, NE_IO_EXTENT, DRV_NAME)) ioaddr 306 drivers/net/ethernet/8390/ne.c reg0 = inb_p(ioaddr); ioaddr 315 drivers/net/ethernet/8390/ne.c outb_p(E8390_NODMA+E8390_PAGE1+E8390_STOP, ioaddr + E8390_CMD); ioaddr 316 drivers/net/ethernet/8390/ne.c regd = inb_p(ioaddr + 0x0d); ioaddr 317 drivers/net/ethernet/8390/ne.c outb_p(0xff, ioaddr + 0x0d); ioaddr 318 drivers/net/ethernet/8390/ne.c outb_p(E8390_NODMA+E8390_PAGE0, ioaddr + E8390_CMD); ioaddr 319 drivers/net/ethernet/8390/ne.c inb_p(ioaddr + EN0_COUNTER0); /* Clear the counter by reading. */ ioaddr 320 drivers/net/ethernet/8390/ne.c if (inb_p(ioaddr + EN0_COUNTER0) != 0) { ioaddr 321 drivers/net/ethernet/8390/ne.c outb_p(reg0, ioaddr); ioaddr 322 drivers/net/ethernet/8390/ne.c outb_p(regd, ioaddr + 0x0d); /* Restore the old values. */ ioaddr 331 drivers/net/ethernet/8390/ne.c netdev_info(dev, "NE*000 ethercard probe at %#3lx:", ioaddr); ioaddr 347 drivers/net/ethernet/8390/ne.c outb(inb(ioaddr + NE_RESET), ioaddr + NE_RESET); ioaddr 349 drivers/net/ethernet/8390/ne.c while ((inb_p(ioaddr + EN0_ISR) & ENISR_RESET) == 0) ioaddr 361 drivers/net/ethernet/8390/ne.c outb_p(0xff, ioaddr + EN0_ISR); /* Ack all intr. */ ioaddr 387 drivers/net/ethernet/8390/ne.c outb_p(program_seq[i].value, ioaddr + program_seq[i].offset); ioaddr 391 drivers/net/ethernet/8390/ne.c SA_prom[i] = inb(ioaddr + NE_DATAPORT); ioaddr 392 drivers/net/ethernet/8390/ne.c SA_prom[i+1] = inb(ioaddr + NE_DATAPORT); ioaddr 402 drivers/net/ethernet/8390/ne.c outb_p(DCR_VAL, ioaddr + EN0_DCFG); ioaddr 412 drivers/net/ethernet/8390/ne.c inb(ioaddr + EN0_RCNTLO) == 0x50 && ioaddr 413 drivers/net/ethernet/8390/ne.c inb(ioaddr + EN0_RCNTHI) == 0x70) ioaddr 473 drivers/net/ethernet/8390/ne.c outb_p(0x50, ioaddr + EN0_IMR); /* Enable one interrupt. */ ioaddr 474 drivers/net/ethernet/8390/ne.c outb_p(0x00, ioaddr + EN0_RCNTLO); ioaddr 475 drivers/net/ethernet/8390/ne.c outb_p(0x00, ioaddr + EN0_RCNTHI); ioaddr 476 drivers/net/ethernet/8390/ne.c outb_p(E8390_RREAD+E8390_START, ioaddr); /* Trigger it... */ ioaddr 478 drivers/net/ethernet/8390/ne.c outb_p(0x00, ioaddr + EN0_IMR); /* Mask it again. */ ioaddr 501 drivers/net/ethernet/8390/ne.c dev->base_addr = ioaddr; ioaddr 536 drivers/net/ethernet/8390/ne.c name, ioaddr, dev->irq); ioaddr 542 drivers/net/ethernet/8390/ne.c release_region(ioaddr, NE_IO_EXTENT); ioaddr 226 drivers/net/ethernet/8390/ne2k-pci.c long ioaddr; ioaddr 243 drivers/net/ethernet/8390/ne2k-pci.c ioaddr = pci_resource_start (pdev, 0); ioaddr 246 drivers/net/ethernet/8390/ne2k-pci.c if (!ioaddr || ((pci_resource_flags (pdev, 0) & IORESOURCE_IO) == 0)) { ioaddr 251 drivers/net/ethernet/8390/ne2k-pci.c if (request_region (ioaddr, NE_IO_EXTENT, DRV_NAME) == NULL) { ioaddr 253 drivers/net/ethernet/8390/ne2k-pci.c NE_IO_EXTENT, ioaddr); ioaddr 257 drivers/net/ethernet/8390/ne2k-pci.c reg0 = inb(ioaddr); ioaddr 264 drivers/net/ethernet/8390/ne2k-pci.c outb(E8390_NODMA+E8390_PAGE1+E8390_STOP, ioaddr + E8390_CMD); ioaddr 265 drivers/net/ethernet/8390/ne2k-pci.c regd = inb(ioaddr + 0x0d); ioaddr 266 drivers/net/ethernet/8390/ne2k-pci.c outb(0xff, ioaddr + 0x0d); ioaddr 267 drivers/net/ethernet/8390/ne2k-pci.c outb(E8390_NODMA+E8390_PAGE0, ioaddr + E8390_CMD); ioaddr 268 drivers/net/ethernet/8390/ne2k-pci.c inb(ioaddr + EN0_COUNTER0); /* Clear the counter by reading. */ ioaddr 269 drivers/net/ethernet/8390/ne2k-pci.c if (inb(ioaddr + EN0_COUNTER0) != 0) { ioaddr 270 drivers/net/ethernet/8390/ne2k-pci.c outb(reg0, ioaddr); ioaddr 271 drivers/net/ethernet/8390/ne2k-pci.c outb(regd, ioaddr + 0x0d); /* Restore the old values. */ ioaddr 292 drivers/net/ethernet/8390/ne2k-pci.c outb(inb(ioaddr + NE_RESET), ioaddr + NE_RESET); ioaddr 297 drivers/net/ethernet/8390/ne2k-pci.c while ((inb(ioaddr + EN0_ISR) & ENISR_RESET) == 0) ioaddr 305 drivers/net/ethernet/8390/ne2k-pci.c outb(0xff, ioaddr + EN0_ISR); /* Ack all intr. */ ioaddr 329 drivers/net/ethernet/8390/ne2k-pci.c outb(program_seq[i].value, ioaddr + program_seq[i].offset); ioaddr 337 drivers/net/ethernet/8390/ne2k-pci.c ((u32 *)SA_prom)[i] = le32_to_cpu(inl(ioaddr + NE_DATAPORT)); ioaddr 340 drivers/net/ethernet/8390/ne2k-pci.c SA_prom[i] = inb(ioaddr + NE_DATAPORT); ioaddr 343 drivers/net/ethernet/8390/ne2k-pci.c outb(0x49, ioaddr + EN0_DCFG); ioaddr 350 drivers/net/ethernet/8390/ne2k-pci.c dev->base_addr = ioaddr; ioaddr 385 drivers/net/ethernet/8390/ne2k-pci.c pci_clone_list[chip_idx].name, ioaddr, dev->irq, ioaddr 393 drivers/net/ethernet/8390/ne2k-pci.c release_region (ioaddr, NE_IO_EXTENT); ioaddr 404 drivers/net/ethernet/8390/ne2k-pci.c long ioaddr = dev->base_addr; ioaddr 406 drivers/net/ethernet/8390/ne2k-pci.c outb(0xC0 + E8390_NODMA, ioaddr + NE_CMD); /* Page 3 */ ioaddr 407 drivers/net/ethernet/8390/ne2k-pci.c outb(0xC0, ioaddr + 0x01); /* Enable writes to CONFIG3 */ ioaddr 408 drivers/net/ethernet/8390/ne2k-pci.c outb(0x40, ioaddr + 0x06); /* Enable full duplex */ ioaddr 409 drivers/net/ethernet/8390/ne2k-pci.c outb(0x00, ioaddr + 0x01); /* Disable writes to CONFIG3 */ ioaddr 410 drivers/net/ethernet/8390/ne2k-pci.c outb(E8390_PAGE0 + E8390_NODMA, ioaddr + NE_CMD); /* Page 0 */ ioaddr 416 drivers/net/ethernet/8390/ne2k-pci.c long ioaddr = dev->base_addr; ioaddr 418 drivers/net/ethernet/8390/ne2k-pci.c outb(inb(ioaddr + 0x20) | 0x80, ioaddr + 0x20); ioaddr 326 drivers/net/ethernet/8390/pcnet_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 353 drivers/net/ethernet/8390/pcnet_cs.c outb_p(program_seq[i].value, ioaddr + program_seq[i].offset); ioaddr 356 drivers/net/ethernet/8390/pcnet_cs.c prom[i] = inb(ioaddr + PCNET_DATAPORT); ioaddr 402 drivers/net/ethernet/8390/pcnet_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 409 drivers/net/ethernet/8390/pcnet_cs.c outb_p(0x01, ioaddr + EN0_DCFG); /* Set word-wide access. */ ioaddr 410 drivers/net/ethernet/8390/pcnet_cs.c outb_p(0x00, ioaddr + EN0_RSARLO); /* DMA starting at 0x0400. */ ioaddr 411 drivers/net/ethernet/8390/pcnet_cs.c outb_p(0x04, ioaddr + EN0_RSARHI); ioaddr 412 drivers/net/ethernet/8390/pcnet_cs.c outb_p(E8390_RREAD+E8390_START, ioaddr + E8390_CMD); ioaddr 415 drivers/net/ethernet/8390/pcnet_cs.c j = inw(ioaddr + PCNET_DATAPORT); ioaddr 759 drivers/net/ethernet/8390/pcnet_cs.c static int read_eeprom(unsigned int ioaddr, int location) ioaddr 762 drivers/net/ethernet/8390/pcnet_cs.c unsigned int ee_addr = ioaddr + DLINK_EEPROM; ioaddr 793 drivers/net/ethernet/8390/pcnet_cs.c static void write_asic(unsigned int ioaddr, int location, short asic_data) ioaddr 796 drivers/net/ethernet/8390/pcnet_cs.c unsigned int ee_addr = ioaddr + DLINK_EEPROM; ioaddr 800 drivers/net/ethernet/8390/pcnet_cs.c asic_data |= read_eeprom(ioaddr, location); ioaddr 81 drivers/net/ethernet/8390/smc-ultra.c static int ultra_probe1(struct net_device *dev, int ioaddr); ioaddr 203 drivers/net/ethernet/8390/smc-ultra.c static int __init ultra_probe1(struct net_device *dev, int ioaddr) ioaddr 212 drivers/net/ethernet/8390/smc-ultra.c unsigned char idreg = inb(ioaddr + 7); ioaddr 213 drivers/net/ethernet/8390/smc-ultra.c unsigned char reg4 = inb(ioaddr + 4) & 0x7f; ioaddr 216 drivers/net/ethernet/8390/smc-ultra.c if (!request_region(ioaddr, ULTRA_IO_EXTENT, DRV_NAME)) ioaddr 227 drivers/net/ethernet/8390/smc-ultra.c outb(reg4, ioaddr + 4); ioaddr 230 drivers/net/ethernet/8390/smc-ultra.c checksum += inb(ioaddr + 8 + i); ioaddr 242 drivers/net/ethernet/8390/smc-ultra.c dev->dev_addr[i] = inb(ioaddr + 8 + i); ioaddr 245 drivers/net/ethernet/8390/smc-ultra.c ioaddr, dev->dev_addr); ioaddr 249 drivers/net/ethernet/8390/smc-ultra.c outb(0x80 | reg4, ioaddr + 4); ioaddr 252 drivers/net/ethernet/8390/smc-ultra.c outb(0x80 | inb(ioaddr + 0x0c), ioaddr + 0x0c); ioaddr 253 drivers/net/ethernet/8390/smc-ultra.c piomode = inb(ioaddr + 0x8); ioaddr 254 drivers/net/ethernet/8390/smc-ultra.c addr = inb(ioaddr + 0xb); ioaddr 255 drivers/net/ethernet/8390/smc-ultra.c irqreg = inb(ioaddr + 0xd); ioaddr 259 drivers/net/ethernet/8390/smc-ultra.c outb(reg4, ioaddr + 4); ioaddr 278 drivers/net/ethernet/8390/smc-ultra.c dev->base_addr = ioaddr+ULTRA_NIC_OFFSET; ioaddr 332 drivers/net/ethernet/8390/smc-ultra.c release_region(ioaddr, ULTRA_IO_EXTENT); ioaddr 389 drivers/net/ethernet/8390/smc-ultra.c int ioaddr = dev->base_addr - ULTRA_NIC_OFFSET; /* ASIC addr */ ioaddr 397 drivers/net/ethernet/8390/smc-ultra.c outb(0x00, ioaddr); /* Disable shared memory for safety. */ ioaddr 398 drivers/net/ethernet/8390/smc-ultra.c outb(0x80, ioaddr + 5); ioaddr 400 drivers/net/ethernet/8390/smc-ultra.c outb(inb(ioaddr + 4) | 0x80, ioaddr + 4); ioaddr 401 drivers/net/ethernet/8390/smc-ultra.c outb((inb(ioaddr + 13) & ~0x4C) | irq2reg[dev->irq], ioaddr + 13); ioaddr 402 drivers/net/ethernet/8390/smc-ultra.c outb(inb(ioaddr + 4) & 0x7f, ioaddr + 4); ioaddr 405 drivers/net/ethernet/8390/smc-ultra.c outb(0x11, ioaddr + 6); /* Enable interrupts and PIO. */ ioaddr 406 drivers/net/ethernet/8390/smc-ultra.c outb(0x01, ioaddr + 0x19); /* Enable ring read auto-wrap. */ ioaddr 408 drivers/net/ethernet/8390/smc-ultra.c outb(0x01, ioaddr + 6); /* Enable interrupts and memory. */ ioaddr 507 drivers/net/ethernet/8390/smc-ultra.c int ioaddr = dev->base_addr - ULTRA_NIC_OFFSET; /* ASIC addr */ ioaddr 508 drivers/net/ethernet/8390/smc-ultra.c outb(0x00, ioaddr + IOPA); /* Set the address, LSB first. */ ioaddr 509 drivers/net/ethernet/8390/smc-ultra.c outb(ring_page, ioaddr + IOPA); ioaddr 510 drivers/net/ethernet/8390/smc-ultra.c insw(ioaddr + IOPD, hdr, sizeof(struct e8390_pkt_hdr)>>1); ioaddr 516 drivers/net/ethernet/8390/smc-ultra.c int ioaddr = dev->base_addr - ULTRA_NIC_OFFSET; /* ASIC addr */ ioaddr 520 drivers/net/ethernet/8390/smc-ultra.c outb(ring_offset, ioaddr + IOPA); /* Set the address, LSB first. */ ioaddr 521 drivers/net/ethernet/8390/smc-ultra.c outb(ring_offset >> 8, ioaddr + IOPA); ioaddr 523 drivers/net/ethernet/8390/smc-ultra.c insw(ioaddr + IOPD, buf, (count+1)>>1); ioaddr 529 drivers/net/ethernet/8390/smc-ultra.c int ioaddr = dev->base_addr - ULTRA_NIC_OFFSET; /* ASIC addr */ ioaddr 530 drivers/net/ethernet/8390/smc-ultra.c outb(0x00, ioaddr + IOPA); /* Set the address, LSB first. */ ioaddr 531 drivers/net/ethernet/8390/smc-ultra.c outb(start_page, ioaddr + IOPA); ioaddr 533 drivers/net/ethernet/8390/smc-ultra.c outsw(ioaddr + IOPD, buf, (count+1)>>1); ioaddr 539 drivers/net/ethernet/8390/smc-ultra.c int ioaddr = dev->base_addr - ULTRA_NIC_OFFSET; /* CMDREG */ ioaddr 546 drivers/net/ethernet/8390/smc-ultra.c outb(0x00, ioaddr + 6); /* Disable interrupts. */ ioaddr 51 drivers/net/ethernet/8390/wd.c static int wd_probe1(struct net_device *dev, int ioaddr); ioaddr 111 drivers/net/ethernet/8390/wd.c int ioaddr = wd_portlist[i]; ioaddr 112 drivers/net/ethernet/8390/wd.c r = request_region(ioaddr, WD_IO_EXTENT, "wd-probe"); ioaddr 115 drivers/net/ethernet/8390/wd.c if (wd_probe1(dev, ioaddr) == 0) { ioaddr 119 drivers/net/ethernet/8390/wd.c release_region(ioaddr, WD_IO_EXTENT); ioaddr 164 drivers/net/ethernet/8390/wd.c static int __init wd_probe1(struct net_device *dev, int ioaddr) ioaddr 176 drivers/net/ethernet/8390/wd.c checksum += inb(ioaddr + 8 + i); ioaddr 177 drivers/net/ethernet/8390/wd.c if (inb(ioaddr + 8) == 0xff /* Extra check to avoid soundcard. */ ioaddr 178 drivers/net/ethernet/8390/wd.c || inb(ioaddr + 9) == 0xff ioaddr 194 drivers/net/ethernet/8390/wd.c dev->dev_addr[i] = inb(ioaddr + 8 + i); ioaddr 196 drivers/net/ethernet/8390/wd.c netdev_info(dev, "WD80x3 at %#3x, %pM", ioaddr, dev->dev_addr); ioaddr 203 drivers/net/ethernet/8390/wd.c if (inb(ioaddr+0) == 'P' && inb(ioaddr+1) == 'D') { ioaddr 204 drivers/net/ethernet/8390/wd.c unsigned char reg5 = inb(ioaddr+5); ioaddr 206 drivers/net/ethernet/8390/wd.c switch (inb(ioaddr+2)) { ioaddr 223 drivers/net/ethernet/8390/wd.c if (inb(ioaddr+i) != inb(ioaddr+8+i)) ioaddr 230 drivers/net/ethernet/8390/wd.c int tmp = inb(ioaddr+1); /* fiddle with 16bit bit */ ioaddr 231 drivers/net/ethernet/8390/wd.c outb( tmp ^ 0x01, ioaddr+1 ); /* attempt to clear 16bit bit */ ioaddr 232 drivers/net/ethernet/8390/wd.c if (((inb( ioaddr+1) & 0x01) == 0x01) /* A 16 bit card */ ioaddr 234 drivers/net/ethernet/8390/wd.c int asic_reg5 = inb(ioaddr+WD_CMDREG5); ioaddr 236 drivers/net/ethernet/8390/wd.c outb( NIC16 | (asic_reg5&0x1f), ioaddr+WD_CMDREG5); ioaddr 237 drivers/net/ethernet/8390/wd.c outb(tmp, ioaddr+1); ioaddr 244 drivers/net/ethernet/8390/wd.c outb(tmp, ioaddr+1); /* Restore original reg1 value. */ ioaddr 247 drivers/net/ethernet/8390/wd.c if ( !ancient && (inb(ioaddr+1) & 0x01) != (word16 & 0x01)) ioaddr 250 drivers/net/ethernet/8390/wd.c (inb(ioaddr+1) & 0x01) ? 16 : 8); ioaddr 260 drivers/net/ethernet/8390/wd.c int reg0 = inb(ioaddr); ioaddr 266 drivers/net/ethernet/8390/wd.c int high_addr_bits = inb(ioaddr+WD_CMDREG5) & 0x1f; ioaddr 276 drivers/net/ethernet/8390/wd.c dev->base_addr = ioaddr+WD_NIC_OFFSET; ioaddr 280 drivers/net/ethernet/8390/wd.c int reg1 = inb(ioaddr+1); ioaddr 281 drivers/net/ethernet/8390/wd.c int reg4 = inb(ioaddr+4); ioaddr 283 drivers/net/ethernet/8390/wd.c short nic_addr = ioaddr+WD_NIC_OFFSET; ioaddr 358 drivers/net/ethernet/8390/wd.c if (inb(ioaddr+14) & 0x20) ioaddr 359 drivers/net/ethernet/8390/wd.c outb(inb(ioaddr+4)|0x80, ioaddr+4); ioaddr 373 drivers/net/ethernet/8390/wd.c int ioaddr = dev->base_addr - WD_NIC_OFFSET; /* WD_CMDREG */ ioaddr 381 drivers/net/ethernet/8390/wd.c outb(ei_status.reg5, ioaddr+WD_CMDREG5); ioaddr 382 drivers/net/ethernet/8390/wd.c outb(ei_status.reg0, ioaddr); /* WD_CMDREG */ ioaddr 291 drivers/net/ethernet/8390/zorro8390.c const char *name, void __iomem *ioaddr) ioaddr 306 drivers/net/ethernet/8390/zorro8390.c z_writeb(z_readb(ioaddr + NE_RESET), ioaddr + NE_RESET); ioaddr 308 drivers/net/ethernet/8390/zorro8390.c while ((z_readb(ioaddr + NE_EN0_ISR) & ENISR_RESET) == 0) ioaddr 315 drivers/net/ethernet/8390/zorro8390.c z_writeb(0xff, ioaddr + NE_EN0_ISR); /* Ack all intr. */ ioaddr 346 drivers/net/ethernet/8390/zorro8390.c ioaddr + program_seq[i].offset); ioaddr 349 drivers/net/ethernet/8390/zorro8390.c SA_prom[i] = z_readb(ioaddr + NE_DATAPORT); ioaddr 350 drivers/net/ethernet/8390/zorro8390.c (void)z_readb(ioaddr + NE_DATAPORT); ioaddr 354 drivers/net/ethernet/8390/zorro8390.c z_writeb(0x49, ioaddr + NE_EN0_DCFG); ioaddr 358 drivers/net/ethernet/8390/zorro8390.c dev->base_addr = (unsigned long)ioaddr; ioaddr 404 drivers/net/ethernet/8390/zorro8390.c unsigned long board, ioaddr; ioaddr 414 drivers/net/ethernet/8390/zorro8390.c ioaddr = board + cards[i].offset; ioaddr 418 drivers/net/ethernet/8390/zorro8390.c if (!request_mem_region(ioaddr, NE_IO_EXTENT * 2, DRV_NAME)) { ioaddr 422 drivers/net/ethernet/8390/zorro8390.c err = zorro8390_init(dev, board, cards[i].name, ZTWO_VADDR(ioaddr)); ioaddr 424 drivers/net/ethernet/8390/zorro8390.c release_mem_region(ioaddr, NE_IO_EXTENT * 2); ioaddr 652 drivers/net/ethernet/adaptec/starfire.c long ioaddr; ioaddr 667 drivers/net/ethernet/adaptec/starfire.c ioaddr = pci_resource_start(pdev, 0); ioaddr 669 drivers/net/ethernet/adaptec/starfire.c if (!ioaddr || ((pci_resource_flags(pdev, 0) & IORESOURCE_MEM) == 0)) { ioaddr 687 drivers/net/ethernet/adaptec/starfire.c base = ioremap(ioaddr, io_size); ioaddr 690 drivers/net/ethernet/adaptec/starfire.c io_size, ioaddr); ioaddr 878 drivers/net/ethernet/adaptec/starfire.c void __iomem *ioaddr = np->base; ioaddr 891 drivers/net/ethernet/adaptec/starfire.c writel(0, ioaddr + GenCtrl); ioaddr 892 drivers/net/ethernet/adaptec/starfire.c writel(1, ioaddr + PCIDeviceConfig); ioaddr 930 drivers/net/ethernet/adaptec/starfire.c ioaddr + RxDescQCtrl); ioaddr 937 drivers/net/ethernet/adaptec/starfire.c ioaddr + RxDMACtrl); ioaddr 945 drivers/net/ethernet/adaptec/starfire.c ioaddr + TxDescCtrl); ioaddr 947 drivers/net/ethernet/adaptec/starfire.c writel( (np->queue_mem_dma >> 16) >> 16, ioaddr + RxDescQHiAddr); ioaddr 948 drivers/net/ethernet/adaptec/starfire.c writel( (np->queue_mem_dma >> 16) >> 16, ioaddr + TxRingHiAddr); ioaddr 949 drivers/net/ethernet/adaptec/starfire.c writel( (np->queue_mem_dma >> 16) >> 16, ioaddr + CompletionHiAddr); ioaddr 950 drivers/net/ethernet/adaptec/starfire.c writel(np->rx_ring_dma, ioaddr + RxDescQAddr); ioaddr 951 drivers/net/ethernet/adaptec/starfire.c writel(np->tx_ring_dma, ioaddr + TxRingPtr); ioaddr 953 drivers/net/ethernet/adaptec/starfire.c writel(np->tx_done_q_dma, ioaddr + TxCompletionAddr); ioaddr 957 drivers/net/ethernet/adaptec/starfire.c ioaddr + RxCompletionAddr); ioaddr 964 drivers/net/ethernet/adaptec/starfire.c writeb(dev->dev_addr[i], ioaddr + TxStationAddr + 5 - i); ioaddr 967 drivers/net/ethernet/adaptec/starfire.c writew(0, ioaddr + PerfFilterTable); ioaddr 968 drivers/net/ethernet/adaptec/starfire.c writew(0, ioaddr + PerfFilterTable + 4); ioaddr 969 drivers/net/ethernet/adaptec/starfire.c writew(0, ioaddr + PerfFilterTable + 8); ioaddr 972 drivers/net/ethernet/adaptec/starfire.c void __iomem *setup_frm = ioaddr + PerfFilterTable + i * 16; ioaddr 981 drivers/net/ethernet/adaptec/starfire.c writel(MiiSoftReset | np->tx_mode, ioaddr + TxMode); ioaddr 983 drivers/net/ethernet/adaptec/starfire.c writel(np->tx_mode, ioaddr + TxMode); ioaddr 985 drivers/net/ethernet/adaptec/starfire.c writel(np->tx_threshold, ioaddr + TxThreshold); ioaddr 987 drivers/net/ethernet/adaptec/starfire.c writel(np->intr_timer_ctrl, ioaddr + IntrTimerCtrl); ioaddr 1001 drivers/net/ethernet/adaptec/starfire.c writel(0x0f00ff00, ioaddr + GPIOCtrl); ioaddr 1007 drivers/net/ethernet/adaptec/starfire.c ioaddr + IntrEnable); ioaddr 1009 drivers/net/ethernet/adaptec/starfire.c writel(0x00800000 | readl(ioaddr + PCIDeviceConfig), ioaddr 1010 drivers/net/ethernet/adaptec/starfire.c ioaddr + PCIDeviceConfig); ioaddr 1014 drivers/net/ethernet/adaptec/starfire.c writel(ETH_P_8021Q, ioaddr + VlanType); ioaddr 1048 drivers/net/ethernet/adaptec/starfire.c writel(be32_to_cpup(&fw_rx_data[i]), ioaddr + RxGfpMem + i * 4); ioaddr 1050 drivers/net/ethernet/adaptec/starfire.c writel(be32_to_cpup(&fw_tx_data[i]), ioaddr + TxGfpMem + i * 4); ioaddr 1053 drivers/net/ethernet/adaptec/starfire.c writel(TxEnable|TxGFPEnable|RxEnable|RxGFPEnable, ioaddr + GenCtrl); ioaddr 1056 drivers/net/ethernet/adaptec/starfire.c writel(TxEnable|RxEnable, ioaddr + GenCtrl); ioaddr 1111 drivers/net/ethernet/adaptec/starfire.c void __iomem *ioaddr = np->base; ioaddr 1115 drivers/net/ethernet/adaptec/starfire.c "resetting...\n", dev->name, (int) readl(ioaddr + IntrStatus)); ioaddr 1315 drivers/net/ethernet/adaptec/starfire.c void __iomem *ioaddr = np->base; ioaddr 1322 drivers/net/ethernet/adaptec/starfire.c u32 intr_status = readl(ioaddr + IntrClear); ioaddr 1338 drivers/net/ethernet/adaptec/starfire.c enable = readl(ioaddr + IntrEnable); ioaddr 1340 drivers/net/ethernet/adaptec/starfire.c writel(enable, ioaddr + IntrEnable); ioaddr 1342 drivers/net/ethernet/adaptec/starfire.c readl(ioaddr + IntrEnable); ioaddr 1345 drivers/net/ethernet/adaptec/starfire.c enable = readl(ioaddr + IntrEnable); ioaddr 1351 drivers/net/ethernet/adaptec/starfire.c writel(enable, ioaddr + IntrEnable); ioaddr 1359 drivers/net/ethernet/adaptec/starfire.c consumer = readl(ioaddr + TxConsumerIdx); ioaddr 1398 drivers/net/ethernet/adaptec/starfire.c writew(np->tx_done, ioaddr + CompletionQConsumerIdx + 2); ioaddr 1429 drivers/net/ethernet/adaptec/starfire.c dev->name, (int) readl(ioaddr + IntrStatus)); ioaddr 1565 drivers/net/ethernet/adaptec/starfire.c void __iomem *ioaddr = np->base; ioaddr 1569 drivers/net/ethernet/adaptec/starfire.c writel(IntrRxDone | IntrRxEmpty, ioaddr + IntrClear); ioaddr 1574 drivers/net/ethernet/adaptec/starfire.c intr_status = readl(ioaddr + IntrStatus); ioaddr 1578 drivers/net/ethernet/adaptec/starfire.c intr_status = readl(ioaddr + IntrEnable); ioaddr 1580 drivers/net/ethernet/adaptec/starfire.c writel(intr_status, ioaddr + IntrEnable); ioaddr 1627 drivers/net/ethernet/adaptec/starfire.c void __iomem *ioaddr = np->base; ioaddr 1680 drivers/net/ethernet/adaptec/starfire.c writel(np->tx_mode | MiiSoftReset, ioaddr + TxMode); ioaddr 1682 drivers/net/ethernet/adaptec/starfire.c writel(np->tx_mode, ioaddr + TxMode); ioaddr 1690 drivers/net/ethernet/adaptec/starfire.c writel(new_intr_timer_ctrl, ioaddr + IntrTimerCtrl); ioaddr 1729 drivers/net/ethernet/adaptec/starfire.c void __iomem *ioaddr = np->base; ioaddr 1732 drivers/net/ethernet/adaptec/starfire.c dev->stats.tx_bytes = readl(ioaddr + 0x57010); ioaddr 1733 drivers/net/ethernet/adaptec/starfire.c dev->stats.rx_bytes = readl(ioaddr + 0x57044); ioaddr 1734 drivers/net/ethernet/adaptec/starfire.c dev->stats.tx_packets = readl(ioaddr + 0x57000); ioaddr 1736 drivers/net/ethernet/adaptec/starfire.c readl(ioaddr + 0x57024) + readl(ioaddr + 0x57028); ioaddr 1737 drivers/net/ethernet/adaptec/starfire.c dev->stats.tx_window_errors = readl(ioaddr + 0x57018); ioaddr 1739 drivers/net/ethernet/adaptec/starfire.c readl(ioaddr + 0x57004) + readl(ioaddr + 0x57008); ioaddr 1742 drivers/net/ethernet/adaptec/starfire.c dev->stats.rx_dropped += readw(ioaddr + RxDMAStatus); ioaddr 1743 drivers/net/ethernet/adaptec/starfire.c writew(0, ioaddr + RxDMAStatus); ioaddr 1744 drivers/net/ethernet/adaptec/starfire.c dev->stats.rx_crc_errors = readl(ioaddr + 0x5703C); ioaddr 1745 drivers/net/ethernet/adaptec/starfire.c dev->stats.rx_frame_errors = readl(ioaddr + 0x57040); ioaddr 1746 drivers/net/ethernet/adaptec/starfire.c dev->stats.rx_length_errors = readl(ioaddr + 0x57058); ioaddr 1747 drivers/net/ethernet/adaptec/starfire.c dev->stats.rx_missed_errors = readl(ioaddr + 0x5707C); ioaddr 1782 drivers/net/ethernet/adaptec/starfire.c void __iomem *ioaddr = np->base; ioaddr 1799 drivers/net/ethernet/adaptec/starfire.c void __iomem *filter_addr = ioaddr + PerfFilterTable + 2 * 16; ioaddr 1831 drivers/net/ethernet/adaptec/starfire.c filter_addr = ioaddr + PerfFilterTable + 2 * 16; ioaddr 1838 drivers/net/ethernet/adaptec/starfire.c for (filter_addr = ioaddr + HashTable, i = 0; i < 32; filter_addr+= 16, i++) ioaddr 1842 drivers/net/ethernet/adaptec/starfire.c writel(rx_mode, ioaddr + RxFilterMode); ioaddr 1937 drivers/net/ethernet/adaptec/starfire.c void __iomem *ioaddr = np->base; ioaddr 1946 drivers/net/ethernet/adaptec/starfire.c dev->name, (int) readl(ioaddr + IntrStatus)); ioaddr 1953 drivers/net/ethernet/adaptec/starfire.c writel(0, ioaddr + IntrEnable); ioaddr 1956 drivers/net/ethernet/adaptec/starfire.c writel(0, ioaddr + GenCtrl); ioaddr 1957 drivers/net/ethernet/adaptec/starfire.c readl(ioaddr + GenCtrl); ioaddr 9 drivers/net/ethernet/altera/altera_utils.c void tse_set_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask) ioaddr 11 drivers/net/ethernet/altera/altera_utils.c u32 value = csrrd32(ioaddr, offs); ioaddr 13 drivers/net/ethernet/altera/altera_utils.c csrwr32(value, ioaddr, offs); ioaddr 16 drivers/net/ethernet/altera/altera_utils.c void tse_clear_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask) ioaddr 18 drivers/net/ethernet/altera/altera_utils.c u32 value = csrrd32(ioaddr, offs); ioaddr 20 drivers/net/ethernet/altera/altera_utils.c csrwr32(value, ioaddr, offs); ioaddr 23 drivers/net/ethernet/altera/altera_utils.c int tse_bit_is_set(void __iomem *ioaddr, size_t offs, u32 bit_mask) ioaddr 25 drivers/net/ethernet/altera/altera_utils.c u32 value = csrrd32(ioaddr, offs); ioaddr 29 drivers/net/ethernet/altera/altera_utils.c int tse_bit_is_clear(void __iomem *ioaddr, size_t offs, u32 bit_mask) ioaddr 31 drivers/net/ethernet/altera/altera_utils.c u32 value = csrrd32(ioaddr, offs); ioaddr 11 drivers/net/ethernet/altera/altera_utils.h void tse_set_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask); ioaddr 12 drivers/net/ethernet/altera/altera_utils.h void tse_clear_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask); ioaddr 13 drivers/net/ethernet/altera/altera_utils.h int tse_bit_is_set(void __iomem *ioaddr, size_t offs, u32 bit_mask); ioaddr 14 drivers/net/ethernet/altera/altera_utils.h int tse_bit_is_clear(void __iomem *ioaddr, size_t offs, u32 bit_mask); ioaddr 247 drivers/net/ethernet/amd/atarilance.c unsigned long ioaddr; ioaddr 471 drivers/net/ethernet/amd/atarilance.c volatile unsigned short *ioaddr = ioaddr 472 drivers/net/ethernet/amd/atarilance.c (volatile unsigned short *)init_rec->ioaddr; ioaddr 480 drivers/net/ethernet/amd/atarilance.c (long)memaddr, (long)ioaddr )); ioaddr 498 drivers/net/ethernet/amd/atarilance.c if (!addr_accessible( ioaddr, 1, 1 )) goto probe_fail; ioaddr 502 drivers/net/ethernet/amd/atarilance.c save2 = ioaddr[1]; ioaddr 503 drivers/net/ethernet/amd/atarilance.c ioaddr[1] = 0x0001; ioaddr 504 drivers/net/ethernet/amd/atarilance.c if (ioaddr[1] != 0x0001) goto probe_fail; ioaddr 508 drivers/net/ethernet/amd/atarilance.c save1 = ioaddr[0]; ioaddr 509 drivers/net/ethernet/amd/atarilance.c ioaddr[1] = CSR0; ioaddr 510 drivers/net/ethernet/amd/atarilance.c ioaddr[0] = CSR0_INIT | CSR0_STOP; ioaddr 511 drivers/net/ethernet/amd/atarilance.c if (ioaddr[0] != CSR0_STOP) { ioaddr 512 drivers/net/ethernet/amd/atarilance.c ioaddr[0] = save1; ioaddr 513 drivers/net/ethernet/amd/atarilance.c ioaddr[1] = save2; ioaddr 517 drivers/net/ethernet/amd/atarilance.c ioaddr[0] = CSR0_STOP; ioaddr 518 drivers/net/ethernet/amd/atarilance.c if (ioaddr[0] != CSR0_STOP) { ioaddr 519 drivers/net/ethernet/amd/atarilance.c ioaddr[0] = save1; ioaddr 520 drivers/net/ethernet/amd/atarilance.c ioaddr[1] = save2; ioaddr 534 drivers/net/ethernet/amd/atarilance.c IO = lp->iobase = (struct lance_ioreg *)ioaddr; ioaddr 535 drivers/net/ethernet/amd/atarilance.c dev->base_addr = (unsigned long)ioaddr; /* informational only */ ioaddr 580 drivers/net/ethernet/amd/atarilance.c (unsigned long)ioaddr, ioaddr 67 drivers/net/ethernet/amd/lance.c static int lance_probe1(struct net_device *dev, int ioaddr, int irq, int options); ioaddr 401 drivers/net/ethernet/amd/lance.c int ioaddr = *port; ioaddr 402 drivers/net/ethernet/amd/lance.c struct resource *r = request_region(ioaddr, LANCE_TOTAL_SIZE, ioaddr 407 drivers/net/ethernet/amd/lance.c char offset14 = inb(ioaddr + 14); ioaddr 413 drivers/net/ethernet/amd/lance.c char offset15 = inb(ioaddr + 15); ioaddr 420 drivers/net/ethernet/amd/lance.c result = lance_probe1(dev, ioaddr, 0, 0); ioaddr 429 drivers/net/ethernet/amd/lance.c release_region(ioaddr, LANCE_TOTAL_SIZE); ioaddr 468 drivers/net/ethernet/amd/lance.c static int __init lance_probe1(struct net_device *dev, int ioaddr, int irq, int options) ioaddr 495 drivers/net/ethernet/amd/lance.c ioaddr_table[inb(hp_port) & 3] == ioaddr) ioaddr 500 drivers/net/ethernet/amd/lance.c hpJ2405A = (inb(ioaddr) == 0x08 && inb(ioaddr+1) == 0x00 && ioaddr 501 drivers/net/ethernet/amd/lance.c inb(ioaddr+2) == 0x09); ioaddr 504 drivers/net/ethernet/amd/lance.c reset_val = inw(ioaddr+LANCE_RESET); /* Reset the LANCE */ ioaddr 509 drivers/net/ethernet/amd/lance.c outw(reset_val, ioaddr+LANCE_RESET); ioaddr 511 drivers/net/ethernet/amd/lance.c outw(0x0000, ioaddr+LANCE_ADDR); /* Switch to window 0 */ ioaddr 512 drivers/net/ethernet/amd/lance.c if (inw(ioaddr+LANCE_DATA) != 0x0004) ioaddr 516 drivers/net/ethernet/amd/lance.c outw(88, ioaddr+LANCE_ADDR); ioaddr 517 drivers/net/ethernet/amd/lance.c if (inw(ioaddr+LANCE_ADDR) != 88) { ioaddr 520 drivers/net/ethernet/amd/lance.c int chip_version = inw(ioaddr+LANCE_DATA); ioaddr 521 drivers/net/ethernet/amd/lance.c outw(89, ioaddr+LANCE_ADDR); ioaddr 522 drivers/net/ethernet/amd/lance.c chip_version |= inw(ioaddr+LANCE_DATA) << 16; ioaddr 537 drivers/net/ethernet/amd/lance.c printk("%s: %s at %#3x, ", dev->name, chipname, ioaddr); ioaddr 542 drivers/net/ethernet/amd/lance.c dev->dev_addr[i] = inb(ioaddr + i); ioaddr 545 drivers/net/ethernet/amd/lance.c dev->base_addr = ioaddr; ioaddr 577 drivers/net/ethernet/amd/lance.c outw(0x0001, ioaddr+LANCE_ADDR); ioaddr 578 drivers/net/ethernet/amd/lance.c inw(ioaddr+LANCE_ADDR); ioaddr 579 drivers/net/ethernet/amd/lance.c outw((short) (u32) isa_virt_to_bus(&lp->init_block), ioaddr+LANCE_DATA); ioaddr 580 drivers/net/ethernet/amd/lance.c outw(0x0002, ioaddr+LANCE_ADDR); ioaddr 581 drivers/net/ethernet/amd/lance.c inw(ioaddr+LANCE_ADDR); ioaddr 582 drivers/net/ethernet/amd/lance.c outw(((u32)isa_virt_to_bus(&lp->init_block)) >> 16, ioaddr+LANCE_DATA); ioaddr 583 drivers/net/ethernet/amd/lance.c outw(0x0000, ioaddr+LANCE_ADDR); ioaddr 584 drivers/net/ethernet/amd/lance.c inw(ioaddr+LANCE_ADDR); ioaddr 599 drivers/net/ethernet/amd/lance.c short reset_val = inw(ioaddr+LANCE_RESET); ioaddr 605 drivers/net/ethernet/amd/lance.c outw(8, ioaddr+LANCE_ADDR); ioaddr 606 drivers/net/ethernet/amd/lance.c bus_info = inw(ioaddr+LANCE_BUS_IF); ioaddr 633 drivers/net/ethernet/amd/lance.c outw(0x0041, ioaddr+LANCE_DATA); ioaddr 646 drivers/net/ethernet/amd/lance.c if (inw(ioaddr+LANCE_DATA) & 0x0100) ioaddr 668 drivers/net/ethernet/amd/lance.c outw(0x7f04, ioaddr+LANCE_DATA); /* Clear the memory error bits. */ ioaddr 678 drivers/net/ethernet/amd/lance.c outw(0x0001, ioaddr+LANCE_DATA); ioaddr 680 drivers/net/ethernet/amd/lance.c if (inw(ioaddr+LANCE_DATA) & 0x0900) ioaddr 682 drivers/net/ethernet/amd/lance.c if (inw(ioaddr+LANCE_DATA) & 0x0100) { ioaddr 705 drivers/net/ethernet/amd/lance.c outw(0x0041, ioaddr+LANCE_DATA); ioaddr 719 drivers/net/ethernet/amd/lance.c outw(0x0002, ioaddr+LANCE_ADDR); ioaddr 721 drivers/net/ethernet/amd/lance.c outw(inw(ioaddr+LANCE_BUS_IF) | 0x0002, ioaddr+LANCE_BUS_IF); ioaddr 752 drivers/net/ethernet/amd/lance.c int ioaddr = dev->base_addr; ioaddr 764 drivers/net/ethernet/amd/lance.c inw(ioaddr+LANCE_RESET); ioaddr 776 drivers/net/ethernet/amd/lance.c outw(0, ioaddr+LANCE_RESET); ioaddr 780 drivers/net/ethernet/amd/lance.c outw(0x0002, ioaddr+LANCE_ADDR); ioaddr 782 drivers/net/ethernet/amd/lance.c outw(inw(ioaddr+LANCE_BUS_IF) | 0x0002, ioaddr+LANCE_BUS_IF); ioaddr 794 drivers/net/ethernet/amd/lance.c outw(0x0001, ioaddr+LANCE_ADDR); ioaddr 795 drivers/net/ethernet/amd/lance.c outw((short) (u32) isa_virt_to_bus(&lp->init_block), ioaddr+LANCE_DATA); ioaddr 796 drivers/net/ethernet/amd/lance.c outw(0x0002, ioaddr+LANCE_ADDR); ioaddr 797 drivers/net/ethernet/amd/lance.c outw(((u32)isa_virt_to_bus(&lp->init_block)) >> 16, ioaddr+LANCE_DATA); ioaddr 799 drivers/net/ethernet/amd/lance.c outw(0x0004, ioaddr+LANCE_ADDR); ioaddr 800 drivers/net/ethernet/amd/lance.c outw(0x0915, ioaddr+LANCE_DATA); ioaddr 802 drivers/net/ethernet/amd/lance.c outw(0x0000, ioaddr+LANCE_ADDR); ioaddr 803 drivers/net/ethernet/amd/lance.c outw(0x0001, ioaddr+LANCE_DATA); ioaddr 809 drivers/net/ethernet/amd/lance.c if (inw(ioaddr+LANCE_DATA) & 0x0100) ioaddr 815 drivers/net/ethernet/amd/lance.c outw(0x0042, ioaddr+LANCE_DATA); ioaddr 819 drivers/net/ethernet/amd/lance.c dev->name, i, (u32) isa_virt_to_bus(&lp->init_block), inw(ioaddr+LANCE_DATA)); ioaddr 919 drivers/net/ethernet/amd/lance.c int ioaddr = dev->base_addr; ioaddr 921 drivers/net/ethernet/amd/lance.c outw (0, ioaddr + LANCE_ADDR); ioaddr 923 drivers/net/ethernet/amd/lance.c dev->name, inw (ioaddr + LANCE_DATA)); ioaddr 924 drivers/net/ethernet/amd/lance.c outw (0x0004, ioaddr + LANCE_DATA); ioaddr 954 drivers/net/ethernet/amd/lance.c int ioaddr = dev->base_addr; ioaddr 961 drivers/net/ethernet/amd/lance.c outw(0x0000, ioaddr+LANCE_ADDR); ioaddr 963 drivers/net/ethernet/amd/lance.c inw(ioaddr+LANCE_DATA)); ioaddr 964 drivers/net/ethernet/amd/lance.c outw(0x0000, ioaddr+LANCE_DATA); ioaddr 1008 drivers/net/ethernet/amd/lance.c outw(0x0000, ioaddr+LANCE_ADDR); ioaddr 1009 drivers/net/ethernet/amd/lance.c outw(0x0048, ioaddr+LANCE_DATA); ioaddr 1024 drivers/net/ethernet/amd/lance.c int csr0, ioaddr, boguscnt=10; ioaddr 1027 drivers/net/ethernet/amd/lance.c ioaddr = dev->base_addr; ioaddr 1136 drivers/net/ethernet/amd/lance.c dev->name, inw(ioaddr + LANCE_ADDR), ioaddr 1227 drivers/net/ethernet/amd/lance.c int ioaddr = dev->base_addr; ioaddr 1233 drivers/net/ethernet/amd/lance.c outw(112, ioaddr+LANCE_ADDR); ioaddr 1234 drivers/net/ethernet/amd/lance.c dev->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); ioaddr 1236 drivers/net/ethernet/amd/lance.c outw(0, ioaddr+LANCE_ADDR); ioaddr 1240 drivers/net/ethernet/amd/lance.c dev->name, inw(ioaddr+LANCE_DATA)); ioaddr 1244 drivers/net/ethernet/amd/lance.c outw(0x0004, ioaddr+LANCE_DATA); ioaddr 1264 drivers/net/ethernet/amd/lance.c short ioaddr = dev->base_addr; ioaddr 1269 drivers/net/ethernet/amd/lance.c saved_addr = inw(ioaddr+LANCE_ADDR); ioaddr 1270 drivers/net/ethernet/amd/lance.c outw(112, ioaddr+LANCE_ADDR); ioaddr 1271 drivers/net/ethernet/amd/lance.c dev->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); ioaddr 1272 drivers/net/ethernet/amd/lance.c outw(saved_addr, ioaddr+LANCE_ADDR); ioaddr 1284 drivers/net/ethernet/amd/lance.c short ioaddr = dev->base_addr; ioaddr 1286 drivers/net/ethernet/amd/lance.c outw(0, ioaddr+LANCE_ADDR); ioaddr 1287 drivers/net/ethernet/amd/lance.c outw(0x0004, ioaddr+LANCE_DATA); /* Temporarily stop the lance. */ ioaddr 1290 drivers/net/ethernet/amd/lance.c outw(15, ioaddr+LANCE_ADDR); ioaddr 1291 drivers/net/ethernet/amd/lance.c outw(0x8000, ioaddr+LANCE_DATA); /* Set promiscuous mode */ ioaddr 1301 drivers/net/ethernet/amd/lance.c outw(8 + i, ioaddr+LANCE_ADDR); ioaddr 1302 drivers/net/ethernet/amd/lance.c outw(multicast_table[i], ioaddr+LANCE_DATA); ioaddr 1304 drivers/net/ethernet/amd/lance.c outw(15, ioaddr+LANCE_ADDR); ioaddr 1305 drivers/net/ethernet/amd/lance.c outw(0x0000, ioaddr+LANCE_DATA); /* Unset promiscuous mode */ ioaddr 417 drivers/net/ethernet/amd/ni65.c static int __init ni65_probe1(struct net_device *dev,int ioaddr) ioaddr 427 drivers/net/ethernet/amd/ni65.c if(!request_region(ioaddr, cards[i].total_size, cards[i].cardname)) ioaddr 430 drivers/net/ethernet/amd/ni65.c if(inb(ioaddr+cards[i].id_offset+0) != cards[i].id0 || ioaddr 431 drivers/net/ethernet/amd/ni65.c inb(ioaddr+cards[i].id_offset+1) != cards[i].id1) { ioaddr 432 drivers/net/ethernet/amd/ni65.c release_region(ioaddr, cards[i].total_size); ioaddr 438 drivers/net/ethernet/amd/ni65.c if(inb(ioaddr+cards[i].addr_offset+j) != cards[i].vendor_id[j]) ioaddr 439 drivers/net/ethernet/amd/ni65.c release_region(ioaddr, cards[i].total_size); ioaddr 447 drivers/net/ethernet/amd/ni65.c dev->dev_addr[j] = inb(ioaddr+cards[i].addr_offset+j); ioaddr 450 drivers/net/ethernet/amd/ni65.c release_region(ioaddr, cards[i].total_size); ioaddr 454 drivers/net/ethernet/amd/ni65.c p->cmdr_addr = ioaddr + cards[i].cmd_offset; ioaddr 458 drivers/net/ethernet/amd/ni65.c printk(KERN_INFO "%s: %s found at %#3x, ", dev->name, cards[p->cardno].cardname , ioaddr); ioaddr 465 drivers/net/ethernet/amd/ni65.c release_region(ioaddr, cards[p->cardno].total_size); ioaddr 485 drivers/net/ethernet/amd/ni65.c dev->irq = irqtab[(inw(ioaddr+L_CONFIG)>>2)&3]; ioaddr 486 drivers/net/ethernet/amd/ni65.c dev->dma = dmatab[inw(ioaddr+L_CONFIG)&3]; ioaddr 520 drivers/net/ethernet/amd/ni65.c release_region(ioaddr, cards[p->cardno].total_size); ioaddr 542 drivers/net/ethernet/amd/ni65.c release_region(ioaddr, cards[p->cardno].total_size); ioaddr 555 drivers/net/ethernet/amd/ni65.c release_region(ioaddr, cards[p->cardno].total_size); ioaddr 559 drivers/net/ethernet/amd/ni65.c dev->base_addr = ioaddr; ioaddr 293 drivers/net/ethernet/amd/nmclan_cs.c #define MACEBANK(win_num) outb((win_num), ioaddr + AM2150_MACE_BANK) ioaddr 484 drivers/net/ethernet/amd/nmclan_cs.c static int mace_read(mace_private *lp, unsigned int ioaddr, int reg) ioaddr 491 drivers/net/ethernet/amd/nmclan_cs.c data = inb(ioaddr + AM2150_MACE_BASE + reg); ioaddr 496 drivers/net/ethernet/amd/nmclan_cs.c data = inb(ioaddr + AM2150_MACE_BASE + (reg & 0x0F)); ioaddr 511 drivers/net/ethernet/amd/nmclan_cs.c static void mace_write(mace_private *lp, unsigned int ioaddr, int reg, ioaddr 518 drivers/net/ethernet/amd/nmclan_cs.c outb(data & 0xFF, ioaddr + AM2150_MACE_BASE + reg); ioaddr 523 drivers/net/ethernet/amd/nmclan_cs.c outb(data & 0xFF, ioaddr + AM2150_MACE_BASE + (reg & 0x0F)); ioaddr 534 drivers/net/ethernet/amd/nmclan_cs.c static int mace_init(mace_private *lp, unsigned int ioaddr, char *enet_addr) ioaddr 540 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_BIUCC, 1); ioaddr 541 drivers/net/ethernet/amd/nmclan_cs.c while (mace_read(lp, ioaddr, MACE_BIUCC) & 0x01) { ioaddr 550 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_BIUCC, 0); ioaddr 553 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_FIFOCC, 0x0F); ioaddr 555 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp,ioaddr, MACE_RCVFC, 0); /* Disable Auto Strip Receive */ ioaddr 556 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_IMR, 0xFF); /* Disable all interrupts until _open */ ioaddr 572 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_PLSCC, 0x02); ioaddr 575 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_PLSCC, 0x00); ioaddr 578 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_PHYCC, /* ASEL */ 4); ioaddr 585 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_IAC, MACE_IAC_ADDRCHG | MACE_IAC_PHYADDR); ioaddr 588 drivers/net/ethernet/amd/nmclan_cs.c while (mace_read(lp, ioaddr, MACE_IAC) & MACE_IAC_ADDRCHG) ioaddr 598 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_PADR, enet_addr[i]); ioaddr 603 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_MACCC, 0x00); ioaddr 614 drivers/net/ethernet/amd/nmclan_cs.c unsigned int ioaddr; ioaddr 632 drivers/net/ethernet/amd/nmclan_cs.c ioaddr = dev->base_addr; ioaddr 647 drivers/net/ethernet/amd/nmclan_cs.c sig[0] = mace_read(lp, ioaddr, MACE_CHIPIDL); ioaddr 648 drivers/net/ethernet/amd/nmclan_cs.c sig[1] = mace_read(lp, ioaddr, MACE_CHIPIDH); ioaddr 659 drivers/net/ethernet/amd/nmclan_cs.c if(mace_init(lp, ioaddr, dev->dev_addr) == -1) ioaddr 778 drivers/net/ethernet/amd/nmclan_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 801 drivers/net/ethernet/amd/nmclan_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 808 drivers/net/ethernet/amd/nmclan_cs.c outb(0xFF, ioaddr + AM2150_MACE_BASE + MACE_IMR); ioaddr 860 drivers/net/ethernet/amd/nmclan_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 870 drivers/net/ethernet/amd/nmclan_cs.c ioaddr + AM2150_MACE_BASE + MACE_IMR); ioaddr 886 drivers/net/ethernet/amd/nmclan_cs.c outw(skb->len, ioaddr + AM2150_XMT); ioaddr 888 drivers/net/ethernet/amd/nmclan_cs.c outsw(ioaddr + AM2150_XMT, skb->data, skb->len >> 1); ioaddr 891 drivers/net/ethernet/amd/nmclan_cs.c outb(skb->data[skb->len-1], ioaddr + AM2150_XMT); ioaddr 903 drivers/net/ethernet/amd/nmclan_cs.c outb(MACE_IMR_DEFAULT, ioaddr + AM2150_MACE_BASE + MACE_IMR); ioaddr 919 drivers/net/ethernet/amd/nmclan_cs.c unsigned int ioaddr; ioaddr 929 drivers/net/ethernet/amd/nmclan_cs.c ioaddr = dev->base_addr; ioaddr 939 drivers/net/ethernet/amd/nmclan_cs.c inb(ioaddr + AM2150_MACE_BASE + MACE_IR), ioaddr 940 drivers/net/ethernet/amd/nmclan_cs.c inb(ioaddr + AM2150_MACE_BASE + MACE_IMR)); ioaddr 952 drivers/net/ethernet/amd/nmclan_cs.c status = inb(ioaddr + AM2150_MACE_BASE + MACE_IR); ioaddr 967 drivers/net/ethernet/amd/nmclan_cs.c fifofc = inb(ioaddr + AM2150_MACE_BASE + MACE_FIFOFC); ioaddr 970 drivers/net/ethernet/amd/nmclan_cs.c outb(0xFF, ioaddr + AM2150_XMT_SKIP); ioaddr 974 drivers/net/ethernet/amd/nmclan_cs.c xmtrc = inb(ioaddr + AM2150_MACE_BASE + MACE_XMTRC); ioaddr 979 drivers/net/ethernet/amd/nmclan_cs.c (xmtfs = inb(ioaddr + AM2150_MACE_BASE + MACE_XMTFS)) & ioaddr 1064 drivers/net/ethernet/amd/nmclan_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1069 drivers/net/ethernet/amd/nmclan_cs.c ((rx_framecnt = inb(ioaddr + AM2150_RCV_FRAME_COUNT)) > 0) && ioaddr 1073 drivers/net/ethernet/amd/nmclan_cs.c rx_status = inw(ioaddr + AM2150_RCV); ioaddr 1097 drivers/net/ethernet/amd/nmclan_cs.c lp->mace_stats.rfs_rntpc += inb(ioaddr + AM2150_RCV); ioaddr 1099 drivers/net/ethernet/amd/nmclan_cs.c lp->mace_stats.rfs_rcvcc += inb(ioaddr + AM2150_RCV); ioaddr 1109 drivers/net/ethernet/amd/nmclan_cs.c insw(ioaddr + AM2150_RCV, skb_put(skb, pkt_len), pkt_len>>1); ioaddr 1111 drivers/net/ethernet/amd/nmclan_cs.c *(skb_tail_pointer(skb) - 1) = inb(ioaddr + AM2150_RCV); ioaddr 1118 drivers/net/ethernet/amd/nmclan_cs.c outb(0xFF, ioaddr + AM2150_RCV_NEXT); /* skip to next frame */ ioaddr 1126 drivers/net/ethernet/amd/nmclan_cs.c outb(0xFF, ioaddr + AM2150_RCV_NEXT); /* skip to next frame */ ioaddr 1225 drivers/net/ethernet/amd/nmclan_cs.c static void update_stats(unsigned int ioaddr, struct net_device *dev) ioaddr 1229 drivers/net/ethernet/amd/nmclan_cs.c lp->mace_stats.rcvcc += mace_read(lp, ioaddr, MACE_RCVCC); ioaddr 1230 drivers/net/ethernet/amd/nmclan_cs.c lp->mace_stats.rntpc += mace_read(lp, ioaddr, MACE_RNTPC); ioaddr 1231 drivers/net/ethernet/amd/nmclan_cs.c lp->mace_stats.mpc += mace_read(lp, ioaddr, MACE_MPC); ioaddr 1365 drivers/net/ethernet/amd/nmclan_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1375 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_IAC, MACE_IAC_ADDRCHG | MACE_IAC_LOGADDR); ioaddr 1377 drivers/net/ethernet/amd/nmclan_cs.c while (mace_read(lp, ioaddr, MACE_IAC) & MACE_IAC_ADDRCHG) ioaddr 1381 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_LADRF, ladrf[i]); ioaddr 1383 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_UTR, MACE_UTR_RCVFCSE | MACE_UTR_LOOP_EXTERNAL); ioaddr 1384 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_MACCC, MACE_MACCC_ENXMT | MACE_MACCC_ENRCV); ioaddr 1389 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_UTR, MACE_UTR_LOOP_EXTERNAL); ioaddr 1390 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_MACCC, ioaddr 1397 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_UTR, MACE_UTR_LOOP_EXTERNAL); ioaddr 1398 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_MACCC, MACE_MACCC_ENXMT | MACE_MACCC_ENRCV); ioaddr 1455 drivers/net/ethernet/amd/nmclan_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1463 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp,ioaddr, MACE_UTR, MACE_UTR_LOOP_EXTERNAL); ioaddr 1464 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_MACCC, ioaddr 1469 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_UTR, MACE_UTR_LOOP_EXTERNAL); ioaddr 1470 drivers/net/ethernet/amd/nmclan_cs.c mace_write(lp, ioaddr, MACE_MACCC, MACE_MACCC_ENXMT | MACE_MACCC_ENRCV); ioaddr 462 drivers/net/ethernet/amd/pcnet32.c ulong ioaddr = dev->base_addr; ioaddr 466 drivers/net/ethernet/amd/pcnet32.c val = lp->a->read_csr(ioaddr, CSR3); ioaddr 468 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR3, val); ioaddr 692 drivers/net/ethernet/amd/pcnet32.c ulong ioaddr = dev->base_addr; ioaddr 700 drivers/net/ethernet/amd/pcnet32.c csr5 = a->read_csr(ioaddr, CSR5); ioaddr 701 drivers/net/ethernet/amd/pcnet32.c a->write_csr(ioaddr, CSR5, csr5 | CSR5_SUSPEND); ioaddr 705 drivers/net/ethernet/amd/pcnet32.c while (!(a->read_csr(ioaddr, CSR5) & CSR5_SUSPEND)) { ioaddr 722 drivers/net/ethernet/amd/pcnet32.c static void pcnet32_clr_suspend(struct pcnet32_private *lp, ulong ioaddr) ioaddr 724 drivers/net/ethernet/amd/pcnet32.c int csr5 = lp->a->read_csr(ioaddr, CSR5); ioaddr 726 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR5, csr5 & ~CSR5_SUSPEND); ioaddr 763 drivers/net/ethernet/amd/pcnet32.c ulong ioaddr = dev->base_addr; ioaddr 774 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); ioaddr 777 drivers/net/ethernet/amd/pcnet32.c bcr2 = lp->a->read_bcr(ioaddr, 2); ioaddr 779 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 2, bcr2 | 0x0002); ioaddr 781 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 2, bcr2 & ~0x0002); ioaddr 784 drivers/net/ethernet/amd/pcnet32.c csr15 = lp->a->read_csr(ioaddr, CSR15) & ~0x0180; ioaddr 787 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR15, csr15); ioaddr 791 drivers/net/ethernet/amd/pcnet32.c bcr9 = lp->a->read_bcr(ioaddr, 9) & ~0x0003; ioaddr 794 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 9, bcr9); ioaddr 797 drivers/net/ethernet/amd/pcnet32.c pcnet32_clr_suspend(lp, ioaddr); ioaddr 831 drivers/net/ethernet/amd/pcnet32.c ulong ioaddr = dev->base_addr; /* card base I/O address */ ioaddr 834 drivers/net/ethernet/amd/pcnet32.c r = (lp->a->read_bcr(ioaddr, 4) != 0xc0); ioaddr 838 drivers/net/ethernet/amd/pcnet32.c ulong ioaddr = dev->base_addr; /* card base I/O address */ ioaddr 839 drivers/net/ethernet/amd/pcnet32.c r = (lp->a->read_bcr(ioaddr, 4) != 0xc0); ioaddr 891 drivers/net/ethernet/amd/pcnet32.c ulong ioaddr = dev->base_addr; ioaddr 901 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); /* stop the chip */ ioaddr 978 drivers/net/ethernet/amd/pcnet32.c ulong ioaddr = dev->base_addr; /* card base I/O address */ ioaddr 997 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); /* stop the chip */ ioaddr 1002 drivers/net/ethernet/amd/pcnet32.c lp->a->reset(ioaddr); ioaddr 1003 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR4, 0x0915); /* auto tx pad */ ioaddr 1006 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 20, 2); ioaddr 1011 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); /* Set STOP bit */ ioaddr 1057 drivers/net/ethernet/amd/pcnet32.c x = a->read_bcr(ioaddr, 32); /* set internal loopback in BCR32 */ ioaddr 1058 drivers/net/ethernet/amd/pcnet32.c a->write_bcr(ioaddr, 32, x | 0x0002); ioaddr 1061 drivers/net/ethernet/amd/pcnet32.c x = a->read_csr(ioaddr, CSR15) & 0xfffc; ioaddr 1062 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR15, x | 0x0044); ioaddr 1065 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR0, CSR0_START); /* Set STRT bit */ ioaddr 1084 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); /* Set STOP bit */ ioaddr 1119 drivers/net/ethernet/amd/pcnet32.c x = a->read_csr(ioaddr, CSR15); ioaddr 1120 drivers/net/ethernet/amd/pcnet32.c a->write_csr(ioaddr, CSR15, (x & ~0x0044)); /* reset bits 6 and 2 */ ioaddr 1122 drivers/net/ethernet/amd/pcnet32.c x = a->read_bcr(ioaddr, 32); /* reset internal loopback */ ioaddr 1123 drivers/net/ethernet/amd/pcnet32.c a->write_bcr(ioaddr, 32, (x & ~0x0002)); ioaddr 1130 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 20, 4); /* return to 16bit mode */ ioaddr 1142 drivers/net/ethernet/amd/pcnet32.c ulong ioaddr = dev->base_addr; ioaddr 1151 drivers/net/ethernet/amd/pcnet32.c lp->save_regs[i - 4] = a->read_bcr(ioaddr, i); ioaddr 1160 drivers/net/ethernet/amd/pcnet32.c a->write_bcr(ioaddr, i, a->read_bcr(ioaddr, i) ^ 0x4000); ioaddr 1168 drivers/net/ethernet/amd/pcnet32.c a->write_bcr(ioaddr, i, lp->save_regs[i - 4]); ioaddr 1401 drivers/net/ethernet/amd/pcnet32.c unsigned long ioaddr = dev->base_addr; ioaddr 1411 drivers/net/ethernet/amd/pcnet32.c lp->a->reset(ioaddr); ioaddr 1412 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR4, 0x0915); /* auto tx pad */ ioaddr 1419 drivers/net/ethernet/amd/pcnet32.c val = lp->a->read_csr(ioaddr, CSR3); ioaddr 1421 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR3, val); ioaddr 1424 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR0, CSR0_INTEN); ioaddr 1448 drivers/net/ethernet/amd/pcnet32.c ulong ioaddr = dev->base_addr; ioaddr 1453 drivers/net/ethernet/amd/pcnet32.c csr0 = a->read_csr(ioaddr, CSR0); ioaddr 1459 drivers/net/ethernet/amd/pcnet32.c *buff++ = inw(ioaddr + i); ioaddr 1463 drivers/net/ethernet/amd/pcnet32.c *buff++ = a->read_csr(ioaddr, i); ioaddr 1465 drivers/net/ethernet/amd/pcnet32.c *buff++ = a->read_csr(ioaddr, 112); ioaddr 1466 drivers/net/ethernet/amd/pcnet32.c *buff++ = a->read_csr(ioaddr, 114); ioaddr 1470 drivers/net/ethernet/amd/pcnet32.c *buff++ = a->read_bcr(ioaddr, i); ioaddr 1475 drivers/net/ethernet/amd/pcnet32.c *buff++ = a->read_bcr(ioaddr, i); ioaddr 1483 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 33, ioaddr 1485 drivers/net/ethernet/amd/pcnet32.c *buff++ = lp->a->read_bcr(ioaddr, 34); ioaddr 1492 drivers/net/ethernet/amd/pcnet32.c pcnet32_clr_suspend(lp, ioaddr); ioaddr 1520 drivers/net/ethernet/amd/pcnet32.c unsigned int *port, ioaddr; ioaddr 1523 drivers/net/ethernet/amd/pcnet32.c for (port = pcnet32_portlist; (ioaddr = *port); port++) { ioaddr 1525 drivers/net/ethernet/amd/pcnet32.c (ioaddr, PCNET32_TOTAL_SIZE, "pcnet32_probe_vlbus")) { ioaddr 1527 drivers/net/ethernet/amd/pcnet32.c if ((inb(ioaddr + 14) == 0x57) && ioaddr 1528 drivers/net/ethernet/amd/pcnet32.c (inb(ioaddr + 15) == 0x57)) { ioaddr 1529 drivers/net/ethernet/amd/pcnet32.c pcnet32_probe1(ioaddr, 0, NULL); ioaddr 1531 drivers/net/ethernet/amd/pcnet32.c release_region(ioaddr, PCNET32_TOTAL_SIZE); ioaddr 1540 drivers/net/ethernet/amd/pcnet32.c unsigned long ioaddr; ioaddr 1551 drivers/net/ethernet/amd/pcnet32.c ioaddr = pci_resource_start(pdev, 0); ioaddr 1552 drivers/net/ethernet/amd/pcnet32.c if (!ioaddr) { ioaddr 1565 drivers/net/ethernet/amd/pcnet32.c if (!request_region(ioaddr, PCNET32_TOTAL_SIZE, "pcnet32_probe_pci")) { ioaddr 1572 drivers/net/ethernet/amd/pcnet32.c err = pcnet32_probe1(ioaddr, 1, pdev); ioaddr 1601 drivers/net/ethernet/amd/pcnet32.c pcnet32_probe1(unsigned long ioaddr, int shared, struct pci_dev *pdev) ioaddr 1614 drivers/net/ethernet/amd/pcnet32.c pcnet32_wio_reset(ioaddr); ioaddr 1617 drivers/net/ethernet/amd/pcnet32.c if (pcnet32_wio_read_csr(ioaddr, 0) == 4 && pcnet32_wio_check(ioaddr)) { ioaddr 1620 drivers/net/ethernet/amd/pcnet32.c pcnet32_dwio_reset(ioaddr); ioaddr 1621 drivers/net/ethernet/amd/pcnet32.c if (pcnet32_dwio_read_csr(ioaddr, 0) == 4 && ioaddr 1622 drivers/net/ethernet/amd/pcnet32.c pcnet32_dwio_check(ioaddr)) { ioaddr 1632 drivers/net/ethernet/amd/pcnet32.c a->read_csr(ioaddr, 88) | (a->read_csr(ioaddr, 89) << 16); ioaddr 1686 drivers/net/ethernet/amd/pcnet32.c media = a->read_bcr(ioaddr, 49); ioaddr 1693 drivers/net/ethernet/amd/pcnet32.c a->write_bcr(ioaddr, 49, media); ioaddr 1722 drivers/net/ethernet/amd/pcnet32.c a->write_bcr(ioaddr, 18, (a->read_bcr(ioaddr, 18) | 0x0860)); ioaddr 1723 drivers/net/ethernet/amd/pcnet32.c a->write_csr(ioaddr, 80, ioaddr 1724 drivers/net/ethernet/amd/pcnet32.c (a->read_csr(ioaddr, 80) & 0x0C00) | 0x0c00); ioaddr 1747 drivers/net/ethernet/amd/pcnet32.c a->write_bcr(ioaddr, 25, 0x17); ioaddr 1748 drivers/net/ethernet/amd/pcnet32.c a->write_bcr(ioaddr, 26, 0xc); ioaddr 1750 drivers/net/ethernet/amd/pcnet32.c a->write_bcr(ioaddr, 18, a->read_bcr(ioaddr, 18) | (1 << 11)); ioaddr 1763 drivers/net/ethernet/amd/pcnet32.c pr_info("%s at %#3lx,", chipname, ioaddr); ioaddr 1774 drivers/net/ethernet/amd/pcnet32.c val = a->read_csr(ioaddr, i + 12) & 0x0ffff; ioaddr 1782 drivers/net/ethernet/amd/pcnet32.c promaddr[i] = inb(ioaddr + i); ioaddr 1804 drivers/net/ethernet/amd/pcnet32.c i = a->read_csr(ioaddr, 80) & 0x0C00; /* Check tx_start_pt */ ioaddr 1820 drivers/net/ethernet/amd/pcnet32.c i = a->read_bcr(ioaddr, 18); /* Check Burst/Bus control */ ioaddr 1830 drivers/net/ethernet/amd/pcnet32.c i = a->read_bcr(ioaddr, 25); ioaddr 1832 drivers/net/ethernet/amd/pcnet32.c i = a->read_bcr(ioaddr, 26); ioaddr 1834 drivers/net/ethernet/amd/pcnet32.c i = a->read_bcr(ioaddr, 27); ioaddr 1840 drivers/net/ethernet/amd/pcnet32.c dev->base_addr = ioaddr; ioaddr 1916 drivers/net/ethernet/amd/pcnet32.c a->write_bcr(ioaddr, 20, 2); ioaddr 1918 drivers/net/ethernet/amd/pcnet32.c a->write_csr(ioaddr, 1, (lp->init_dma_addr & 0xffff)); ioaddr 1919 drivers/net/ethernet/amd/pcnet32.c a->write_csr(ioaddr, 2, (lp->init_dma_addr >> 16)); ioaddr 1934 drivers/net/ethernet/amd/pcnet32.c a->write_csr(ioaddr, CSR0, CSR0_INTEN | CSR0_INIT); ioaddr 1952 drivers/net/ethernet/amd/pcnet32.c lp->mii_if.phy_id = ((lp->a->read_bcr(ioaddr, 33)) >> 5) & 0x1f; ioaddr 1972 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 33, (lp->mii_if.phy_id) << 5); ioaddr 2000 drivers/net/ethernet/amd/pcnet32.c a->write_bcr(ioaddr, 2, a->read_bcr(ioaddr, 2) | 0x1000); ioaddr 2011 drivers/net/ethernet/amd/pcnet32.c release_region(ioaddr, PCNET32_TOTAL_SIZE); ioaddr 2098 drivers/net/ethernet/amd/pcnet32.c unsigned long ioaddr = dev->base_addr; ioaddr 2118 drivers/net/ethernet/amd/pcnet32.c lp->a->reset(ioaddr); ioaddr 2121 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 20, 2); ioaddr 2134 drivers/net/ethernet/amd/pcnet32.c val = lp->a->read_bcr(ioaddr, 2) & ~2; ioaddr 2137 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 2, val); ioaddr 2141 drivers/net/ethernet/amd/pcnet32.c val = lp->a->read_bcr(ioaddr, 9) & ~3; ioaddr 2151 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 9, val); ioaddr 2155 drivers/net/ethernet/amd/pcnet32.c val = lp->a->read_csr(ioaddr, 124) & ~0x10; ioaddr 2158 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, 124, val); ioaddr 2177 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 32, ioaddr 2178 drivers/net/ethernet/amd/pcnet32.c lp->a->read_bcr(ioaddr, 32) | 0x0080); ioaddr 2180 drivers/net/ethernet/amd/pcnet32.c val = lp->a->read_bcr(ioaddr, 32) & ~0xb8; ioaddr 2185 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 32, val); ioaddr 2188 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 32, ioaddr 2189 drivers/net/ethernet/amd/pcnet32.c lp->a->read_bcr(ioaddr, ioaddr 2192 drivers/net/ethernet/amd/pcnet32.c val = lp->a->read_bcr(ioaddr, 32) & ~0x98; ioaddr 2194 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 32, val); ioaddr 2207 drivers/net/ethernet/amd/pcnet32.c val = lp->a->read_bcr(ioaddr, 2); ioaddr 2208 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 2, val & ~2); ioaddr 2209 drivers/net/ethernet/amd/pcnet32.c val = lp->a->read_bcr(ioaddr, 32); ioaddr 2210 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 32, val & ~(1 << 7)); /* stop MII manager */ ioaddr 2220 drivers/net/ethernet/amd/pcnet32.c bcr9 = lp->a->read_bcr(ioaddr, 9); ioaddr 2229 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 9, bcr9); ioaddr 2260 drivers/net/ethernet/amd/pcnet32.c val = lp->a->read_csr(ioaddr, CSR3); ioaddr 2262 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR3, val); ioaddr 2278 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, 1, (lp->init_dma_addr & 0xffff)); ioaddr 2279 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, 2, (lp->init_dma_addr >> 16)); ioaddr 2281 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR4, 0x0915); /* auto tx pad */ ioaddr 2282 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR0, CSR0_INIT); ioaddr 2294 drivers/net/ethernet/amd/pcnet32.c if (lp->a->read_csr(ioaddr, CSR0) & CSR0_IDON) ioaddr 2300 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR0, CSR0_NORMAL); ioaddr 2306 drivers/net/ethernet/amd/pcnet32.c lp->a->read_csr(ioaddr, CSR0)); ioaddr 2320 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 20, 4); ioaddr 2432 drivers/net/ethernet/amd/pcnet32.c unsigned long ioaddr = dev->base_addr; ioaddr 2437 drivers/net/ethernet/amd/pcnet32.c if (lp->a->read_csr(ioaddr, CSR0) & CSR0_STOP) ioaddr 2449 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR0, CSR0_INIT); ioaddr 2452 drivers/net/ethernet/amd/pcnet32.c if (lp->a->read_csr(ioaddr, CSR0) & CSR0_IDON) ioaddr 2455 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR0, csr0_bits); ioaddr 2461 drivers/net/ethernet/amd/pcnet32.c unsigned long ioaddr = dev->base_addr, flags; ioaddr 2467 drivers/net/ethernet/amd/pcnet32.c dev->name, lp->a->read_csr(ioaddr, CSR0)); ioaddr 2468 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); ioaddr 2502 drivers/net/ethernet/amd/pcnet32.c unsigned long ioaddr = dev->base_addr; ioaddr 2511 drivers/net/ethernet/amd/pcnet32.c __func__, lp->a->read_csr(ioaddr, CSR0)); ioaddr 2546 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR0, CSR0_INTEN | CSR0_TXPOLL); ioaddr 2563 drivers/net/ethernet/amd/pcnet32.c unsigned long ioaddr; ioaddr 2567 drivers/net/ethernet/amd/pcnet32.c ioaddr = dev->base_addr; ioaddr 2572 drivers/net/ethernet/amd/pcnet32.c csr0 = lp->a->read_csr(ioaddr, CSR0); ioaddr 2577 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR0, csr0 & ~0x004f); ioaddr 2581 drivers/net/ethernet/amd/pcnet32.c csr0, lp->a->read_csr(ioaddr, CSR0)); ioaddr 2608 drivers/net/ethernet/amd/pcnet32.c val = lp->a->read_csr(ioaddr, CSR3); ioaddr 2610 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR3, val); ioaddr 2615 drivers/net/ethernet/amd/pcnet32.c csr0 = lp->a->read_csr(ioaddr, CSR0); ioaddr 2620 drivers/net/ethernet/amd/pcnet32.c lp->a->read_csr(ioaddr, CSR0)); ioaddr 2629 drivers/net/ethernet/amd/pcnet32.c unsigned long ioaddr = dev->base_addr; ioaddr 2640 drivers/net/ethernet/amd/pcnet32.c dev->stats.rx_missed_errors = lp->a->read_csr(ioaddr, 112); ioaddr 2644 drivers/net/ethernet/amd/pcnet32.c lp->a->read_csr(ioaddr, CSR0)); ioaddr 2647 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); ioaddr 2653 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 20, 4); ioaddr 2672 drivers/net/ethernet/amd/pcnet32.c unsigned long ioaddr = dev->base_addr; ioaddr 2676 drivers/net/ethernet/amd/pcnet32.c dev->stats.rx_missed_errors = lp->a->read_csr(ioaddr, 112); ioaddr 2689 drivers/net/ethernet/amd/pcnet32.c unsigned long ioaddr = dev->base_addr; ioaddr 2697 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, PCNET32_MC_FILTER, 0xffff); ioaddr 2698 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, PCNET32_MC_FILTER+1, 0xffff); ioaddr 2699 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, PCNET32_MC_FILTER+2, 0xffff); ioaddr 2700 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, PCNET32_MC_FILTER+3, 0xffff); ioaddr 2714 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, PCNET32_MC_FILTER + i, ioaddr 2723 drivers/net/ethernet/amd/pcnet32.c unsigned long ioaddr = dev->base_addr, flags; ioaddr 2729 drivers/net/ethernet/amd/pcnet32.c csr15 = lp->a->read_csr(ioaddr, CSR15); ioaddr 2736 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR15, csr15 | 0x8000); ioaddr 2740 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR15, csr15 & 0x7fff); ioaddr 2745 drivers/net/ethernet/amd/pcnet32.c pcnet32_clr_suspend(lp, ioaddr); ioaddr 2747 drivers/net/ethernet/amd/pcnet32.c lp->a->write_csr(ioaddr, CSR0, CSR0_STOP); ioaddr 2759 drivers/net/ethernet/amd/pcnet32.c unsigned long ioaddr = dev->base_addr; ioaddr 2765 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 33, ((phy_id & 0x1f) << 5) | (reg_num & 0x1f)); ioaddr 2766 drivers/net/ethernet/amd/pcnet32.c val_out = lp->a->read_bcr(ioaddr, 34); ioaddr 2775 drivers/net/ethernet/amd/pcnet32.c unsigned long ioaddr = dev->base_addr; ioaddr 2780 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 33, ((phy_id & 0x1f) << 5) | (reg_num & 0x1f)); ioaddr 2781 drivers/net/ethernet/amd/pcnet32.c lp->a->write_bcr(ioaddr, 34, val); ioaddr 2857 drivers/net/ethernet/amd/pcnet32.c ulong ioaddr = dev->base_addr; /* card base I/O address */ ioaddr 2860 drivers/net/ethernet/amd/pcnet32.c curr_link = (lp->a->read_bcr(ioaddr, 4) != 0xc0); ioaddr 2864 drivers/net/ethernet/amd/pcnet32.c ulong ioaddr = dev->base_addr; /* card base I/O address */ ioaddr 2865 drivers/net/ethernet/amd/pcnet32.c curr_link = (lp->a->read_bcr(ioaddr, 4) != 0xc0); ioaddr 309 drivers/net/ethernet/amd/sun3lance.c unsigned long ioaddr; ioaddr 318 drivers/net/ethernet/amd/sun3lance.c ioaddr = (unsigned long)ioremap(LANCE_OBIO, PAGE_SIZE); ioaddr 319 drivers/net/ethernet/amd/sun3lance.c if (!ioaddr) ioaddr 322 drivers/net/ethernet/amd/sun3lance.c ioaddr = SUN3X_LANCE; ioaddr 328 drivers/net/ethernet/amd/sun3lance.c ioaddr_probe = (volatile unsigned short *)ioaddr; ioaddr 340 drivers/net/ethernet/amd/sun3lance.c iounmap((void __iomem *)ioaddr); ioaddr 351 drivers/net/ethernet/amd/sun3lance.c iounmap((void __iomem *)ioaddr); ioaddr 357 drivers/net/ethernet/amd/sun3lance.c lp->iobase = (volatile unsigned short *)ioaddr; ioaddr 358 drivers/net/ethernet/amd/sun3lance.c dev->base_addr = (unsigned long)ioaddr; /* informational only */ ioaddr 364 drivers/net/ethernet/amd/sun3lance.c iounmap((void __iomem *)ioaddr); ioaddr 375 drivers/net/ethernet/amd/sun3lance.c (unsigned long)ioaddr, ioaddr 505 drivers/net/ethernet/calxeda/xgmac.c static void xgmac_dma_flush_tx_fifo(void __iomem *ioaddr) ioaddr 508 drivers/net/ethernet/calxeda/xgmac.c u32 reg = readl(ioaddr + XGMAC_OMR); ioaddr 509 drivers/net/ethernet/calxeda/xgmac.c writel(reg | XGMAC_OMR_FTF, ioaddr + XGMAC_OMR); ioaddr 511 drivers/net/ethernet/calxeda/xgmac.c while ((timeout-- > 0) && readl(ioaddr + XGMAC_OMR) & XGMAC_OMR_FTF) ioaddr 588 drivers/net/ethernet/calxeda/xgmac.c static inline void xgmac_mac_enable(void __iomem *ioaddr) ioaddr 590 drivers/net/ethernet/calxeda/xgmac.c u32 value = readl(ioaddr + XGMAC_CONTROL); ioaddr 592 drivers/net/ethernet/calxeda/xgmac.c writel(value, ioaddr + XGMAC_CONTROL); ioaddr 594 drivers/net/ethernet/calxeda/xgmac.c value = readl(ioaddr + XGMAC_DMA_CONTROL); ioaddr 596 drivers/net/ethernet/calxeda/xgmac.c writel(value, ioaddr + XGMAC_DMA_CONTROL); ioaddr 599 drivers/net/ethernet/calxeda/xgmac.c static inline void xgmac_mac_disable(void __iomem *ioaddr) ioaddr 601 drivers/net/ethernet/calxeda/xgmac.c u32 value = readl(ioaddr + XGMAC_DMA_CONTROL); ioaddr 603 drivers/net/ethernet/calxeda/xgmac.c writel(value, ioaddr + XGMAC_DMA_CONTROL); ioaddr 605 drivers/net/ethernet/calxeda/xgmac.c value = readl(ioaddr + XGMAC_CONTROL); ioaddr 607 drivers/net/ethernet/calxeda/xgmac.c writel(value, ioaddr + XGMAC_CONTROL); ioaddr 610 drivers/net/ethernet/calxeda/xgmac.c static void xgmac_set_mac_addr(void __iomem *ioaddr, unsigned char *addr, ioaddr 617 drivers/net/ethernet/calxeda/xgmac.c writel(data, ioaddr + XGMAC_ADDR_HIGH(num)); ioaddr 619 drivers/net/ethernet/calxeda/xgmac.c writel(data, ioaddr + XGMAC_ADDR_LOW(num)); ioaddr 621 drivers/net/ethernet/calxeda/xgmac.c writel(0, ioaddr + XGMAC_ADDR_HIGH(num)); ioaddr 622 drivers/net/ethernet/calxeda/xgmac.c writel(0, ioaddr + XGMAC_ADDR_LOW(num)); ioaddr 626 drivers/net/ethernet/calxeda/xgmac.c static void xgmac_get_mac_addr(void __iomem *ioaddr, unsigned char *addr, ioaddr 632 drivers/net/ethernet/calxeda/xgmac.c hi_addr = readl(ioaddr + XGMAC_ADDR_HIGH(num)); ioaddr 633 drivers/net/ethernet/calxeda/xgmac.c lo_addr = readl(ioaddr + XGMAC_ADDR_LOW(num)); ioaddr 947 drivers/net/ethernet/calxeda/xgmac.c void __iomem *ioaddr = priv->base; ioaddr 950 drivers/net/ethernet/calxeda/xgmac.c ctrl = readl(ioaddr + XGMAC_CONTROL) & XGMAC_CONTROL_SPD_MASK; ioaddr 954 drivers/net/ethernet/calxeda/xgmac.c writel(value, ioaddr + XGMAC_DMA_BUS_MODE); ioaddr 957 drivers/net/ethernet/calxeda/xgmac.c (readl(ioaddr + XGMAC_DMA_BUS_MODE) & DMA_BUS_MODE_SFT_RESET)) ioaddr 965 drivers/net/ethernet/calxeda/xgmac.c writel(value, ioaddr + XGMAC_DMA_BUS_MODE); ioaddr 967 drivers/net/ethernet/calxeda/xgmac.c writel(0, ioaddr + XGMAC_DMA_INTR_ENA); ioaddr 970 drivers/net/ethernet/calxeda/xgmac.c writel(XGMAC_INT_STAT_PMTIM, ioaddr + XGMAC_INT_STAT); ioaddr 973 drivers/net/ethernet/calxeda/xgmac.c writel(0x0077000E, ioaddr + XGMAC_DMA_AXI_BUS); ioaddr 979 drivers/net/ethernet/calxeda/xgmac.c writel(ctrl, ioaddr + XGMAC_CONTROL); ioaddr 981 drivers/net/ethernet/calxeda/xgmac.c writel(DMA_CONTROL_OSF, ioaddr + XGMAC_DMA_CONTROL); ioaddr 986 drivers/net/ethernet/calxeda/xgmac.c ioaddr + XGMAC_OMR); ioaddr 989 drivers/net/ethernet/calxeda/xgmac.c writel(1, ioaddr + XGMAC_MMC_CTRL); ioaddr 1006 drivers/net/ethernet/calxeda/xgmac.c void __iomem *ioaddr = priv->base; ioaddr 1022 drivers/net/ethernet/calxeda/xgmac.c xgmac_set_mac_addr(ioaddr, dev->dev_addr, 0); ioaddr 1030 drivers/net/ethernet/calxeda/xgmac.c xgmac_mac_enable(ioaddr); ioaddr 1036 drivers/net/ethernet/calxeda/xgmac.c writel(DMA_INTR_DEFAULT_MASK, ioaddr + XGMAC_DMA_STATUS); ioaddr 1037 drivers/net/ethernet/calxeda/xgmac.c writel(DMA_INTR_DEFAULT_MASK, ioaddr + XGMAC_DMA_INTR_ENA); ioaddr 1273 drivers/net/ethernet/calxeda/xgmac.c void __iomem *ioaddr = priv->base; ioaddr 1301 drivers/net/ethernet/calxeda/xgmac.c xgmac_set_mac_addr(ioaddr, ha->addr, reg); ioaddr 1326 drivers/net/ethernet/calxeda/xgmac.c xgmac_set_mac_addr(ioaddr, ha->addr, reg); ioaddr 1333 drivers/net/ethernet/calxeda/xgmac.c xgmac_set_mac_addr(ioaddr, NULL, i); ioaddr 1335 drivers/net/ethernet/calxeda/xgmac.c writel(hash_filter[i], ioaddr + XGMAC_HASH(i)); ioaddr 1337 drivers/net/ethernet/calxeda/xgmac.c writel(value, ioaddr + XGMAC_FRAME_FILTER); ioaddr 1368 drivers/net/ethernet/calxeda/xgmac.c void __iomem *ioaddr = priv->base; ioaddr 1370 drivers/net/ethernet/calxeda/xgmac.c intr_status = __raw_readl(ioaddr + XGMAC_INT_STAT); ioaddr 1374 drivers/net/ethernet/calxeda/xgmac.c readl(ioaddr + XGMAC_PMT); ioaddr 1474 drivers/net/ethernet/calxeda/xgmac.c void __iomem *ioaddr = priv->base; ioaddr 1482 drivers/net/ethernet/calxeda/xgmac.c xgmac_set_mac_addr(ioaddr, dev->dev_addr, 0); ioaddr 1491 drivers/net/ethernet/calxeda/xgmac.c void __iomem *ioaddr = priv->base; ioaddr 1497 drivers/net/ethernet/calxeda/xgmac.c ctrl = readl(ioaddr + XGMAC_CONTROL); ioaddr 1502 drivers/net/ethernet/calxeda/xgmac.c writel(ctrl, ioaddr + XGMAC_CONTROL); ioaddr 1844 drivers/net/ethernet/calxeda/xgmac.c static void xgmac_pmt(void __iomem *ioaddr, unsigned long mode) ioaddr 1853 drivers/net/ethernet/calxeda/xgmac.c writel(pmt, ioaddr + XGMAC_PMT); ioaddr 1886 drivers/net/ethernet/calxeda/xgmac.c void __iomem *ioaddr = priv->base; ioaddr 1891 drivers/net/ethernet/calxeda/xgmac.c xgmac_pmt(ioaddr, 0); ioaddr 1894 drivers/net/ethernet/calxeda/xgmac.c xgmac_mac_enable(ioaddr); ioaddr 1895 drivers/net/ethernet/calxeda/xgmac.c writel(DMA_INTR_DEFAULT_MASK, ioaddr + XGMAC_DMA_STATUS); ioaddr 1896 drivers/net/ethernet/calxeda/xgmac.c writel(DMA_INTR_DEFAULT_MASK, ioaddr + XGMAC_DMA_INTR_ENA); ioaddr 1310 drivers/net/ethernet/cirrus/cs89x0.c cs89x0_probe1(struct net_device *dev, void __iomem *ioaddr, int modular) ioaddr 1336 drivers/net/ethernet/cirrus/cs89x0.c ioaddr, ADD_PORT, ioread16(ioaddr + ADD_PORT)); ioaddr 1337 drivers/net/ethernet/cirrus/cs89x0.c iowrite16(PP_ChipID, ioaddr + ADD_PORT); ioaddr 1339 drivers/net/ethernet/cirrus/cs89x0.c tmp = ioread16(ioaddr + DATA_PORT); ioaddr 1343 drivers/net/ethernet/cirrus/cs89x0.c dev->name, ioaddr, DATA_PORT, tmp); ioaddr 1348 drivers/net/ethernet/cirrus/cs89x0.c lp->virt_addr = ioaddr; ioaddr 170 drivers/net/ethernet/cirrus/mac89x0.c unsigned long ioaddr; ioaddr 188 drivers/net/ethernet/cirrus/mac89x0.c ioaddr = (unsigned long) ioaddr 193 drivers/net/ethernet/cirrus/mac89x0.c card_present = (hwreg_present((void *)ioaddr + 4) && ioaddr 194 drivers/net/ethernet/cirrus/mac89x0.c hwreg_present((void *)ioaddr + DATA_PORT)); ioaddr 199 drivers/net/ethernet/cirrus/mac89x0.c nubus_writew(0, ioaddr + ADD_PORT); ioaddr 200 drivers/net/ethernet/cirrus/mac89x0.c sig = nubus_readw(ioaddr + DATA_PORT); ioaddr 212 drivers/net/ethernet/cirrus/mac89x0.c dev->base_addr = ioaddr; ioaddr 371 drivers/net/ethernet/cirrus/mac89x0.c int ioaddr, status; ioaddr 373 drivers/net/ethernet/cirrus/mac89x0.c ioaddr = dev->base_addr; ioaddr 33 drivers/net/ethernet/dec/tulip/21142.c void __iomem *ioaddr = tp->base_addr; ioaddr 34 drivers/net/ethernet/dec/tulip/21142.c int csr12 = ioread32(ioaddr + CSR12); ioaddr 37 drivers/net/ethernet/dec/tulip/21142.c int csr14 = ioread32(ioaddr + CSR14); ioaddr 79 drivers/net/ethernet/dec/tulip/21142.c iowrite32(0, ioaddr + CSR13); ioaddr 80 drivers/net/ethernet/dec/tulip/21142.c iowrite32(0x0003FFFF, ioaddr + CSR14); ioaddr 81 drivers/net/ethernet/dec/tulip/21142.c iowrite16(t21142_csr15[dev->if_port], ioaddr + CSR15); ioaddr 82 drivers/net/ethernet/dec/tulip/21142.c iowrite32(t21142_csr13[dev->if_port], ioaddr + CSR13); ioaddr 87 drivers/net/ethernet/dec/tulip/21142.c iowrite32(0, ioaddr + CSR13); ioaddr 88 drivers/net/ethernet/dec/tulip/21142.c iowrite32(0x0003FFFF, ioaddr + CSR14); ioaddr 89 drivers/net/ethernet/dec/tulip/21142.c iowrite16(8, ioaddr + CSR15); ioaddr 90 drivers/net/ethernet/dec/tulip/21142.c iowrite32(1, ioaddr + CSR13); ioaddr 98 drivers/net/ethernet/dec/tulip/21142.c iowrite32(0x0301, ioaddr + CSR12); ioaddr 114 drivers/net/ethernet/dec/tulip/21142.c void __iomem *ioaddr = tp->base_addr; ioaddr 124 drivers/net/ethernet/dec/tulip/21142.c iowrite32(0x0001, ioaddr + CSR13); ioaddr 126 drivers/net/ethernet/dec/tulip/21142.c iowrite32(csr14, ioaddr + CSR14); ioaddr 128 drivers/net/ethernet/dec/tulip/21142.c iowrite32(tp->csr6, ioaddr + CSR6); ioaddr 130 drivers/net/ethernet/dec/tulip/21142.c iowrite32(tp->mtable->csr15dir, ioaddr + CSR15); ioaddr 131 drivers/net/ethernet/dec/tulip/21142.c iowrite32(tp->mtable->csr15val, ioaddr + CSR15); ioaddr 133 drivers/net/ethernet/dec/tulip/21142.c iowrite16(0x0008, ioaddr + CSR15); ioaddr 134 drivers/net/ethernet/dec/tulip/21142.c iowrite32(0x1301, ioaddr + CSR12); /* Trigger NWAY. */ ioaddr 142 drivers/net/ethernet/dec/tulip/21142.c void __iomem *ioaddr = tp->base_addr; ioaddr 143 drivers/net/ethernet/dec/tulip/21142.c int csr12 = ioread32(ioaddr + CSR12); ioaddr 144 drivers/net/ethernet/dec/tulip/21142.c int csr14 = ioread32(ioaddr + CSR14); ioaddr 201 drivers/net/ethernet/dec/tulip/21142.c iowrite32(1, ioaddr + CSR13); ioaddr 204 drivers/net/ethernet/dec/tulip/21142.c iowrite32(tp->csr6 | RxOn, ioaddr + CSR6); ioaddr 207 drivers/net/ethernet/dec/tulip/21142.c ioread32(ioaddr + CSR5)); ioaddr 212 drivers/net/ethernet/dec/tulip/21142.c tp->csr6, ioread32(ioaddr + CSR6), ioaddr 213 drivers/net/ethernet/dec/tulip/21142.c ioread32(ioaddr + CSR12)); ioaddr 234 drivers/net/ethernet/dec/tulip/21142.c iowrite32(csr14 & ~0x080, ioaddr + CSR14); ioaddr 251 drivers/net/ethernet/dec/tulip/21142.c iowrite32(0x0003FF7F, ioaddr + CSR14); ioaddr 252 drivers/net/ethernet/dec/tulip/21142.c iowrite32(0x0301, ioaddr + CSR12); ioaddr 970 drivers/net/ethernet/dec/tulip/de4x5.c static int mii_rd(u_char phyreg, u_char phyaddr, u_long ioaddr); ioaddr 971 drivers/net/ethernet/dec/tulip/de4x5.c static void mii_wr(int data, u_char phyreg, u_char phyaddr, u_long ioaddr); ioaddr 972 drivers/net/ethernet/dec/tulip/de4x5.c static int mii_rdata(u_long ioaddr); ioaddr 973 drivers/net/ethernet/dec/tulip/de4x5.c static void mii_wdata(int data, int len, u_long ioaddr); ioaddr 974 drivers/net/ethernet/dec/tulip/de4x5.c static void mii_ta(u_long rw, u_long ioaddr); ioaddr 976 drivers/net/ethernet/dec/tulip/de4x5.c static void mii_address(u_char addr, u_long ioaddr); ioaddr 977 drivers/net/ethernet/dec/tulip/de4x5.c static void sendto_mii(u32 command, int data, u_long ioaddr); ioaddr 978 drivers/net/ethernet/dec/tulip/de4x5.c static int getfrom_mii(u32 command, u_long ioaddr); ioaddr 979 drivers/net/ethernet/dec/tulip/de4x5.c static int mii_get_oui(u_char phyaddr, u_long ioaddr); ioaddr 4808 drivers/net/ethernet/dec/tulip/de4x5.c mii_rd(u_char phyreg, u_char phyaddr, u_long ioaddr) ioaddr 4810 drivers/net/ethernet/dec/tulip/de4x5.c mii_wdata(MII_PREAMBLE, 2, ioaddr); /* Start of 34 bit preamble... */ ioaddr 4811 drivers/net/ethernet/dec/tulip/de4x5.c mii_wdata(MII_PREAMBLE, 32, ioaddr); /* ...continued */ ioaddr 4812 drivers/net/ethernet/dec/tulip/de4x5.c mii_wdata(MII_STRD, 4, ioaddr); /* SFD and Read operation */ ioaddr 4813 drivers/net/ethernet/dec/tulip/de4x5.c mii_address(phyaddr, ioaddr); /* PHY address to be accessed */ ioaddr 4814 drivers/net/ethernet/dec/tulip/de4x5.c mii_address(phyreg, ioaddr); /* PHY Register to read */ ioaddr 4815 drivers/net/ethernet/dec/tulip/de4x5.c mii_ta(MII_STRD, ioaddr); /* Turn around time - 2 MDC */ ioaddr 4817 drivers/net/ethernet/dec/tulip/de4x5.c return mii_rdata(ioaddr); /* Read data */ ioaddr 4821 drivers/net/ethernet/dec/tulip/de4x5.c mii_wr(int data, u_char phyreg, u_char phyaddr, u_long ioaddr) ioaddr 4823 drivers/net/ethernet/dec/tulip/de4x5.c mii_wdata(MII_PREAMBLE, 2, ioaddr); /* Start of 34 bit preamble... */ ioaddr 4824 drivers/net/ethernet/dec/tulip/de4x5.c mii_wdata(MII_PREAMBLE, 32, ioaddr); /* ...continued */ ioaddr 4825 drivers/net/ethernet/dec/tulip/de4x5.c mii_wdata(MII_STWR, 4, ioaddr); /* SFD and Write operation */ ioaddr 4826 drivers/net/ethernet/dec/tulip/de4x5.c mii_address(phyaddr, ioaddr); /* PHY address to be accessed */ ioaddr 4827 drivers/net/ethernet/dec/tulip/de4x5.c mii_address(phyreg, ioaddr); /* PHY Register to write */ ioaddr 4828 drivers/net/ethernet/dec/tulip/de4x5.c mii_ta(MII_STWR, ioaddr); /* Turn around time - 2 MDC */ ioaddr 4830 drivers/net/ethernet/dec/tulip/de4x5.c mii_wdata(data, 16, ioaddr); /* Write data */ ioaddr 4834 drivers/net/ethernet/dec/tulip/de4x5.c mii_rdata(u_long ioaddr) ioaddr 4841 drivers/net/ethernet/dec/tulip/de4x5.c tmp |= getfrom_mii(MII_MRD | MII_RD, ioaddr); ioaddr 4848 drivers/net/ethernet/dec/tulip/de4x5.c mii_wdata(int data, int len, u_long ioaddr) ioaddr 4853 drivers/net/ethernet/dec/tulip/de4x5.c sendto_mii(MII_MWR | MII_WR, data, ioaddr); ioaddr 4859 drivers/net/ethernet/dec/tulip/de4x5.c mii_address(u_char addr, u_long ioaddr) ioaddr 4865 drivers/net/ethernet/dec/tulip/de4x5.c sendto_mii(MII_MWR | MII_WR, addr, ioaddr); ioaddr 4871 drivers/net/ethernet/dec/tulip/de4x5.c mii_ta(u_long rw, u_long ioaddr) ioaddr 4874 drivers/net/ethernet/dec/tulip/de4x5.c sendto_mii(MII_MWR | MII_WR, 1, ioaddr); ioaddr 4875 drivers/net/ethernet/dec/tulip/de4x5.c sendto_mii(MII_MWR | MII_WR, 0, ioaddr); ioaddr 4877 drivers/net/ethernet/dec/tulip/de4x5.c getfrom_mii(MII_MRD | MII_RD, ioaddr); /* Tri-state MDIO */ ioaddr 4896 drivers/net/ethernet/dec/tulip/de4x5.c sendto_mii(u32 command, int data, u_long ioaddr) ioaddr 4901 drivers/net/ethernet/dec/tulip/de4x5.c outl(command | j, ioaddr); ioaddr 4903 drivers/net/ethernet/dec/tulip/de4x5.c outl(command | MII_MDC | j, ioaddr); ioaddr 4908 drivers/net/ethernet/dec/tulip/de4x5.c getfrom_mii(u32 command, u_long ioaddr) ioaddr 4910 drivers/net/ethernet/dec/tulip/de4x5.c outl(command, ioaddr); ioaddr 4912 drivers/net/ethernet/dec/tulip/de4x5.c outl(command | MII_MDC, ioaddr); ioaddr 4915 drivers/net/ethernet/dec/tulip/de4x5.c return (inl(ioaddr) >> 19) & 1; ioaddr 4922 drivers/net/ethernet/dec/tulip/de4x5.c mii_get_oui(u_char phyaddr, u_long ioaddr) ioaddr 4933 drivers/net/ethernet/dec/tulip/de4x5.c r2 = mii_rd(MII_ID0, phyaddr, ioaddr); ioaddr 4934 drivers/net/ethernet/dec/tulip/de4x5.c r3 = mii_rd(MII_ID1, phyaddr, ioaddr); ioaddr 145 drivers/net/ethernet/dec/tulip/dmfe.c #define dw32(reg, val) iowrite32(val, ioaddr + (reg)) ioaddr 146 drivers/net/ethernet/dec/tulip/dmfe.c #define dw16(reg, val) iowrite16(val, ioaddr + (reg)) ioaddr 147 drivers/net/ethernet/dec/tulip/dmfe.c #define dr32(reg) ioread32(ioaddr + (reg)) ioaddr 148 drivers/net/ethernet/dec/tulip/dmfe.c #define dr16(reg) ioread16(ioaddr + (reg)) ioaddr 149 drivers/net/ethernet/dec/tulip/dmfe.c #define dr8(reg) ioread8(ioaddr + (reg)) ioaddr 207 drivers/net/ethernet/dec/tulip/dmfe.c void __iomem *ioaddr; /* I/O base address */ ioaddr 455 drivers/net/ethernet/dec/tulip/dmfe.c db->ioaddr = pci_iomap(pdev, 0, 0); ioaddr 456 drivers/net/ethernet/dec/tulip/dmfe.c if (!db->ioaddr) { ioaddr 482 drivers/net/ethernet/dec/tulip/dmfe.c cpu_to_le16(read_srom_word(db->ioaddr, i)); ioaddr 502 drivers/net/ethernet/dec/tulip/dmfe.c pci_iounmap(pdev, db->ioaddr); ioaddr 530 drivers/net/ethernet/dec/tulip/dmfe.c pci_iounmap(db->pdev, db->ioaddr); ioaddr 609 drivers/net/ethernet/dec/tulip/dmfe.c void __iomem *ioaddr = db->ioaddr; ioaddr 646 drivers/net/ethernet/dec/tulip/dmfe.c update_cr6(db->cr6_data, ioaddr); ioaddr 663 drivers/net/ethernet/dec/tulip/dmfe.c update_cr6(db->cr6_data, ioaddr); ioaddr 676 drivers/net/ethernet/dec/tulip/dmfe.c void __iomem *ioaddr = db->ioaddr; ioaddr 746 drivers/net/ethernet/dec/tulip/dmfe.c void __iomem *ioaddr = db->ioaddr; ioaddr 759 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(ioaddr, db->phy_addr, 0, 0x8000, db->chip_id); ioaddr 789 drivers/net/ethernet/dec/tulip/dmfe.c void __iomem *ioaddr = db->ioaddr; ioaddr 833 drivers/net/ethernet/dec/tulip/dmfe.c update_cr6(db->cr6_data, ioaddr); ioaddr 871 drivers/net/ethernet/dec/tulip/dmfe.c void __iomem *ioaddr = db->ioaddr; ioaddr 895 drivers/net/ethernet/dec/tulip/dmfe.c update_cr6(db->cr6_data, ioaddr); ioaddr 1053 drivers/net/ethernet/dec/tulip/dmfe.c update_cr6(db->cr6_data, db->ioaddr); ioaddr 1127 drivers/net/ethernet/dec/tulip/dmfe.c void __iomem *ioaddr = db->ioaddr; ioaddr 1142 drivers/net/ethernet/dec/tulip/dmfe.c update_cr6(db->cr6_data, ioaddr); ioaddr 1143 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(ioaddr, db->phy_addr, 0, 0x1000, db->chip_id); ioaddr 1145 drivers/net/ethernet/dec/tulip/dmfe.c update_cr6(db->cr6_data, ioaddr); ioaddr 1219 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_read (db->ioaddr, db->phy_addr, 1, db->chip_id); ioaddr 1220 drivers/net/ethernet/dec/tulip/dmfe.c link_ok_phy = (dmfe_phy_read (db->ioaddr, ioaddr 1236 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, ioaddr 1244 drivers/net/ethernet/dec/tulip/dmfe.c update_cr6(db->cr6_data, ioaddr); ioaddr 1284 drivers/net/ethernet/dec/tulip/dmfe.c void __iomem *ioaddr = db->ioaddr; ioaddr 1290 drivers/net/ethernet/dec/tulip/dmfe.c update_cr6(db->cr6_data, ioaddr); ioaddr 1361 drivers/net/ethernet/dec/tulip/dmfe.c void __iomem *ioaddr = db->ioaddr; ioaddr 1426 drivers/net/ethernet/dec/tulip/dmfe.c static void update_cr6(u32 cr6_data, void __iomem *ioaddr) ioaddr 1446 drivers/net/ethernet/dec/tulip/dmfe.c void __iomem *ioaddr = db->ioaddr + 0xc0; ioaddr 1454 drivers/net/ethernet/dec/tulip/dmfe.c ioaddr += 4; ioaddr 1471 drivers/net/ethernet/dec/tulip/dmfe.c for (i = 0; i < 4; i++, ioaddr += 4) ioaddr 1526 drivers/net/ethernet/dec/tulip/dmfe.c void __iomem *ioaddr = db->ioaddr; ioaddr 1531 drivers/net/ethernet/dec/tulip/dmfe.c update_cr6(db->cr6_data | 0x2000, ioaddr); ioaddr 1533 drivers/net/ethernet/dec/tulip/dmfe.c update_cr6(db->cr6_data, ioaddr); ioaddr 1568 drivers/net/ethernet/dec/tulip/dmfe.c static void srom_clk_write(void __iomem *ioaddr, u32 data) ioaddr 1586 drivers/net/ethernet/dec/tulip/dmfe.c static u16 read_srom_word(void __iomem *ioaddr, int offset) ioaddr 1597 drivers/net/ethernet/dec/tulip/dmfe.c srom_clk_write(ioaddr, SROM_DATA_1); ioaddr 1598 drivers/net/ethernet/dec/tulip/dmfe.c srom_clk_write(ioaddr, SROM_DATA_1); ioaddr 1599 drivers/net/ethernet/dec/tulip/dmfe.c srom_clk_write(ioaddr, SROM_DATA_0); ioaddr 1604 drivers/net/ethernet/dec/tulip/dmfe.c srom_clk_write(ioaddr, srom_data); ioaddr 1631 drivers/net/ethernet/dec/tulip/dmfe.c void __iomem *ioaddr = db->ioaddr; ioaddr 1636 drivers/net/ethernet/dec/tulip/dmfe.c update_cr6(db->cr6_data & ~0x40000, ioaddr); ioaddr 1638 drivers/net/ethernet/dec/tulip/dmfe.c phy_mode = dmfe_phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); ioaddr 1639 drivers/net/ethernet/dec/tulip/dmfe.c phy_mode = dmfe_phy_read(db->ioaddr, db->phy_addr, 1, db->chip_id); ioaddr 1643 drivers/net/ethernet/dec/tulip/dmfe.c phy_mode = dmfe_phy_read(db->ioaddr, ioaddr 1646 drivers/net/ethernet/dec/tulip/dmfe.c phy_mode = dmfe_phy_read(db->ioaddr, ioaddr 1675 drivers/net/ethernet/dec/tulip/dmfe.c void __iomem *ioaddr = db->ioaddr; ioaddr 1680 drivers/net/ethernet/dec/tulip/dmfe.c update_cr6(db->cr6_data, ioaddr); ioaddr 1684 drivers/net/ethernet/dec/tulip/dmfe.c phy_reg = dmfe_phy_read(db->ioaddr, ioaddr 1687 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, ioaddr 1692 drivers/net/ethernet/dec/tulip/dmfe.c phy_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 4, db->chip_id) & ~0x01e0; ioaddr 1713 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 4, phy_reg, db->chip_id); ioaddr 1717 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 0, 0x1800, db->chip_id); ioaddr 1719 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 0, 0x1200, db->chip_id); ioaddr 1746 drivers/net/ethernet/dec/tulip/dmfe.c update_cr6(db->cr6_data, db->ioaddr); ioaddr 1751 drivers/net/ethernet/dec/tulip/dmfe.c phy_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 6, db->chip_id); ioaddr 1761 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, ioaddr 1765 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, ioaddr 1776 drivers/net/ethernet/dec/tulip/dmfe.c static void dmfe_phy_write(void __iomem *ioaddr, u8 phy_addr, u8 offset, ioaddr 1788 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write_1bit(ioaddr, PHY_DATA_1); ioaddr 1791 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write_1bit(ioaddr, PHY_DATA_0); ioaddr 1792 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write_1bit(ioaddr, PHY_DATA_1); ioaddr 1795 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write_1bit(ioaddr, PHY_DATA_0); ioaddr 1796 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write_1bit(ioaddr, PHY_DATA_1); ioaddr 1800 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write_1bit(ioaddr, ioaddr 1805 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write_1bit(ioaddr, ioaddr 1809 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write_1bit(ioaddr, PHY_DATA_1); ioaddr 1810 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write_1bit(ioaddr, PHY_DATA_0); ioaddr 1814 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write_1bit(ioaddr, ioaddr 1824 drivers/net/ethernet/dec/tulip/dmfe.c static u16 dmfe_phy_read(void __iomem *ioaddr, u8 phy_addr, u8 offset, u32 chip_id) ioaddr 1837 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write_1bit(ioaddr, PHY_DATA_1); ioaddr 1840 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write_1bit(ioaddr, PHY_DATA_0); ioaddr 1841 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write_1bit(ioaddr, PHY_DATA_1); ioaddr 1844 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write_1bit(ioaddr, PHY_DATA_1); ioaddr 1845 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write_1bit(ioaddr, PHY_DATA_0); ioaddr 1849 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write_1bit(ioaddr, ioaddr 1854 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write_1bit(ioaddr, ioaddr 1858 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_read_1bit(ioaddr); ioaddr 1863 drivers/net/ethernet/dec/tulip/dmfe.c phy_data |= dmfe_phy_read_1bit(ioaddr); ioaddr 1875 drivers/net/ethernet/dec/tulip/dmfe.c static void dmfe_phy_write_1bit(void __iomem *ioaddr, u32 phy_data) ioaddr 1890 drivers/net/ethernet/dec/tulip/dmfe.c static u16 dmfe_phy_read_1bit(void __iomem *ioaddr) ioaddr 1983 drivers/net/ethernet/dec/tulip/dmfe.c update_cr6(db->cr6_data | 0x40000, db->ioaddr); ioaddr 1984 drivers/net/ethernet/dec/tulip/dmfe.c tmp_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 3, db->chip_id); ioaddr 1988 drivers/net/ethernet/dec/tulip/dmfe.c if ( dmfe_phy_read(db->ioaddr, db->phy_addr, 31, db->chip_id) == 0x4404) { ioaddr 2014 drivers/net/ethernet/dec/tulip/dmfe.c reg25 = dmfe_phy_read(db->ioaddr, db->phy_addr, 24, db->chip_id); ioaddr 2016 drivers/net/ethernet/dec/tulip/dmfe.c reg17 = dmfe_phy_read(db->ioaddr, db->phy_addr, 17, db->chip_id); ioaddr 2019 drivers/net/ethernet/dec/tulip/dmfe.c reg25 = dmfe_phy_read(db->ioaddr, db->phy_addr, 25, db->chip_id); ioaddr 2021 drivers/net/ethernet/dec/tulip/dmfe.c reg17 = dmfe_phy_read(db->ioaddr, db->phy_addr, 17, db->chip_id); ioaddr 2028 drivers/net/ethernet/dec/tulip/dmfe.c reg25 = dmfe_phy_read(db->ioaddr, db->phy_addr, 25, db->chip_id); ioaddr 2030 drivers/net/ethernet/dec/tulip/dmfe.c reg17 = dmfe_phy_read(db->ioaddr, db->phy_addr, 17, db->chip_id); ioaddr 2034 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 16, db->HPNA_command, db->chip_id); ioaddr 2035 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 17, reg17, db->chip_id); ioaddr 2036 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 25, reg25, db->chip_id); ioaddr 2049 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 16, db->HPNA_command, db->chip_id); ioaddr 2050 drivers/net/ethernet/dec/tulip/dmfe.c phy_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 25, db->chip_id); ioaddr 2052 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 25, phy_reg, db->chip_id); ioaddr 2066 drivers/net/ethernet/dec/tulip/dmfe.c phy_reg = dmfe_phy_read(db->ioaddr, db->phy_addr, 17, db->chip_id) & 0x60; ioaddr 2076 drivers/net/ethernet/dec/tulip/dmfe.c dmfe_phy_write(db->ioaddr, db->phy_addr, 16, db->HPNA_command, ioaddr 2100 drivers/net/ethernet/dec/tulip/dmfe.c void __iomem *ioaddr = db->ioaddr; ioaddr 2108 drivers/net/ethernet/dec/tulip/dmfe.c update_cr6(db->cr6_data, ioaddr); ioaddr 519 drivers/net/ethernet/dec/tulip/interrupt.c void __iomem *ioaddr = tp->base_addr; ioaddr 537 drivers/net/ethernet/dec/tulip/interrupt.c csr5 = ioread32(ioaddr + CSR5); ioaddr 554 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(tulip_tbl[tp->chip_id].valid_intrs&~RxPollInt, ioaddr + CSR7); ioaddr 564 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(csr5 & 0x0001ff3f, ioaddr + CSR5); ioaddr 568 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(csr5 & 0x0001ffff, ioaddr + CSR5); ioaddr 580 drivers/net/ethernet/dec/tulip/interrupt.c csr5, ioread32(ioaddr + CSR5)); ioaddr 660 drivers/net/ethernet/dec/tulip/interrupt.c csr5, ioread32(ioaddr + CSR6), ioaddr 680 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(0, ioaddr + CSR1); ioaddr 684 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(tp->mc_filter[0], ioaddr + 0xAC); ioaddr 685 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(tp->mc_filter[1], ioaddr + 0xB0); ioaddr 689 drivers/net/ethernet/dec/tulip/interrupt.c dev->stats.rx_missed_errors += ioread32(ioaddr + CSR8) & 0xffff; ioaddr 718 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(0x0800f7ba, ioaddr + CSR5); ioaddr 727 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(tulip_tbl[tp->chip_id].valid_intrs, ioaddr + CSR7); ioaddr 737 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(0x8001ffff, ioaddr + CSR5); ioaddr 741 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(0x8b240000, ioaddr + CSR11); ioaddr 744 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(0x00, ioaddr + CSR7); ioaddr 749 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(((~csr5) & 0x0001ebef) | AbnormalIntr | TimerInt, ioaddr + CSR7); ioaddr 750 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(0x0012, ioaddr + CSR11); ioaddr 759 drivers/net/ethernet/dec/tulip/interrupt.c csr5 = ioread32(ioaddr + CSR5); ioaddr 787 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(0x00, ioaddr + CSR7); ioaddr 790 drivers/net/ethernet/dec/tulip/interrupt.c if (tp->ttimer == 0 || (ioread32(ioaddr + CSR11) & 0xffff) == 0) { ioaddr 796 drivers/net/ethernet/dec/tulip/interrupt.c ioaddr + CSR7); ioaddr 797 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(TimerInt, ioaddr + CSR5); ioaddr 798 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(12, ioaddr + CSR11); ioaddr 805 drivers/net/ethernet/dec/tulip/interrupt.c if ((missed = ioread32(ioaddr + CSR8) & 0x1ffff)) { ioaddr 811 drivers/net/ethernet/dec/tulip/interrupt.c ioread32(ioaddr + CSR5)); ioaddr 53 drivers/net/ethernet/dec/tulip/media.c void __iomem *ioaddr = tp->base_addr; ioaddr 54 drivers/net/ethernet/dec/tulip/media.c void __iomem *mdio_addr = ioaddr + CSR9; ioaddr 62 drivers/net/ethernet/dec/tulip/media.c return ioread32(ioaddr + comet_miireg2offset[location]); ioaddr 68 drivers/net/ethernet/dec/tulip/media.c iowrite32(0x60020000 + (phy_id<<23) + (location<<18), ioaddr + 0xA0); ioaddr 69 drivers/net/ethernet/dec/tulip/media.c ioread32(ioaddr + 0xA0); ioaddr 70 drivers/net/ethernet/dec/tulip/media.c ioread32(ioaddr + 0xA0); ioaddr 73 drivers/net/ethernet/dec/tulip/media.c if ( ! ((retval = ioread32(ioaddr + 0xA0)) & 0x80000000)) ioaddr 114 drivers/net/ethernet/dec/tulip/media.c void __iomem *ioaddr = tp->base_addr; ioaddr 115 drivers/net/ethernet/dec/tulip/media.c void __iomem *mdio_addr = ioaddr + CSR9; ioaddr 123 drivers/net/ethernet/dec/tulip/media.c iowrite32(val, ioaddr + comet_miireg2offset[location]); ioaddr 129 drivers/net/ethernet/dec/tulip/media.c iowrite32(cmd, ioaddr + 0xA0); ioaddr 132 drivers/net/ethernet/dec/tulip/media.c if ( ! (ioread32(ioaddr + 0xA0) & 0x80000000)) ioaddr 170 drivers/net/ethernet/dec/tulip/media.c void __iomem *ioaddr = tp->base_addr; ioaddr 185 drivers/net/ethernet/dec/tulip/media.c iowrite32(mtable->csr12dir | 0x100, ioaddr + CSR12); ioaddr 186 drivers/net/ethernet/dec/tulip/media.c iowrite32(p[1], ioaddr + CSR12); ioaddr 205 drivers/net/ethernet/dec/tulip/media.c iowrite32(get_u16(rst + 1 + (i<<1)) << 16, ioaddr + CSR15); ioaddr 216 drivers/net/ethernet/dec/tulip/media.c iowrite32(0, ioaddr + CSR13); ioaddr 217 drivers/net/ethernet/dec/tulip/media.c iowrite32(csr14val, ioaddr + CSR14); ioaddr 218 drivers/net/ethernet/dec/tulip/media.c iowrite32(csr15dir, ioaddr + CSR15); /* Direction */ ioaddr 219 drivers/net/ethernet/dec/tulip/media.c iowrite32(csr15val, ioaddr + CSR15); /* Data */ ioaddr 220 drivers/net/ethernet/dec/tulip/media.c iowrite32(csr13val, ioaddr + CSR13); ioaddr 229 drivers/net/ethernet/dec/tulip/media.c iowrite32(0, ioaddr + CSR13); ioaddr 230 drivers/net/ethernet/dec/tulip/media.c iowrite32(csr14val, ioaddr + CSR14); ioaddr 232 drivers/net/ethernet/dec/tulip/media.c iowrite32(csr15dir, ioaddr + CSR15); /* Direction */ ioaddr 233 drivers/net/ethernet/dec/tulip/media.c iowrite32(csr15val, ioaddr + CSR15); /* Data */ ioaddr 234 drivers/net/ethernet/dec/tulip/media.c if (startup) iowrite32(csr13val, ioaddr + CSR13); ioaddr 260 drivers/net/ethernet/dec/tulip/media.c iowrite32(get_u16(&reset_sequence[i]) << 16, ioaddr + CSR15); ioaddr 263 drivers/net/ethernet/dec/tulip/media.c ioread32(ioaddr + CSR15); ioaddr 275 drivers/net/ethernet/dec/tulip/media.c iowrite32(get_u16(&init_sequence[i]) << 16, ioaddr + CSR15); ioaddr 277 drivers/net/ethernet/dec/tulip/media.c ioread32(ioaddr + CSR15); /* flush posted writes */ ioaddr 285 drivers/net/ethernet/dec/tulip/media.c iowrite32(mtable->csr12dir | 0x100, ioaddr + CSR12); ioaddr 287 drivers/net/ethernet/dec/tulip/media.c iowrite32(reset_sequence[i], ioaddr + CSR12); ioaddr 290 drivers/net/ethernet/dec/tulip/media.c ioread32(ioaddr + CSR12); ioaddr 302 drivers/net/ethernet/dec/tulip/media.c iowrite32(init_sequence[i], ioaddr + CSR12); ioaddr 304 drivers/net/ethernet/dec/tulip/media.c ioread32(ioaddr + CSR12); /* flush posted writes */ ioaddr 335 drivers/net/ethernet/dec/tulip/media.c iowrite32(get_u16(rst + 1 + (i<<1)) << 16, ioaddr + CSR15); ioaddr 348 drivers/net/ethernet/dec/tulip/media.c ioread32(ioaddr + CSR12) & 0xff); ioaddr 354 drivers/net/ethernet/dec/tulip/media.c ioread32(ioaddr + 0xB8), ioaddr 358 drivers/net/ethernet/dec/tulip/media.c iowrite32(0x0001, ioaddr + CSR15); ioaddr 359 drivers/net/ethernet/dec/tulip/media.c iowrite32(0x0201B07A, ioaddr + 0xB8); ioaddr 362 drivers/net/ethernet/dec/tulip/media.c iowrite32(0x32, ioaddr + CSR12); ioaddr 364 drivers/net/ethernet/dec/tulip/media.c iowrite32(0x0001B078, ioaddr + 0xB8); ioaddr 365 drivers/net/ethernet/dec/tulip/media.c iowrite32(0x0201B078, ioaddr + 0xB8); ioaddr 367 drivers/net/ethernet/dec/tulip/media.c iowrite32(0x33, ioaddr + CSR12); ioaddr 370 drivers/net/ethernet/dec/tulip/media.c iowrite32(startup ? 0x0201F868 : 0x0001F868, ioaddr + 0xB8); ioaddr 372 drivers/net/ethernet/dec/tulip/media.c iowrite32(0x32, ioaddr + CSR12); ioaddr 374 drivers/net/ethernet/dec/tulip/media.c iowrite32(0x1F078, ioaddr + 0xB8); ioaddr 388 drivers/net/ethernet/dec/tulip/media.c ioread32(ioaddr + CSR12)); ioaddr 22 drivers/net/ethernet/dec/tulip/pnic.c void __iomem *ioaddr = tp->base_addr; ioaddr 23 drivers/net/ethernet/dec/tulip/pnic.c u32 phy_reg = ioread32(ioaddr + 0xB8); ioaddr 33 drivers/net/ethernet/dec/tulip/pnic.c iowrite32(0x32 | (dev->if_port & 1), ioaddr + CSR12); ioaddr 35 drivers/net/ethernet/dec/tulip/pnic.c iowrite32(0x1F868, ioaddr + 0xB8); ioaddr 55 drivers/net/ethernet/dec/tulip/pnic.c void __iomem *ioaddr = tp->base_addr; ioaddr 56 drivers/net/ethernet/dec/tulip/pnic.c int phy_reg = ioread32(ioaddr + 0xB8); ioaddr 61 drivers/net/ethernet/dec/tulip/pnic.c if (ioread32(ioaddr + CSR5) & TPLnkFail) { ioaddr 62 drivers/net/ethernet/dec/tulip/pnic.c iowrite32((ioread32(ioaddr + CSR7) & ~TPLnkFail) | TPLnkPass, ioaddr + CSR7); ioaddr 70 drivers/net/ethernet/dec/tulip/pnic.c iowrite32(tp->csr6, ioaddr + CSR6); ioaddr 71 drivers/net/ethernet/dec/tulip/pnic.c iowrite32(0x30, ioaddr + CSR12); ioaddr 72 drivers/net/ethernet/dec/tulip/pnic.c iowrite32(0x0201F078, ioaddr + 0xB8); /* Turn on autonegotiation. */ ioaddr 75 drivers/net/ethernet/dec/tulip/pnic.c } else if (ioread32(ioaddr + CSR5) & TPLnkPass) { ioaddr 83 drivers/net/ethernet/dec/tulip/pnic.c iowrite32((ioread32(ioaddr + CSR7) & ~TPLnkPass) | TPLnkFail, ioaddr + CSR7); ioaddr 91 drivers/net/ethernet/dec/tulip/pnic.c void __iomem *ioaddr = tp->base_addr; ioaddr 94 drivers/net/ethernet/dec/tulip/pnic.c if(!ioread32(ioaddr + CSR7)) { ioaddr 109 drivers/net/ethernet/dec/tulip/pnic.c int csr12 = ioread32(ioaddr + CSR12); ioaddr 111 drivers/net/ethernet/dec/tulip/pnic.c int phy_reg = ioread32(ioaddr + 0xB8); ioaddr 112 drivers/net/ethernet/dec/tulip/pnic.c int csr5 = ioread32(ioaddr + CSR5); ioaddr 118 drivers/net/ethernet/dec/tulip/pnic.c iowrite32(0x0201F078, ioaddr + 0xB8); ioaddr 129 drivers/net/ethernet/dec/tulip/pnic.c ioread32(ioaddr + CSR5), ioaddr 130 drivers/net/ethernet/dec/tulip/pnic.c ioread32(ioaddr + 0xB8)); ioaddr 137 drivers/net/ethernet/dec/tulip/pnic.c iowrite32(0x33, ioaddr + CSR12); ioaddr 139 drivers/net/ethernet/dec/tulip/pnic.c iowrite32(0x1F868, ioaddr + 0xB8); ioaddr 142 drivers/net/ethernet/dec/tulip/pnic.c iowrite32(0x32, ioaddr + CSR12); ioaddr 144 drivers/net/ethernet/dec/tulip/pnic.c iowrite32(0x1F078, ioaddr + 0xB8); ioaddr 162 drivers/net/ethernet/dec/tulip/pnic.c if(!ioread32(ioaddr + CSR7)) { ioaddr 168 drivers/net/ethernet/dec/tulip/pnic.c iowrite32(tulip_tbl[tp->chip_id].valid_intrs, ioaddr + CSR7); ioaddr 83 drivers/net/ethernet/dec/tulip/pnic2.c void __iomem *ioaddr = tp->base_addr; ioaddr 88 drivers/net/ethernet/dec/tulip/pnic2.c ioread32(ioaddr + CSR12)); ioaddr 99 drivers/net/ethernet/dec/tulip/pnic2.c void __iomem *ioaddr = tp->base_addr; ioaddr 108 drivers/net/ethernet/dec/tulip/pnic2.c csr14 = (ioread32(ioaddr + CSR14) & 0xfff0ee39); ioaddr 135 drivers/net/ethernet/dec/tulip/pnic2.c tp->csr6 = ioread32(ioaddr + CSR6); ioaddr 153 drivers/net/ethernet/dec/tulip/pnic2.c iowrite32(csr14, ioaddr + CSR14); ioaddr 154 drivers/net/ethernet/dec/tulip/pnic2.c iowrite32(tp->csr6, ioaddr + CSR6); ioaddr 163 drivers/net/ethernet/dec/tulip/pnic2.c csr12 = (ioread32(ioaddr + CSR12) & 0xffff8fff); ioaddr 165 drivers/net/ethernet/dec/tulip/pnic2.c iowrite32(csr12, ioaddr + CSR12); ioaddr 173 drivers/net/ethernet/dec/tulip/pnic2.c void __iomem *ioaddr = tp->base_addr; ioaddr 177 drivers/net/ethernet/dec/tulip/pnic2.c int csr12 = ioread32(ioaddr + CSR12); ioaddr 182 drivers/net/ethernet/dec/tulip/pnic2.c csr12, csr5, ioread32(ioaddr + CSR14)); ioaddr 241 drivers/net/ethernet/dec/tulip/pnic2.c csr14 = (ioread32(ioaddr + CSR14) & 0xffffff7f); ioaddr 242 drivers/net/ethernet/dec/tulip/pnic2.c iowrite32(csr14,ioaddr + CSR14); ioaddr 253 drivers/net/ethernet/dec/tulip/pnic2.c tp->csr6 = (ioread32(ioaddr + CSR6) & 0xfe3bd1fd); ioaddr 267 drivers/net/ethernet/dec/tulip/pnic2.c iowrite32(1, ioaddr + CSR13); ioaddr 272 drivers/net/ethernet/dec/tulip/pnic2.c ioread32(ioaddr + CSR6), ioaddr 273 drivers/net/ethernet/dec/tulip/pnic2.c ioread32(ioaddr + CSR12)); ioaddr 290 drivers/net/ethernet/dec/tulip/pnic2.c csr14 = (ioread32(ioaddr + CSR14) & 0xffffff7f); ioaddr 291 drivers/net/ethernet/dec/tulip/pnic2.c iowrite32(csr14,ioaddr + CSR14); ioaddr 307 drivers/net/ethernet/dec/tulip/pnic2.c tp->csr6 = (ioread32(ioaddr + CSR6) & 0xfe3bd1fd); ioaddr 392 drivers/net/ethernet/dec/tulip/pnic2.c csr14 = (ioread32(ioaddr + CSR14) & 0xffffff7f); ioaddr 393 drivers/net/ethernet/dec/tulip/pnic2.c iowrite32(csr14,ioaddr + CSR14); ioaddr 398 drivers/net/ethernet/dec/tulip/pnic2.c tp->csr6 = (ioread32(ioaddr + CSR6) & 0xfe3bd1fd); ioaddr 22 drivers/net/ethernet/dec/tulip/timer.c void __iomem *ioaddr = tp->base_addr; ioaddr 23 drivers/net/ethernet/dec/tulip/timer.c u32 csr12 = ioread32(ioaddr + CSR12); ioaddr 30 drivers/net/ethernet/dec/tulip/timer.c ioread32(ioaddr + CSR5), ioread32(ioaddr + CSR6), ioaddr 31 drivers/net/ethernet/dec/tulip/timer.c csr12, ioread32(ioaddr + CSR13), ioaddr 32 drivers/net/ethernet/dec/tulip/timer.c ioread32(ioaddr + CSR14), ioread32(ioaddr + CSR15)); ioaddr 49 drivers/net/ethernet/dec/tulip/timer.c ioread32(ioaddr + CSR6), ioaddr 128 drivers/net/ethernet/dec/tulip/timer.c tulip_tx_timeout_complete(tp, ioaddr); ioaddr 144 drivers/net/ethernet/dec/tulip/timer.c void __iomem *ioaddr = tp->base_addr; ioaddr 149 drivers/net/ethernet/dec/tulip/timer.c ioread32(ioaddr + CSR12)); ioaddr 524 drivers/net/ethernet/dec/tulip/tulip.h void __iomem *ioaddr = tp->base_addr; ioaddr 525 drivers/net/ethernet/dec/tulip/tulip.h iowrite32(tp->csr6 | RxTx, ioaddr + CSR6); ioaddr 527 drivers/net/ethernet/dec/tulip/tulip.h (void) ioread32(ioaddr + CSR6); /* mmio sync */ ioaddr 532 drivers/net/ethernet/dec/tulip/tulip.h void __iomem *ioaddr = tp->base_addr; ioaddr 533 drivers/net/ethernet/dec/tulip/tulip.h u32 csr6 = ioread32(ioaddr + CSR6); ioaddr 537 drivers/net/ethernet/dec/tulip/tulip.h iowrite32(csr6 & ~RxTx, ioaddr + CSR6); ioaddr 543 drivers/net/ethernet/dec/tulip/tulip.h while (--i && (ioread32(ioaddr + CSR5) & (CSR5_TS|CSR5_RS))) ioaddr 548 drivers/net/ethernet/dec/tulip/tulip.h ioread32(ioaddr + CSR5), ioaddr 549 drivers/net/ethernet/dec/tulip/tulip.h ioread32(ioaddr + CSR6)); ioaddr 560 drivers/net/ethernet/dec/tulip/tulip.h static inline void tulip_tx_timeout_complete(struct tulip_private *tp, void __iomem *ioaddr) ioaddr 565 drivers/net/ethernet/dec/tulip/tulip.h iowrite32(0, ioaddr + CSR1); ioaddr 296 drivers/net/ethernet/dec/tulip/tulip_core.c void __iomem *ioaddr = tp->base_addr; ioaddr 315 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x00040000, ioaddr + CSR6); ioaddr 318 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x00000001, ioaddr + CSR0); ioaddr 325 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(tp->csr0, ioaddr + CSR0); ioaddr 332 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(tp->rx_ring_dma, ioaddr + CSR3); ioaddr 333 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(tp->tx_ring_dma, ioaddr + CSR4); ioaddr 341 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0, ioaddr + CSR13); ioaddr 342 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(addr_low, ioaddr + CSR14); ioaddr 343 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(1, ioaddr + CSR13); ioaddr 344 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(addr_high, ioaddr + CSR14); ioaddr 346 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(addr_low, ioaddr + 0xA4); ioaddr 347 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(addr_high, ioaddr + 0xA8); ioaddr 348 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0, ioaddr + CSR27); ioaddr 349 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0, ioaddr + CSR28); ioaddr 421 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x0000, ioaddr + CSR13); ioaddr 422 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x0000, ioaddr + CSR14); ioaddr 423 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x0008, ioaddr + CSR15); ioaddr 434 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(csr6_mask_defstate, ioaddr + CSR6); ioaddr 437 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x0000, ioaddr + CSR13); ioaddr 438 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x0000, ioaddr + CSR14); ioaddr 445 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(ioread32(ioaddr+CSR5)| 0x00008010, ioaddr + CSR5); ioaddr 446 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(ioread32(ioaddr+CSR7)| 0x00008010, ioaddr + CSR7); ioaddr 452 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x0001, ioaddr + CSR15); ioaddr 453 drivers/net/ethernet/dec/tulip/tulip_core.c } else if (ioread32(ioaddr + CSR5) & TPLnkPass) ioaddr 457 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x32, ioaddr + CSR12); ioaddr 459 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x0001B078, ioaddr + 0xB8); ioaddr 460 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x0201B078, ioaddr + 0xB8); ioaddr 467 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x0f370000 | ioread16(ioaddr + 0x80), ioaddr + 0x80); ioaddr 472 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x0f370000 | ioread16(ioaddr + 0x80), ioaddr + 0x80); ioaddr 473 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x11000 | ioread16(ioaddr + 0xa0), ioaddr + 0xa0); ioaddr 476 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(ioread32(ioaddr + 0x88) | 1, ioaddr + 0x88); ioaddr 488 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(tp->csr6 | TxOn, ioaddr + CSR6); ioaddr 491 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(tulip_tbl[tp->chip_id].valid_intrs, ioaddr + CSR5); ioaddr 492 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(tulip_tbl[tp->chip_id].valid_intrs, ioaddr + CSR7); ioaddr 494 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0, ioaddr + CSR2); /* Rx poll demand */ ioaddr 498 drivers/net/ethernet/dec/tulip/tulip_core.c ioread32(ioaddr + CSR0), ioaddr 499 drivers/net/ethernet/dec/tulip/tulip_core.c ioread32(ioaddr + CSR5), ioaddr 500 drivers/net/ethernet/dec/tulip/tulip_core.c ioread32(ioaddr + CSR6)); ioaddr 540 drivers/net/ethernet/dec/tulip/tulip_core.c void __iomem *ioaddr = tp->base_addr; ioaddr 555 drivers/net/ethernet/dec/tulip/tulip_core.c ioread32(ioaddr + CSR5), ioread32(ioaddr + CSR12), ioaddr 556 drivers/net/ethernet/dec/tulip/tulip_core.c ioread32(ioaddr + CSR13), ioread32(ioaddr + CSR14), ioaddr 557 drivers/net/ethernet/dec/tulip/tulip_core.c ioread32(ioaddr + CSR15)); ioaddr 564 drivers/net/ethernet/dec/tulip/tulip_core.c (int)ioread32(ioaddr + CSR5), ioaddr 565 drivers/net/ethernet/dec/tulip/tulip_core.c (int)ioread32(ioaddr + CSR6), ioaddr 566 drivers/net/ethernet/dec/tulip/tulip_core.c (int)ioread32(ioaddr + CSR7), ioaddr 567 drivers/net/ethernet/dec/tulip/tulip_core.c (int)ioread32(ioaddr + CSR12)); ioaddr 571 drivers/net/ethernet/dec/tulip/tulip_core.c ioread32(ioaddr + CSR5), ioread32(ioaddr + CSR12)); ioaddr 604 drivers/net/ethernet/dec/tulip/tulip_core.c tulip_tx_timeout_complete(tp, ioaddr); ioaddr 751 drivers/net/ethernet/dec/tulip/tulip_core.c void __iomem *ioaddr = tp->base_addr; ioaddr 767 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32 (0x00000000, ioaddr + CSR7); ioaddr 778 drivers/net/ethernet/dec/tulip/tulip_core.c if (ioread32(ioaddr + CSR6) != 0xffffffff) ioaddr 779 drivers/net/ethernet/dec/tulip/tulip_core.c dev->stats.rx_missed_errors += ioread32(ioaddr + CSR8) & 0xffff; ioaddr 831 drivers/net/ethernet/dec/tulip/tulip_core.c void __iomem *ioaddr = tp->base_addr; ioaddr 839 drivers/net/ethernet/dec/tulip/tulip_core.c ioread32 (ioaddr + CSR5)); ioaddr 851 drivers/net/ethernet/dec/tulip/tulip_core.c void __iomem *ioaddr = tp->base_addr; ioaddr 858 drivers/net/ethernet/dec/tulip/tulip_core.c dev->stats.rx_missed_errors += ioread32(ioaddr + CSR8) & 0xffff; ioaddr 910 drivers/net/ethernet/dec/tulip/tulip_core.c void __iomem *ioaddr = tp->base_addr; ioaddr 930 drivers/net/ethernet/dec/tulip/tulip_core.c int csr12 = ioread32 (ioaddr + CSR12); ioaddr 931 drivers/net/ethernet/dec/tulip/tulip_core.c int csr14 = ioread32 (ioaddr + CSR14); ioaddr 951 drivers/net/ethernet/dec/tulip/tulip_core.c ((ioread32(ioaddr + CSR6) >> 3) & 0x0040) + ioaddr 1067 drivers/net/ethernet/dec/tulip/tulip_core.c void __iomem *ioaddr = tp->base_addr; ioaddr 1070 drivers/net/ethernet/dec/tulip/tulip_core.c csr6 = ioread32(ioaddr + CSR6) & ~0x00D5; ioaddr 1112 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(2, ioaddr + CSR13); ioaddr 1113 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(mc_filter[0], ioaddr + CSR14); ioaddr 1114 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(3, ioaddr + CSR13); ioaddr 1115 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(mc_filter[1], ioaddr + CSR14); ioaddr 1117 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(mc_filter[0], ioaddr + CSR27); ioaddr 1118 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(mc_filter[1], ioaddr + CSR28); ioaddr 1180 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0, ioaddr + CSR1); ioaddr 1186 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(csr6, ioaddr + CSR6); ioaddr 1310 drivers/net/ethernet/dec/tulip/tulip_core.c void __iomem *ioaddr; ioaddr 1430 drivers/net/ethernet/dec/tulip/tulip_core.c ioaddr = pci_iomap(pdev, TULIP_BAR, tulip_tbl[chip_idx].io_size); ioaddr 1432 drivers/net/ethernet/dec/tulip/tulip_core.c if (!ioaddr) ioaddr 1468 drivers/net/ethernet/dec/tulip/tulip_core.c tp->base_addr = ioaddr; ioaddr 1505 drivers/net/ethernet/dec/tulip/tulip_core.c ioread32(ioaddr + CSR8); ioaddr 1517 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x600 | i, ioaddr + 0x98); ioaddr 1519 drivers/net/ethernet/dec/tulip/tulip_core.c value = ioread32(ioaddr + CSR9); ioaddr 1526 drivers/net/ethernet/dec/tulip/tulip_core.c put_unaligned_le32(ioread32(ioaddr + 0xA4), dev->dev_addr); ioaddr 1527 drivers/net/ethernet/dec/tulip/tulip_core.c put_unaligned_le16(ioread32(ioaddr + 0xA8), dev->dev_addr + 4); ioaddr 1728 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(tp->mtable->csr12dir | 0x100, ioaddr + CSR12); ioaddr 1732 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(csr6_mask_defstate, ioaddr + CSR6); ioaddr 1733 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x0000, ioaddr + CSR13); ioaddr 1734 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x0000, ioaddr + CSR14); ioaddr 1735 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(csr6_mask_hdcap, ioaddr + CSR6); ioaddr 1741 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x0000, ioaddr + CSR13); ioaddr 1742 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x0000, ioaddr + CSR14); ioaddr 1748 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(csr6_ttm | csr6_ca, ioaddr + CSR6); ioaddr 1749 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x30, ioaddr + CSR12); ioaddr 1750 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x0001F078, ioaddr + CSR6); ioaddr 1751 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x0201F078, ioaddr + CSR6); /* Turn on autonegotiation. */ ioaddr 1756 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x00000000, ioaddr + CSR6); ioaddr 1757 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x000711C0, ioaddr + CSR14); /* Turn on NWay. */ ioaddr 1758 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x00000001, ioaddr + CSR13); ioaddr 1762 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x01a80000, ioaddr + CSR6); ioaddr 1763 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0xFFFFFFFF, ioaddr + CSR14); ioaddr 1764 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(0x00001000, ioaddr + CSR12); ioaddr 1784 drivers/net/ethernet/dec/tulip/tulip_core.c pci_iounmap(pdev, ioaddr); ioaddr 1800 drivers/net/ethernet/dec/tulip/tulip_core.c void __iomem *ioaddr = tp->base_addr; ioaddr 1806 drivers/net/ethernet/dec/tulip/tulip_core.c tmp = ioread32(ioaddr + CSR18); ioaddr 1809 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(tmp, ioaddr + CSR18); ioaddr 1812 drivers/net/ethernet/dec/tulip/tulip_core.c tmp = ioread32(ioaddr + CSR13); ioaddr 1820 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(tmp, ioaddr + CSR13); ioaddr 1867 drivers/net/ethernet/dec/tulip/tulip_core.c void __iomem *ioaddr = tp->base_addr; ioaddr 1897 drivers/net/ethernet/dec/tulip/tulip_core.c tmp = ioread32(ioaddr + CSR20); ioaddr 1899 drivers/net/ethernet/dec/tulip/tulip_core.c iowrite32(tmp, ioaddr + CSR20); ioaddr 37 drivers/net/ethernet/dec/tulip/uli526x.c #define uw32(reg, val) iowrite32(val, ioaddr + (reg)) ioaddr 38 drivers/net/ethernet/dec/tulip/uli526x.c #define ur32(reg) ioread32(ioaddr + (reg)) ioaddr 129 drivers/net/ethernet/dec/tulip/uli526x.c void __iomem *ioaddr; /* I/O base address */ ioaddr 247 drivers/net/ethernet/dec/tulip/uli526x.c void __iomem *ioaddr = db->ioaddr; ioaddr 280 drivers/net/ethernet/dec/tulip/uli526x.c void __iomem *ioaddr; ioaddr 354 drivers/net/ethernet/dec/tulip/uli526x.c ioaddr = pci_iomap(pdev, 0, 0); ioaddr 355 drivers/net/ethernet/dec/tulip/uli526x.c if (!ioaddr) ioaddr 358 drivers/net/ethernet/dec/tulip/uli526x.c db->ioaddr = ioaddr; ioaddr 411 drivers/net/ethernet/dec/tulip/uli526x.c pci_iounmap(pdev, db->ioaddr); ioaddr 435 drivers/net/ethernet/dec/tulip/uli526x.c pci_iounmap(pdev, db->ioaddr); ioaddr 505 drivers/net/ethernet/dec/tulip/uli526x.c void __iomem *ioaddr = db->ioaddr; ioaddr 557 drivers/net/ethernet/dec/tulip/uli526x.c uli526x_descriptor_init(dev, ioaddr); ioaddr 560 drivers/net/ethernet/dec/tulip/uli526x.c update_cr6(db->cr6_data, ioaddr); ioaddr 574 drivers/net/ethernet/dec/tulip/uli526x.c update_cr6(db->cr6_data, ioaddr); ioaddr 587 drivers/net/ethernet/dec/tulip/uli526x.c void __iomem *ioaddr = db->ioaddr; ioaddr 654 drivers/net/ethernet/dec/tulip/uli526x.c void __iomem *ioaddr = db->ioaddr; ioaddr 686 drivers/net/ethernet/dec/tulip/uli526x.c void __iomem *ioaddr = db->ioaddr; ioaddr 771 drivers/net/ethernet/dec/tulip/uli526x.c update_cr6(db->cr6_data, db->ioaddr); ioaddr 898 drivers/net/ethernet/dec/tulip/uli526x.c update_cr6(db->cr6_data, db->ioaddr); ioaddr 1021 drivers/net/ethernet/dec/tulip/uli526x.c void __iomem *ioaddr = db->ioaddr; ioaddr 1080 drivers/net/ethernet/dec/tulip/uli526x.c update_cr6(db->cr6_data, db->ioaddr); ioaddr 1132 drivers/net/ethernet/dec/tulip/uli526x.c void __iomem *ioaddr = db->ioaddr; ioaddr 1136 drivers/net/ethernet/dec/tulip/uli526x.c update_cr6(db->cr6_data, ioaddr); ioaddr 1297 drivers/net/ethernet/dec/tulip/uli526x.c static void uli526x_descriptor_init(struct net_device *dev, void __iomem *ioaddr) ioaddr 1360 drivers/net/ethernet/dec/tulip/uli526x.c static void update_cr6(u32 cr6_data, void __iomem *ioaddr) ioaddr 1381 drivers/net/ethernet/dec/tulip/uli526x.c void __iomem *ioaddr = db->ioaddr; ioaddr 1427 drivers/net/ethernet/dec/tulip/uli526x.c update_cr6(db->cr6_data | 0x2000, ioaddr); ioaddr 1429 drivers/net/ethernet/dec/tulip/uli526x.c update_cr6(db->cr6_data, ioaddr); ioaddr 1474 drivers/net/ethernet/dec/tulip/uli526x.c void __iomem *ioaddr = db->ioaddr; ioaddr 1609 drivers/net/ethernet/dec/tulip/uli526x.c update_cr6(db->cr6_data, db->ioaddr); ioaddr 1705 drivers/net/ethernet/dec/tulip/uli526x.c void __iomem *ioaddr = db->ioaddr; ioaddr 1723 drivers/net/ethernet/dec/tulip/uli526x.c void __iomem *ioaddr = db->ioaddr; ioaddr 1737 drivers/net/ethernet/dec/tulip/uli526x.c void __iomem *ioaddr = db->ioaddr; ioaddr 1754 drivers/net/ethernet/dec/tulip/uli526x.c void __iomem *ioaddr = db->ioaddr; ioaddr 325 drivers/net/ethernet/dec/tulip/winbond-840.c static int eeprom_read(void __iomem *ioaddr, int location); ioaddr 368 drivers/net/ethernet/dec/tulip/winbond-840.c void __iomem *ioaddr; ioaddr 390 drivers/net/ethernet/dec/tulip/winbond-840.c ioaddr = pci_iomap(pdev, TULIP_BAR, netdev_res_size); ioaddr 391 drivers/net/ethernet/dec/tulip/winbond-840.c if (!ioaddr) ioaddr 395 drivers/net/ethernet/dec/tulip/winbond-840.c ((__le16 *)dev->dev_addr)[i] = cpu_to_le16(eeprom_read(ioaddr, i)); ioaddr 399 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(0x00000001, ioaddr + PCIBusCfg); ioaddr 409 drivers/net/ethernet/dec/tulip/winbond-840.c np->base_addr = ioaddr; ioaddr 441 drivers/net/ethernet/dec/tulip/winbond-840.c pci_id_tbl[chip_idx].name, ioaddr, dev->dev_addr, irq); ioaddr 470 drivers/net/ethernet/dec/tulip/winbond-840.c pci_iounmap(pdev, ioaddr); ioaddr 631 drivers/net/ethernet/dec/tulip/winbond-840.c void __iomem *ioaddr = np->base_addr; ioaddr 635 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(0x00000001, ioaddr + PCIBusCfg); /* Reset */ ioaddr 738 drivers/net/ethernet/dec/tulip/winbond-840.c void __iomem *ioaddr = np->base_addr; ioaddr 746 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(np->csr6 & ~0x2002, ioaddr + NetworkConfig); ioaddr 749 drivers/net/ethernet/dec/tulip/winbond-840.c int csr5 = ioread32(ioaddr + IntrStatus); ioaddr 770 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(np->csr6, ioaddr + NetworkConfig); ioaddr 779 drivers/net/ethernet/dec/tulip/winbond-840.c void __iomem *ioaddr = np->base_addr; ioaddr 783 drivers/net/ethernet/dec/tulip/winbond-840.c ioread32(ioaddr + IntrStatus), ioaddr 784 drivers/net/ethernet/dec/tulip/winbond-840.c ioread32(ioaddr + NetworkConfig)); ioaddr 869 drivers/net/ethernet/dec/tulip/winbond-840.c void __iomem *ioaddr = np->base_addr; ioaddr 873 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite8(dev->dev_addr[i], ioaddr + StationAddr + i); ioaddr 910 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(i, ioaddr + PCIBusCfg); ioaddr 918 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(0x1A0F5, ioaddr + IntrStatus); ioaddr 919 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(0x1A0F5, ioaddr + IntrEnable); ioaddr 921 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(0, ioaddr + RxStartDemand); ioaddr 927 drivers/net/ethernet/dec/tulip/winbond-840.c void __iomem *ioaddr = np->base_addr; ioaddr 931 drivers/net/ethernet/dec/tulip/winbond-840.c ioread32(ioaddr + IntrStatus)); ioaddr 946 drivers/net/ethernet/dec/tulip/winbond-840.c printk(KERN_DEBUG "Tx Descriptor addr %xh\n", ioread32(ioaddr+0x4C)); ioaddr 1114 drivers/net/ethernet/dec/tulip/winbond-840.c void __iomem *ioaddr = np->base_addr; ioaddr 1121 drivers/net/ethernet/dec/tulip/winbond-840.c u32 intr_status = ioread32(ioaddr + IntrStatus); ioaddr 1124 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(intr_status & 0x001ffff, ioaddr + IntrStatus); ioaddr 1137 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(0, ioaddr + RxStartDemand); ioaddr 1159 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(AbnormalIntr | TimerInt, ioaddr + IntrEnable); ioaddr 1160 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(10, ioaddr + GPTimer); ioaddr 1169 drivers/net/ethernet/dec/tulip/winbond-840.c ioread32(ioaddr + IntrStatus)); ioaddr 1286 drivers/net/ethernet/dec/tulip/winbond-840.c void __iomem *ioaddr = np->base_addr; ioaddr 1318 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(0x1A0F5, ioaddr + IntrEnable); ioaddr 1320 drivers/net/ethernet/dec/tulip/winbond-840.c np->stats.rx_missed_errors += ioread32(ioaddr + RxMissed) & 0xffff; ioaddr 1321 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(0, ioaddr + RxStartDemand); ioaddr 1328 drivers/net/ethernet/dec/tulip/winbond-840.c void __iomem *ioaddr = np->base_addr; ioaddr 1333 drivers/net/ethernet/dec/tulip/winbond-840.c np->stats.rx_missed_errors += ioread32(ioaddr + RxMissed) & 0xffff; ioaddr 1343 drivers/net/ethernet/dec/tulip/winbond-840.c void __iomem *ioaddr = np->base_addr; ioaddr 1369 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(mc_filter[0], ioaddr + MulticastFilter0); ioaddr 1370 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(mc_filter[1], ioaddr + MulticastFilter1); ioaddr 1478 drivers/net/ethernet/dec/tulip/winbond-840.c void __iomem *ioaddr = np->base_addr; ioaddr 1484 drivers/net/ethernet/dec/tulip/winbond-840.c ioread32(ioaddr + IntrStatus), ioaddr 1485 drivers/net/ethernet/dec/tulip/winbond-840.c ioread32(ioaddr + NetworkConfig)); ioaddr 1495 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(0x0000, ioaddr + IntrEnable); ioaddr 1502 drivers/net/ethernet/dec/tulip/winbond-840.c if (ioread32(ioaddr + NetworkConfig) != 0xffffffff) ioaddr 1503 drivers/net/ethernet/dec/tulip/winbond-840.c np->stats.rx_missed_errors += ioread32(ioaddr + RxMissed) & 0xffff; ioaddr 1573 drivers/net/ethernet/dec/tulip/winbond-840.c void __iomem *ioaddr = np->base_addr; ioaddr 1582 drivers/net/ethernet/dec/tulip/winbond-840.c iowrite32(0, ioaddr + IntrEnable); ioaddr 1588 drivers/net/ethernet/dec/tulip/winbond-840.c np->stats.rx_missed_errors += ioread32(ioaddr + RxMissed) & 0xffff; ioaddr 1592 drivers/net/ethernet/dec/tulip/winbond-840.c BUG_ON(np->csr6 || ioread32(ioaddr + IntrEnable)); ioaddr 43 drivers/net/ethernet/dec/tulip/xircom_cb.c #define xw32(reg, val) iowrite32(val, ioaddr + (reg)) ioaddr 44 drivers/net/ethernet/dec/tulip/xircom_cb.c #define xr32(reg) ioread32(ioaddr + (reg)) ioaddr 45 drivers/net/ethernet/dec/tulip/xircom_cb.c #define xr8(reg) ioread8(ioaddr + (reg)) ioaddr 87 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr; ioaddr 253 drivers/net/ethernet/dec/tulip/xircom_cb.c private->ioaddr = pci_iomap(pdev, 0, 0); ioaddr 254 drivers/net/ethernet/dec/tulip/xircom_cb.c if (!private->ioaddr) ioaddr 288 drivers/net/ethernet/dec/tulip/xircom_cb.c pci_iounmap(pdev, private->ioaddr); ioaddr 316 drivers/net/ethernet/dec/tulip/xircom_cb.c pci_iounmap(pdev, card->ioaddr); ioaddr 328 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 499 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 537 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 551 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 562 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 626 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 642 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 664 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 678 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 698 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 752 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 785 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 839 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 868 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 884 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 899 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 916 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 928 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 950 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 970 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 998 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 1041 drivers/net/ethernet/dec/tulip/xircom_cb.c void __iomem *ioaddr = card->ioaddr; ioaddr 16 drivers/net/ethernet/dlink/dl2k.c #define dw32(reg, val) iowrite32(val, ioaddr + (reg)) ioaddr 17 drivers/net/ethernet/dlink/dl2k.c #define dw16(reg, val) iowrite16(val, ioaddr + (reg)) ioaddr 18 drivers/net/ethernet/dlink/dl2k.c #define dw8(reg, val) iowrite8(val, ioaddr + (reg)) ioaddr 19 drivers/net/ethernet/dlink/dl2k.c #define dr32(reg) ioread32(ioaddr + (reg)) ioaddr 20 drivers/net/ethernet/dlink/dl2k.c #define dr16(reg) ioread16(ioaddr + (reg)) ioaddr 21 drivers/net/ethernet/dlink/dl2k.c #define dr8(reg) ioread8(ioaddr + (reg)) ioaddr 59 drivers/net/ethernet/dlink/dl2k.c void __iomem *ioaddr = np->ioaddr; ioaddr 115 drivers/net/ethernet/dlink/dl2k.c void __iomem *ioaddr; ioaddr 144 drivers/net/ethernet/dlink/dl2k.c ioaddr = pci_iomap(pdev, 0, 0); ioaddr 145 drivers/net/ethernet/dlink/dl2k.c if (!ioaddr) ioaddr 147 drivers/net/ethernet/dlink/dl2k.c np->eeprom_addr = ioaddr; ioaddr 151 drivers/net/ethernet/dlink/dl2k.c ioaddr = pci_iomap(pdev, 1, 0); ioaddr 152 drivers/net/ethernet/dlink/dl2k.c if (!ioaddr) ioaddr 155 drivers/net/ethernet/dlink/dl2k.c np->ioaddr = ioaddr; ioaddr 296 drivers/net/ethernet/dlink/dl2k.c pci_iounmap(pdev, np->ioaddr); ioaddr 334 drivers/net/ethernet/dlink/dl2k.c void __iomem *ioaddr = np->ioaddr; ioaddr 413 drivers/net/ethernet/dlink/dl2k.c void __iomem *ioaddr = np->ioaddr; ioaddr 528 drivers/net/ethernet/dlink/dl2k.c void __iomem *ioaddr = np->ioaddr; ioaddr 616 drivers/net/ethernet/dlink/dl2k.c void __iomem *ioaddr = np->ioaddr; ioaddr 702 drivers/net/ethernet/dlink/dl2k.c void __iomem *ioaddr = np->ioaddr; ioaddr 715 drivers/net/ethernet/dlink/dl2k.c void __iomem *ioaddr = np->ioaddr; ioaddr 784 drivers/net/ethernet/dlink/dl2k.c void __iomem *ioaddr = np->ioaddr; ioaddr 871 drivers/net/ethernet/dlink/dl2k.c void __iomem *ioaddr = np->ioaddr; ioaddr 1030 drivers/net/ethernet/dlink/dl2k.c void __iomem *ioaddr = np->ioaddr; ioaddr 1082 drivers/net/ethernet/dlink/dl2k.c void __iomem *ioaddr = np->ioaddr; ioaddr 1144 drivers/net/ethernet/dlink/dl2k.c void __iomem *ioaddr = np->ioaddr; ioaddr 1199 drivers/net/ethernet/dlink/dl2k.c void __iomem *ioaddr = np->ioaddr; ioaddr 1382 drivers/net/ethernet/dlink/dl2k.c void __iomem *ioaddr = np->eeprom_addr; ioaddr 1403 drivers/net/ethernet/dlink/dl2k.c void __iomem *ioaddr = np->ioaddr; ioaddr 1416 drivers/net/ethernet/dlink/dl2k.c void __iomem *ioaddr = np->ioaddr; ioaddr 1814 drivers/net/ethernet/dlink/dl2k.c pci_iounmap(pdev, np->ioaddr); ioaddr 373 drivers/net/ethernet/dlink/dl2k.h void __iomem *ioaddr; ioaddr 428 drivers/net/ethernet/dlink/sundance.c static int eeprom_read(void __iomem *ioaddr, int location); ioaddr 456 drivers/net/ethernet/dlink/sundance.c void __iomem *ioaddr = np->base + ASICCtrl; ioaddr 460 drivers/net/ethernet/dlink/sundance.c iowrite32 (reset_cmd | ioread32 (ioaddr), ioaddr); ioaddr 463 drivers/net/ethernet/dlink/sundance.c while (ioread32 (ioaddr) & (ResetBusy << 16)) { ioaddr 508 drivers/net/ethernet/dlink/sundance.c void __iomem *ioaddr; ioaddr 540 drivers/net/ethernet/dlink/sundance.c ioaddr = pci_iomap(pdev, bar, netdev_io_size); ioaddr 541 drivers/net/ethernet/dlink/sundance.c if (!ioaddr) ioaddr 546 drivers/net/ethernet/dlink/sundance.c cpu_to_le16(eeprom_read(ioaddr, i + EEPROM_SA_OFFSET)); ioaddr 549 drivers/net/ethernet/dlink/sundance.c np->base = ioaddr; ioaddr 594 drivers/net/ethernet/dlink/sundance.c dev->name, pci_id_tbl[chip_idx].name, ioaddr, ioaddr 628 drivers/net/ethernet/dlink/sundance.c dev->name, ioread32(ioaddr + ASICCtrl)); ioaddr 664 drivers/net/ethernet/dlink/sundance.c if (ioread32 (ioaddr + ASICCtrl) & 0x80) { ioaddr 693 drivers/net/ethernet/dlink/sundance.c printk("ASIC Control is %x.\n", ioread32(ioaddr + ASICCtrl)); ioaddr 696 drivers/net/ethernet/dlink/sundance.c printk("ASIC Control is now %x.\n", ioread32(ioaddr + ASICCtrl)); ioaddr 710 drivers/net/ethernet/dlink/sundance.c pci_iounmap(pdev, ioaddr); ioaddr 728 drivers/net/ethernet/dlink/sundance.c static int eeprom_read(void __iomem *ioaddr, int location) ioaddr 731 drivers/net/ethernet/dlink/sundance.c iowrite16(0x0200 | (location & 0xff), ioaddr + EECtrl); ioaddr 733 drivers/net/ethernet/dlink/sundance.c eeprom_delay(ioaddr + EECtrl); ioaddr 734 drivers/net/ethernet/dlink/sundance.c if (! (ioread16(ioaddr + EECtrl) & 0x8000)) { ioaddr 735 drivers/net/ethernet/dlink/sundance.c return ioread16(ioaddr + EEData); ioaddr 851 drivers/net/ethernet/dlink/sundance.c void __iomem *ioaddr = np->base; ioaddr 867 drivers/net/ethernet/dlink/sundance.c iowrite32(np->rx_ring_dma, ioaddr + RxListPtr); ioaddr 873 drivers/net/ethernet/dlink/sundance.c iowrite16(dev->mtu + 18, ioaddr + MaxFrameSize); ioaddr 875 drivers/net/ethernet/dlink/sundance.c iowrite16(dev->mtu + 14, ioaddr + MaxFrameSize); ioaddr 878 drivers/net/ethernet/dlink/sundance.c iowrite32(ioread32(ioaddr + ASICCtrl) | 0x0C, ioaddr + ASICCtrl); ioaddr 888 drivers/net/ethernet/dlink/sundance.c iowrite16(0, ioaddr + IntrEnable); ioaddr 889 drivers/net/ethernet/dlink/sundance.c iowrite16(0, ioaddr + DownCounter); ioaddr 891 drivers/net/ethernet/dlink/sundance.c iowrite8(100, ioaddr + RxDMAPollPeriod); ioaddr 892 drivers/net/ethernet/dlink/sundance.c iowrite8(127, ioaddr + TxDMAPollPeriod); ioaddr 895 drivers/net/ethernet/dlink/sundance.c iowrite8(0x01, ioaddr + DebugCtrl1); ioaddr 902 drivers/net/ethernet/dlink/sundance.c iowrite16 (StatsEnable | RxEnable | TxEnable, ioaddr + MACCtrl1); ioaddr 905 drivers/net/ethernet/dlink/sundance.c iowrite8(ioread8(ioaddr + WakeEvent) | 0x00, ioaddr + WakeEvent); ioaddr 911 drivers/net/ethernet/dlink/sundance.c dev->name, ioread32(ioaddr + RxStatus), ioread8(ioaddr + TxStatus), ioaddr 912 drivers/net/ethernet/dlink/sundance.c ioread32(ioaddr + MACCtrl0), ioaddr 913 drivers/net/ethernet/dlink/sundance.c ioread16(ioaddr + MACCtrl1), ioread16(ioaddr + MACCtrl0)); ioaddr 921 drivers/net/ethernet/dlink/sundance.c iowrite16(DEFAULT_INTR, ioaddr + IntrEnable); ioaddr 929 drivers/net/ethernet/dlink/sundance.c void __iomem *ioaddr = np->base; ioaddr 937 drivers/net/ethernet/dlink/sundance.c iowrite16 (ioread16 (ioaddr + MACCtrl0) | EnbFullDuplex, ioaddr 938 drivers/net/ethernet/dlink/sundance.c ioaddr + MACCtrl0); ioaddr 950 drivers/net/ethernet/dlink/sundance.c iowrite16(ioread16(ioaddr + MACCtrl0) | (duplex ? 0x20 : 0), ioaddr + MACCtrl0); ioaddr 958 drivers/net/ethernet/dlink/sundance.c void __iomem *ioaddr = np->base; ioaddr 964 drivers/net/ethernet/dlink/sundance.c dev->name, ioread16(ioaddr + IntrEnable), ioaddr 965 drivers/net/ethernet/dlink/sundance.c ioread8(ioaddr + TxStatus), ioread32(ioaddr + RxStatus)); ioaddr 975 drivers/net/ethernet/dlink/sundance.c void __iomem *ioaddr = np->base; ioaddr 980 drivers/net/ethernet/dlink/sundance.c iowrite16(0, ioaddr + IntrEnable); ioaddr 983 drivers/net/ethernet/dlink/sundance.c " resetting...\n", dev->name, ioread8(ioaddr + TxStatus), ioaddr 984 drivers/net/ethernet/dlink/sundance.c ioread8(ioaddr + TxFrameId)); ioaddr 1019 drivers/net/ethernet/dlink/sundance.c iowrite16(DEFAULT_INTR, ioaddr + IntrEnable); ioaddr 1151 drivers/net/ethernet/dlink/sundance.c void __iomem *ioaddr = np->base; ioaddr 1156 drivers/net/ethernet/dlink/sundance.c iowrite16 (TxDisable, ioaddr + MACCtrl1); ioaddr 1177 drivers/net/ethernet/dlink/sundance.c iowrite8(127, ioaddr + TxDMAPollPeriod); ioaddr 1179 drivers/net/ethernet/dlink/sundance.c iowrite16 (StatsEnable | RxEnable | TxEnable, ioaddr + MACCtrl1); ioaddr 1189 drivers/net/ethernet/dlink/sundance.c void __iomem *ioaddr = np->base; ioaddr 1197 drivers/net/ethernet/dlink/sundance.c int intr_status = ioread16(ioaddr + IntrStatus); ioaddr 1198 drivers/net/ethernet/dlink/sundance.c iowrite16(intr_status, ioaddr + IntrStatus); ioaddr 1211 drivers/net/ethernet/dlink/sundance.c ioaddr + IntrEnable); ioaddr 1217 drivers/net/ethernet/dlink/sundance.c tx_status = ioread16 (ioaddr + TxStatus); ioaddr 1249 drivers/net/ethernet/dlink/sundance.c iowrite16(ioread16(ioaddr + MACCtrl1) | TxEnable, ioaddr + MACCtrl1); ioaddr 1250 drivers/net/ethernet/dlink/sundance.c if (ioread16(ioaddr + MACCtrl1) & TxEnabled) ioaddr 1256 drivers/net/ethernet/dlink/sundance.c iowrite16 (0, ioaddr + TxStatus); ioaddr 1258 drivers/net/ethernet/dlink/sundance.c iowrite32(5000, ioaddr + DownCounter); ioaddr 1261 drivers/net/ethernet/dlink/sundance.c tx_status = ioread16 (ioaddr + TxStatus); ioaddr 1265 drivers/net/ethernet/dlink/sundance.c hw_frame_id = ioread8(ioaddr + TxFrameId); ioaddr 1326 drivers/net/ethernet/dlink/sundance.c dev->name, ioread16(ioaddr + IntrStatus)); ioaddr 1336 drivers/net/ethernet/dlink/sundance.c void __iomem *ioaddr = np->base; ioaddr 1411 drivers/net/ethernet/dlink/sundance.c iowrite16(DEFAULT_INTR, ioaddr + IntrEnable); ioaddr 1462 drivers/net/ethernet/dlink/sundance.c void __iomem *ioaddr = np->base; ioaddr 1503 drivers/net/ethernet/dlink/sundance.c iowrite16(ioread16(ioaddr + MulticastFilter1+2) | 0x0200, ioaddr 1504 drivers/net/ethernet/dlink/sundance.c ioaddr + MulticastFilter1+2); ioaddr 1505 drivers/net/ethernet/dlink/sundance.c iowrite16(ioread16(ioaddr + MACCtrl0) | EnbFlowCtrl, ioaddr 1506 drivers/net/ethernet/dlink/sundance.c ioaddr + MACCtrl0); ioaddr 1527 drivers/net/ethernet/dlink/sundance.c void __iomem *ioaddr = np->base; ioaddr 1533 drivers/net/ethernet/dlink/sundance.c dev->stats.rx_missed_errors += ioread8(ioaddr + RxMissed); ioaddr 1534 drivers/net/ethernet/dlink/sundance.c dev->stats.tx_packets += ioread16(ioaddr + TxFramesOK); ioaddr 1535 drivers/net/ethernet/dlink/sundance.c dev->stats.rx_packets += ioread16(ioaddr + RxFramesOK); ioaddr 1536 drivers/net/ethernet/dlink/sundance.c dev->stats.tx_carrier_errors += ioread8(ioaddr + StatsCarrierError); ioaddr 1538 drivers/net/ethernet/dlink/sundance.c mult_coll = ioread8(ioaddr + StatsMultiColl); ioaddr 1540 drivers/net/ethernet/dlink/sundance.c single_coll = ioread8(ioaddr + StatsOneColl); ioaddr 1542 drivers/net/ethernet/dlink/sundance.c late_coll = ioread8(ioaddr + StatsLateColl); ioaddr 1548 drivers/net/ethernet/dlink/sundance.c np->xstats.tx_deferred += ioread8(ioaddr + StatsTxDefer); ioaddr 1549 drivers/net/ethernet/dlink/sundance.c np->xstats.tx_deferred_excessive += ioread8(ioaddr + StatsTxXSDefer); ioaddr 1550 drivers/net/ethernet/dlink/sundance.c np->xstats.tx_aborted += ioread8(ioaddr + StatsTxAbort); ioaddr 1551 drivers/net/ethernet/dlink/sundance.c np->xstats.tx_bcasts += ioread8(ioaddr + StatsBcastTx); ioaddr 1552 drivers/net/ethernet/dlink/sundance.c np->xstats.rx_bcasts += ioread8(ioaddr + StatsBcastRx); ioaddr 1553 drivers/net/ethernet/dlink/sundance.c np->xstats.tx_mcasts += ioread8(ioaddr + StatsMcastTx); ioaddr 1554 drivers/net/ethernet/dlink/sundance.c np->xstats.rx_mcasts += ioread8(ioaddr + StatsMcastRx); ioaddr 1556 drivers/net/ethernet/dlink/sundance.c dev->stats.tx_bytes += ioread16(ioaddr + TxOctetsLow); ioaddr 1557 drivers/net/ethernet/dlink/sundance.c dev->stats.tx_bytes += ioread16(ioaddr + TxOctetsHigh) << 16; ioaddr 1558 drivers/net/ethernet/dlink/sundance.c dev->stats.rx_bytes += ioread16(ioaddr + RxOctetsLow); ioaddr 1559 drivers/net/ethernet/dlink/sundance.c dev->stats.rx_bytes += ioread16(ioaddr + RxOctetsHigh) << 16; ioaddr 1569 drivers/net/ethernet/dlink/sundance.c void __iomem *ioaddr = np->base; ioaddr 1596 drivers/net/ethernet/dlink/sundance.c iowrite8(AcceptBroadcast | AcceptMyPhys, ioaddr + RxMode); ioaddr 1603 drivers/net/ethernet/dlink/sundance.c iowrite16(mc_filter[i], ioaddr + MulticastFilter0 + i*2); ioaddr 1604 drivers/net/ethernet/dlink/sundance.c iowrite8(rx_mode, ioaddr + RxMode); ioaddr 1751 drivers/net/ethernet/dlink/sundance.c void __iomem *ioaddr = np->base; ioaddr 1760 drivers/net/ethernet/dlink/sundance.c wol_bits = ioread8(ioaddr + WakeEvent); ioaddr 1771 drivers/net/ethernet/dlink/sundance.c void __iomem *ioaddr = np->base; ioaddr 1778 drivers/net/ethernet/dlink/sundance.c wol_bits = ioread8(ioaddr + WakeEvent); ioaddr 1788 drivers/net/ethernet/dlink/sundance.c iowrite8(wol_bits, ioaddr + WakeEvent); ioaddr 1833 drivers/net/ethernet/dlink/sundance.c void __iomem *ioaddr = np->base; ioaddr 1850 drivers/net/ethernet/dlink/sundance.c dev->name, ioread8(ioaddr + TxStatus), ioaddr 1851 drivers/net/ethernet/dlink/sundance.c ioread32(ioaddr + RxStatus), ioread16(ioaddr + IntrStatus)); ioaddr 1857 drivers/net/ethernet/dlink/sundance.c iowrite16(0x0000, ioaddr + IntrEnable); ioaddr 1860 drivers/net/ethernet/dlink/sundance.c iowrite32(0x500, ioaddr + DMACtrl); ioaddr 1863 drivers/net/ethernet/dlink/sundance.c iowrite16(TxDisable | RxDisable | StatsDisable, ioaddr + MACCtrl1); ioaddr 1866 drivers/net/ethernet/dlink/sundance.c if ((ioread32(ioaddr + DMACtrl) & 0xc000) == 0) ioaddr 1872 drivers/net/ethernet/dlink/sundance.c ioaddr + ASIC_HI_WORD(ASICCtrl)); ioaddr 1875 drivers/net/ethernet/dlink/sundance.c if ((ioread16(ioaddr + ASIC_HI_WORD(ASICCtrl)) & ResetBusy) == 0) ioaddr 1953 drivers/net/ethernet/dlink/sundance.c void __iomem *ioaddr = np->base; ioaddr 1963 drivers/net/ethernet/dlink/sundance.c iowrite8(AcceptBroadcast | AcceptMyPhys, ioaddr + RxMode); ioaddr 1964 drivers/net/ethernet/dlink/sundance.c iowrite16(RxEnable, ioaddr + MACCtrl1); ioaddr 445 drivers/net/ethernet/fealnx.c static void stop_nic_rx(void __iomem *ioaddr, long crvalue) ioaddr 448 drivers/net/ethernet/fealnx.c iowrite32(crvalue & ~(CR_W_RXEN), ioaddr + TCRRCR); ioaddr 450 drivers/net/ethernet/fealnx.c if ( (ioread32(ioaddr + TCRRCR) & CR_R_RXSTOP) == CR_R_RXSTOP) ioaddr 456 drivers/net/ethernet/fealnx.c static void stop_nic_rxtx(void __iomem *ioaddr, long crvalue) ioaddr 459 drivers/net/ethernet/fealnx.c iowrite32(crvalue & ~(CR_W_RXEN+CR_W_TXEN), ioaddr + TCRRCR); ioaddr 461 drivers/net/ethernet/fealnx.c if ( (ioread32(ioaddr + TCRRCR) & (CR_R_RXSTOP+CR_R_TXSTOP)) ioaddr 486 drivers/net/ethernet/fealnx.c void __iomem *ioaddr; ioaddr 527 drivers/net/ethernet/fealnx.c ioaddr = pci_iomap(pdev, bar, len); ioaddr 528 drivers/net/ethernet/fealnx.c if (!ioaddr) { ioaddr 542 drivers/net/ethernet/fealnx.c dev->dev_addr[i] = ioread8(ioaddr + PAR0 + i); ioaddr 545 drivers/net/ethernet/fealnx.c iowrite32(0x00000001, ioaddr + BCR); ioaddr 549 drivers/net/ethernet/fealnx.c np->mem = ioaddr; ioaddr 619 drivers/net/ethernet/fealnx.c if (ioread32(ioaddr + PHYIDENTIFIER) == MysonPHYID) ioaddr 654 drivers/net/ethernet/fealnx.c iowrite32(ADVERTISE_FULL, ioaddr + ANARANLPAR); ioaddr 667 drivers/net/ethernet/fealnx.c dev->name, skel_netdrv_tbl[chip_id].chip_name, ioaddr, ioaddr 679 drivers/net/ethernet/fealnx.c pci_iounmap(pdev, ioaddr); ioaddr 829 drivers/net/ethernet/fealnx.c void __iomem *ioaddr = np->mem; ioaddr 833 drivers/net/ethernet/fealnx.c iowrite32(0x00000001, ioaddr + BCR); /* Reset */ ioaddr 841 drivers/net/ethernet/fealnx.c ioaddr + PAR0 + i*2); ioaddr 845 drivers/net/ethernet/fealnx.c iowrite32(np->rx_ring_dma, ioaddr + RXLBA); ioaddr 846 drivers/net/ethernet/fealnx.c iowrite32(np->tx_ring_dma, ioaddr + TXLBA); ioaddr 887 drivers/net/ethernet/fealnx.c iowrite32(np->bcrvalue, ioaddr + BCR); ioaddr 892 drivers/net/ethernet/fealnx.c iowrite32(0, ioaddr + RXPDR); ioaddr 905 drivers/net/ethernet/fealnx.c iowrite32(FBE | TUNF | CNTOVF | RBU | TI | RI, ioaddr + ISR); ioaddr 906 drivers/net/ethernet/fealnx.c iowrite32(np->imrvalue, ioaddr + IMR); ioaddr 1085 drivers/net/ethernet/fealnx.c void __iomem *ioaddr = np->mem; ioaddr 1092 drivers/net/ethernet/fealnx.c "config %8.8x.\n", dev->name, ioread32(ioaddr + ISR), ioaddr 1093 drivers/net/ethernet/fealnx.c ioread32(ioaddr + TCRRCR)); ioaddr 1102 drivers/net/ethernet/fealnx.c stop_nic_rxtx(ioaddr, np->crvalue); ioaddr 1103 drivers/net/ethernet/fealnx.c iowrite32(np->crvalue, ioaddr + TCRRCR); ioaddr 1122 drivers/net/ethernet/fealnx.c void __iomem *ioaddr = np->mem; ioaddr 1126 drivers/net/ethernet/fealnx.c stop_nic_rxtx(ioaddr, 0); ioaddr 1129 drivers/net/ethernet/fealnx.c iowrite32(0, ioaddr + IMR); ioaddr 1132 drivers/net/ethernet/fealnx.c iowrite32(0x00000001, ioaddr + BCR); ioaddr 1137 drivers/net/ethernet/fealnx.c ioread32(ioaddr + BCR); ioaddr 1148 drivers/net/ethernet/fealnx.c void __iomem *ioaddr = np->mem; ioaddr 1153 drivers/net/ethernet/fealnx.c ioaddr + TXLBA); ioaddr 1155 drivers/net/ethernet/fealnx.c ioaddr + RXLBA); ioaddr 1157 drivers/net/ethernet/fealnx.c iowrite32(np->bcrvalue, ioaddr + BCR); ioaddr 1159 drivers/net/ethernet/fealnx.c iowrite32(0, ioaddr + RXPDR); ioaddr 1163 drivers/net/ethernet/fealnx.c iowrite32(FBE | TUNF | CNTOVF | RBU | TI | RI, ioaddr + ISR); ioaddr 1164 drivers/net/ethernet/fealnx.c iowrite32(np->imrvalue, ioaddr + IMR); ioaddr 1166 drivers/net/ethernet/fealnx.c iowrite32(0, ioaddr + TXPDR); ioaddr 1197 drivers/net/ethernet/fealnx.c void __iomem *ioaddr = np->mem; ioaddr 1203 drivers/net/ethernet/fealnx.c dev->name, ioread32(ioaddr + ISR)); ioaddr 1432 drivers/net/ethernet/fealnx.c void __iomem *ioaddr = np->mem; ioaddr 1439 drivers/net/ethernet/fealnx.c iowrite32(0, ioaddr + IMR); ioaddr 1442 drivers/net/ethernet/fealnx.c u32 intr_status = ioread32(ioaddr + ISR); ioaddr 1445 drivers/net/ethernet/fealnx.c iowrite32(intr_status, ioaddr + ISR); ioaddr 1466 drivers/net/ethernet/fealnx.c iowrite32(0, ioaddr + TXPDR); ioaddr 1471 drivers/net/ethernet/fealnx.c ioread32(ioaddr + TALLY) & 0x7fff; ioaddr 1475 drivers/net/ethernet/fealnx.c (ioread32(ioaddr + TALLY) & 0x7fff0000) >> 16; ioaddr 1482 drivers/net/ethernet/fealnx.c stop_nic_rx(ioaddr, np->crvalue); ioaddr 1484 drivers/net/ethernet/fealnx.c iowrite32(np->crvalue, ioaddr + TCRRCR); ioaddr 1555 drivers/net/ethernet/fealnx.c data = ioread32(ioaddr + TSR); ioaddr 1571 drivers/net/ethernet/fealnx.c stop_nic_rxtx(ioaddr, 0); ioaddr 1587 drivers/net/ethernet/fealnx.c dev->stats.rx_missed_errors += ioread32(ioaddr + TALLY) & 0x7fff; ioaddr 1591 drivers/net/ethernet/fealnx.c (ioread32(ioaddr + TALLY) & 0x7fff0000) >> 16; ioaddr 1595 drivers/net/ethernet/fealnx.c dev->name, ioread32(ioaddr + ISR)); ioaddr 1597 drivers/net/ethernet/fealnx.c iowrite32(np->imrvalue, ioaddr + IMR); ioaddr 1610 drivers/net/ethernet/fealnx.c void __iomem *ioaddr = np->mem; ioaddr 1676 drivers/net/ethernet/fealnx.c stop_nic_rx(ioaddr, np->crvalue); ioaddr 1678 drivers/net/ethernet/fealnx.c iowrite32(np->crvalue, ioaddr + TCRRCR); ioaddr 1745 drivers/net/ethernet/fealnx.c void __iomem *ioaddr = np->mem; ioaddr 1750 drivers/net/ethernet/fealnx.c ioread32(ioaddr + TALLY) & 0x7fff; ioaddr 1752 drivers/net/ethernet/fealnx.c (ioread32(ioaddr + TALLY) & 0x7fff0000) >> 16; ioaddr 1774 drivers/net/ethernet/fealnx.c void __iomem *ioaddr = np->mem; ioaddr 1798 drivers/net/ethernet/fealnx.c stop_nic_rxtx(ioaddr, np->crvalue); ioaddr 1800 drivers/net/ethernet/fealnx.c iowrite32(mc_filter[0], ioaddr + MAR0); ioaddr 1801 drivers/net/ethernet/fealnx.c iowrite32(mc_filter[1], ioaddr + MAR1); ioaddr 1804 drivers/net/ethernet/fealnx.c iowrite32(np->crvalue, ioaddr + TCRRCR); ioaddr 1892 drivers/net/ethernet/fealnx.c void __iomem *ioaddr = np->mem; ioaddr 1898 drivers/net/ethernet/fealnx.c iowrite32(0x0000, ioaddr + IMR); ioaddr 1901 drivers/net/ethernet/fealnx.c stop_nic_rxtx(ioaddr, 0); ioaddr 303 drivers/net/ethernet/fujitsu/fmvj18x_cs.c unsigned int ioaddr; ioaddr 308 drivers/net/ethernet/fujitsu/fmvj18x_cs.c for (ioaddr = 0x300; ioaddr < 0x3e0; ioaddr += 0x20) { ioaddr 309 drivers/net/ethernet/fujitsu/fmvj18x_cs.c link->resource[0]->start = ioaddr; ioaddr 331 drivers/net/ethernet/fujitsu/fmvj18x_cs.c unsigned int ioaddr; ioaddr 440 drivers/net/ethernet/fujitsu/fmvj18x_cs.c ioaddr = dev->base_addr; ioaddr 444 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(CONFIG0_RST, ioaddr + CONFIG_0); ioaddr 446 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(CONFIG0_RST_1, ioaddr + CONFIG_0); ioaddr 450 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(BANK_0, ioaddr + CONFIG_1); ioaddr 452 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(BANK_0U, ioaddr + CONFIG_1); ioaddr 493 drivers/net/ethernet/fujitsu/fmvj18x_cs.c dev->dev_addr[i] = inb(ioaddr + UNGERMANN_MAC_ID + i); ioaddr 511 drivers/net/ethernet/fujitsu/fmvj18x_cs.c dev->dev_addr[i] = inb(ioaddr + MAC_ID + i); ioaddr 590 drivers/net/ethernet/fujitsu/fmvj18x_cs.c unsigned int ioaddr; ioaddr 614 drivers/net/ethernet/fujitsu/fmvj18x_cs.c ioaddr = dev->base_addr; ioaddr 618 drivers/net/ethernet/fujitsu/fmvj18x_cs.c writeb(ioaddr & 0xff, lp->base+0x80a); /* I/O Base(Low) of LAN */ ioaddr 619 drivers/net/ethernet/fujitsu/fmvj18x_cs.c writeb((ioaddr >> 8) & 0xff, lp->base+0x80c); /* I/O Base(High) of LAN */ ioaddr 719 drivers/net/ethernet/fujitsu/fmvj18x_cs.c unsigned int ioaddr; ioaddr 722 drivers/net/ethernet/fujitsu/fmvj18x_cs.c ioaddr = dev->base_addr; ioaddr 725 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outw(0x0000, ioaddr + TX_INTR); ioaddr 731 drivers/net/ethernet/fujitsu/fmvj18x_cs.c tx_stat = inb(ioaddr + TX_STATUS); ioaddr 732 drivers/net/ethernet/fujitsu/fmvj18x_cs.c rx_stat = inb(ioaddr + RX_STATUS); ioaddr 735 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(tx_stat, ioaddr + TX_STATUS); ioaddr 736 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(rx_stat, ioaddr + RX_STATUS); ioaddr 741 drivers/net/ethernet/fujitsu/fmvj18x_cs.c if (rx_stat || (inb(ioaddr + RX_MODE) & F_BUF_EMP) == 0) { ioaddr 749 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(DO_TX | lp->tx_queue, ioaddr + TX_START); ioaddr 762 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(D_TX_INTR, ioaddr + TX_INTR); ioaddr 763 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(D_RX_INTR, ioaddr + RX_INTR); ioaddr 780 drivers/net/ethernet/fujitsu/fmvj18x_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 783 drivers/net/ethernet/fujitsu/fmvj18x_cs.c htons(inw(ioaddr + TX_STATUS)), ioaddr 784 drivers/net/ethernet/fujitsu/fmvj18x_cs.c inb(ioaddr + TX_STATUS) & F_TMT_RDY ioaddr 788 drivers/net/ethernet/fujitsu/fmvj18x_cs.c htons(inw(ioaddr + 0)), htons(inw(ioaddr + 2)), ioaddr 789 drivers/net/ethernet/fujitsu/fmvj18x_cs.c htons(inw(ioaddr + 4)), htons(inw(ioaddr + 6)), ioaddr 790 drivers/net/ethernet/fujitsu/fmvj18x_cs.c htons(inw(ioaddr + 8)), htons(inw(ioaddr + 10)), ioaddr 791 drivers/net/ethernet/fujitsu/fmvj18x_cs.c htons(inw(ioaddr + 12)), htons(inw(ioaddr + 14))); ioaddr 810 drivers/net/ethernet/fujitsu/fmvj18x_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 836 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outw(0x0000, ioaddr + TX_INTR); ioaddr 841 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outw(length, ioaddr + DATAPORT); ioaddr 842 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outsw(ioaddr + DATAPORT, buf, (length + 1) >> 1); ioaddr 849 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(DO_TX | lp->tx_queue, ioaddr + TX_START); ioaddr 869 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(D_TX_INTR, ioaddr + TX_INTR); ioaddr 870 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(D_RX_INTR, ioaddr + RX_INTR); ioaddr 882 drivers/net/ethernet/fujitsu/fmvj18x_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 889 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(CONFIG0_RST, ioaddr + CONFIG_0); ioaddr 891 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(CONFIG0_RST_1, ioaddr + CONFIG_0); ioaddr 895 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(BANK_0, ioaddr + CONFIG_1); ioaddr 897 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(BANK_0U, ioaddr + CONFIG_1); ioaddr 900 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(D_TX_MODE, ioaddr + TX_MODE); ioaddr 902 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(ID_MATCHED, ioaddr + RX_MODE); ioaddr 906 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(dev->dev_addr[i], ioaddr + NODE_ID + i); ioaddr 913 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(BANK_2, ioaddr + CONFIG_1); ioaddr 915 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(BANK_2U, ioaddr + CONFIG_1); ioaddr 919 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(TDK_AUTO_MODE, ioaddr + COL_CTRL); ioaddr 921 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(AUTO_MODE, ioaddr + COL_CTRL); ioaddr 924 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(0x00, ioaddr + BMPR12); ioaddr 925 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(0x00, ioaddr + BMPR13); ioaddr 928 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(0x01, ioaddr + RX_SKIP); ioaddr 932 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(CONFIG0_DFL, ioaddr + CONFIG_0); ioaddr 934 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(CONFIG0_DFL_1, ioaddr + CONFIG_0); ioaddr 937 drivers/net/ethernet/fujitsu/fmvj18x_cs.c inw(ioaddr + DATAPORT); ioaddr 938 drivers/net/ethernet/fujitsu/fmvj18x_cs.c inw(ioaddr + DATAPORT); ioaddr 941 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(0xff, ioaddr + TX_STATUS); ioaddr 942 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(0xff, ioaddr + RX_STATUS); ioaddr 945 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(INTR_OFF, ioaddr + LAN_CTRL); ioaddr 948 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(D_TX_INTR, ioaddr + TX_INTR); ioaddr 949 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(D_RX_INTR, ioaddr + RX_INTR); ioaddr 953 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(INTR_ON, ioaddr + LAN_CTRL); ioaddr 960 drivers/net/ethernet/fujitsu/fmvj18x_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 964 drivers/net/ethernet/fujitsu/fmvj18x_cs.c dev->name, inb(ioaddr + RX_STATUS)); ioaddr 966 drivers/net/ethernet/fujitsu/fmvj18x_cs.c while ((inb(ioaddr + RX_MODE) & F_BUF_EMP) == 0) { ioaddr 967 drivers/net/ethernet/fujitsu/fmvj18x_cs.c u_short status = inw(ioaddr + DATAPORT); ioaddr 970 drivers/net/ethernet/fujitsu/fmvj18x_cs.c inb(ioaddr + RX_MODE), status); ioaddr 973 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(F_SKP_PKT, ioaddr + RX_SKIP); ioaddr 984 drivers/net/ethernet/fujitsu/fmvj18x_cs.c u_short pkt_len = inw(ioaddr + DATAPORT); ioaddr 991 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(F_SKP_PKT, ioaddr + RX_SKIP); ioaddr 997 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(F_SKP_PKT, ioaddr + RX_SKIP); ioaddr 1003 drivers/net/ethernet/fujitsu/fmvj18x_cs.c insw(ioaddr + DATAPORT, skb_put(skb, pkt_len), ioaddr 1092 drivers/net/ethernet/fujitsu/fmvj18x_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1101 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(CONFIG0_RST ,ioaddr + CONFIG_0); ioaddr 1103 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(CONFIG0_RST_1 ,ioaddr + CONFIG_0); ioaddr 1108 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(CHIP_OFF ,ioaddr + CONFIG_1); ioaddr 1112 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(INTR_OFF, ioaddr + LAN_CTRL); ioaddr 1127 drivers/net/ethernet/fujitsu/fmvj18x_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1133 drivers/net/ethernet/fujitsu/fmvj18x_cs.c int saved_config_0 = inb(ioaddr + CONFIG_0); ioaddr 1139 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(CONFIG0_RST, ioaddr + CONFIG_0); ioaddr 1141 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(CONFIG0_RST_1, ioaddr + CONFIG_0); ioaddr 1145 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(3, ioaddr + RX_MODE); /* Enable promiscuous mode */ ioaddr 1150 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(2, ioaddr + RX_MODE); /* Use normal mode. */ ioaddr 1153 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(1, ioaddr + RX_MODE); /* Ignore almost all multicasts. */ ioaddr 1162 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(2, ioaddr + RX_MODE); /* Use normal mode. */ ioaddr 1166 drivers/net/ethernet/fujitsu/fmvj18x_cs.c saved_bank = inb(ioaddr + CONFIG_1); ioaddr 1167 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(0xe4, ioaddr + CONFIG_1); ioaddr 1170 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(mc_filter[i], ioaddr + MAR_ADR + i); ioaddr 1171 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(saved_bank, ioaddr + CONFIG_1); ioaddr 1173 drivers/net/ethernet/fujitsu/fmvj18x_cs.c outb(saved_config_0, ioaddr + CONFIG_0); ioaddr 220 drivers/net/ethernet/hp/hp100.c static int hp100_probe1(struct net_device *dev, int ioaddr, u_char bus, ioaddr 234 drivers/net/ethernet/hp/hp100.c static void hp100_clear_stats(struct hp100_private *lp, int ioaddr); ioaddr 239 drivers/net/ethernet/hp/hp100.c static void hp100_load_eeprom(struct net_device *dev, u_short ioaddr); ioaddr 295 drivers/net/ethernet/hp/hp100.c static const char *hp100_read_id(int ioaddr) ioaddr 323 drivers/net/ethernet/hp/hp100.c static __init int hp100_isa_probe1(struct net_device *dev, int ioaddr) ioaddr 328 drivers/net/ethernet/hp/hp100.c if (!request_region(ioaddr, HP100_REGION_SIZE, "hp100")) ioaddr 332 drivers/net/ethernet/hp/hp100.c release_region(ioaddr, HP100_REGION_SIZE); ioaddr 336 drivers/net/ethernet/hp/hp100.c sig = hp100_read_id(ioaddr); ioaddr 337 drivers/net/ethernet/hp/hp100.c release_region(ioaddr, HP100_REGION_SIZE); ioaddr 349 drivers/net/ethernet/hp/hp100.c return hp100_probe1(dev, ioaddr, HP100_BUS_ISA, NULL); ioaddr 432 drivers/net/ethernet/hp/hp100.c static int hp100_probe1(struct net_device *dev, int ioaddr, u_char bus, ioaddr 453 drivers/net/ethernet/hp/hp100.c if (!request_region(ioaddr, HP100_REGION_SIZE, "hp100")) ioaddr 471 drivers/net/ethernet/hp/hp100.c dev->base_addr = ioaddr; ioaddr 473 drivers/net/ethernet/hp/hp100.c eid = hp100_read_id(ioaddr); ioaddr 476 drivers/net/ethernet/hp/hp100.c __func__, ioaddr); ioaddr 486 drivers/net/ethernet/hp/hp100.c __func__, ioaddr); ioaddr 493 drivers/net/ethernet/hp/hp100.c hp100_load_eeprom(dev, ioaddr); ioaddr 661 drivers/net/ethernet/hp/hp100.c dev->base_addr = ioaddr; ioaddr 691 drivers/net/ethernet/hp/hp100.c hp100_clear_stats(lp, ioaddr); ioaddr 734 drivers/net/ethernet/hp/hp100.c printk("hp100: at 0x%x, IRQ %d, ", ioaddr, dev->irq); ioaddr 791 drivers/net/ethernet/hp/hp100.c release_region(ioaddr, HP100_REGION_SIZE); ioaddr 799 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 893 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 1074 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 1111 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 1151 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 1247 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 1327 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 1369 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 1477 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 1591 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 1628 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 1719 drivers/net/ethernet/hp/hp100.c outsl(ioaddr + HP100_REG_DATA32, skb->data, ioaddr 1760 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 1825 drivers/net/ethernet/hp/hp100.c insl(ioaddr + HP100_REG_DATA32, ptr, pkt_len >> 2); ioaddr 1860 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 1968 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 1985 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 2010 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 2014 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 2024 drivers/net/ethernet/hp/hp100.c static void hp100_clear_stats(struct hp100_private *lp, int ioaddr) ioaddr 2054 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 2185 drivers/net/ethernet/hp/hp100.c int ioaddr; ioaddr 2190 drivers/net/ethernet/hp/hp100.c ioaddr = dev->base_addr; ioaddr 2313 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 2374 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 2410 drivers/net/ethernet/hp/hp100.c int ioaddr = probe_ioaddr > 0 ? probe_ioaddr : dev->base_addr; ioaddr 2432 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 2481 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 2585 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 2750 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 2782 drivers/net/ethernet/hp/hp100.c int ioaddr = dev->base_addr; ioaddr 2797 drivers/net/ethernet/hp/hp100.c outw(Page, ioaddr + 0x02); ioaddr 2801 drivers/net/ethernet/hp/hp100.c printk("0x%.2x = 0x%.4x\n", Register, inw(ioaddr + Register)); ioaddr 2873 drivers/net/ethernet/hp/hp100.c int ioaddr; ioaddr 2905 drivers/net/ethernet/hp/hp100.c ioaddr = pci_resource_start(pdev, 0); ioaddr 2906 drivers/net/ethernet/hp/hp100.c err = hp100_probe1(dev, ioaddr, HP100_BUS_PCI, pdev); ioaddr 2911 drivers/net/ethernet/hp/hp100.c printk("hp100: %s: PCI adapter found at 0x%x\n", dev->name, ioaddr); ioaddr 582 drivers/net/ethernet/hp/hp100.h inb( ioaddr + HP100_REG_##reg ) ioaddr 584 drivers/net/ethernet/hp/hp100.h inw( ioaddr + HP100_REG_##reg ) ioaddr 586 drivers/net/ethernet/hp/hp100.h inl( ioaddr + HP100_REG_##reg ) ioaddr 588 drivers/net/ethernet/hp/hp100.h outb( data, ioaddr + HP100_REG_##reg ) ioaddr 590 drivers/net/ethernet/hp/hp100.h outw( data, ioaddr + HP100_REG_##reg ) ioaddr 592 drivers/net/ethernet/hp/hp100.h outl( data, ioaddr + HP100_REG_##reg ) ioaddr 594 drivers/net/ethernet/hp/hp100.h outb( inb( ioaddr + HP100_REG_##reg ) | (data), ioaddr + HP100_REG_##reg ) ioaddr 596 drivers/net/ethernet/hp/hp100.h outw( inw( ioaddr + HP100_REG_##reg ) | (data), ioaddr + HP100_REG_##reg ) ioaddr 598 drivers/net/ethernet/hp/hp100.h outb( inb( ioaddr + HP100_REG_##reg ) & (data), ioaddr + HP100_REG_##reg ) ioaddr 600 drivers/net/ethernet/hp/hp100.h outw( inw( ioaddr + HP100_REG_##reg ) & (data), ioaddr + HP100_REG_##reg ) ioaddr 603 drivers/net/ethernet/hp/hp100.h outw( HP100_PAGE_##page, ioaddr + HP100_REG_PAGING ) ioaddr 605 drivers/net/ethernet/hp/hp100.h outw( HP100_INT_EN | HP100_RESET_LB, ioaddr + HP100_REG_OPTION_LSW ) ioaddr 607 drivers/net/ethernet/hp/hp100.h outw( HP100_INT_EN | HP100_SET_LB, ioaddr + HP100_REG_OPTION_LSW ) ioaddr 609 drivers/net/ethernet/hp/hp100.h outw( HP100_MMAP_DIS | HP100_RESET_HB, ioaddr + HP100_REG_OPTION_LSW ) ioaddr 611 drivers/net/ethernet/hp/hp100.h outw( HP100_MMAP_DIS | HP100_SET_HB, ioaddr + HP100_REG_OPTION_LSW ) ioaddr 911 drivers/net/ethernet/i825xx/82596.c int ioaddr) ioaddr 940 drivers/net/ethernet/i825xx/82596.c int ioaddr = dev->base_addr; ioaddr 974 drivers/net/ethernet/i825xx/82596.c i596_reset(dev, lp, ioaddr); ioaddr 1025 drivers/net/ethernet/i825xx/82596.c int ioaddr = dev->base_addr; ioaddr 1037 drivers/net/ethernet/i825xx/82596.c i596_reset (dev, lp, ioaddr); ioaddr 1244 drivers/net/ethernet/i825xx/82596.c short ioaddr; ioaddr 1261 drivers/net/ethernet/i825xx/82596.c ioaddr = dev->base_addr; ioaddr 120 drivers/net/ethernet/i825xx/sun3_82586.c static int sun3_82586_probe1(struct net_device *dev,int ioaddr); ioaddr 282 drivers/net/ethernet/i825xx/sun3_82586.c unsigned long ioaddr; ioaddr 300 drivers/net/ethernet/i825xx/sun3_82586.c ioaddr = (unsigned long)ioremap(IE_OBIO, SUN3_82586_TOTAL_SIZE); ioaddr 301 drivers/net/ethernet/i825xx/sun3_82586.c if (!ioaddr) ioaddr 314 drivers/net/ethernet/i825xx/sun3_82586.c dev->base_addr = ioaddr; ioaddr 315 drivers/net/ethernet/i825xx/sun3_82586.c err = sun3_82586_probe1(dev, ioaddr); ioaddr 324 drivers/net/ethernet/i825xx/sun3_82586.c release_region(ioaddr, SUN3_82586_TOTAL_SIZE); ioaddr 328 drivers/net/ethernet/i825xx/sun3_82586.c iounmap((void __iomem *)ioaddr); ioaddr 343 drivers/net/ethernet/i825xx/sun3_82586.c static int __init sun3_82586_probe1(struct net_device *dev,int ioaddr) ioaddr 347 drivers/net/ethernet/i825xx/sun3_82586.c if (!request_region(ioaddr, SUN3_82586_TOTAL_SIZE, DRV_NAME)) ioaddr 399 drivers/net/ethernet/i825xx/sun3_82586.c release_region(ioaddr, SUN3_82586_TOTAL_SIZE); ioaddr 550 drivers/net/ethernet/natsemi/natsemi.c void __iomem *ioaddr; ioaddr 599 drivers/net/ethernet/natsemi/natsemi.c static int eeprom_read(void __iomem *ioaddr, int location); ioaddr 707 drivers/net/ethernet/natsemi/natsemi.c return np->ioaddr; ioaddr 725 drivers/net/ethernet/natsemi/natsemi.c void __iomem *ioaddr = ns_ioaddr(dev); ioaddr 742 drivers/net/ethernet/natsemi/natsemi.c writew(target, ioaddr + PhyCtrl); ioaddr 743 drivers/net/ethernet/natsemi/natsemi.c readw(ioaddr + PhyCtrl); ioaddr 810 drivers/net/ethernet/natsemi/natsemi.c void __iomem *ioaddr; ioaddr 852 drivers/net/ethernet/natsemi/natsemi.c ioaddr = ioremap(iostart, iosize); ioaddr 853 drivers/net/ethernet/natsemi/natsemi.c if (!ioaddr) { ioaddr 859 drivers/net/ethernet/natsemi/natsemi.c prev_eedata = eeprom_read(ioaddr, 6); ioaddr 861 drivers/net/ethernet/natsemi/natsemi.c int eedata = eeprom_read(ioaddr, i + 7); ioaddr 868 drivers/net/ethernet/natsemi/natsemi.c np->ioaddr = ioaddr; ioaddr 896 drivers/net/ethernet/natsemi/natsemi.c if (np->ignore_phy || readl(ioaddr + ChipConfig) & CfgExtPhy) ioaddr 944 drivers/net/ethernet/natsemi/natsemi.c np->srr = readl(ioaddr + SiliconRev); ioaddr 975 drivers/net/ethernet/natsemi/natsemi.c iounmap(ioaddr); ioaddr 1049 drivers/net/ethernet/natsemi/natsemi.c #define mii_delay(ioaddr) readl(ioaddr + EECtrl) ioaddr 1054 drivers/net/ethernet/natsemi/natsemi.c void __iomem *ioaddr = ns_ioaddr(dev); ioaddr 1056 drivers/net/ethernet/natsemi/natsemi.c writel(MII_ShiftClk, ioaddr + EECtrl); ioaddr 1057 drivers/net/ethernet/natsemi/natsemi.c data = readl(ioaddr + EECtrl); ioaddr 1058 drivers/net/ethernet/natsemi/natsemi.c writel(0, ioaddr + EECtrl); ioaddr 1059 drivers/net/ethernet/natsemi/natsemi.c mii_delay(ioaddr); ioaddr 1066 drivers/net/ethernet/natsemi/natsemi.c void __iomem *ioaddr = ns_ioaddr(dev); ioaddr 1071 drivers/net/ethernet/natsemi/natsemi.c writel(mdio_val, ioaddr + EECtrl); ioaddr 1072 drivers/net/ethernet/natsemi/natsemi.c mii_delay(ioaddr); ioaddr 1073 drivers/net/ethernet/natsemi/natsemi.c writel(mdio_val | MII_ShiftClk, ioaddr + EECtrl); ioaddr 1074 drivers/net/ethernet/natsemi/natsemi.c mii_delay(ioaddr); ioaddr 1076 drivers/net/ethernet/natsemi/natsemi.c writel(0, ioaddr + EECtrl); ioaddr 1077 drivers/net/ethernet/natsemi/natsemi.c mii_delay(ioaddr); ioaddr 1122 drivers/net/ethernet/natsemi/natsemi.c void __iomem *ioaddr = ns_ioaddr(dev); ioaddr 1129 drivers/net/ethernet/natsemi/natsemi.c return readw(ioaddr+BasicControl+(reg<<2)); ioaddr 1137 drivers/net/ethernet/natsemi/natsemi.c void __iomem *ioaddr = ns_ioaddr(dev); ioaddr 1141 drivers/net/ethernet/natsemi/natsemi.c writew(data, ioaddr+BasicControl+(reg<<2)); ioaddr 1149 drivers/net/ethernet/natsemi/natsemi.c void __iomem *ioaddr = ns_ioaddr(dev); ioaddr 1181 drivers/net/ethernet/natsemi/natsemi.c readl(ioaddr + ChipConfig); ioaddr 1203 drivers/net/ethernet/natsemi/natsemi.c cfg = readl(ioaddr + ChipConfig); ioaddr 1221 drivers/net/ethernet/natsemi/natsemi.c writew(1, ioaddr + PGSEL); ioaddr 1222 drivers/net/ethernet/natsemi/natsemi.c writew(PMDCSR_VAL, ioaddr + PMDCSR); ioaddr 1223 drivers/net/ethernet/natsemi/natsemi.c writew(TSTDAT_VAL, ioaddr + TSTDAT); ioaddr 1225 drivers/net/ethernet/natsemi/natsemi.c DSPCFG_VAL : (DSPCFG_COEF | readw(ioaddr + DSPCFG)); ioaddr 1226 drivers/net/ethernet/natsemi/natsemi.c writew(np->dspcfg, ioaddr + DSPCFG); ioaddr 1227 drivers/net/ethernet/natsemi/natsemi.c writew(SDCFG_VAL, ioaddr + SDCFG); ioaddr 1228 drivers/net/ethernet/natsemi/natsemi.c writew(0, ioaddr + PGSEL); ioaddr 1229 drivers/net/ethernet/natsemi/natsemi.c readl(ioaddr + ChipConfig); ioaddr 1232 drivers/net/ethernet/natsemi/natsemi.c writew(1, ioaddr + PGSEL); ioaddr 1233 drivers/net/ethernet/natsemi/natsemi.c dspcfg = readw(ioaddr + DSPCFG); ioaddr 1234 drivers/net/ethernet/natsemi/natsemi.c writew(0, ioaddr + PGSEL); ioaddr 1255 drivers/net/ethernet/natsemi/natsemi.c readw(ioaddr + MIntrStatus); ioaddr 1256 drivers/net/ethernet/natsemi/natsemi.c writew(MICRIntEn, ioaddr + MIntrCtrl); ioaddr 1262 drivers/net/ethernet/natsemi/natsemi.c void __iomem *ioaddr = ns_ioaddr(dev); ioaddr 1265 drivers/net/ethernet/natsemi/natsemi.c cfg = readl(ioaddr + ChipConfig); ioaddr 1275 drivers/net/ethernet/natsemi/natsemi.c writel(cfg | (CfgExtPhy | CfgPhyDis), ioaddr + ChipConfig); ioaddr 1276 drivers/net/ethernet/natsemi/natsemi.c readl(ioaddr + ChipConfig); ioaddr 1295 drivers/net/ethernet/natsemi/natsemi.c void __iomem *ioaddr = ns_ioaddr(dev); ioaddr 1300 drivers/net/ethernet/natsemi/natsemi.c cfg = readl(ioaddr + ChipConfig); ioaddr 1310 drivers/net/ethernet/natsemi/natsemi.c writel(cfg, ioaddr + ChipConfig); ioaddr 1311 drivers/net/ethernet/natsemi/natsemi.c readl(ioaddr + ChipConfig); ioaddr 1315 drivers/net/ethernet/natsemi/natsemi.c bmcr = readw(ioaddr+BasicControl+(MII_BMCR<<2)); ioaddr 1316 drivers/net/ethernet/natsemi/natsemi.c writel(bmcr | BMCR_RESET, ioaddr+BasicControl+(MII_BMCR<<2)); ioaddr 1317 drivers/net/ethernet/natsemi/natsemi.c readl(ioaddr + ChipConfig); ioaddr 1320 drivers/net/ethernet/natsemi/natsemi.c bmcr = readw(ioaddr+BasicControl+(MII_BMCR<<2)); ioaddr 1396 drivers/net/ethernet/natsemi/natsemi.c void __iomem *ioaddr = ns_ioaddr(dev); ioaddr 1407 drivers/net/ethernet/natsemi/natsemi.c cfg = readl(ioaddr + ChipConfig) & CFG_RESET_SAVE; ioaddr 1409 drivers/net/ethernet/natsemi/natsemi.c wcsr = readl(ioaddr + WOLCmd) & WCSR_RESET_SAVE; ioaddr 1411 drivers/net/ethernet/natsemi/natsemi.c rfcr = readl(ioaddr + RxFilterAddr) & RFCR_RESET_SAVE; ioaddr 1414 drivers/net/ethernet/natsemi/natsemi.c writel(i*2, ioaddr + RxFilterAddr); ioaddr 1415 drivers/net/ethernet/natsemi/natsemi.c pmatch[i] = readw(ioaddr + RxFilterData); ioaddr 1419 drivers/net/ethernet/natsemi/natsemi.c writel(0xa+(i*2), ioaddr + RxFilterAddr); ioaddr 1420 drivers/net/ethernet/natsemi/natsemi.c sopass[i] = readw(ioaddr + RxFilterData); ioaddr 1424 drivers/net/ethernet/natsemi/natsemi.c writel(ChipReset, ioaddr + ChipCmd); ioaddr 1426 drivers/net/ethernet/natsemi/natsemi.c if (!(readl(ioaddr + ChipCmd) & ChipReset)) ioaddr 1439 drivers/net/ethernet/natsemi/natsemi.c cfg |= readl(ioaddr + ChipConfig) & ~CFG_RESET_SAVE; ioaddr 1445 drivers/net/ethernet/natsemi/natsemi.c writel(cfg, ioaddr + ChipConfig); ioaddr 1447 drivers/net/ethernet/natsemi/natsemi.c wcsr |= readl(ioaddr + WOLCmd) & ~WCSR_RESET_SAVE; ioaddr 1448 drivers/net/ethernet/natsemi/natsemi.c writel(wcsr, ioaddr + WOLCmd); ioaddr 1450 drivers/net/ethernet/natsemi/natsemi.c rfcr |= readl(ioaddr + RxFilterAddr) & ~RFCR_RESET_SAVE; ioaddr 1453 drivers/net/ethernet/natsemi/natsemi.c writel(i*2, ioaddr + RxFilterAddr); ioaddr 1454 drivers/net/ethernet/natsemi/natsemi.c writew(pmatch[i], ioaddr + RxFilterData); ioaddr 1457 drivers/net/ethernet/natsemi/natsemi.c writel(0xa+(i*2), ioaddr + RxFilterAddr); ioaddr 1458 drivers/net/ethernet/natsemi/natsemi.c writew(sopass[i], ioaddr + RxFilterData); ioaddr 1461 drivers/net/ethernet/natsemi/natsemi.c writel(rfcr, ioaddr + RxFilterAddr); ioaddr 1468 drivers/net/ethernet/natsemi/natsemi.c void __iomem *ioaddr = ns_ioaddr(dev); ioaddr 1472 drivers/net/ethernet/natsemi/natsemi.c writel(RxReset, ioaddr + ChipCmd); ioaddr 1475 drivers/net/ethernet/natsemi/natsemi.c np->intr_status |= readl(ioaddr + IntrStatus); ioaddr 1492 drivers/net/ethernet/natsemi/natsemi.c void __iomem *ioaddr = ns_ioaddr(dev); ioaddr 1495 drivers/net/ethernet/natsemi/natsemi.c writel(EepromReload, ioaddr + PCIBusCfg); ioaddr 1498 drivers/net/ethernet/natsemi/natsemi.c if (!(readl(ioaddr + PCIBusCfg) & EepromReload)) ioaddr 1512 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 1516 drivers/net/ethernet/natsemi/natsemi.c writel(RxOff | TxOff, ioaddr + ChipCmd); ioaddr 1518 drivers/net/ethernet/natsemi/natsemi.c if ((readl(ioaddr + ChipCmd) & (TxOn|RxOn)) == 0) ioaddr 1534 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 1561 drivers/net/ethernet/natsemi/natsemi.c writel(i*2, ioaddr + RxFilterAddr); ioaddr 1562 drivers/net/ethernet/natsemi/natsemi.c writew(mac, ioaddr + RxFilterData); ioaddr 1564 drivers/net/ethernet/natsemi/natsemi.c writel(np->cur_rx_mode, ioaddr + RxFilterAddr); ioaddr 1571 drivers/net/ethernet/natsemi/natsemi.c dev->name, (int)readl(ioaddr + ChipCmd)); ioaddr 1584 drivers/net/ethernet/natsemi/natsemi.c void __iomem *ioaddr = ns_ioaddr(dev); ioaddr 1598 drivers/net/ethernet/natsemi/natsemi.c if (readl(ioaddr + ChipConfig) & CfgSpeed100) { ioaddr 1601 drivers/net/ethernet/natsemi/natsemi.c writew(1, ioaddr + PGSEL); ioaddr 1606 drivers/net/ethernet/natsemi/natsemi.c data = readw(ioaddr + TSTDAT) & 0xff; ioaddr 1615 drivers/net/ethernet/natsemi/natsemi.c writew(TSTDAT_FIXED, ioaddr + TSTDAT); ioaddr 1617 drivers/net/ethernet/natsemi/natsemi.c data = readw(ioaddr + DSPCFG); ioaddr 1619 drivers/net/ethernet/natsemi/natsemi.c writew(np->dspcfg, ioaddr + DSPCFG); ioaddr 1621 drivers/net/ethernet/natsemi/natsemi.c writew(0, ioaddr + PGSEL); ioaddr 1629 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 1637 drivers/net/ethernet/natsemi/natsemi.c writew(1, ioaddr + PGSEL); ioaddr 1639 drivers/net/ethernet/natsemi/natsemi.c data = readw(ioaddr + DSPCFG); ioaddr 1641 drivers/net/ethernet/natsemi/natsemi.c writew(np->dspcfg, ioaddr + DSPCFG); ioaddr 1642 drivers/net/ethernet/natsemi/natsemi.c writew(0, ioaddr + PGSEL); ioaddr 1648 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 1706 drivers/net/ethernet/natsemi/natsemi.c writel(np->tx_config, ioaddr + TxConfig); ioaddr 1707 drivers/net/ethernet/natsemi/natsemi.c writel(np->rx_config, ioaddr + RxConfig); ioaddr 1714 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 1719 drivers/net/ethernet/natsemi/natsemi.c readl(ioaddr + IntrStatus); ioaddr 1721 drivers/net/ethernet/natsemi/natsemi.c writel(np->ring_dma, ioaddr + RxRingPtr); ioaddr 1723 drivers/net/ethernet/natsemi/natsemi.c ioaddr + TxRingPtr); ioaddr 1741 drivers/net/ethernet/natsemi/natsemi.c writel(np->tx_config, ioaddr + TxConfig); ioaddr 1751 drivers/net/ethernet/natsemi/natsemi.c writel(np->rx_config, ioaddr + RxConfig); ioaddr 1759 drivers/net/ethernet/natsemi/natsemi.c np->SavedClkRun = readl(ioaddr + ClkRun); ioaddr 1760 drivers/net/ethernet/natsemi/natsemi.c writel(np->SavedClkRun & ~PMEEnable, ioaddr + ClkRun); ioaddr 1763 drivers/net/ethernet/natsemi/natsemi.c dev->name, readl(ioaddr + WOLCmd)); ioaddr 1770 drivers/net/ethernet/natsemi/natsemi.c writel(DEFAULT_INTR, ioaddr + IntrMask); ioaddr 1773 drivers/net/ethernet/natsemi/natsemi.c writel(RxOn | TxOn, ioaddr + ChipCmd); ioaddr 1774 drivers/net/ethernet/natsemi/natsemi.c writel(StatsClear, ioaddr + StatsCtrl); /* Clear Stats */ ioaddr 1794 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 1811 drivers/net/ethernet/natsemi/natsemi.c writew(1, ioaddr+PGSEL); ioaddr 1812 drivers/net/ethernet/natsemi/natsemi.c dspcfg = readw(ioaddr+DSPCFG); ioaddr 1813 drivers/net/ethernet/natsemi/natsemi.c writew(0, ioaddr+PGSEL); ioaddr 1849 drivers/net/ethernet/natsemi/natsemi.c writel(RxOn, ioaddr + ChipCmd); ioaddr 1887 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 1897 drivers/net/ethernet/natsemi/natsemi.c dev->name, readl(ioaddr + IntrStatus)); ioaddr 2093 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 2129 drivers/net/ethernet/natsemi/natsemi.c writel(TxOn, ioaddr + ChipCmd); ioaddr 2192 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 2197 drivers/net/ethernet/natsemi/natsemi.c if (np->hands_off || !readl(ioaddr + IntrEnable)) ioaddr 2200 drivers/net/ethernet/natsemi/natsemi.c np->intr_status = readl(ioaddr + IntrStatus); ioaddr 2209 drivers/net/ethernet/natsemi/natsemi.c readl(ioaddr + IntrMask)); ioaddr 2221 drivers/net/ethernet/natsemi/natsemi.c readl(ioaddr + IntrMask)); ioaddr 2233 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 2241 drivers/net/ethernet/natsemi/natsemi.c readl(ioaddr + IntrMask)); ioaddr 2265 drivers/net/ethernet/natsemi/natsemi.c np->intr_status = readl(ioaddr + IntrStatus); ioaddr 2289 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 2328 drivers/net/ethernet/natsemi/natsemi.c writel(np->ring_dma, ioaddr + RxRingPtr); ioaddr 2395 drivers/net/ethernet/natsemi/natsemi.c writel(RxOn, ioaddr + ChipCmd); ioaddr 2401 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 2415 drivers/net/ethernet/natsemi/natsemi.c readw(ioaddr + MIntrStatus); ioaddr 2434 drivers/net/ethernet/natsemi/natsemi.c writel(np->tx_config, ioaddr + TxConfig); ioaddr 2437 drivers/net/ethernet/natsemi/natsemi.c int wol_status = readl(ioaddr + WOLCmd); ioaddr 2463 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 2466 drivers/net/ethernet/natsemi/natsemi.c dev->stats.rx_crc_errors += readl(ioaddr + RxCRCErrs); ioaddr 2467 drivers/net/ethernet/natsemi/natsemi.c dev->stats.rx_missed_errors += readl(ioaddr + RxMissed); ioaddr 2498 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 2522 drivers/net/ethernet/natsemi/natsemi.c writel(HASH_TABLE + i, ioaddr + RxFilterAddr); ioaddr 2524 drivers/net/ethernet/natsemi/natsemi.c ioaddr + RxFilterData); ioaddr 2527 drivers/net/ethernet/natsemi/natsemi.c writel(rx_mode, ioaddr + RxFilterAddr); ioaddr 2538 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 2550 drivers/net/ethernet/natsemi/natsemi.c writel(np->ring_dma, ioaddr + RxRingPtr); ioaddr 2552 drivers/net/ethernet/natsemi/natsemi.c writel(RxOn | TxOn, ioaddr + ChipCmd); ioaddr 2709 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 2710 drivers/net/ethernet/natsemi/natsemi.c u32 data = readl(ioaddr + WOLCmd) & ~WakeOptsSummary; ioaddr 2731 drivers/net/ethernet/natsemi/natsemi.c writel(data, ioaddr + WOLCmd); ioaddr 2739 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 2740 drivers/net/ethernet/natsemi/natsemi.c u32 regval = readl(ioaddr + WOLCmd); ioaddr 2775 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 2784 drivers/net/ethernet/natsemi/natsemi.c addr = readl(ioaddr + RxFilterAddr) & ~RFCRAddressMask; ioaddr 2786 drivers/net/ethernet/natsemi/natsemi.c writel(addr, ioaddr + RxFilterAddr); ioaddr 2789 drivers/net/ethernet/natsemi/natsemi.c writel(addr | 0xa, ioaddr + RxFilterAddr); ioaddr 2790 drivers/net/ethernet/natsemi/natsemi.c writew(sval[0], ioaddr + RxFilterData); ioaddr 2792 drivers/net/ethernet/natsemi/natsemi.c writel(addr | 0xc, ioaddr + RxFilterAddr); ioaddr 2793 drivers/net/ethernet/natsemi/natsemi.c writew(sval[1], ioaddr + RxFilterData); ioaddr 2795 drivers/net/ethernet/natsemi/natsemi.c writel(addr | 0xe, ioaddr + RxFilterAddr); ioaddr 2796 drivers/net/ethernet/natsemi/natsemi.c writew(sval[2], ioaddr + RxFilterData); ioaddr 2799 drivers/net/ethernet/natsemi/natsemi.c writel(addr | RxFilterEnable, ioaddr + RxFilterAddr); ioaddr 2807 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 2817 drivers/net/ethernet/natsemi/natsemi.c addr = readl(ioaddr + RxFilterAddr) & ~RFCRAddressMask; ioaddr 2819 drivers/net/ethernet/natsemi/natsemi.c writel(addr | 0xa, ioaddr + RxFilterAddr); ioaddr 2820 drivers/net/ethernet/natsemi/natsemi.c sval[0] = readw(ioaddr + RxFilterData); ioaddr 2822 drivers/net/ethernet/natsemi/natsemi.c writel(addr | 0xc, ioaddr + RxFilterAddr); ioaddr 2823 drivers/net/ethernet/natsemi/natsemi.c sval[1] = readw(ioaddr + RxFilterData); ioaddr 2825 drivers/net/ethernet/natsemi/natsemi.c writel(addr | 0xe, ioaddr + RxFilterAddr); ioaddr 2826 drivers/net/ethernet/natsemi/natsemi.c sval[2] = readw(ioaddr + RxFilterData); ioaddr 2828 drivers/net/ethernet/natsemi/natsemi.c writel(addr, ioaddr + RxFilterAddr); ioaddr 3012 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 3016 drivers/net/ethernet/natsemi/natsemi.c rbuf[i] = readl(ioaddr + i*4); ioaddr 3024 drivers/net/ethernet/natsemi/natsemi.c writew(1, ioaddr + PGSEL); ioaddr 3025 drivers/net/ethernet/natsemi/natsemi.c rbuf[i++] = readw(ioaddr + PMDCSR); ioaddr 3026 drivers/net/ethernet/natsemi/natsemi.c rbuf[i++] = readw(ioaddr + TSTDAT); ioaddr 3027 drivers/net/ethernet/natsemi/natsemi.c rbuf[i++] = readw(ioaddr + DSPCFG); ioaddr 3028 drivers/net/ethernet/natsemi/natsemi.c rbuf[i++] = readw(ioaddr + SDCFG); ioaddr 3029 drivers/net/ethernet/natsemi/natsemi.c writew(0, ioaddr + PGSEL); ioaddr 3032 drivers/net/ethernet/natsemi/natsemi.c rfcr = readl(ioaddr + RxFilterAddr); ioaddr 3034 drivers/net/ethernet/natsemi/natsemi.c writel(j*2, ioaddr + RxFilterAddr); ioaddr 3035 drivers/net/ethernet/natsemi/natsemi.c rbuf[i++] = readw(ioaddr + RxFilterData); ioaddr 3037 drivers/net/ethernet/natsemi/natsemi.c writel(rfcr, ioaddr + RxFilterAddr); ioaddr 3062 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 3067 drivers/net/ethernet/natsemi/natsemi.c ebuf[i] = eeprom_read(ioaddr, i); ioaddr 3130 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 3141 drivers/net/ethernet/natsemi/natsemi.c writel(0, ioaddr + RxRingPtr); ioaddr 3144 drivers/net/ethernet/natsemi/natsemi.c readl(ioaddr + WOLCmd); ioaddr 3147 drivers/net/ethernet/natsemi/natsemi.c writel(np->SavedClkRun | PMEEnable | PMEStatus, ioaddr + ClkRun); ioaddr 3150 drivers/net/ethernet/natsemi/natsemi.c writel(RxOn, ioaddr + ChipCmd); ioaddr 3156 drivers/net/ethernet/natsemi/natsemi.c writel(WOLPkt | LinkChange, ioaddr + IntrMask); ioaddr 3163 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 3170 drivers/net/ethernet/natsemi/natsemi.c dev->name, (int)readl(ioaddr + ChipCmd)); ioaddr 3202 drivers/net/ethernet/natsemi/natsemi.c readl(ioaddr + IntrMask); ioaddr 3203 drivers/net/ethernet/natsemi/natsemi.c readw(ioaddr + MIntrStatus); ioaddr 3206 drivers/net/ethernet/natsemi/natsemi.c writel(StatsFreeze, ioaddr + StatsCtrl); ioaddr 3223 drivers/net/ethernet/natsemi/natsemi.c u32 wol = readl(ioaddr + WOLCmd) & WakeOptsSummary; ioaddr 3231 drivers/net/ethernet/natsemi/natsemi.c writel(np->SavedClkRun, ioaddr + ClkRun); ioaddr 3241 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 3246 drivers/net/ethernet/natsemi/natsemi.c iounmap(ioaddr); ioaddr 3282 drivers/net/ethernet/natsemi/natsemi.c void __iomem * ioaddr = ns_ioaddr(dev); ioaddr 3309 drivers/net/ethernet/natsemi/natsemi.c u32 wol = readl(ioaddr + WOLCmd) & WakeOptsSummary; ioaddr 3319 drivers/net/ethernet/natsemi/natsemi.c writel(np->SavedClkRun, ioaddr + ClkRun); ioaddr 545 drivers/net/ethernet/packetengines/hamachi.c static int read_eeprom(void __iomem *ioaddr, int location); ioaddr 585 drivers/net/ethernet/packetengines/hamachi.c void __iomem *ioaddr; ioaddr 617 drivers/net/ethernet/packetengines/hamachi.c ioaddr = ioremap(base, 0x400); ioaddr 618 drivers/net/ethernet/packetengines/hamachi.c if (!ioaddr) ioaddr 628 drivers/net/ethernet/packetengines/hamachi.c dev->dev_addr[i] = 1 ? read_eeprom(ioaddr, 4 + i) ioaddr 629 drivers/net/ethernet/packetengines/hamachi.c : readb(ioaddr + StationAddr + i); ioaddr 635 drivers/net/ethernet/packetengines/hamachi.c read_eeprom(ioaddr, i), i % 16 != 15 ? " " : "\n"); ioaddr 668 drivers/net/ethernet/packetengines/hamachi.c writeb(force32, ioaddr + VirtualJumpers); ioaddr 671 drivers/net/ethernet/packetengines/hamachi.c writeb(0x01, ioaddr + ChipReset); ioaddr 678 drivers/net/ethernet/packetengines/hamachi.c i = readb(ioaddr + PCIClkMeas); ioaddr 681 drivers/net/ethernet/packetengines/hamachi.c i = readb(ioaddr + PCIClkMeas); ioaddr 684 drivers/net/ethernet/packetengines/hamachi.c hmp->base = ioaddr; ioaddr 739 drivers/net/ethernet/packetengines/hamachi.c dev->name, chip_tbl[chip_id].name, readl(ioaddr + ChipRev), ioaddr 740 drivers/net/ethernet/packetengines/hamachi.c ioaddr, dev->dev_addr, irq); ioaddr 741 drivers/net/ethernet/packetengines/hamachi.c i = readb(ioaddr + PCIClkMeas); ioaddr 744 drivers/net/ethernet/packetengines/hamachi.c dev->name, readw(ioaddr + MiscStatus) & 1 ? 64 : 32, ioaddr 745 drivers/net/ethernet/packetengines/hamachi.c i ? 2000/(i&0x7f) : 0, i&0x7f, (int)readb(ioaddr + VirtualJumpers), ioaddr 746 drivers/net/ethernet/packetengines/hamachi.c readw(ioaddr + ANLinkPartnerAbility)); ioaddr 768 drivers/net/ethernet/packetengines/hamachi.c writew(0x0400, ioaddr + ANXchngCtrl); /* Enable legacy links. */ ioaddr 769 drivers/net/ethernet/packetengines/hamachi.c writew(0x08e0, ioaddr + ANAdvertise); /* Set our advertise word. */ ioaddr 770 drivers/net/ethernet/packetengines/hamachi.c writew(0x1000, ioaddr + ANCtrl); /* Enable negotiation */ ioaddr 784 drivers/net/ethernet/packetengines/hamachi.c iounmap(ioaddr); ioaddr 791 drivers/net/ethernet/packetengines/hamachi.c static int read_eeprom(void __iomem *ioaddr, int location) ioaddr 796 drivers/net/ethernet/packetengines/hamachi.c while ((readb(ioaddr + EECmdStatus) & 0x40) && --bogus_cnt > 0); ioaddr 797 drivers/net/ethernet/packetengines/hamachi.c writew(location, ioaddr + EEAddr); ioaddr 798 drivers/net/ethernet/packetengines/hamachi.c writeb(0x02, ioaddr + EECmdStatus); ioaddr 800 drivers/net/ethernet/packetengines/hamachi.c while ((readb(ioaddr + EECmdStatus) & 0x40) && --bogus_cnt > 0); ioaddr 803 drivers/net/ethernet/packetengines/hamachi.c (int)readb(ioaddr + EECmdStatus), 1000- bogus_cnt); ioaddr 804 drivers/net/ethernet/packetengines/hamachi.c return readb(ioaddr + EEData); ioaddr 814 drivers/net/ethernet/packetengines/hamachi.c void __iomem *ioaddr = hmp->base; ioaddr 819 drivers/net/ethernet/packetengines/hamachi.c if ((readw(ioaddr + MII_Status) & 1) == 0) ioaddr 821 drivers/net/ethernet/packetengines/hamachi.c writew((phy_id<<8) + location, ioaddr + MII_Addr); ioaddr 822 drivers/net/ethernet/packetengines/hamachi.c writew(0x0001, ioaddr + MII_Cmd); ioaddr 824 drivers/net/ethernet/packetengines/hamachi.c if ((readw(ioaddr + MII_Status) & 1) == 0) ioaddr 826 drivers/net/ethernet/packetengines/hamachi.c return readw(ioaddr + MII_Rd_Data); ioaddr 832 drivers/net/ethernet/packetengines/hamachi.c void __iomem *ioaddr = hmp->base; ioaddr 837 drivers/net/ethernet/packetengines/hamachi.c if ((readw(ioaddr + MII_Status) & 1) == 0) ioaddr 839 drivers/net/ethernet/packetengines/hamachi.c writew((phy_id<<8) + location, ioaddr + MII_Addr); ioaddr 840 drivers/net/ethernet/packetengines/hamachi.c writew(value, ioaddr + MII_Wr_Data); ioaddr 844 drivers/net/ethernet/packetengines/hamachi.c if ((readw(ioaddr + MII_Status) & 1) == 0) ioaddr 852 drivers/net/ethernet/packetengines/hamachi.c void __iomem *ioaddr = hmp->base; ioaddr 866 drivers/net/ethernet/packetengines/hamachi.c writel(hmp->rx_ring_dma, ioaddr + RxPtr); ioaddr 867 drivers/net/ethernet/packetengines/hamachi.c writel(hmp->rx_ring_dma >> 32, ioaddr + RxPtr + 4); ioaddr 868 drivers/net/ethernet/packetengines/hamachi.c writel(hmp->tx_ring_dma, ioaddr + TxPtr); ioaddr 869 drivers/net/ethernet/packetengines/hamachi.c writel(hmp->tx_ring_dma >> 32, ioaddr + TxPtr + 4); ioaddr 871 drivers/net/ethernet/packetengines/hamachi.c writel(hmp->rx_ring_dma, ioaddr + RxPtr); ioaddr 872 drivers/net/ethernet/packetengines/hamachi.c writel(hmp->tx_ring_dma, ioaddr + TxPtr); ioaddr 879 drivers/net/ethernet/packetengines/hamachi.c writeb(dev->dev_addr[i], ioaddr + StationAddr + i); ioaddr 885 drivers/net/ethernet/packetengines/hamachi.c fifo_info = (readw(ioaddr + GPIO) & 0x00C0) >> 6; ioaddr 889 drivers/net/ethernet/packetengines/hamachi.c writew(0x0000, ioaddr + FIFOcfg); ioaddr 893 drivers/net/ethernet/packetengines/hamachi.c writew(0x0028, ioaddr + FIFOcfg); ioaddr 897 drivers/net/ethernet/packetengines/hamachi.c writew(0x004C, ioaddr + FIFOcfg); ioaddr 901 drivers/net/ethernet/packetengines/hamachi.c writew(0x006C, ioaddr + FIFOcfg); ioaddr 907 drivers/net/ethernet/packetengines/hamachi.c writew(0x0000, ioaddr + FIFOcfg); ioaddr 921 drivers/net/ethernet/packetengines/hamachi.c writew(0x0001, ioaddr + RxChecksum); ioaddr 922 drivers/net/ethernet/packetengines/hamachi.c writew(0x0000, ioaddr + TxChecksum); ioaddr 923 drivers/net/ethernet/packetengines/hamachi.c writew(0x8000, ioaddr + MACCnfg); /* Soft reset the MAC */ ioaddr 924 drivers/net/ethernet/packetengines/hamachi.c writew(0x215F, ioaddr + MACCnfg); ioaddr 925 drivers/net/ethernet/packetengines/hamachi.c writew(0x000C, ioaddr + FrameGap0); ioaddr 927 drivers/net/ethernet/packetengines/hamachi.c writew(0x1018, ioaddr + FrameGap1); ioaddr 929 drivers/net/ethernet/packetengines/hamachi.c writew(0x0780, ioaddr + MACCnfg2); /* Upper 16 bits control LEDs. */ ioaddr 931 drivers/net/ethernet/packetengines/hamachi.c writel(0x0030FFFF, ioaddr + FlowCtrl); ioaddr 932 drivers/net/ethernet/packetengines/hamachi.c writew(MAX_FRAME_SIZE, ioaddr + MaxFrameSize); /* dev->mtu+14 ??? */ ioaddr 935 drivers/net/ethernet/packetengines/hamachi.c writew(0x0400, ioaddr + ANXchngCtrl); /* Enable legacy links. */ ioaddr 937 drivers/net/ethernet/packetengines/hamachi.c writeb(0x03, ioaddr + LEDCtrl); ioaddr 955 drivers/net/ethernet/packetengines/hamachi.c writel(tx_int_var, ioaddr + TxIntrCtrl); ioaddr 956 drivers/net/ethernet/packetengines/hamachi.c writel(rx_int_var, ioaddr + RxIntrCtrl); ioaddr 963 drivers/net/ethernet/packetengines/hamachi.c writel(0x80878787, ioaddr + InterruptEnable); ioaddr 964 drivers/net/ethernet/packetengines/hamachi.c writew(0x0000, ioaddr + EventStatus); /* Clear non-interrupting events */ ioaddr 969 drivers/net/ethernet/packetengines/hamachi.c writew(0x005D, ioaddr + RxDMACtrl); /* 128 dword bursts */ ioaddr 970 drivers/net/ethernet/packetengines/hamachi.c writew(0x005D, ioaddr + TxDMACtrl); ioaddr 972 drivers/net/ethernet/packetengines/hamachi.c writew(0x001D, ioaddr + RxDMACtrl); ioaddr 973 drivers/net/ethernet/packetengines/hamachi.c writew(0x001D, ioaddr + TxDMACtrl); ioaddr 975 drivers/net/ethernet/packetengines/hamachi.c writew(0x0001, ioaddr + RxCmd); ioaddr 979 drivers/net/ethernet/packetengines/hamachi.c dev->name, readw(ioaddr + RxStatus), readw(ioaddr + TxStatus)); ioaddr 1024 drivers/net/ethernet/packetengines/hamachi.c void __iomem *ioaddr = hmp->base; ioaddr 1029 drivers/net/ethernet/packetengines/hamachi.c "%4.4x.\n", dev->name, readw(ioaddr + ANStatus), ioaddr 1030 drivers/net/ethernet/packetengines/hamachi.c readw(ioaddr + ANLinkPartnerAbility)); ioaddr 1033 drivers/net/ethernet/packetengines/hamachi.c readw(ioaddr + 0x0e0), ioaddr 1034 drivers/net/ethernet/packetengines/hamachi.c readw(ioaddr + 0x0e2), ioaddr 1035 drivers/net/ethernet/packetengines/hamachi.c readw(ioaddr + 0x0e4), ioaddr 1036 drivers/net/ethernet/packetengines/hamachi.c readw(ioaddr + 0x0e6), ioaddr 1037 drivers/net/ethernet/packetengines/hamachi.c readw(ioaddr + 0x0e8), ioaddr 1038 drivers/net/ethernet/packetengines/hamachi.c readw(ioaddr + 0x0eA)); ioaddr 1049 drivers/net/ethernet/packetengines/hamachi.c void __iomem *ioaddr = hmp->base; ioaddr 1052 drivers/net/ethernet/packetengines/hamachi.c " resetting...\n", dev->name, (int)readw(ioaddr + TxStatus)); ioaddr 1104 drivers/net/ethernet/packetengines/hamachi.c writew(0x0002, ioaddr + RxCmd); /* STOP Rx */ ioaddr 1106 drivers/net/ethernet/packetengines/hamachi.c writeb(0x01, ioaddr + ChipReset); /* Reinit the hardware */ ioaddr 1148 drivers/net/ethernet/packetengines/hamachi.c writew(0x0002, ioaddr + TxCmd); /* STOP Tx */ ioaddr 1149 drivers/net/ethernet/packetengines/hamachi.c writew(0x0001, ioaddr + TxCmd); /* START Tx */ ioaddr 1150 drivers/net/ethernet/packetengines/hamachi.c writew(0x0001, ioaddr + RxCmd); /* START Rx */ ioaddr 1293 drivers/net/ethernet/packetengines/hamachi.c void __iomem *ioaddr = hmp->base; ioaddr 1307 drivers/net/ethernet/packetengines/hamachi.c u32 intr_status = readl(ioaddr + InterruptClear); ioaddr 1375 drivers/net/ethernet/packetengines/hamachi.c dev->name, readl(ioaddr + IntrStatus)); ioaddr 1614 drivers/net/ethernet/packetengines/hamachi.c void __iomem *ioaddr = hmp->base; ioaddr 1620 drivers/net/ethernet/packetengines/hamachi.c dev->name, readw(ioaddr + 0x0E0), readw(ioaddr + 0x0E2), ioaddr 1621 drivers/net/ethernet/packetengines/hamachi.c readw(ioaddr + ANLinkPartnerAbility), ioaddr 1622 drivers/net/ethernet/packetengines/hamachi.c readl(ioaddr + IntrStatus)); ioaddr 1623 drivers/net/ethernet/packetengines/hamachi.c if (readw(ioaddr + ANStatus) & 0x20) ioaddr 1624 drivers/net/ethernet/packetengines/hamachi.c writeb(0x01, ioaddr + LEDCtrl); ioaddr 1626 drivers/net/ethernet/packetengines/hamachi.c writeb(0x03, ioaddr + LEDCtrl); ioaddr 1631 drivers/net/ethernet/packetengines/hamachi.c readl(ioaddr + 0x370); ioaddr 1632 drivers/net/ethernet/packetengines/hamachi.c readl(ioaddr + 0x3F0); ioaddr 1648 drivers/net/ethernet/packetengines/hamachi.c void __iomem *ioaddr = hmp->base; ioaddr 1656 drivers/net/ethernet/packetengines/hamachi.c dev->name, readw(ioaddr + TxStatus), ioaddr 1657 drivers/net/ethernet/packetengines/hamachi.c readw(ioaddr + RxStatus), readl(ioaddr + IntrStatus)); ioaddr 1663 drivers/net/ethernet/packetengines/hamachi.c writel(0x0000, ioaddr + InterruptEnable); ioaddr 1666 drivers/net/ethernet/packetengines/hamachi.c writel(2, ioaddr + RxCmd); ioaddr 1667 drivers/net/ethernet/packetengines/hamachi.c writew(2, ioaddr + TxCmd); ioaddr 1675 drivers/net/ethernet/packetengines/hamachi.c readl(ioaddr + TxCurPtr) == (long)&hmp->tx_ring[i] ? '>' : ' ', ioaddr 1681 drivers/net/ethernet/packetengines/hamachi.c readl(ioaddr + RxCurPtr) == (long)&hmp->rx_ring[i] ? '>' : ' ', ioaddr 1726 drivers/net/ethernet/packetengines/hamachi.c writeb(0x00, ioaddr + LEDCtrl); ioaddr 1734 drivers/net/ethernet/packetengines/hamachi.c void __iomem *ioaddr = hmp->base; ioaddr 1747 drivers/net/ethernet/packetengines/hamachi.c dev->stats.rx_bytes = readl(ioaddr + 0x330); ioaddr 1749 drivers/net/ethernet/packetengines/hamachi.c dev->stats.tx_bytes = readl(ioaddr + 0x3B0); ioaddr 1751 drivers/net/ethernet/packetengines/hamachi.c dev->stats.multicast = readl(ioaddr + 0x320); ioaddr 1754 drivers/net/ethernet/packetengines/hamachi.c dev->stats.rx_length_errors = readl(ioaddr + 0x368); ioaddr 1756 drivers/net/ethernet/packetengines/hamachi.c dev->stats.rx_over_errors = readl(ioaddr + 0x35C); ioaddr 1758 drivers/net/ethernet/packetengines/hamachi.c dev->stats.rx_crc_errors = readl(ioaddr + 0x360); ioaddr 1760 drivers/net/ethernet/packetengines/hamachi.c dev->stats.rx_frame_errors = readl(ioaddr + 0x364); ioaddr 1762 drivers/net/ethernet/packetengines/hamachi.c dev->stats.rx_missed_errors = readl(ioaddr + 0x36C); ioaddr 1770 drivers/net/ethernet/packetengines/hamachi.c void __iomem *ioaddr = hmp->base; ioaddr 1773 drivers/net/ethernet/packetengines/hamachi.c writew(0x000F, ioaddr + AddrMode); ioaddr 1776 drivers/net/ethernet/packetengines/hamachi.c writew(0x000B, ioaddr + AddrMode); ioaddr 1782 drivers/net/ethernet/packetengines/hamachi.c writel(*(u32 *)(ha->addr), ioaddr + 0x100 + i*8); ioaddr 1784 drivers/net/ethernet/packetengines/hamachi.c ioaddr + 0x104 + i*8); ioaddr 1789 drivers/net/ethernet/packetengines/hamachi.c writel(0, ioaddr + 0x104 + i*8); ioaddr 1790 drivers/net/ethernet/packetengines/hamachi.c writew(0x0003, ioaddr + AddrMode); ioaddr 1792 drivers/net/ethernet/packetengines/hamachi.c writew(0x0001, ioaddr + AddrMode); ioaddr 341 drivers/net/ethernet/packetengines/yellowfin.c static int read_eeprom(void __iomem *ioaddr, int location); ioaddr 342 drivers/net/ethernet/packetengines/yellowfin.c static int mdio_read(void __iomem *ioaddr, int phy_id, int location); ioaddr 343 drivers/net/ethernet/packetengines/yellowfin.c static void mdio_write(void __iomem *ioaddr, int phy_id, int location, int value); ioaddr 377 drivers/net/ethernet/packetengines/yellowfin.c void __iomem *ioaddr; ioaddr 411 drivers/net/ethernet/packetengines/yellowfin.c ioaddr = pci_iomap(pdev, bar, YELLOWFIN_SIZE); ioaddr 412 drivers/net/ethernet/packetengines/yellowfin.c if (!ioaddr) ioaddr 419 drivers/net/ethernet/packetengines/yellowfin.c dev->dev_addr[i] = ioread8(ioaddr + StnAddr + i); ioaddr 421 drivers/net/ethernet/packetengines/yellowfin.c int ee_offset = (read_eeprom(ioaddr, 6) == 0xff ? 0x100 : 0); ioaddr 423 drivers/net/ethernet/packetengines/yellowfin.c dev->dev_addr[i] = read_eeprom(ioaddr, ee_offset + i); ioaddr 427 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(0x80000000, ioaddr + DMACtrl); ioaddr 435 drivers/net/ethernet/packetengines/yellowfin.c np->base = ioaddr; ioaddr 486 drivers/net/ethernet/packetengines/yellowfin.c ioread32(ioaddr + ChipRev), ioaddr, ioaddr 492 drivers/net/ethernet/packetengines/yellowfin.c int mii_status = mdio_read(ioaddr, phy, 1); ioaddr 495 drivers/net/ethernet/packetengines/yellowfin.c np->advertising = mdio_read(ioaddr, phy, 4); ioaddr 515 drivers/net/ethernet/packetengines/yellowfin.c pci_iounmap(pdev, ioaddr); ioaddr 523 drivers/net/ethernet/packetengines/yellowfin.c static int read_eeprom(void __iomem *ioaddr, int location) ioaddr 527 drivers/net/ethernet/packetengines/yellowfin.c iowrite8(location, ioaddr + EEAddr); ioaddr 528 drivers/net/ethernet/packetengines/yellowfin.c iowrite8(0x30 | ((location >> 8) & 7), ioaddr + EECtrl); ioaddr 529 drivers/net/ethernet/packetengines/yellowfin.c while ((ioread8(ioaddr + EEStatus) & 0x80) && --bogus_cnt > 0) ioaddr 531 drivers/net/ethernet/packetengines/yellowfin.c return ioread8(ioaddr + EERead); ioaddr 538 drivers/net/ethernet/packetengines/yellowfin.c static int mdio_read(void __iomem *ioaddr, int phy_id, int location) ioaddr 542 drivers/net/ethernet/packetengines/yellowfin.c iowrite16((phy_id<<8) + location, ioaddr + MII_Addr); ioaddr 543 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(1, ioaddr + MII_Cmd); ioaddr 545 drivers/net/ethernet/packetengines/yellowfin.c if ((ioread16(ioaddr + MII_Status) & 1) == 0) ioaddr 547 drivers/net/ethernet/packetengines/yellowfin.c return ioread16(ioaddr + MII_Rd_Data); ioaddr 550 drivers/net/ethernet/packetengines/yellowfin.c static void mdio_write(void __iomem *ioaddr, int phy_id, int location, int value) ioaddr 554 drivers/net/ethernet/packetengines/yellowfin.c iowrite16((phy_id<<8) + location, ioaddr + MII_Addr); ioaddr 555 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(value, ioaddr + MII_Wr_Data); ioaddr 559 drivers/net/ethernet/packetengines/yellowfin.c if ((ioread16(ioaddr + MII_Status) & 1) == 0) ioaddr 568 drivers/net/ethernet/packetengines/yellowfin.c void __iomem *ioaddr = yp->base; ioaddr 572 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(0x80000000, ioaddr + DMACtrl); ioaddr 582 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(yp->rx_ring_dma, ioaddr + RxPtr); ioaddr 583 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(yp->tx_ring_dma, ioaddr + TxPtr); ioaddr 586 drivers/net/ethernet/packetengines/yellowfin.c iowrite8(dev->dev_addr[i], ioaddr + StnAddr + i); ioaddr 590 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(0x00800080, ioaddr + TxIntrSel); /* Interrupt on Tx abort */ ioaddr 591 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(0x00800080, ioaddr + TxBranchSel); /* Branch on Tx abort */ ioaddr 592 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(0x00400040, ioaddr + TxWaitSel); /* Wait on Tx status */ ioaddr 593 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(0x00400040, ioaddr + RxIntrSel); /* Interrupt on Rx done */ ioaddr 594 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(0x00400040, ioaddr + RxBranchSel); /* Branch on Rx error */ ioaddr 595 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(0x00400040, ioaddr + RxWaitSel); /* Wait on Rx done */ ioaddr 599 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(dma_ctrl, ioaddr + DMACtrl); ioaddr 600 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(fifo_cfg, ioaddr + FIFOcfg); ioaddr 602 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(0x0030FFFF, ioaddr + FlowCtrl); ioaddr 605 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(yp->tx_threshold, ioaddr + TxThreshold); ioaddr 616 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x01CF, ioaddr + Cnfg); ioaddr 618 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x0018, ioaddr + FrameGap0); /* 0060/4060 for non-MII 10baseT */ ioaddr 619 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x1018, ioaddr + FrameGap1); ioaddr 620 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x101C | (yp->full_duplex ? 2 : 0), ioaddr + Cnfg); ioaddr 625 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x81ff, ioaddr + IntrEnb); /* See enum intr_status_bits */ ioaddr 626 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x0000, ioaddr + EventStatus); /* Clear non-interrupting events */ ioaddr 627 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(0x80008000, ioaddr + RxCtrl); /* Start Rx and Tx channels. */ ioaddr 628 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(0x80008000, ioaddr + TxCtrl); ioaddr 650 drivers/net/ethernet/packetengines/yellowfin.c void __iomem *ioaddr = yp->base; ioaddr 655 drivers/net/ethernet/packetengines/yellowfin.c ioread16(ioaddr + IntrStatus)); ioaddr 659 drivers/net/ethernet/packetengines/yellowfin.c int bmsr = mdio_read(ioaddr, yp->phys[0], MII_BMSR); ioaddr 660 drivers/net/ethernet/packetengines/yellowfin.c int lpa = mdio_read(ioaddr, yp->phys[0], MII_LPA); ioaddr 668 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x101C | (yp->full_duplex ? 2 : 0), ioaddr + Cnfg); ioaddr 683 drivers/net/ethernet/packetengines/yellowfin.c void __iomem *ioaddr = yp->base; ioaddr 687 drivers/net/ethernet/packetengines/yellowfin.c ioread32(ioaddr + TxStatus), ioaddr 688 drivers/net/ethernet/packetengines/yellowfin.c ioread32(ioaddr + RxStatus)); ioaddr 890 drivers/net/ethernet/packetengines/yellowfin.c void __iomem *ioaddr; ioaddr 895 drivers/net/ethernet/packetengines/yellowfin.c ioaddr = yp->base; ioaddr 900 drivers/net/ethernet/packetengines/yellowfin.c u16 intr_status = ioread16(ioaddr + IntrClear); ioaddr 912 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(0x10001000, ioaddr + RxCtrl); /* Wake Rx engine. */ ioaddr 1025 drivers/net/ethernet/packetengines/yellowfin.c ioread16(ioaddr + IntrStatus)); ioaddr 1188 drivers/net/ethernet/packetengines/yellowfin.c void __iomem *ioaddr = yp->base; ioaddr 1195 drivers/net/ethernet/packetengines/yellowfin.c ioread16(ioaddr + TxStatus), ioaddr 1196 drivers/net/ethernet/packetengines/yellowfin.c ioread16(ioaddr + RxStatus), ioaddr 1197 drivers/net/ethernet/packetengines/yellowfin.c ioread16(ioaddr + IntrStatus)); ioaddr 1204 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x0000, ioaddr + IntrEnb); ioaddr 1207 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(0x80000000, ioaddr + RxCtrl); ioaddr 1208 drivers/net/ethernet/packetengines/yellowfin.c iowrite32(0x80000000, ioaddr + TxCtrl); ioaddr 1218 drivers/net/ethernet/packetengines/yellowfin.c ioread32(ioaddr + TxPtr) == (long)&yp->tx_ring[i] ? '>' : ' ', ioaddr 1231 drivers/net/ethernet/packetengines/yellowfin.c ioread32(ioaddr + RxPtr) == (long)&yp->rx_ring[i] ? '>' : ' ', ioaddr 1280 drivers/net/ethernet/packetengines/yellowfin.c void __iomem *ioaddr = yp->base; ioaddr 1281 drivers/net/ethernet/packetengines/yellowfin.c u16 cfg_value = ioread16(ioaddr + Cnfg); ioaddr 1284 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(cfg_value & ~0x1000, ioaddr + Cnfg); ioaddr 1286 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x000F, ioaddr + AddrMode); ioaddr 1290 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x000B, ioaddr + AddrMode); ioaddr 1315 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(hash_table[i], ioaddr + HashTbl + i*2); ioaddr 1316 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x0003, ioaddr + AddrMode); ioaddr 1318 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(0x0001, ioaddr + AddrMode); ioaddr 1321 drivers/net/ethernet/packetengines/yellowfin.c iowrite16(cfg_value | 0x1000, ioaddr + Cnfg); ioaddr 1340 drivers/net/ethernet/packetengines/yellowfin.c void __iomem *ioaddr = np->base; ioaddr 1349 drivers/net/ethernet/packetengines/yellowfin.c data->val_out = mdio_read(ioaddr, data->phy_id & 0x1f, data->reg_num & 0x1f); ioaddr 1366 drivers/net/ethernet/packetengines/yellowfin.c mdio_write(ioaddr, data->phy_id & 0x1f, data->reg_num & 0x1f, data->val_in); ioaddr 198 drivers/net/ethernet/rdc/r6040.c static int r6040_phy_read(void __iomem *ioaddr, int phy_addr, int reg) ioaddr 203 drivers/net/ethernet/rdc/r6040.c iowrite16(MDIO_READ + reg + (phy_addr << 8), ioaddr + MMDIO); ioaddr 206 drivers/net/ethernet/rdc/r6040.c cmd = ioread16(ioaddr + MMDIO); ioaddr 215 drivers/net/ethernet/rdc/r6040.c return ioread16(ioaddr + MMRD); ioaddr 219 drivers/net/ethernet/rdc/r6040.c static int r6040_phy_write(void __iomem *ioaddr, ioaddr 225 drivers/net/ethernet/rdc/r6040.c iowrite16(val, ioaddr + MMWD); ioaddr 227 drivers/net/ethernet/rdc/r6040.c iowrite16(MDIO_WRITE + reg + (phy_addr << 8), ioaddr + MMDIO); ioaddr 230 drivers/net/ethernet/rdc/r6040.c cmd = ioread16(ioaddr + MMDIO); ioaddr 243 drivers/net/ethernet/rdc/r6040.c void __iomem *ioaddr = lp->base; ioaddr 245 drivers/net/ethernet/rdc/r6040.c return r6040_phy_read(ioaddr, phy_addr, reg); ioaddr 253 drivers/net/ethernet/rdc/r6040.c void __iomem *ioaddr = lp->base; ioaddr 255 drivers/net/ethernet/rdc/r6040.c return r6040_phy_write(ioaddr, phy_addr, reg, value); ioaddr 355 drivers/net/ethernet/rdc/r6040.c void __iomem *ioaddr = lp->base; ioaddr 359 drivers/net/ethernet/rdc/r6040.c iowrite16(MAC_RST, ioaddr + MCR1); ioaddr 361 drivers/net/ethernet/rdc/r6040.c cmd = ioread16(ioaddr + MCR1); ioaddr 367 drivers/net/ethernet/rdc/r6040.c iowrite16(MAC_SM_RST, ioaddr + MAC_SM); ioaddr 368 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MAC_SM); ioaddr 375 drivers/net/ethernet/rdc/r6040.c void __iomem *ioaddr = lp->base; ioaddr 378 drivers/net/ethernet/rdc/r6040.c iowrite16(MSK_INT, ioaddr + MIER); ioaddr 384 drivers/net/ethernet/rdc/r6040.c iowrite16(MBCR_DEFAULT, ioaddr + MBCR); ioaddr 387 drivers/net/ethernet/rdc/r6040.c iowrite16(MAX_BUF_SIZE, ioaddr + MR_BSR); ioaddr 390 drivers/net/ethernet/rdc/r6040.c iowrite16(lp->tx_ring_dma, ioaddr + MTD_SA0); ioaddr 391 drivers/net/ethernet/rdc/r6040.c iowrite16(lp->tx_ring_dma >> 16, ioaddr + MTD_SA1); ioaddr 394 drivers/net/ethernet/rdc/r6040.c iowrite16(lp->rx_ring_dma, ioaddr + MRD_SA0); ioaddr 395 drivers/net/ethernet/rdc/r6040.c iowrite16(lp->rx_ring_dma >> 16, ioaddr + MRD_SA1); ioaddr 398 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MT_ICR); ioaddr 399 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MR_ICR); ioaddr 402 drivers/net/ethernet/rdc/r6040.c iowrite16(INT_MASK, ioaddr + MIER); ioaddr 405 drivers/net/ethernet/rdc/r6040.c iowrite16(lp->mcr0 | MCR0_RCVEN, ioaddr); ioaddr 410 drivers/net/ethernet/rdc/r6040.c iowrite16(TM2TX, ioaddr + MTPR); ioaddr 416 drivers/net/ethernet/rdc/r6040.c void __iomem *ioaddr = priv->base; ioaddr 420 drivers/net/ethernet/rdc/r6040.c ioread16(ioaddr + MIER), ioaddr 421 drivers/net/ethernet/rdc/r6040.c ioread16(ioaddr + MISR)); ioaddr 432 drivers/net/ethernet/rdc/r6040.c void __iomem *ioaddr = priv->base; ioaddr 436 drivers/net/ethernet/rdc/r6040.c dev->stats.rx_crc_errors += ioread8(ioaddr + ME_CNT1); ioaddr 437 drivers/net/ethernet/rdc/r6040.c dev->stats.multicast += ioread8(ioaddr + ME_CNT0); ioaddr 447 drivers/net/ethernet/rdc/r6040.c void __iomem *ioaddr = lp->base; ioaddr 451 drivers/net/ethernet/rdc/r6040.c iowrite16(MSK_INT, ioaddr + MIER); /* Mask Off Interrupt */ ioaddr 458 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[0], ioaddr + MID_0L); ioaddr 459 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[1], ioaddr + MID_0M); ioaddr 460 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[2], ioaddr + MID_0H); ioaddr 585 drivers/net/ethernet/rdc/r6040.c void __iomem *ioaddr = priv->base; ioaddr 593 drivers/net/ethernet/rdc/r6040.c err = ioread16(ioaddr + MLSR); ioaddr 629 drivers/net/ethernet/rdc/r6040.c void __iomem *ioaddr = priv->base; ioaddr 639 drivers/net/ethernet/rdc/r6040.c iowrite16(ioread16(ioaddr + MIER) | RX_INTS | TX_INTS, ioaddr 640 drivers/net/ethernet/rdc/r6040.c ioaddr + MIER); ioaddr 650 drivers/net/ethernet/rdc/r6040.c void __iomem *ioaddr = lp->base; ioaddr 654 drivers/net/ethernet/rdc/r6040.c misr = ioread16(ioaddr + MIER); ioaddr 656 drivers/net/ethernet/rdc/r6040.c iowrite16(MSK_INT, ioaddr + MIER); ioaddr 658 drivers/net/ethernet/rdc/r6040.c status = ioread16(ioaddr + MISR); ioaddr 662 drivers/net/ethernet/rdc/r6040.c iowrite16(misr, ioaddr + MIER); ioaddr 684 drivers/net/ethernet/rdc/r6040.c iowrite16(misr, ioaddr + MIER); ioaddr 702 drivers/net/ethernet/rdc/r6040.c void __iomem *ioaddr = lp->base; ioaddr 712 drivers/net/ethernet/rdc/r6040.c r6040_phy_write(ioaddr, 30, 17, ioaddr 713 drivers/net/ethernet/rdc/r6040.c (r6040_phy_read(ioaddr, 30, 17) | 0x4000)); ioaddr 714 drivers/net/ethernet/rdc/r6040.c r6040_phy_write(ioaddr, 30, 17, ioaddr 715 drivers/net/ethernet/rdc/r6040.c ~((~r6040_phy_read(ioaddr, 30, 17)) | 0x2000)); ioaddr 716 drivers/net/ethernet/rdc/r6040.c r6040_phy_write(ioaddr, 0, 19, 0x0000); ioaddr 717 drivers/net/ethernet/rdc/r6040.c r6040_phy_write(ioaddr, 0, 30, 0x01F0); ioaddr 732 drivers/net/ethernet/rdc/r6040.c void __iomem *ioaddr = lp->base; ioaddr 740 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[0], ioaddr + MID_0L); ioaddr 741 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[1], ioaddr + MID_0M); ioaddr 742 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[2], ioaddr + MID_0H); ioaddr 800 drivers/net/ethernet/rdc/r6040.c void __iomem *ioaddr = lp->base; ioaddr 830 drivers/net/ethernet/rdc/r6040.c iowrite16(TM2TX, ioaddr + MTPR); ioaddr 845 drivers/net/ethernet/rdc/r6040.c void __iomem *ioaddr = lp->base; ioaddr 856 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[0], ioaddr + MID_0L); ioaddr 857 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[1], ioaddr + MID_0M); ioaddr 858 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[2], ioaddr + MID_0H); ioaddr 861 drivers/net/ethernet/rdc/r6040.c lp->mcr0 = ioread16(ioaddr + MCR0) & ~(MCR0_PROMISC | MCR0_HASH_EN); ioaddr 873 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1L + 8 * i); ioaddr 874 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1M + 8 * i); ioaddr 875 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1H + 8 * i); ioaddr 887 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[0], ioaddr + MID_1L + 8 * i); ioaddr 888 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[1], ioaddr + MID_1M + 8 * i); ioaddr 889 drivers/net/ethernet/rdc/r6040.c iowrite16(adrp[2], ioaddr + MID_1H + 8 * i); ioaddr 893 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1L + 8 * i); ioaddr 894 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1M + 8 * i); ioaddr 895 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1H + 8 * i); ioaddr 906 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1L + 8 * i); ioaddr 907 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1M + 8 * i); ioaddr 908 drivers/net/ethernet/rdc/r6040.c iowrite16(0, ioaddr + MID_1H + 8 * i); ioaddr 921 drivers/net/ethernet/rdc/r6040.c iowrite16(lp->mcr0, ioaddr + MCR0); ioaddr 925 drivers/net/ethernet/rdc/r6040.c iowrite16(hash_table[0], ioaddr + MAR0); ioaddr 926 drivers/net/ethernet/rdc/r6040.c iowrite16(hash_table[1], ioaddr + MAR1); ioaddr 927 drivers/net/ethernet/rdc/r6040.c iowrite16(hash_table[2], ioaddr + MAR2); ioaddr 928 drivers/net/ethernet/rdc/r6040.c iowrite16(hash_table[3], ioaddr + MAR3); ioaddr 972 drivers/net/ethernet/rdc/r6040.c void __iomem *ioaddr = lp->base; ioaddr 984 drivers/net/ethernet/rdc/r6040.c iowrite16(lp->mcr0, ioaddr); ioaddr 1027 drivers/net/ethernet/rdc/r6040.c void __iomem *ioaddr; ioaddr 1075 drivers/net/ethernet/rdc/r6040.c ioaddr = pci_iomap(pdev, bar, io_size); ioaddr 1076 drivers/net/ethernet/rdc/r6040.c if (!ioaddr) { ioaddr 1087 drivers/net/ethernet/rdc/r6040.c if (ioread16(ioaddr + PHY_CC) == 0) ioaddr 1089 drivers/net/ethernet/rdc/r6040.c 7 << TMRDIV_SHIFT, ioaddr + PHY_CC); ioaddr 1092 drivers/net/ethernet/rdc/r6040.c lp->base = ioaddr; ioaddr 1102 drivers/net/ethernet/rdc/r6040.c adrp[0] = ioread16(ioaddr + MID_0L); ioaddr 1103 drivers/net/ethernet/rdc/r6040.c adrp[1] = ioread16(ioaddr + MID_0M); ioaddr 1104 drivers/net/ethernet/rdc/r6040.c adrp[2] = ioread16(ioaddr + MID_0H); ioaddr 1168 drivers/net/ethernet/rdc/r6040.c pci_iounmap(pdev, ioaddr); ioaddr 1710 drivers/net/ethernet/realtek/8139cp.c static u16 read_eeprom (void __iomem *ioaddr, int location, int addr_len) ioaddr 1714 drivers/net/ethernet/realtek/8139cp.c void __iomem *ee_addr = ioaddr + Cfg9346; ioaddr 1735 drivers/net/ethernet/realtek/8139cp.c static void write_eeprom(void __iomem *ioaddr, int location, u16 val, ioaddr 1739 drivers/net/ethernet/realtek/8139cp.c void __iomem *ee_addr = ioaddr + Cfg9346; ioaddr 639 drivers/net/ethernet/realtek/8139too.c static int read_eeprom (void __iomem *ioaddr, int location, int addr_len); ioaddr 668 drivers/net/ethernet/realtek/8139too.c #define RTL_W8_F(reg, val8) do { iowrite8 ((val8), ioaddr + (reg)); ioread8 (ioaddr + (reg)); } while (0) ioaddr 669 drivers/net/ethernet/realtek/8139too.c #define RTL_W16_F(reg, val16) do { iowrite16 ((val16), ioaddr + (reg)); ioread16 (ioaddr + (reg)); } while (0) ioaddr 670 drivers/net/ethernet/realtek/8139too.c #define RTL_W32_F(reg, val32) do { iowrite32 ((val32), ioaddr + (reg)); ioread32 (ioaddr + (reg)); } while (0) ioaddr 673 drivers/net/ethernet/realtek/8139too.c #define RTL_W8(reg, val8) iowrite8 ((val8), ioaddr + (reg)) ioaddr 674 drivers/net/ethernet/realtek/8139too.c #define RTL_W16(reg, val16) iowrite16 ((val16), ioaddr + (reg)) ioaddr 675 drivers/net/ethernet/realtek/8139too.c #define RTL_W32(reg, val32) iowrite32 ((val32), ioaddr + (reg)) ioaddr 678 drivers/net/ethernet/realtek/8139too.c #define RTL_R8(reg) ioread8 (ioaddr + (reg)) ioaddr 679 drivers/net/ethernet/realtek/8139too.c #define RTL_R16(reg) ioread16 (ioaddr + (reg)) ioaddr 680 drivers/net/ethernet/realtek/8139too.c #define RTL_R32(reg) ioread32 (ioaddr + (reg)) ioaddr 737 drivers/net/ethernet/realtek/8139too.c static void rtl8139_chip_reset (void __iomem *ioaddr) ioaddr 757 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr; ioaddr 821 drivers/net/ethernet/realtek/8139too.c ioaddr = pci_iomap(pdev, bar, 0); ioaddr 822 drivers/net/ethernet/realtek/8139too.c if (!ioaddr) { ioaddr 832 drivers/net/ethernet/realtek/8139too.c tp->mmio_addr = ioaddr; ioaddr 889 drivers/net/ethernet/realtek/8139too.c rtl8139_chip_reset (ioaddr); ioaddr 905 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 949 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr; ioaddr 992 drivers/net/ethernet/realtek/8139too.c ioaddr = tp->mmio_addr; ioaddr 993 drivers/net/ethernet/realtek/8139too.c assert (ioaddr != NULL); ioaddr 995 drivers/net/ethernet/realtek/8139too.c addr_len = read_eeprom (ioaddr, 0, 8) == 0x8129 ? 8 : 6; ioaddr 998 drivers/net/ethernet/realtek/8139too.c cpu_to_le16(read_eeprom (ioaddr, i + 7, addr_len)); ioaddr 1025 drivers/net/ethernet/realtek/8139too.c tp->mmio_addr = ioaddr; ioaddr 1047 drivers/net/ethernet/realtek/8139too.c ioaddr, dev->dev_addr, pdev->irq); ioaddr 1152 drivers/net/ethernet/realtek/8139too.c static int read_eeprom(void __iomem *ioaddr, int location, int addr_len) ioaddr 1220 drivers/net/ethernet/realtek/8139too.c static void mdio_sync (void __iomem *ioaddr) ioaddr 1238 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1244 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1250 drivers/net/ethernet/realtek/8139too.c mdio_sync (ioaddr); ioaddr 1280 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1286 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1297 drivers/net/ethernet/realtek/8139too.c mdio_sync (ioaddr); ioaddr 1322 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1383 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1391 drivers/net/ethernet/realtek/8139too.c rtl8139_chip_reset (ioaddr); ioaddr 1485 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1569 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr) ioaddr 1659 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1718 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1763 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr) ioaddr 1768 drivers/net/ethernet/realtek/8139too.c assert (ioaddr != NULL); ioaddr 1834 drivers/net/ethernet/realtek/8139too.c struct rtl8139_private *tp, void __iomem *ioaddr) ioaddr 1930 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1949 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 2030 drivers/net/ethernet/realtek/8139too.c rtl8139_rx_err (rx_status, dev, tp, ioaddr); ioaddr 2090 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr, ioaddr 2097 drivers/net/ethernet/realtek/8139too.c assert (ioaddr != NULL); ioaddr 2129 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 2156 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 2200 drivers/net/ethernet/realtek/8139too.c rtl8139_weird_interrupt (dev, tp, ioaddr, ioaddr 2204 drivers/net/ethernet/realtek/8139too.c rtl8139_tx_interrupt (dev, tp, ioaddr); ioaddr 2235 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 2258 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 2308 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 2342 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 2520 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 2552 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 2612 drivers/net/ethernet/realtek/8139too.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 193 drivers/net/ethernet/realtek/atp.c static int atp_probe1(long ioaddr); ioaddr 195 drivers/net/ethernet/realtek/atp.c static unsigned short eeprom_op(long ioaddr, unsigned int cmd); ioaddr 198 drivers/net/ethernet/realtek/atp.c static void write_packet(long ioaddr, int length, unsigned char *packet, int pad, int mode); ioaddr 199 drivers/net/ethernet/realtek/atp.c static void trigger_send(long ioaddr, int length); ioaddr 204 drivers/net/ethernet/realtek/atp.c static void read_block(long ioaddr, int length, unsigned char *buffer, int data_mode); ioaddr 232 drivers/net/ethernet/realtek/atp.c long ioaddr = *port; ioaddr 233 drivers/net/ethernet/realtek/atp.c outb(0x57, ioaddr + PAR_DATA); ioaddr 234 drivers/net/ethernet/realtek/atp.c if (inb(ioaddr + PAR_DATA) != 0x57) ioaddr 236 drivers/net/ethernet/realtek/atp.c if (atp_probe1(ioaddr) == 0) ioaddr 253 drivers/net/ethernet/realtek/atp.c static int __init atp_probe1(long ioaddr) ioaddr 260 drivers/net/ethernet/realtek/atp.c outb(0xff, ioaddr + PAR_DATA); ioaddr 263 drivers/net/ethernet/realtek/atp.c saved_ctrl_reg = inb(ioaddr + PAR_CONTROL); ioaddr 267 drivers/net/ethernet/realtek/atp.c outb(0x04, ioaddr + PAR_CONTROL); ioaddr 272 drivers/net/ethernet/realtek/atp.c outb(mux_8012[i], ioaddr + PAR_DATA); ioaddr 273 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, MODSEL, 0x00); ioaddr 276 drivers/net/ethernet/realtek/atp.c printk(" %2.2x", read_nibble(ioaddr, i)); ioaddr 282 drivers/net/ethernet/realtek/atp.c outb(mux_8012[i], ioaddr + PAR_DATA); ioaddr 283 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, CMR1, CMR1h_RESET); ioaddr 285 drivers/net/ethernet/realtek/atp.c status = read_nibble(ioaddr, CMR1); ioaddr 290 drivers/net/ethernet/realtek/atp.c printk(" %2.2x", read_nibble(ioaddr, i)); ioaddr 296 drivers/net/ethernet/realtek/atp.c outb(saved_ctrl_reg, ioaddr + PAR_CONTROL); ioaddr 299 drivers/net/ethernet/realtek/atp.c status = read_nibble(ioaddr, CMR2_h); ioaddr 301 drivers/net/ethernet/realtek/atp.c outb(saved_ctrl_reg, ioaddr + PAR_CONTROL); ioaddr 310 drivers/net/ethernet/realtek/atp.c write_reg_byte(ioaddr, CMR2, 0x01); /* No accept mode, IRQ out. */ ioaddr 311 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, CMR1, CMR1h_RxENABLE | CMR1h_TxENABLE); /* Enable Tx and Rx. */ ioaddr 316 drivers/net/ethernet/realtek/atp.c else if (ioaddr == 0x378) ioaddr 320 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, CMR1, CMR1h_TxRxOFF); /* Disable Tx and Rx units. */ ioaddr 321 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, CMR2, CMR2_NULL); ioaddr 323 drivers/net/ethernet/realtek/atp.c dev->base_addr = ioaddr; ioaddr 338 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, CMR1, CMR1h_RESET | CMR1h_MUX); ioaddr 370 drivers/net/ethernet/realtek/atp.c long ioaddr = dev->base_addr; ioaddr 374 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, CMR2, CMR2_EEPROM); /* Point to the EEPROM control registers. */ ioaddr 378 drivers/net/ethernet/realtek/atp.c if (eeprom_op(ioaddr, EE_READ(0)) == 0xffff) ioaddr 383 drivers/net/ethernet/realtek/atp.c cpu_to_be16(eeprom_op(ioaddr, EE_READ(sa_offset + i))); ioaddr 385 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, CMR2, CMR2_NULL); ioaddr 400 drivers/net/ethernet/realtek/atp.c static unsigned short __init eeprom_op(long ioaddr, u32 cmd) ioaddr 407 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, PROM_CMD, outval | EE_CLK_LOW); ioaddr 408 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, PROM_CMD, outval | EE_CLK_HIGH); ioaddr 410 drivers/net/ethernet/realtek/atp.c if (read_nibble(ioaddr, PROM_DATA) & EE_DATA_READ) ioaddr 413 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, PROM_CMD, EE_CLK_LOW & ~EE_CS); ioaddr 456 drivers/net/ethernet/realtek/atp.c long ioaddr = dev->base_addr; ioaddr 461 drivers/net/ethernet/realtek/atp.c outb(mux_8012[i], ioaddr + PAR_DATA); ioaddr 462 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, CMR1, CMR1h_RESET); ioaddr 465 drivers/net/ethernet/realtek/atp.c write_reg_byte(ioaddr, PAR0 + i, dev->dev_addr[i]); ioaddr 467 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, CMR2, lp->addr_mode); ioaddr 471 drivers/net/ethernet/realtek/atp.c (read_nibble(ioaddr, CMR2_h) >> 3) & 0x0f); ioaddr 474 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, CMR2, CMR2_IRQOUT); ioaddr 475 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, CMR1, CMR1h_RxENABLE | CMR1h_TxENABLE); ioaddr 478 drivers/net/ethernet/realtek/atp.c outb(Ctrl_SelData + Ctrl_IRQEN, ioaddr + PAR_CONTROL); ioaddr 481 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, IMR, ISR_RxOK | ISR_TxErr | ISR_TxOK); ioaddr 482 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, IMR, ISRh_RxErr); ioaddr 489 drivers/net/ethernet/realtek/atp.c static void trigger_send(long ioaddr, int length) ioaddr 491 drivers/net/ethernet/realtek/atp.c write_reg_byte(ioaddr, TxCNT0, length & 0xff); ioaddr 492 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, TxCNT1, length >> 8); ioaddr 493 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, CMR1, CMR1_Xmit); ioaddr 496 drivers/net/ethernet/realtek/atp.c static void write_packet(long ioaddr, int length, unsigned char *packet, int pad_len, int data_mode) ioaddr 504 drivers/net/ethernet/realtek/atp.c outb(EOC+MAR, ioaddr + PAR_DATA); ioaddr 507 drivers/net/ethernet/realtek/atp.c outb(WrAddr+MAR, ioaddr + PAR_DATA); ioaddr 509 drivers/net/ethernet/realtek/atp.c write_byte_mode0(ioaddr, *packet++); ioaddr 512 drivers/net/ethernet/realtek/atp.c write_byte_mode0(ioaddr, 0); ioaddr 518 drivers/net/ethernet/realtek/atp.c outb(Ctrl_LNibWrite + Ctrl_IRQEN, ioaddr + PAR_CONTROL); ioaddr 519 drivers/net/ethernet/realtek/atp.c outb(WrAddr+MAR, ioaddr + PAR_DATA); ioaddr 521 drivers/net/ethernet/realtek/atp.c outb((outbyte & 0x0f)|0x40, ioaddr + PAR_DATA); ioaddr 522 drivers/net/ethernet/realtek/atp.c outb(outbyte & 0x0f, ioaddr + PAR_DATA); ioaddr 524 drivers/net/ethernet/realtek/atp.c outb(outbyte & 0x0f, ioaddr + PAR_DATA); ioaddr 525 drivers/net/ethernet/realtek/atp.c outb(Ctrl_HNibWrite + Ctrl_IRQEN, ioaddr + PAR_CONTROL); ioaddr 527 drivers/net/ethernet/realtek/atp.c write_byte_mode1(ioaddr, *packet++); ioaddr 529 drivers/net/ethernet/realtek/atp.c write_byte_mode1(ioaddr, 0); ioaddr 532 drivers/net/ethernet/realtek/atp.c outb(0xff, ioaddr + PAR_DATA); ioaddr 533 drivers/net/ethernet/realtek/atp.c outb(Ctrl_HNibWrite | Ctrl_SelData | Ctrl_IRQEN, ioaddr + PAR_CONTROL); ioaddr 538 drivers/net/ethernet/realtek/atp.c long ioaddr = dev->base_addr; ioaddr 541 drivers/net/ethernet/realtek/atp.c inb(ioaddr + PAR_CONTROL) & 0x10 ? "network cable problem" ioaddr 555 drivers/net/ethernet/realtek/atp.c long ioaddr = dev->base_addr; ioaddr 567 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, IMR, 0); ioaddr 568 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, IMR, 0); ioaddr 571 drivers/net/ethernet/realtek/atp.c write_packet(ioaddr, length, skb->data, length-skb->len, dev->if_port); ioaddr 575 drivers/net/ethernet/realtek/atp.c trigger_send(ioaddr, length); ioaddr 582 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, IMR, ISR_RxOK | ISR_TxErr | ISR_TxOK); ioaddr 583 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, IMR, ISRh_RxErr); ioaddr 596 drivers/net/ethernet/realtek/atp.c long ioaddr; ioaddr 601 drivers/net/ethernet/realtek/atp.c ioaddr = dev->base_addr; ioaddr 607 drivers/net/ethernet/realtek/atp.c outb(Ctrl_SelData, ioaddr + PAR_CONTROL); ioaddr 610 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, CMR2, CMR2_NULL); ioaddr 611 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, IMR, 0); ioaddr 616 drivers/net/ethernet/realtek/atp.c int status = read_nibble(ioaddr, ISR); ioaddr 622 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, ISR, ISR_RxOK); /* Clear the Rx interrupt. */ ioaddr 624 drivers/net/ethernet/realtek/atp.c int read_status = read_nibble(ioaddr, CMR1); ioaddr 632 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, CMR2, CMR2h_OFF); ioaddr 635 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, ISR, ISRh_RxErr); ioaddr 636 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, CMR2, lp->addr_mode); ioaddr 649 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, ISR, ISR_TxErr + ISR_TxOK); ioaddr 659 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, CMR1, CMR1_ReXmit + CMR1_Xmit); ioaddr 665 drivers/net/ethernet/realtek/atp.c trigger_send(ioaddr, lp->saved_tx_size); ioaddr 679 drivers/net/ethernet/realtek/atp.c (read_nibble(ioaddr, CMR1) >> 3) & 15); ioaddr 693 drivers/net/ethernet/realtek/atp.c write_reg_byte(ioaddr, PAR0 + i, dev->dev_addr[i]); ioaddr 700 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, CMR2, CMR2_IRQOUT); ioaddr 702 drivers/net/ethernet/realtek/atp.c outb(Ctrl_SelData + Ctrl_IRQEN, ioaddr + PAR_CONTROL); ioaddr 704 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, IMR, ISR_RxOK | ISR_TxErr | ISR_TxOK); ioaddr 705 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, IMR, ISRh_RxErr); /* Hmmm, really needed? */ ioaddr 720 drivers/net/ethernet/realtek/atp.c long ioaddr = dev->base_addr; ioaddr 728 drivers/net/ethernet/realtek/atp.c write_reg_byte(ioaddr, PAR0 + i, dev->dev_addr[i]); ioaddr 732 drivers/net/ethernet/realtek/atp.c if (read_cmd_byte(ioaddr, PAR0 + i) != atp_timed_dev->dev_addr[i]) ioaddr 735 drivers/net/ethernet/realtek/atp.c write_reg_byte(ioaddr, PAR0 + i, atp_timed_dev->dev_addr[i]); ioaddr 757 drivers/net/ethernet/realtek/atp.c long ioaddr = dev->base_addr; ioaddr 761 drivers/net/ethernet/realtek/atp.c outb(EOC+MAR, ioaddr + PAR_DATA); ioaddr 762 drivers/net/ethernet/realtek/atp.c read_block(ioaddr, 8, (unsigned char*)&rx_head, dev->if_port); ioaddr 775 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, CMR1, CMR1h_TxENABLE); ioaddr 776 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, CMR1, CMR1h_RxENABLE | CMR1h_TxENABLE); ioaddr 792 drivers/net/ethernet/realtek/atp.c read_block(ioaddr, pkt_len, skb_put(skb,pkt_len), dev->if_port); ioaddr 799 drivers/net/ethernet/realtek/atp.c write_reg(ioaddr, CMR1, CMR1_NextPkt); ioaddr 803 drivers/net/ethernet/realtek/atp.c static void read_block(long ioaddr, int length, unsigned char *p, int data_mode) ioaddr 806 drivers/net/ethernet/realtek/atp.c outb(Ctrl_LNibRead, ioaddr + PAR_CONTROL); ioaddr 808 drivers/net/ethernet/realtek/atp.c ioaddr + PAR_DATA); ioaddr 810 drivers/net/ethernet/realtek/atp.c do { *p++ = read_byte_mode0(ioaddr); } while (--length > 0); ioaddr 812 drivers/net/ethernet/realtek/atp.c do { *p++ = read_byte_mode2(ioaddr); } while (--length > 0); ioaddr 815 drivers/net/ethernet/realtek/atp.c do { *p++ = read_byte_mode4(ioaddr); } while (--length > 0); ioaddr 817 drivers/net/ethernet/realtek/atp.c do { *p++ = read_byte_mode6(ioaddr); } while (--length > 0); ioaddr 820 drivers/net/ethernet/realtek/atp.c outb(EOC+HNib+MAR, ioaddr + PAR_DATA); ioaddr 821 drivers/net/ethernet/realtek/atp.c outb(Ctrl_SelData, ioaddr + PAR_CONTROL); ioaddr 829 drivers/net/ethernet/realtek/atp.c long ioaddr = dev->base_addr; ioaddr 837 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, CMR2, CMR2h_OFF); ioaddr 840 drivers/net/ethernet/realtek/atp.c outb(0x00, ioaddr + PAR_CONTROL); ioaddr 844 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, CMR1, CMR1h_RESET | CMR1h_MUX); ioaddr 855 drivers/net/ethernet/realtek/atp.c long ioaddr = dev->base_addr; ioaddr 861 drivers/net/ethernet/realtek/atp.c write_reg_high(ioaddr, CMR2, lp->addr_mode); ioaddr 108 drivers/net/ethernet/realtek/atp.h static inline unsigned char read_byte_mode0(short ioaddr) ioaddr 112 drivers/net/ethernet/realtek/atp.h outb(Ctrl_LNibRead, ioaddr + PAR_CONTROL); ioaddr 113 drivers/net/ethernet/realtek/atp.h inbyte(ioaddr + PAR_STATUS); ioaddr 114 drivers/net/ethernet/realtek/atp.h low_nib = (inbyte(ioaddr + PAR_STATUS) >> 3) & 0x0f; ioaddr 115 drivers/net/ethernet/realtek/atp.h outb(Ctrl_HNibRead, ioaddr + PAR_CONTROL); ioaddr 116 drivers/net/ethernet/realtek/atp.h inbyte(ioaddr + PAR_STATUS); /* Settling time delay -- needed! */ ioaddr 117 drivers/net/ethernet/realtek/atp.h inbyte(ioaddr + PAR_STATUS); /* Settling time delay -- needed! */ ioaddr 118 drivers/net/ethernet/realtek/atp.h return low_nib | ((inbyte(ioaddr + PAR_STATUS) << 1) & 0xf0); ioaddr 122 drivers/net/ethernet/realtek/atp.h static inline unsigned char read_byte_mode2(short ioaddr) ioaddr 126 drivers/net/ethernet/realtek/atp.h outb(Ctrl_LNibRead, ioaddr + PAR_CONTROL); ioaddr 127 drivers/net/ethernet/realtek/atp.h inbyte(ioaddr + PAR_STATUS); ioaddr 128 drivers/net/ethernet/realtek/atp.h low_nib = (inbyte(ioaddr + PAR_STATUS) >> 3) & 0x0f; ioaddr 129 drivers/net/ethernet/realtek/atp.h outb(Ctrl_HNibRead, ioaddr + PAR_CONTROL); ioaddr 130 drivers/net/ethernet/realtek/atp.h inbyte(ioaddr + PAR_STATUS); /* Settling time delay -- needed! */ ioaddr 131 drivers/net/ethernet/realtek/atp.h return low_nib | ((inbyte(ioaddr + PAR_STATUS) << 1) & 0xf0); ioaddr 135 drivers/net/ethernet/realtek/atp.h static inline unsigned char read_byte_mode4(short ioaddr) ioaddr 139 drivers/net/ethernet/realtek/atp.h outb(RdAddr | MAR, ioaddr + PAR_DATA); ioaddr 140 drivers/net/ethernet/realtek/atp.h low_nib = (inbyte(ioaddr + PAR_STATUS) >> 3) & 0x0f; ioaddr 141 drivers/net/ethernet/realtek/atp.h outb(RdAddr | HNib | MAR, ioaddr + PAR_DATA); ioaddr 142 drivers/net/ethernet/realtek/atp.h return low_nib | ((inbyte(ioaddr + PAR_STATUS) << 1) & 0xf0); ioaddr 146 drivers/net/ethernet/realtek/atp.h static inline unsigned char read_byte_mode6(short ioaddr) ioaddr 150 drivers/net/ethernet/realtek/atp.h outb(RdAddr | MAR, ioaddr + PAR_DATA); ioaddr 151 drivers/net/ethernet/realtek/atp.h inbyte(ioaddr + PAR_STATUS); ioaddr 152 drivers/net/ethernet/realtek/atp.h low_nib = (inbyte(ioaddr + PAR_STATUS) >> 3) & 0x0f; ioaddr 153 drivers/net/ethernet/realtek/atp.h outb(RdAddr | HNib | MAR, ioaddr + PAR_DATA); ioaddr 154 drivers/net/ethernet/realtek/atp.h inbyte(ioaddr + PAR_STATUS); ioaddr 155 drivers/net/ethernet/realtek/atp.h return low_nib | ((inbyte(ioaddr + PAR_STATUS) << 1) & 0xf0); ioaddr 224 drivers/net/ethernet/realtek/atp.h static inline void write_byte_mode0(short ioaddr, unsigned char value) ioaddr 226 drivers/net/ethernet/realtek/atp.h outb(value & 0x0f, ioaddr + PAR_DATA); ioaddr 227 drivers/net/ethernet/realtek/atp.h outb((value>>4) | 0x10, ioaddr + PAR_DATA); ioaddr 230 drivers/net/ethernet/realtek/atp.h static inline void write_byte_mode1(short ioaddr, unsigned char value) ioaddr 232 drivers/net/ethernet/realtek/atp.h outb(value & 0x0f, ioaddr + PAR_DATA); ioaddr 233 drivers/net/ethernet/realtek/atp.h outb(Ctrl_IRQEN | Ctrl_LNibWrite, ioaddr + PAR_CONTROL); ioaddr 234 drivers/net/ethernet/realtek/atp.h outb((value>>4) | 0x10, ioaddr + PAR_DATA); ioaddr 235 drivers/net/ethernet/realtek/atp.h outb(Ctrl_IRQEN | Ctrl_HNibWrite, ioaddr + PAR_CONTROL); ioaddr 239 drivers/net/ethernet/realtek/atp.h static inline void write_word_mode0(short ioaddr, unsigned short value) ioaddr 241 drivers/net/ethernet/realtek/atp.h outb(value & 0x0f, ioaddr + PAR_DATA); ioaddr 243 drivers/net/ethernet/realtek/atp.h outb((value & 0x0f) | 0x10, ioaddr + PAR_DATA); ioaddr 245 drivers/net/ethernet/realtek/atp.h outb(value & 0x0f, ioaddr + PAR_DATA); ioaddr 247 drivers/net/ethernet/realtek/atp.h outb((value & 0x0f) | 0x10, ioaddr + PAR_DATA); ioaddr 323 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h void (*core_init)(void __iomem *ioaddr); ioaddr 325 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h void (*dump_regs)(void __iomem *ioaddr); ioaddr 327 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h int (*host_irq_status)(void __iomem *ioaddr, ioaddr 330 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h void (*pmt)(void __iomem *ioaddr, unsigned long mode); ioaddr 332 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h void (*set_umac_addr)(void __iomem *ioaddr, unsigned char *addr, ioaddr 334 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h void (*get_umac_addr)(void __iomem *ioaddr, unsigned char *addr, ioaddr 336 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h void (*enable_rx)(void __iomem *ioaddr, bool enable); ioaddr 337 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h void (*enable_tx)(void __iomem *ioaddr, bool enable); ioaddr 340 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h int (*get_controller_version)(void __iomem *ioaddr); ioaddr 343 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h unsigned int (*get_hw_feature)(void __iomem *ioaddr, ioaddr 346 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h void (*set_speed)(void __iomem *ioaddr, unsigned char speed); ioaddr 349 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h void (*set_eee_mode)(void __iomem *ioaddr); ioaddr 350 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h void (*reset_eee_mode)(void __iomem *ioaddr); ioaddr 351 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h void (*set_eee_timer)(void __iomem *ioaddr, const int ls, ioaddr 353 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h void (*set_eee_pls)(void __iomem *ioaddr, const int link); ioaddr 356 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h void (*enable_rx_csum)(void __iomem *ioaddr); ioaddr 357 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h void (*disable_rx_csum)(void __iomem *ioaddr); ioaddr 358 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h void (*enable_rxqueue)(void __iomem *ioaddr, int queue_num); ioaddr 359 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h void (*disable_rxqueue)(void __iomem *ioaddr, int queue_num); ioaddr 465 drivers/net/ethernet/samsung/sxgbe/sxgbe_common.h void __iomem *ioaddr; ioaddr 21 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static void sxgbe_core_init(void __iomem *ioaddr) ioaddr 26 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c regval = readl(ioaddr + SXGBE_CORE_TX_CONFIG_REG); ioaddr 31 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c writel(regval, ioaddr + SXGBE_CORE_TX_CONFIG_REG); ioaddr 34 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c regval = readl(ioaddr + SXGBE_CORE_RX_CONFIG_REG); ioaddr 40 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c writel(regval, ioaddr + SXGBE_CORE_RX_CONFIG_REG); ioaddr 44 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static void sxgbe_core_dump_regs(void __iomem *ioaddr) ioaddr 48 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static int sxgbe_get_lpi_status(void __iomem *ioaddr, const u32 irq_status) ioaddr 54 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c lpi_status = readl(ioaddr + SXGBE_CORE_LPI_CTRL_STATUS); ioaddr 69 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static int sxgbe_core_host_irq_status(void __iomem *ioaddr, ioaddr 74 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c irq_status = readl(ioaddr + SXGBE_CORE_INT_STATUS_REG); ioaddr 77 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c status |= sxgbe_get_lpi_status(ioaddr, irq_status); ioaddr 83 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static void sxgbe_core_pmt(void __iomem *ioaddr, unsigned long mode) ioaddr 88 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static void sxgbe_core_set_umac_addr(void __iomem *ioaddr, unsigned char *addr, ioaddr 96 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c writel(high_word, ioaddr + SXGBE_CORE_ADD_HIGHOFFSET(reg_n)); ioaddr 97 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c writel(low_word, ioaddr + SXGBE_CORE_ADD_LOWOFFSET(reg_n)); ioaddr 100 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static void sxgbe_core_get_umac_addr(void __iomem *ioaddr, unsigned char *addr, ioaddr 105 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c high_word = readl(ioaddr + SXGBE_CORE_ADD_HIGHOFFSET(reg_n)); ioaddr 106 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c low_word = readl(ioaddr + SXGBE_CORE_ADD_LOWOFFSET(reg_n)); ioaddr 117 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static void sxgbe_enable_tx(void __iomem *ioaddr, bool enable) ioaddr 121 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c tx_config = readl(ioaddr + SXGBE_CORE_TX_CONFIG_REG); ioaddr 126 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c writel(tx_config, ioaddr + SXGBE_CORE_TX_CONFIG_REG); ioaddr 129 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static void sxgbe_enable_rx(void __iomem *ioaddr, bool enable) ioaddr 133 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c rx_config = readl(ioaddr + SXGBE_CORE_RX_CONFIG_REG); ioaddr 138 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c writel(rx_config, ioaddr + SXGBE_CORE_RX_CONFIG_REG); ioaddr 141 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static int sxgbe_get_controller_version(void __iomem *ioaddr) ioaddr 143 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c return readl(ioaddr + SXGBE_CORE_VERSION_REG); ioaddr 147 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static unsigned int sxgbe_get_hw_feature(void __iomem *ioaddr, ioaddr 150 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c return readl(ioaddr + (SXGBE_CORE_HW_FEA_REG(feature_index))); ioaddr 153 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static void sxgbe_core_set_speed(void __iomem *ioaddr, unsigned char speed) ioaddr 155 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c u32 tx_cfg = readl(ioaddr + SXGBE_CORE_TX_CONFIG_REG); ioaddr 162 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c writel(tx_cfg, ioaddr + SXGBE_CORE_TX_CONFIG_REG); ioaddr 165 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static void sxgbe_core_enable_rxqueue(void __iomem *ioaddr, int queue_num) ioaddr 169 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c reg_val = readl(ioaddr + SXGBE_CORE_RX_CTL0_REG); ioaddr 172 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c writel(reg_val, ioaddr + SXGBE_CORE_RX_CTL0_REG); ioaddr 175 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static void sxgbe_core_disable_rxqueue(void __iomem *ioaddr, int queue_num) ioaddr 179 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c reg_val = readl(ioaddr + SXGBE_CORE_RX_CTL0_REG); ioaddr 182 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c writel(reg_val, ioaddr + SXGBE_CORE_RX_CTL0_REG); ioaddr 185 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static void sxgbe_set_eee_mode(void __iomem *ioaddr) ioaddr 194 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c ctrl = readl(ioaddr + SXGBE_CORE_LPI_CTRL_STATUS); ioaddr 196 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c writel(ctrl, ioaddr + SXGBE_CORE_LPI_CTRL_STATUS); ioaddr 199 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static void sxgbe_reset_eee_mode(void __iomem *ioaddr) ioaddr 203 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c ctrl = readl(ioaddr + SXGBE_CORE_LPI_CTRL_STATUS); ioaddr 205 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c writel(ctrl, ioaddr + SXGBE_CORE_LPI_CTRL_STATUS); ioaddr 208 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static void sxgbe_set_eee_pls(void __iomem *ioaddr, const int link) ioaddr 212 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c ctrl = readl(ioaddr + SXGBE_CORE_LPI_CTRL_STATUS); ioaddr 220 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c writel(ctrl, ioaddr + SXGBE_CORE_LPI_CTRL_STATUS); ioaddr 223 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static void sxgbe_set_eee_timer(void __iomem *ioaddr, ioaddr 235 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c writel(value, ioaddr + SXGBE_CORE_LPI_TIMER_CTRL); ioaddr 238 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static void sxgbe_enable_rx_csum(void __iomem *ioaddr) ioaddr 242 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c ctrl = readl(ioaddr + SXGBE_CORE_RX_CONFIG_REG); ioaddr 244 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c writel(ctrl, ioaddr + SXGBE_CORE_RX_CONFIG_REG); ioaddr 247 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c static void sxgbe_disable_rx_csum(void __iomem *ioaddr) ioaddr 251 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c ctrl = readl(ioaddr + SXGBE_CORE_RX_CONFIG_REG); ioaddr 253 drivers/net/ethernet/samsung/sxgbe/sxgbe_core.c writel(ctrl, ioaddr + SXGBE_CORE_RX_CONFIG_REG); ioaddr 21 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c static int sxgbe_dma_init(void __iomem *ioaddr, int fix_burst, int burst_map) ioaddr 25 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c reg_val = readl(ioaddr + SXGBE_DMA_SYSBUS_MODE_REG); ioaddr 38 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(reg_val, ioaddr + SXGBE_DMA_SYSBUS_MODE_REG); ioaddr 43 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c static void sxgbe_dma_channel_init(void __iomem *ioaddr, int cha_num, ioaddr 50 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c reg_val = readl(ioaddr + SXGBE_DMA_CHA_CTL_REG(cha_num)); ioaddr 54 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(reg_val, ioaddr + SXGBE_DMA_CHA_CTL_REG(cha_num)); ioaddr 56 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c reg_val = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cha_num)); ioaddr 58 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(reg_val, ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cha_num)); ioaddr 60 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c reg_val = readl(ioaddr + SXGBE_DMA_CHA_RXCTL_REG(cha_num)); ioaddr 62 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(reg_val, ioaddr + SXGBE_DMA_CHA_RXCTL_REG(cha_num)); ioaddr 67 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_TXDESC_HADD_REG(cha_num)); ioaddr 69 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_TXDESC_LADD_REG(cha_num)); ioaddr 72 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_RXDESC_HADD_REG(cha_num)); ioaddr 74 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_RXDESC_LADD_REG(cha_num)); ioaddr 82 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_TXDESC_TAILPTR_REG(cha_num)); ioaddr 86 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_RXDESC_LADD_REG(cha_num)); ioaddr 88 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(t_rsize - 1, ioaddr + SXGBE_DMA_CHA_TXDESC_RINGLEN_REG(cha_num)); ioaddr 89 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(r_rsize - 1, ioaddr + SXGBE_DMA_CHA_RXDESC_RINGLEN_REG(cha_num)); ioaddr 93 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_INT_ENABLE_REG(cha_num)); ioaddr 96 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c static void sxgbe_enable_dma_transmission(void __iomem *ioaddr, int cha_num) ioaddr 100 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c tx_config = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cha_num)); ioaddr 102 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(tx_config, ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cha_num)); ioaddr 105 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c static void sxgbe_enable_dma_irq(void __iomem *ioaddr, int dma_cnum) ioaddr 109 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_INT_ENABLE_REG(dma_cnum)); ioaddr 112 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c static void sxgbe_disable_dma_irq(void __iomem *ioaddr, int dma_cnum) ioaddr 115 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(0, ioaddr + SXGBE_DMA_CHA_INT_ENABLE_REG(dma_cnum)); ioaddr 118 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c static void sxgbe_dma_start_tx(void __iomem *ioaddr, int tchannels) ioaddr 124 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c tx_ctl_reg = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cnum)); ioaddr 127 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cnum)); ioaddr 131 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c static void sxgbe_dma_start_tx_queue(void __iomem *ioaddr, int dma_cnum) ioaddr 135 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c tx_ctl_reg = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(dma_cnum)); ioaddr 137 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(tx_ctl_reg, ioaddr + SXGBE_DMA_CHA_TXCTL_REG(dma_cnum)); ioaddr 140 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c static void sxgbe_dma_stop_tx_queue(void __iomem *ioaddr, int dma_cnum) ioaddr 144 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c tx_ctl_reg = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(dma_cnum)); ioaddr 146 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(tx_ctl_reg, ioaddr + SXGBE_DMA_CHA_TXCTL_REG(dma_cnum)); ioaddr 149 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c static void sxgbe_dma_stop_tx(void __iomem *ioaddr, int tchannels) ioaddr 155 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c tx_ctl_reg = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cnum)); ioaddr 157 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(tx_ctl_reg, ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cnum)); ioaddr 161 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c static void sxgbe_dma_start_rx(void __iomem *ioaddr, int rchannels) ioaddr 167 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c rx_ctl_reg = readl(ioaddr + SXGBE_DMA_CHA_RXCTL_REG(cnum)); ioaddr 170 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_RXCTL_REG(cnum)); ioaddr 174 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c static void sxgbe_dma_stop_rx(void __iomem *ioaddr, int rchannels) ioaddr 180 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c rx_ctl_reg = readl(ioaddr + SXGBE_DMA_CHA_RXCTL_REG(cnum)); ioaddr 182 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(rx_ctl_reg, ioaddr + SXGBE_DMA_CHA_RXCTL_REG(cnum)); ioaddr 186 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c static int sxgbe_tx_dma_int_status(void __iomem *ioaddr, int channel_no, ioaddr 189 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c u32 int_status = readl(ioaddr + SXGBE_DMA_CHA_STATUS_REG(channel_no)); ioaddr 253 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(clear_val, ioaddr + SXGBE_DMA_CHA_STATUS_REG(channel_no)); ioaddr 258 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c static int sxgbe_rx_dma_int_status(void __iomem *ioaddr, int channel_no, ioaddr 261 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c u32 int_status = readl(ioaddr + SXGBE_DMA_CHA_STATUS_REG(channel_no)); ioaddr 319 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(clear_val, ioaddr + SXGBE_DMA_CHA_STATUS_REG(channel_no)); ioaddr 325 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c static void sxgbe_dma_rx_watchdog(void __iomem *ioaddr, u32 riwt) ioaddr 331 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ioaddr + SXGBE_DMA_CHA_INT_RXWATCHTMR_REG(que_num)); ioaddr 335 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c static void sxgbe_enable_tso(void __iomem *ioaddr, u8 chan_num) ioaddr 339 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c ctrl = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(chan_num)); ioaddr 341 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.c writel(ctrl, ioaddr + SXGBE_DMA_CHA_TXCTL_REG(chan_num)); ioaddr 22 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h int (*init)(void __iomem *ioaddr, int fix_burst, int burst_map); ioaddr 23 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h void (*cha_init)(void __iomem *ioaddr, int cha_num, int fix_burst, ioaddr 26 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h void (*enable_dma_transmission)(void __iomem *ioaddr, int dma_cnum); ioaddr 27 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h void (*enable_dma_irq)(void __iomem *ioaddr, int dma_cnum); ioaddr 28 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h void (*disable_dma_irq)(void __iomem *ioaddr, int dma_cnum); ioaddr 29 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h void (*start_tx)(void __iomem *ioaddr, int tchannels); ioaddr 30 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h void (*start_tx_queue)(void __iomem *ioaddr, int dma_cnum); ioaddr 31 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h void (*stop_tx)(void __iomem *ioaddr, int tchannels); ioaddr 32 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h void (*stop_tx_queue)(void __iomem *ioaddr, int dma_cnum); ioaddr 33 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h void (*start_rx)(void __iomem *ioaddr, int rchannels); ioaddr 34 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h void (*stop_rx)(void __iomem *ioaddr, int rchannels); ioaddr 35 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h int (*tx_dma_int_status)(void __iomem *ioaddr, int channel_no, ioaddr 37 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h int (*rx_dma_int_status)(void __iomem *ioaddr, int channel_no, ioaddr 40 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h void (*rx_watchdog)(void __iomem *ioaddr, u32 riwt); ioaddr 42 drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h void (*enable_tso)(void __iomem *ioaddr, u8 chan_num); ioaddr 304 drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c priv->hw->dma->rx_watchdog(priv->ioaddr, priv->rx_riwt); ioaddr 415 drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c reg_val |= readl(priv->ioaddr + SXGBE_CORE_RSS_CTL_REG); ioaddr 416 drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c writel(reg_val, priv->ioaddr + SXGBE_CORE_RSS_CTL_REG); ioaddr 417 drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c readl(priv->ioaddr + SXGBE_CORE_RSS_CTL_REG); ioaddr 445 drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c void __iomem *ioaddr = priv->ioaddr; ioaddr 452 drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c reg_space[reg_ix] = readl(ioaddr + reg_offset); ioaddr 459 drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c reg_space[reg_ix] = readl(ioaddr + reg_offset); ioaddr 466 drivers/net/ethernet/samsung/sxgbe/sxgbe_ethtool.c reg_space[reg_ix] = readl(ioaddr + reg_offset); ioaddr 87 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->set_eee_mode(priv->ioaddr); ioaddr 93 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->reset_eee_mode(priv->ioaddr); ioaddr 138 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->set_eee_timer(priv->ioaddr, ioaddr 159 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->set_eee_pls(priv->ioaddr, ndev->phydev->link); ioaddr 236 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->set_speed(priv->ioaddr, speed); ioaddr 702 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mtl->set_tx_mtl_mode(priv->ioaddr, queue_num, ioaddr 708 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mtl->set_rx_mtl_mode(priv->ioaddr, queue_num, ioaddr 714 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mtl->set_tx_mtl_mode(priv->ioaddr, queue_num, ioaddr 718 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mtl->set_rx_mtl_mode(priv->ioaddr, queue_num, ioaddr 823 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->dma->stop_tx_queue(priv->ioaddr, queue_num); ioaddr 833 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->dma->start_tx_queue(priv->ioaddr, queue_num); ioaddr 873 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c rval = priv->hw->mac->get_hw_feature(priv->ioaddr, 0); ioaddr 890 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c rval = priv->hw->mac->get_hw_feature(priv->ioaddr, 1); ioaddr 905 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c rval = priv->hw->mac->get_hw_feature(priv->ioaddr, 2); ioaddr 929 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->ioaddr, ioaddr 958 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->dma->cha_init(priv->ioaddr, queue_num, ioaddr 964 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c return priv->hw->dma->init(priv->ioaddr, fixed_burst, burst_map); ioaddr 978 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mtl->mtl_set_txfifosize(priv->ioaddr, queue_num, ioaddr 980 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mtl->mtl_enable_txqueue(priv->ioaddr, queue_num); ioaddr 995 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mtl->mtl_disable_txqueue(priv->ioaddr, queue_num); ioaddr 1088 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->set_umac_addr(priv->ioaddr, dev->dev_addr, 0); ioaddr 1091 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->core_init(priv->ioaddr); ioaddr 1093 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->enable_rxqueue(priv->ioaddr, queue_num); ioaddr 1146 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->enable_tx(priv->ioaddr, true); ioaddr 1147 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->enable_rx(priv->ioaddr, true); ioaddr 1160 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->dma->start_tx(priv->ioaddr, SXGBE_TX_QUEUES); ioaddr 1161 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->dma->start_rx(priv->ioaddr, SXGBE_RX_QUEUES); ioaddr 1171 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->dma->rx_watchdog(priv->ioaddr, SXGBE_MAX_DMA_RIWT); ioaddr 1219 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->dma->stop_tx(priv->ioaddr, SXGBE_TX_QUEUES); ioaddr 1220 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->dma->stop_rx(priv->ioaddr, SXGBE_RX_QUEUES); ioaddr 1229 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->enable_tx(priv->ioaddr, false); ioaddr 1230 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->enable_rx(priv->ioaddr, false); ioaddr 1418 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->dma->enable_dma_transmission(priv->ioaddr, txq_index); ioaddr 1561 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->dma->enable_dma_irq(priv->ioaddr, qnum); ioaddr 1596 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c status = priv->hw->mac->host_irq_status(priv->ioaddr, &priv->xstats); ioaddr 1627 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c status = priv->hw->dma->tx_dma_int_status(priv->ioaddr, txq->queue_no, ioaddr 1643 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mtl->set_tx_mtl_mode(priv->ioaddr, ioaddr 1664 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c status = priv->hw->dma->rx_dma_int_status(priv->ioaddr, rxq->queue_no, ioaddr 1668 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->dma->disable_dma_irq(priv->ioaddr, rxq->queue_no); ioaddr 1678 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mtl->set_rx_mtl_mode(priv->ioaddr, ioaddr 1686 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c static inline u64 sxgbe_get_stat64(void __iomem *ioaddr, int reg_lo, int reg_hi) ioaddr 1688 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c u64 val = readl(ioaddr + reg_lo); ioaddr 1690 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c val |= ((u64)readl(ioaddr + reg_hi)) << 32; ioaddr 1708 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c void __iomem *ioaddr = priv->ioaddr; ioaddr 1715 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c writel(SXGBE_MMC_CTRL_CNT_FRZ, ioaddr + SXGBE_MMC_CTL_REG); ioaddr 1717 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c stats->rx_bytes = sxgbe_get_stat64(ioaddr, ioaddr 1721 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c stats->rx_packets = sxgbe_get_stat64(ioaddr, ioaddr 1725 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c stats->multicast = sxgbe_get_stat64(ioaddr, ioaddr 1729 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c stats->rx_crc_errors = sxgbe_get_stat64(ioaddr, ioaddr 1733 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c stats->rx_length_errors = sxgbe_get_stat64(ioaddr, ioaddr 1737 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c stats->rx_missed_errors = sxgbe_get_stat64(ioaddr, ioaddr 1741 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c stats->tx_bytes = sxgbe_get_stat64(ioaddr, ioaddr 1745 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c count = sxgbe_get_stat64(ioaddr, SXGBE_MMC_TXFRAMELO_GBCNT_REG, ioaddr 1748 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c stats->tx_errors = sxgbe_get_stat64(ioaddr, SXGBE_MMC_TXFRAMELO_GCNT_REG, ioaddr 1752 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c stats->tx_fifo_errors = sxgbe_get_stat64(ioaddr, SXGBE_MMC_TXUFLWLO_GBCNT_REG, ioaddr 1754 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c writel(0, ioaddr + SXGBE_MMC_CTL_REG); ioaddr 1775 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->enable_rx_csum(priv->ioaddr); ioaddr 1778 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->disable_rx_csum(priv->ioaddr); ioaddr 1811 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c static void sxgbe_set_umac_addr(void __iomem *ioaddr, unsigned char *addr, ioaddr 1821 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c writel(data | SXGBE_HI_REG_AE, ioaddr + SXGBE_ADDR_HIGH(reg_n)); ioaddr 1823 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c writel(data, ioaddr + SXGBE_ADDR_LOW(reg_n)); ioaddr 1840 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c void __iomem *ioaddr = (void __iomem *)priv->ioaddr; ioaddr 1855 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c writel(0xffffffff, ioaddr + SXGBE_HASH_HIGH); ioaddr 1856 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c writel(0xffffffff, ioaddr + SXGBE_HASH_LOW); ioaddr 1875 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c writel(mc_filter[0], ioaddr + SXGBE_HASH_LOW); ioaddr 1876 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c writel(mc_filter[1], ioaddr + SXGBE_HASH_HIGH); ioaddr 1887 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c sxgbe_set_umac_addr(ioaddr, ha->addr, reg); ioaddr 1895 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c writel(value, ioaddr + SXGBE_FRAME_FILTER); ioaddr 1898 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c readl(ioaddr + SXGBE_FRAME_FILTER), ioaddr 1899 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c readl(ioaddr + SXGBE_HASH_HIGH), ioaddr 1900 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c readl(ioaddr + SXGBE_HASH_LOW)); ioaddr 2008 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c ctrl_ids = priv->hw->mac->get_controller_version(priv->ioaddr); ioaddr 2075 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->ioaddr = addr; ioaddr 2077 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c ret = sxgbe_sw_reset(priv->ioaddr); ioaddr 2118 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->dma->enable_tso(priv->ioaddr, queue_num); ioaddr 2124 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->enable_rx_csum(priv->ioaddr); ioaddr 2206 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->disable_rxqueue(priv->ioaddr, queue_num); ioaddr 2209 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->dma->stop_rx(priv->ioaddr, SXGBE_RX_QUEUES); ioaddr 2210 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->dma->stop_tx(priv->ioaddr, SXGBE_TX_QUEUES); ioaddr 2212 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->enable_tx(priv->ioaddr, false); ioaddr 2213 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c priv->hw->mac->enable_rx(priv->ioaddr, false); ioaddr 29 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c static int sxgbe_mdio_busy_wait(void __iomem *ioaddr, unsigned int mii_data) ioaddr 34 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c if (!(readl(ioaddr + mii_data) & SXGBE_MII_BUSY)) ioaddr 49 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c writel(reg, sp->ioaddr + sp->hw->mii.data); ioaddr 60 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c writel(reg, sp->ioaddr + sp->hw->mii.addr); ioaddr 70 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c writel(1 << phyaddr, sp->ioaddr + SXGBE_MDIO_CLAUSE22_PORT_REG); ioaddr 74 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c writel(reg, sp->ioaddr + sp->hw->mii.addr); ioaddr 85 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c rc = sxgbe_mdio_busy_wait(sp->ioaddr, mii->data); ioaddr 99 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c return sxgbe_mdio_busy_wait(sp->ioaddr, mii->data); ioaddr 119 drivers/net/ethernet/samsung/sxgbe/sxgbe_mdio.c return readl(priv->ioaddr + priv->hw->mii.data) & 0xffff; ioaddr 20 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c static void sxgbe_mtl_init(void __iomem *ioaddr, unsigned int etsalg, ioaddr 25 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c reg_val = readl(ioaddr + SXGBE_MTL_OP_MODE_REG); ioaddr 40 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(reg_val, ioaddr + SXGBE_MTL_OP_MODE_REG); ioaddr 50 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(reg_val, ioaddr + SXGBE_MTL_OP_MODE_REG); ioaddr 54 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c static void sxgbe_mtl_dma_dm_rxqueue(void __iomem *ioaddr) ioaddr 56 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(RX_QUEUE_DYNAMIC, ioaddr + SXGBE_MTL_RXQ_DMAMAP0_REG); ioaddr 57 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(RX_QUEUE_DYNAMIC, ioaddr + SXGBE_MTL_RXQ_DMAMAP1_REG); ioaddr 58 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(RX_QUEUE_DYNAMIC, ioaddr + SXGBE_MTL_RXQ_DMAMAP2_REG); ioaddr 61 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c static void sxgbe_mtl_set_txfifosize(void __iomem *ioaddr, int queue_num, ioaddr 68 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c reg_val = readl(ioaddr + SXGBE_MTL_TXQ_OPMODE_REG(queue_num)); ioaddr 70 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(reg_val, ioaddr + SXGBE_MTL_TXQ_OPMODE_REG(queue_num)); ioaddr 73 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c static void sxgbe_mtl_set_rxfifosize(void __iomem *ioaddr, int queue_num, ioaddr 80 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c reg_val = readl(ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 82 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(reg_val, ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 85 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c static void sxgbe_mtl_enable_txqueue(void __iomem *ioaddr, int queue_num) ioaddr 89 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c reg_val = readl(ioaddr + SXGBE_MTL_TXQ_OPMODE_REG(queue_num)); ioaddr 91 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(reg_val, ioaddr + SXGBE_MTL_TXQ_OPMODE_REG(queue_num)); ioaddr 94 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c static void sxgbe_mtl_disable_txqueue(void __iomem *ioaddr, int queue_num) ioaddr 98 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c reg_val = readl(ioaddr + SXGBE_MTL_TXQ_OPMODE_REG(queue_num)); ioaddr 100 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(reg_val, ioaddr + SXGBE_MTL_TXQ_OPMODE_REG(queue_num)); ioaddr 103 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c static void sxgbe_mtl_fc_active(void __iomem *ioaddr, int queue_num, ioaddr 108 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c reg_val = readl(ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 112 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(reg_val, ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 115 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c static void sxgbe_mtl_fc_enable(void __iomem *ioaddr, int queue_num) ioaddr 119 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c reg_val = readl(ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 121 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(reg_val, ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 124 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c static void sxgbe_mtl_fc_deactive(void __iomem *ioaddr, int queue_num, ioaddr 129 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c reg_val = readl(ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 133 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(reg_val, ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 136 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c static void sxgbe_mtl_fep_enable(void __iomem *ioaddr, int queue_num) ioaddr 140 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c reg_val = readl(ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 143 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(reg_val, ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 146 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c static void sxgbe_mtl_fep_disable(void __iomem *ioaddr, int queue_num) ioaddr 150 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c reg_val = readl(ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 153 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(reg_val, ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 156 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c static void sxgbe_mtl_fup_enable(void __iomem *ioaddr, int queue_num) ioaddr 160 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c reg_val = readl(ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 163 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(reg_val, ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 166 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c static void sxgbe_mtl_fup_disable(void __iomem *ioaddr, int queue_num) ioaddr 170 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c reg_val = readl(ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 173 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(reg_val, ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 177 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c static void sxgbe_set_tx_mtl_mode(void __iomem *ioaddr, int queue_num, ioaddr 182 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c reg_val = readl(ioaddr + SXGBE_MTL_TXQ_OPMODE_REG(queue_num)); ioaddr 205 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(reg_val, ioaddr + SXGBE_MTL_TXQ_OPMODE_REG(queue_num)); ioaddr 208 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c static void sxgbe_set_rx_mtl_mode(void __iomem *ioaddr, int queue_num, ioaddr 213 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c reg_val = readl(ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 227 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.c writel(reg_val, ioaddr + SXGBE_MTL_RXQ_OPMODE_REG(queue_num)); ioaddr 61 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.h void (*mtl_init)(void __iomem *ioaddr, unsigned int etsalg, ioaddr 64 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.h void (*mtl_set_txfifosize)(void __iomem *ioaddr, int queue_num, ioaddr 67 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.h void (*mtl_set_rxfifosize)(void __iomem *ioaddr, int queue_num, ioaddr 70 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.h void (*mtl_enable_txqueue)(void __iomem *ioaddr, int queue_num); ioaddr 72 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.h void (*mtl_disable_txqueue)(void __iomem *ioaddr, int queue_num); ioaddr 74 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.h void (*set_tx_mtl_mode)(void __iomem *ioaddr, int queue_num, ioaddr 77 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.h void (*set_rx_mtl_mode)(void __iomem *ioaddr, int queue_num, ioaddr 80 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.h void (*mtl_dynamic_dma_rxqueue)(void __iomem *ioaddr); ioaddr 82 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.h void (*mtl_fc_active)(void __iomem *ioaddr, int queue_num, ioaddr 85 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.h void (*mtl_fc_deactive)(void __iomem *ioaddr, int queue_num, ioaddr 88 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.h void (*mtl_fc_enable)(void __iomem *ioaddr, int queue_num); ioaddr 90 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.h void (*mtl_fep_enable)(void __iomem *ioaddr, int queue_num); ioaddr 92 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.h void (*mtl_fep_disable)(void __iomem *ioaddr, int queue_num); ioaddr 94 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.h void (*mtl_fup_enable)(void __iomem *ioaddr, int queue_num); ioaddr 96 drivers/net/ethernet/samsung/sxgbe/sxgbe_mtl.h void (*mtl_fup_disable)(void __iomem *ioaddr, int queue_num); ioaddr 74 drivers/net/ethernet/sis/sis190.c #define SIS_W8(reg, val) writeb ((val), ioaddr + (reg)) ioaddr 75 drivers/net/ethernet/sis/sis190.c #define SIS_W16(reg, val) writew ((val), ioaddr + (reg)) ioaddr 76 drivers/net/ethernet/sis/sis190.c #define SIS_W32(reg, val) writel ((val), ioaddr + (reg)) ioaddr 77 drivers/net/ethernet/sis/sis190.c #define SIS_R8(reg) readb (ioaddr + (reg)) ioaddr 78 drivers/net/ethernet/sis/sis190.c #define SIS_R16(reg) readw (ioaddr + (reg)) ioaddr 79 drivers/net/ethernet/sis/sis190.c #define SIS_R32(reg) readl (ioaddr + (reg)) ioaddr 365 drivers/net/ethernet/sis/sis190.c static void __mdio_cmd(void __iomem *ioaddr, u32 ctl) ioaddr 383 drivers/net/ethernet/sis/sis190.c static void mdio_write(void __iomem *ioaddr, int phy_id, int reg, int val) ioaddr 385 drivers/net/ethernet/sis/sis190.c __mdio_cmd(ioaddr, EhnMIIreq | EhnMIIwrite | ioaddr 390 drivers/net/ethernet/sis/sis190.c static int mdio_read(void __iomem *ioaddr, int phy_id, int reg) ioaddr 392 drivers/net/ethernet/sis/sis190.c __mdio_cmd(ioaddr, EhnMIIreq | EhnMIIread | ioaddr 412 drivers/net/ethernet/sis/sis190.c static u16 mdio_read_latched(void __iomem *ioaddr, int phy_id, int reg) ioaddr 414 drivers/net/ethernet/sis/sis190.c mdio_read(ioaddr, phy_id, reg); ioaddr 415 drivers/net/ethernet/sis/sis190.c return mdio_read(ioaddr, phy_id, reg); ioaddr 418 drivers/net/ethernet/sis/sis190.c static u16 sis190_read_eeprom(void __iomem *ioaddr, u32 reg) ioaddr 439 drivers/net/ethernet/sis/sis190.c static void sis190_irq_mask_and_ack(void __iomem *ioaddr) ioaddr 446 drivers/net/ethernet/sis/sis190.c static void sis190_asic_down(void __iomem *ioaddr) ioaddr 453 drivers/net/ethernet/sis/sis190.c sis190_irq_mask_and_ack(ioaddr); ioaddr 575 drivers/net/ethernet/sis/sis190.c struct sis190_private *tp, void __iomem *ioaddr) ioaddr 684 drivers/net/ethernet/sis/sis190.c struct sis190_private *tp, void __iomem *ioaddr) ioaddr 736 drivers/net/ethernet/sis/sis190.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 748 drivers/net/ethernet/sis/sis190.c sis190_asic_down(ioaddr); ioaddr 763 drivers/net/ethernet/sis/sis190.c sis190_rx_interrupt(dev, tp, ioaddr); ioaddr 766 drivers/net/ethernet/sis/sis190.c sis190_tx_interrupt(dev, tp, ioaddr); ioaddr 835 drivers/net/ethernet/sis/sis190.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 872 drivers/net/ethernet/sis/sis190.c static void sis190_soft_reset(void __iomem *ioaddr) ioaddr 877 drivers/net/ethernet/sis/sis190.c sis190_asic_down(ioaddr); ioaddr 883 drivers/net/ethernet/sis/sis190.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 885 drivers/net/ethernet/sis/sis190.c sis190_soft_reset(ioaddr); ioaddr 918 drivers/net/ethernet/sis/sis190.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 927 drivers/net/ethernet/sis/sis190.c val = mdio_read(ioaddr, phy_id, MII_BMCR); ioaddr 934 drivers/net/ethernet/sis/sis190.c val = mdio_read_latched(ioaddr, phy_id, MII_BMSR); ioaddr 962 drivers/net/ethernet/sis/sis190.c val = mdio_read(ioaddr, phy_id, 0x1f); ioaddr 965 drivers/net/ethernet/sis/sis190.c val = mdio_read(ioaddr, phy_id, MII_LPA); ioaddr 966 drivers/net/ethernet/sis/sis190.c adv = mdio_read(ioaddr, phy_id, MII_ADVERTISE); ioaddr 967 drivers/net/ethernet/sis/sis190.c autoexp = mdio_read(ioaddr, phy_id, MII_EXPANSION); ioaddr 973 drivers/net/ethernet/sis/sis190.c gigadv = mdio_read(ioaddr, phy_id, MII_CTRL1000); ioaddr 974 drivers/net/ethernet/sis/sis190.c gigrec = mdio_read(ioaddr, phy_id, MII_STAT1000); ioaddr 995 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, phy_id, 0x18, 0xf1c7); ioaddr 997 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, phy_id, 0x1c, 0x8c00); ioaddr 1126 drivers/net/ethernet/sis/sis190.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1136 drivers/net/ethernet/sis/sis190.c sis190_asic_down(ioaddr); ioaddr 1175 drivers/net/ethernet/sis/sis190.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1265 drivers/net/ethernet/sis/sis190.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1271 drivers/net/ethernet/sis/sis190.c status = mdio_read_latched(ioaddr, phy->phy_id, MII_BMSR); ioaddr 1279 drivers/net/ethernet/sis/sis190.c status = mdio_read(ioaddr, phy->phy_id, MII_BMCR); ioaddr 1280 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, phy->phy_id, MII_BMCR, ioaddr 1306 drivers/net/ethernet/sis/sis190.c status = mdio_read(ioaddr, mii_if->phy_id, MII_BMCR); ioaddr 1309 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, mii_if->phy_id, MII_BMCR, status); ioaddr 1310 drivers/net/ethernet/sis/sis190.c status = mdio_read_latched(ioaddr, mii_if->phy_id, MII_BMSR); ioaddr 1319 drivers/net/ethernet/sis/sis190.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1326 drivers/net/ethernet/sis/sis190.c phy->id[0] = mdio_read(ioaddr, phy_id, MII_PHYSID1); ioaddr 1327 drivers/net/ethernet/sis/sis190.c phy->id[1] = mdio_read(ioaddr, phy_id, MII_PHYSID2); ioaddr 1356 drivers/net/ethernet/sis/sis190.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1365 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, phy_id, 0x1b, p[0]); ioaddr 1367 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, phy_id, 0x14, p[1]); ioaddr 1384 drivers/net/ethernet/sis/sis190.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1394 drivers/net/ethernet/sis/sis190.c status = mdio_read_latched(ioaddr, phy_id, MII_BMSR); ioaddr 1456 drivers/net/ethernet/sis/sis190.c void __iomem *ioaddr; ioaddr 1511 drivers/net/ethernet/sis/sis190.c ioaddr = ioremap(pci_resource_start(pdev, 0), SIS190_REGS_SIZE); ioaddr 1512 drivers/net/ethernet/sis/sis190.c if (!ioaddr) { ioaddr 1521 drivers/net/ethernet/sis/sis190.c tp->mmio_addr = ioaddr; ioaddr 1524 drivers/net/ethernet/sis/sis190.c sis190_irq_mask_and_ack(ioaddr); ioaddr 1526 drivers/net/ethernet/sis/sis190.c sis190_soft_reset(ioaddr); ioaddr 1544 drivers/net/ethernet/sis/sis190.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1578 drivers/net/ethernet/sis/sis190.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1586 drivers/net/ethernet/sis/sis190.c sig = (u16) sis190_read_eeprom(ioaddr, EEPROMSignature); ioaddr 1597 drivers/net/ethernet/sis/sis190.c u16 w = sis190_read_eeprom(ioaddr, EEPROMMACAddr + i); ioaddr 1602 drivers/net/ethernet/sis/sis190.c sis190_set_rgmii(tp, sis190_read_eeprom(ioaddr, EEPROMInfo)); ioaddr 1675 drivers/net/ethernet/sis/sis190.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1713 drivers/net/ethernet/sis/sis190.c void __iomem *ioaddr = tp->mmio_addr; ioaddr 1719 drivers/net/ethernet/sis/sis190.c val = mdio_read(ioaddr, phy_id, MII_ADVERTISE); ioaddr 1723 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, phy_id, MII_ADVERTISE, (val & ADVERTISE_SLCT) | ioaddr 1728 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, phy_id, MII_CTRL1000, ADVERTISE_1000FULL); ioaddr 1731 drivers/net/ethernet/sis/sis190.c mdio_write(ioaddr, phy_id, MII_BMCR, ioaddr 1851 drivers/net/ethernet/sis/sis190.c void __iomem *ioaddr; ioaddr 1869 drivers/net/ethernet/sis/sis190.c ioaddr = tp->mmio_addr; ioaddr 1898 drivers/net/ethernet/sis/sis190.c ioaddr, pdev->irq, dev->dev_addr); ioaddr 172 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr; ioaddr 209 drivers/net/ethernet/sis/sis900.c #define sw32(reg, val) iowrite32(val, ioaddr + (reg)) ioaddr 210 drivers/net/ethernet/sis/sis900.c #define sw8(reg, val) iowrite8(val, ioaddr + (reg)) ioaddr 211 drivers/net/ethernet/sis/sis900.c #define sr32(reg) ioread32(ioaddr + (reg)) ioaddr 212 drivers/net/ethernet/sis/sis900.c #define sr16(reg) ioread16(ioaddr + (reg)) ioaddr 220 drivers/net/ethernet/sis/sis900.c static u16 read_eeprom(void __iomem *ioaddr, int location); ioaddr 260 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 265 drivers/net/ethernet/sis/sis900.c signature = (u16) read_eeprom(ioaddr, EEPROMSignature); ioaddr 274 drivers/net/ethernet/sis/sis900.c ((u16 *)(net_dev->dev_addr))[i] = read_eeprom(ioaddr, i+EEPROMMACAddr); ioaddr 333 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 377 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 388 drivers/net/ethernet/sis/sis900.c mac[i] = read_eeprom(ioaddr, i + EEPROMMACAddr); ioaddr 433 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr; ioaddr 469 drivers/net/ethernet/sis/sis900.c ioaddr = pci_iomap(pci_dev, 0, 0); ioaddr 470 drivers/net/ethernet/sis/sis900.c if (!ioaddr) { ioaddr 476 drivers/net/ethernet/sis/sis900.c sis_priv->ioaddr = ioaddr; ioaddr 564 drivers/net/ethernet/sis/sis900.c net_dev->name, card_name, ioaddr, pci_dev->irq, ioaddr 581 drivers/net/ethernet/sis/sis900.c pci_iounmap(pci_dev, ioaddr); ioaddr 817 drivers/net/ethernet/sis/sis900.c static u16 read_eeprom(void __iomem *ioaddr, int location) ioaddr 864 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sp->ioaddr; ioaddr 874 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sp->ioaddr; ioaddr 900 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sp->ioaddr; ioaddr 946 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sp->ioaddr; ioaddr 1037 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 1091 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 1128 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 1162 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 1373 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 1404 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sp->ioaddr; ioaddr 1543 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 1602 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 1672 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 1733 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 1961 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 2081 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 2117 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sp->ioaddr; ioaddr 2139 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 2151 drivers/net/ethernet/sis/sis900.c ebuf[i] = (u16)read_eeprom(ioaddr, i); ioaddr 2159 drivers/net/ethernet/sis/sis900.c signature = (u16)read_eeprom(ioaddr, EEPROMSignature); ioaddr 2163 drivers/net/ethernet/sis/sis900.c ebuf[i] = (u16)read_eeprom(ioaddr, i); ioaddr 2370 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 2445 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 2491 drivers/net/ethernet/sis/sis900.c pci_iounmap(pci_dev, sis_priv->ioaddr); ioaddr 2502 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 2523 drivers/net/ethernet/sis/sis900.c void __iomem *ioaddr = sis_priv->ioaddr; ioaddr 185 drivers/net/ethernet/smsc/epic100.c #define ew16(reg, val) iowrite16(val, ioaddr + (reg)) ioaddr 186 drivers/net/ethernet/smsc/epic100.c #define ew32(reg, val) iowrite32(val, ioaddr + (reg)) ioaddr 187 drivers/net/ethernet/smsc/epic100.c #define er8(reg) ioread8(ioaddr + (reg)) ioaddr 188 drivers/net/ethernet/smsc/epic100.c #define er16(reg) ioread16(ioaddr + (reg)) ioaddr 189 drivers/net/ethernet/smsc/epic100.c #define er32(reg) ioread32(ioaddr + (reg)) ioaddr 273 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr; ioaddr 322 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr; ioaddr 361 drivers/net/ethernet/smsc/epic100.c ioaddr = pci_iomap(pdev, EPIC_BAR, 0); ioaddr 362 drivers/net/ethernet/smsc/epic100.c if (!ioaddr) { ioaddr 369 drivers/net/ethernet/smsc/epic100.c ep->ioaddr = ioaddr; ioaddr 499 drivers/net/ethernet/smsc/epic100.c pci_iounmap(pdev, ioaddr); ioaddr 534 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 539 drivers/net/ethernet/smsc/epic100.c static inline void __epic_pci_commit(void __iomem *ioaddr) ioaddr 549 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 552 drivers/net/ethernet/smsc/epic100.c __epic_pci_commit(ioaddr); ioaddr 558 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 566 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 603 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 627 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 643 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 734 drivers/net/ethernet/smsc/epic100.c ioaddr, irq, er32(GENCTL), ioaddr 753 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 776 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 826 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 848 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 867 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 940 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 1065 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 1227 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 1244 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 1270 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 1321 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 1342 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 1436 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 1449 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 1473 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = np->ioaddr; ioaddr 1505 drivers/net/ethernet/smsc/epic100.c pci_iounmap(pdev, ep->ioaddr); ioaddr 1519 drivers/net/ethernet/smsc/epic100.c void __iomem *ioaddr = ep->ioaddr; ioaddr 114 drivers/net/ethernet/smsc/smc911x.h void __iomem *ioaddr = lp->base + reg; ioaddr 117 drivers/net/ethernet/smsc/smc911x.h return readl(ioaddr); ioaddr 120 drivers/net/ethernet/smsc/smc911x.h return readw(ioaddr) | (readw(ioaddr + 2) << 16); ioaddr 128 drivers/net/ethernet/smsc/smc911x.h void __iomem *ioaddr = lp->base + reg; ioaddr 131 drivers/net/ethernet/smsc/smc911x.h writel(value, ioaddr); ioaddr 136 drivers/net/ethernet/smsc/smc911x.h writew(value & 0xffff, ioaddr); ioaddr 137 drivers/net/ethernet/smsc/smc911x.h writew(value >> 16, ioaddr + 2); ioaddr 147 drivers/net/ethernet/smsc/smc911x.h void __iomem *ioaddr = lp->base + reg; ioaddr 150 drivers/net/ethernet/smsc/smc911x.h ioread32_rep(ioaddr, addr, count); ioaddr 155 drivers/net/ethernet/smsc/smc911x.h ioread16_rep(ioaddr, addr, count * 2); ioaddr 165 drivers/net/ethernet/smsc/smc911x.h void __iomem *ioaddr = lp->base + reg; ioaddr 168 drivers/net/ethernet/smsc/smc911x.h iowrite32_rep(ioaddr, addr, count); ioaddr 173 drivers/net/ethernet/smsc/smc911x.h iowrite16_rep(ioaddr, addr, count * 2); ioaddr 268 drivers/net/ethernet/smsc/smc9194.c static int smc_probe(struct net_device *dev, int ioaddr); ioaddr 290 drivers/net/ethernet/smsc/smc9194.c static void smc_reset( int ioaddr ); ioaddr 293 drivers/net/ethernet/smsc/smc9194.c static void smc_enable( int ioaddr ); ioaddr 296 drivers/net/ethernet/smsc/smc9194.c static void smc_shutdown( int ioaddr ); ioaddr 300 drivers/net/ethernet/smsc/smc9194.c static int smc_findirq( int ioaddr ); ioaddr 319 drivers/net/ethernet/smsc/smc9194.c static void smc_reset( int ioaddr ) ioaddr 324 drivers/net/ethernet/smsc/smc9194.c outw( RCR_SOFTRESET, ioaddr + RCR ); ioaddr 331 drivers/net/ethernet/smsc/smc9194.c outw( RCR_CLEAR, ioaddr + RCR ); ioaddr 332 drivers/net/ethernet/smsc/smc9194.c outw( TCR_CLEAR, ioaddr + TCR ); ioaddr 338 drivers/net/ethernet/smsc/smc9194.c outw( inw( ioaddr + CONTROL ) | CTL_AUTO_RELEASE , ioaddr + CONTROL ); ioaddr 342 drivers/net/ethernet/smsc/smc9194.c outw( MC_RESET, ioaddr + MMU_CMD ); ioaddr 348 drivers/net/ethernet/smsc/smc9194.c outb( 0, ioaddr + INT_MASK ); ioaddr 359 drivers/net/ethernet/smsc/smc9194.c static void smc_enable( int ioaddr ) ioaddr 363 drivers/net/ethernet/smsc/smc9194.c outw( TCR_NORMAL, ioaddr + TCR ); ioaddr 364 drivers/net/ethernet/smsc/smc9194.c outw( RCR_NORMAL, ioaddr + RCR ); ioaddr 368 drivers/net/ethernet/smsc/smc9194.c outb( SMC_INTERRUPT_MASK, ioaddr + INT_MASK ); ioaddr 385 drivers/net/ethernet/smsc/smc9194.c static void smc_shutdown( int ioaddr ) ioaddr 389 drivers/net/ethernet/smsc/smc9194.c outb( 0, ioaddr + INT_MASK ); ioaddr 393 drivers/net/ethernet/smsc/smc9194.c outb( RCR_CLEAR, ioaddr + RCR ); ioaddr 394 drivers/net/ethernet/smsc/smc9194.c outb( TCR_CLEAR, ioaddr + TCR ); ioaddr 398 drivers/net/ethernet/smsc/smc9194.c outw( inw( ioaddr + CONTROL ), CTL_POWERDOWN, ioaddr + CONTROL ); ioaddr 421 drivers/net/ethernet/smsc/smc9194.c static void smc_setmulticast(int ioaddr, struct net_device *dev) ioaddr 447 drivers/net/ethernet/smsc/smc9194.c outb( multicast_table[i], ioaddr + MULTICAST1 + i ); ioaddr 471 drivers/net/ethernet/smsc/smc9194.c unsigned int ioaddr = dev->base_addr; ioaddr 522 drivers/net/ethernet/smsc/smc9194.c outw( MC_ALLOC | numPages, ioaddr + MMU_CMD ); ioaddr 539 drivers/net/ethernet/smsc/smc9194.c status = inb( ioaddr + INTERRUPT ); ioaddr 542 drivers/net/ethernet/smsc/smc9194.c outb( IM_ALLOC_INT, ioaddr + INTERRUPT ); ioaddr 584 drivers/net/ethernet/smsc/smc9194.c unsigned int ioaddr; ioaddr 587 drivers/net/ethernet/smsc/smc9194.c ioaddr = dev->base_addr; ioaddr 597 drivers/net/ethernet/smsc/smc9194.c packet_no = inb( ioaddr + PNR_ARR + 1 ); ioaddr 608 drivers/net/ethernet/smsc/smc9194.c outb( packet_no, ioaddr + PNR_ARR ); ioaddr 611 drivers/net/ethernet/smsc/smc9194.c outw( PTR_AUTOINC , ioaddr + POINTER ); ioaddr 621 drivers/net/ethernet/smsc/smc9194.c outl( (length +6 ) << 16 , ioaddr + DATA_1 ); ioaddr 623 drivers/net/ethernet/smsc/smc9194.c outw( 0, ioaddr + DATA_1 ); ioaddr 625 drivers/net/ethernet/smsc/smc9194.c outb( (length+6) & 0xFF,ioaddr + DATA_1 ); ioaddr 626 drivers/net/ethernet/smsc/smc9194.c outb( (length+6) >> 8 , ioaddr + DATA_1 ); ioaddr 638 drivers/net/ethernet/smsc/smc9194.c outsl(ioaddr + DATA_1, buf, length >> 2 ); ioaddr 639 drivers/net/ethernet/smsc/smc9194.c outw( *((word *)(buf + (length & 0xFFFFFFFC))),ioaddr +DATA_1); ioaddr 642 drivers/net/ethernet/smsc/smc9194.c outsl(ioaddr + DATA_1, buf, length >> 2 ); ioaddr 644 drivers/net/ethernet/smsc/smc9194.c outsw(ioaddr + DATA_1 , buf, (length ) >> 1); ioaddr 649 drivers/net/ethernet/smsc/smc9194.c outw( 0, ioaddr + DATA_1 ); ioaddr 651 drivers/net/ethernet/smsc/smc9194.c outb( buf[length -1 ], ioaddr + DATA_1 ); ioaddr 652 drivers/net/ethernet/smsc/smc9194.c outb( 0x20, ioaddr + DATA_1); ioaddr 659 drivers/net/ethernet/smsc/smc9194.c outw( MC_ENQUEUE , ioaddr + MMU_CMD ); ioaddr 739 drivers/net/ethernet/smsc/smc9194.c static int __init smc_findirq(int ioaddr) ioaddr 757 drivers/net/ethernet/smsc/smc9194.c outb( IM_ALLOC_INT, ioaddr + INT_MASK ); ioaddr 763 drivers/net/ethernet/smsc/smc9194.c outw( MC_ALLOC | 1, ioaddr + MMU_CMD ); ioaddr 771 drivers/net/ethernet/smsc/smc9194.c int_status = inb( ioaddr + INTERRUPT ); ioaddr 792 drivers/net/ethernet/smsc/smc9194.c outb( 0, ioaddr + INT_MASK ); ioaddr 799 drivers/net/ethernet/smsc/smc9194.c if (smcdev->port == ioaddr) ioaddr 845 drivers/net/ethernet/smsc/smc9194.c static int __init smc_probe(struct net_device *dev, int ioaddr) ioaddr 861 drivers/net/ethernet/smsc/smc9194.c if (!request_region(ioaddr, SMC_IO_EXTENT, DRV_NAME)) ioaddr 868 drivers/net/ethernet/smsc/smc9194.c bank = inw( ioaddr + BANK_SELECT ); ioaddr 875 drivers/net/ethernet/smsc/smc9194.c outw( 0x0, ioaddr + BANK_SELECT ); ioaddr 876 drivers/net/ethernet/smsc/smc9194.c bank = inw( ioaddr + BANK_SELECT ); ioaddr 885 drivers/net/ethernet/smsc/smc9194.c base_address_register = inw( ioaddr + BASE ); ioaddr 886 drivers/net/ethernet/smsc/smc9194.c if ( ioaddr != ( base_address_register >> 3 & 0x3E0 ) ) { ioaddr 889 drivers/net/ethernet/smsc/smc9194.c ioaddr, base_address_register >> 3 & 0x3E0 ); ioaddr 900 drivers/net/ethernet/smsc/smc9194.c revision_register = inw( ioaddr + REVISION ); ioaddr 904 drivers/net/ethernet/smsc/smc9194.c " %x, Contact author.\n", ioaddr, revision_register); ioaddr 917 drivers/net/ethernet/smsc/smc9194.c dev->base_addr = ioaddr; ioaddr 926 drivers/net/ethernet/smsc/smc9194.c address = inw( ioaddr + ADDR0 + i ); ioaddr 934 drivers/net/ethernet/smsc/smc9194.c memory_info_register = inw( ioaddr + MIR ); ioaddr 935 drivers/net/ethernet/smsc/smc9194.c memory_cfg_register = inw( ioaddr + MCR ); ioaddr 945 drivers/net/ethernet/smsc/smc9194.c revision_register = inw( ioaddr + REVISION ); ioaddr 956 drivers/net/ethernet/smsc/smc9194.c configuration_register = inw( ioaddr + CONFIG ); ioaddr 965 drivers/net/ethernet/smsc/smc9194.c smc_reset( ioaddr ); ioaddr 988 drivers/net/ethernet/smsc/smc9194.c dev->irq = smc_findirq( ioaddr ); ioaddr 992 drivers/net/ethernet/smsc/smc9194.c smc_reset( ioaddr ); ioaddr 1004 drivers/net/ethernet/smsc/smc9194.c version_string, revision_register & 0xF, ioaddr, dev->irq, ioaddr 1025 drivers/net/ethernet/smsc/smc9194.c release_region(ioaddr, SMC_IO_EXTENT); ioaddr 1048 drivers/net/ethernet/smsc/smc9194.c int ioaddr = dev->base_addr; ioaddr 1057 drivers/net/ethernet/smsc/smc9194.c smc_reset( ioaddr ); ioaddr 1058 drivers/net/ethernet/smsc/smc9194.c smc_enable( ioaddr ); ioaddr 1064 drivers/net/ethernet/smsc/smc9194.c outw( inw( ioaddr + CONFIG ) & ~CFG_AUI_SELECT, ioaddr 1065 drivers/net/ethernet/smsc/smc9194.c ioaddr + CONFIG ); ioaddr 1068 drivers/net/ethernet/smsc/smc9194.c outw( inw( ioaddr + CONFIG ) | CFG_AUI_SELECT, ioaddr 1069 drivers/net/ethernet/smsc/smc9194.c ioaddr + CONFIG ); ioaddr 1083 drivers/net/ethernet/smsc/smc9194.c outw( address, ioaddr + ADDR0 + i ); ioaddr 1126 drivers/net/ethernet/smsc/smc9194.c int ioaddr = dev->base_addr; ioaddr 1133 drivers/net/ethernet/smsc/smc9194.c packet_number = inw( ioaddr + FIFO_PORTS ); ioaddr 1143 drivers/net/ethernet/smsc/smc9194.c outw( PTR_READ | PTR_RCV | PTR_AUTOINC, ioaddr + POINTER ); ioaddr 1146 drivers/net/ethernet/smsc/smc9194.c status = inw( ioaddr + DATA_1 ); ioaddr 1147 drivers/net/ethernet/smsc/smc9194.c packet_length = inw( ioaddr + DATA_1 ); ioaddr 1193 drivers/net/ethernet/smsc/smc9194.c insl(ioaddr + DATA_1 , data, packet_length >> 2 ); ioaddr 1195 drivers/net/ethernet/smsc/smc9194.c insb( ioaddr + DATA_1, data + (packet_length & 0xFFFFFC), ioaddr 1200 drivers/net/ethernet/smsc/smc9194.c insw(ioaddr + DATA_1 , data, packet_length >> 1); ioaddr 1203 drivers/net/ethernet/smsc/smc9194.c *(data++) = inb( ioaddr + DATA_1 ); ioaddr 1226 drivers/net/ethernet/smsc/smc9194.c outw( MC_RELEASE, ioaddr + MMU_CMD ); ioaddr 1247 drivers/net/ethernet/smsc/smc9194.c int ioaddr = dev->base_addr; ioaddr 1256 drivers/net/ethernet/smsc/smc9194.c saved_packet = inb( ioaddr + PNR_ARR ); ioaddr 1257 drivers/net/ethernet/smsc/smc9194.c packet_no = inw( ioaddr + FIFO_PORTS ); ioaddr 1261 drivers/net/ethernet/smsc/smc9194.c outb( packet_no, ioaddr + PNR_ARR ); ioaddr 1264 drivers/net/ethernet/smsc/smc9194.c outw( PTR_AUTOINC | PTR_READ, ioaddr + POINTER ); ioaddr 1266 drivers/net/ethernet/smsc/smc9194.c tx_status = inw( ioaddr + DATA_1 ); ioaddr 1284 drivers/net/ethernet/smsc/smc9194.c outw( inw( ioaddr + TCR ) | TCR_ENABLE, ioaddr + TCR ); ioaddr 1288 drivers/net/ethernet/smsc/smc9194.c outw( MC_FREEPKT, ioaddr + MMU_CMD ); ioaddr 1293 drivers/net/ethernet/smsc/smc9194.c outb( saved_packet, ioaddr + PNR_ARR ); ioaddr 1312 drivers/net/ethernet/smsc/smc9194.c int ioaddr = dev->base_addr; ioaddr 1327 drivers/net/ethernet/smsc/smc9194.c saved_bank = inw( ioaddr + BANK_SELECT ); ioaddr 1330 drivers/net/ethernet/smsc/smc9194.c saved_pointer = inw( ioaddr + POINTER ); ioaddr 1332 drivers/net/ethernet/smsc/smc9194.c mask = inb( ioaddr + INT_MASK ); ioaddr 1334 drivers/net/ethernet/smsc/smc9194.c outb( 0, ioaddr + INT_MASK ); ioaddr 1343 drivers/net/ethernet/smsc/smc9194.c status = inb( ioaddr + INTERRUPT ) & mask; ioaddr 1361 drivers/net/ethernet/smsc/smc9194.c outb(IM_TX_INT, ioaddr + INTERRUPT ); ioaddr 1365 drivers/net/ethernet/smsc/smc9194.c card_stats = inw( ioaddr + COUNTER ); ioaddr 1377 drivers/net/ethernet/smsc/smc9194.c outb( IM_TX_EMPTY_INT, ioaddr + INTERRUPT ); ioaddr 1400 drivers/net/ethernet/smsc/smc9194.c outb( IM_RX_OVRN_INT, ioaddr + INTERRUPT ); ioaddr 1405 drivers/net/ethernet/smsc/smc9194.c outb( IM_ERCV_INT, ioaddr + INTERRUPT ); ioaddr 1412 drivers/net/ethernet/smsc/smc9194.c outb( mask, ioaddr + INT_MASK ); ioaddr 1415 drivers/net/ethernet/smsc/smc9194.c outw( saved_pointer, ioaddr + POINTER ); ioaddr 1452 drivers/net/ethernet/smsc/smc9194.c short ioaddr = dev->base_addr; ioaddr 1456 drivers/net/ethernet/smsc/smc9194.c outw( inw(ioaddr + RCR ) | RCR_PROMISC, ioaddr + RCR ); ioaddr 1468 drivers/net/ethernet/smsc/smc9194.c outw( inw(ioaddr + RCR ) | RCR_ALMUL, ioaddr + RCR ); ioaddr 1477 drivers/net/ethernet/smsc/smc9194.c outw( inw( ioaddr + RCR ) & ~(RCR_PROMISC | RCR_ALMUL), ioaddr 1478 drivers/net/ethernet/smsc/smc9194.c ioaddr + RCR ); ioaddr 1481 drivers/net/ethernet/smsc/smc9194.c smc_setmulticast(ioaddr, dev); ioaddr 1484 drivers/net/ethernet/smsc/smc9194.c outw( inw( ioaddr + RCR ) & ~(RCR_PROMISC | RCR_ALMUL), ioaddr 1485 drivers/net/ethernet/smsc/smc9194.c ioaddr + RCR ); ioaddr 1492 drivers/net/ethernet/smsc/smc9194.c outw( 0, ioaddr + MULTICAST1 ); ioaddr 1493 drivers/net/ethernet/smsc/smc9194.c outw( 0, ioaddr + MULTICAST2 ); ioaddr 1494 drivers/net/ethernet/smsc/smc9194.c outw( 0, ioaddr + MULTICAST3 ); ioaddr 1495 drivers/net/ethernet/smsc/smc9194.c outw( 0, ioaddr + MULTICAST4 ); ioaddr 204 drivers/net/ethernet/smsc/smc9194.h #define SMC_SELECT_BANK(x) { outw( x, ioaddr + BANK_SELECT ); } ioaddr 207 drivers/net/ethernet/smsc/smc9194.h #define SMC_DELAY() { inw( ioaddr + RCR );\ ioaddr 208 drivers/net/ethernet/smsc/smc9194.h inw( ioaddr + RCR );\ ioaddr 209 drivers/net/ethernet/smsc/smc9194.h inw( ioaddr + RCR ); } ioaddr 215 drivers/net/ethernet/smsc/smc9194.h mask = inb( ioaddr + INT_MASK );\ ioaddr 217 drivers/net/ethernet/smsc/smc9194.h outb( mask, ioaddr + INT_MASK ); \ ioaddr 225 drivers/net/ethernet/smsc/smc9194.h mask = inb( ioaddr + INT_MASK );\ ioaddr 227 drivers/net/ethernet/smsc/smc9194.h outb( mask, ioaddr + INT_MASK ); \ ioaddr 146 drivers/net/ethernet/smsc/smc91c92_cs.c #define SMC_SELECT_BANK(x) { outw(x, ioaddr + BANK_SELECT); } ioaddr 520 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 529 drivers/net/ethernet/smsc/smc91c92_cs.c writeb(ioaddr & 0xff, smc->base + MOT_LAN + CISREG_IOBASE_0); ioaddr 530 drivers/net/ethernet/smsc/smc91c92_cs.c writeb((ioaddr >> 8) & 0xff, smc->base + MOT_LAN + CISREG_IOBASE_1); ioaddr 540 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 548 drivers/net/ethernet/smsc/smc91c92_cs.c outw(MOT_EEPROM + i, ioaddr + POINTER); ioaddr 550 drivers/net/ethernet/smsc/smc91c92_cs.c outw((CTL_RELOAD | CTL_EE_SELECT), ioaddr + CONTROL); ioaddr 554 drivers/net/ethernet/smsc/smc91c92_cs.c wait = ((CTL_RELOAD | CTL_STORE) & inw(ioaddr + CONTROL)); ioaddr 561 drivers/net/ethernet/smsc/smc91c92_cs.c addr = inw(ioaddr + GENERAL); ioaddr 765 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 770 drivers/net/ethernet/smsc/smc91c92_cs.c if (inw(ioaddr + BANK_SELECT) >> 8 != 0x33) { ioaddr 772 drivers/net/ethernet/smsc/smc91c92_cs.c outw(0, ioaddr + CONTROL); ioaddr 778 drivers/net/ethernet/smsc/smc91c92_cs.c s = inb(ioaddr + CONFIG); ioaddr 783 drivers/net/ethernet/smsc/smc91c92_cs.c outb(s, ioaddr + CONFIG); ioaddr 786 drivers/net/ethernet/smsc/smc91c92_cs.c s = inw(ioaddr + BASE_ADDR); ioaddr 787 drivers/net/ethernet/smsc/smc91c92_cs.c if ((inw(ioaddr + BANK_SELECT) >> 8 == 0x33) && ioaddr 790 drivers/net/ethernet/smsc/smc91c92_cs.c s = inw(ioaddr + REVISION); ioaddr 811 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr; ioaddr 885 drivers/net/ethernet/smsc/smc91c92_cs.c ioaddr = dev->base_addr; ioaddr 889 drivers/net/ethernet/smsc/smc91c92_cs.c mir = inw(ioaddr + MEMINFO) & 0xff; ioaddr 892 drivers/net/ethernet/smsc/smc91c92_cs.c mcr = ((rev >> 4) > 3) ? inw(ioaddr + MEMCFG) : 0x0200; ioaddr 895 drivers/net/ethernet/smsc/smc91c92_cs.c smc->cfg = inw(ioaddr + CONFIG) & ~CFG_AUI_SELECT; ioaddr 1033 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1035 drivers/net/ethernet/smsc/smc91c92_cs.c save = inw(ioaddr + BANK_SELECT); ioaddr 1040 drivers/net/ethernet/smsc/smc91c92_cs.c pr_cont(" %04x", inw(ioaddr + i)); ioaddr 1043 drivers/net/ethernet/smsc/smc91c92_cs.c outw(save, ioaddr + BANK_SELECT); ioaddr 1085 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1088 drivers/net/ethernet/smsc/smc91c92_cs.c dev->name, inw(ioaddr + BANK_SELECT)); ioaddr 1095 drivers/net/ethernet/smsc/smc91c92_cs.c outw(0, ioaddr + INTERRUPT); ioaddr 1097 drivers/net/ethernet/smsc/smc91c92_cs.c mask_bits(0xff00, ioaddr + RCR); ioaddr 1098 drivers/net/ethernet/smsc/smc91c92_cs.c mask_bits(0xff00, ioaddr + TCR); ioaddr 1102 drivers/net/ethernet/smsc/smc91c92_cs.c outw(CTL_POWERDOWN, ioaddr + CONTROL ); ioaddr 1122 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1131 drivers/net/ethernet/smsc/smc91c92_cs.c packet_no = inw(ioaddr + PNR_ARR) >> 8; ioaddr 1144 drivers/net/ethernet/smsc/smc91c92_cs.c outw(packet_no, ioaddr + PNR_ARR); ioaddr 1146 drivers/net/ethernet/smsc/smc91c92_cs.c outw(PTR_AUTOINC , ioaddr + POINTER); ioaddr 1157 drivers/net/ethernet/smsc/smc91c92_cs.c outw(0, ioaddr + DATA_1); ioaddr 1158 drivers/net/ethernet/smsc/smc91c92_cs.c outw(length + 6, ioaddr + DATA_1); ioaddr 1159 drivers/net/ethernet/smsc/smc91c92_cs.c outsw(ioaddr + DATA_1, buf, length >> 1); ioaddr 1162 drivers/net/ethernet/smsc/smc91c92_cs.c outw((length & 1) ? 0x2000 | buf[length-1] : 0, ioaddr + DATA_1); ioaddr 1167 drivers/net/ethernet/smsc/smc91c92_cs.c (inw(ioaddr + INTERRUPT) & 0xff00), ioaddr 1168 drivers/net/ethernet/smsc/smc91c92_cs.c ioaddr + INTERRUPT); ioaddr 1171 drivers/net/ethernet/smsc/smc91c92_cs.c outw(MC_ENQUEUE , ioaddr + MMU_CMD); ioaddr 1184 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1187 drivers/net/ethernet/smsc/smc91c92_cs.c inw(ioaddr)&0xff, inw(ioaddr + 2)); ioaddr 1199 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1207 drivers/net/ethernet/smsc/smc91c92_cs.c skb->len, inw(ioaddr + 2)); ioaddr 1234 drivers/net/ethernet/smsc/smc91c92_cs.c outw(MC_RESET, ioaddr + MMU_CMD); ioaddr 1239 drivers/net/ethernet/smsc/smc91c92_cs.c outw(MC_ALLOC | num_pages, ioaddr + MMU_CMD); ioaddr 1241 drivers/net/ethernet/smsc/smc91c92_cs.c ir = inw(ioaddr+INTERRUPT); ioaddr 1244 drivers/net/ethernet/smsc/smc91c92_cs.c outw((ir&0xff00) | IM_ALLOC_INT, ioaddr + INTERRUPT); ioaddr 1253 drivers/net/ethernet/smsc/smc91c92_cs.c outw((IM_ALLOC_INT << 8) | (ir & 0xff00), ioaddr + INTERRUPT); ioaddr 1268 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1269 drivers/net/ethernet/smsc/smc91c92_cs.c int saved_packet = inw(ioaddr + PNR_ARR) & 0xff; ioaddr 1270 drivers/net/ethernet/smsc/smc91c92_cs.c int packet_no = inw(ioaddr + FIFO_PORTS) & 0x7f; ioaddr 1274 drivers/net/ethernet/smsc/smc91c92_cs.c outw(packet_no, ioaddr + PNR_ARR); ioaddr 1277 drivers/net/ethernet/smsc/smc91c92_cs.c outw(PTR_AUTOINC | PTR_READ | 0, ioaddr + POINTER); ioaddr 1279 drivers/net/ethernet/smsc/smc91c92_cs.c tx_status = inw(ioaddr + DATA_1); ioaddr 1294 drivers/net/ethernet/smsc/smc91c92_cs.c outw(inw(ioaddr + TCR) | TCR_ENABLE | smc->duplex, ioaddr + TCR); ioaddr 1297 drivers/net/ethernet/smsc/smc91c92_cs.c outw(MC_FREEPKT, ioaddr + MMU_CMD); /* Free the packet memory. */ ioaddr 1302 drivers/net/ethernet/smsc/smc91c92_cs.c outw(saved_packet, ioaddr + PNR_ARR); ioaddr 1310 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1314 drivers/net/ethernet/smsc/smc91c92_cs.c ephs = inw(ioaddr + EPH); ioaddr 1318 drivers/net/ethernet/smsc/smc91c92_cs.c card_stats = inw(ioaddr + COUNTER); ioaddr 1329 drivers/net/ethernet/smsc/smc91c92_cs.c outw(inw(ioaddr + TCR) | TCR_ENABLE | smc->duplex, ioaddr + TCR); ioaddr 1333 drivers/net/ethernet/smsc/smc91c92_cs.c outw(CTL_AUTO_RELEASE | 0x0000, ioaddr + CONTROL); ioaddr 1335 drivers/net/ethernet/smsc/smc91c92_cs.c ioaddr + CONTROL); ioaddr 1345 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr; ioaddr 1353 drivers/net/ethernet/smsc/smc91c92_cs.c ioaddr = dev->base_addr; ioaddr 1356 drivers/net/ethernet/smsc/smc91c92_cs.c irq, ioaddr); ioaddr 1360 drivers/net/ethernet/smsc/smc91c92_cs.c saved_bank = inw(ioaddr + BANK_SELECT); ioaddr 1371 drivers/net/ethernet/smsc/smc91c92_cs.c saved_pointer = inw(ioaddr + POINTER); ioaddr 1372 drivers/net/ethernet/smsc/smc91c92_cs.c mask = inw(ioaddr + INTERRUPT) >> 8; ioaddr 1374 drivers/net/ethernet/smsc/smc91c92_cs.c outw(0, ioaddr + INTERRUPT); ioaddr 1377 drivers/net/ethernet/smsc/smc91c92_cs.c status = inw(ioaddr + INTERRUPT) & 0xff; ioaddr 1391 drivers/net/ethernet/smsc/smc91c92_cs.c outw(IM_TX_INT, ioaddr + INTERRUPT); ioaddr 1395 drivers/net/ethernet/smsc/smc91c92_cs.c outw(IM_TX_EMPTY_INT, ioaddr + INTERRUPT); ioaddr 1417 drivers/net/ethernet/smsc/smc91c92_cs.c outw(IM_RX_OVRN_INT, ioaddr + INTERRUPT); ioaddr 1427 drivers/net/ethernet/smsc/smc91c92_cs.c outw((mask<<8), ioaddr + INTERRUPT); ioaddr 1428 drivers/net/ethernet/smsc/smc91c92_cs.c outw(saved_pointer, ioaddr + POINTER); ioaddr 1438 drivers/net/ethernet/smsc/smc91c92_cs.c mask_bits(0x00ff, ioaddr-0x10+OSITECH_RESET_ISR); ioaddr 1439 drivers/net/ethernet/smsc/smc91c92_cs.c set_bits(0x0300, ioaddr-0x10+OSITECH_RESET_ISR); ioaddr 1472 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1479 drivers/net/ethernet/smsc/smc91c92_cs.c if (inw(ioaddr + FIFO_PORTS) & FP_RXEMPTY) { ioaddr 1485 drivers/net/ethernet/smsc/smc91c92_cs.c outw(PTR_READ | PTR_RCV | PTR_AUTOINC, ioaddr + POINTER); ioaddr 1486 drivers/net/ethernet/smsc/smc91c92_cs.c rx_status = inw(ioaddr + DATA_1); ioaddr 1487 drivers/net/ethernet/smsc/smc91c92_cs.c packet_length = inw(ioaddr + DATA_1) & 0x07ff; ioaddr 1503 drivers/net/ethernet/smsc/smc91c92_cs.c outw(MC_RELEASE, ioaddr + MMU_CMD); ioaddr 1509 drivers/net/ethernet/smsc/smc91c92_cs.c insw(ioaddr+DATA_1, skb_put(skb, packet_length), ioaddr 1529 drivers/net/ethernet/smsc/smc91c92_cs.c outw(MC_RELEASE, ioaddr + MMU_CMD); ioaddr 1545 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1574 drivers/net/ethernet/smsc/smc91c92_cs.c outb(multicast_table[i], ioaddr + MULTICAST0 + i); ioaddr 1576 drivers/net/ethernet/smsc/smc91c92_cs.c outw(rx_cfg_setting, ioaddr + RCR); ioaddr 1615 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1618 drivers/net/ethernet/smsc/smc91c92_cs.c saved_bank = inw(ioaddr + BANK_SELECT); ioaddr 1621 drivers/net/ethernet/smsc/smc91c92_cs.c outw(smc->cfg | CFG_AUI_SELECT, ioaddr + CONFIG); ioaddr 1624 drivers/net/ethernet/smsc/smc91c92_cs.c set_bits(OSI_AUI_PWR, ioaddr - 0x10 + OSITECH_AUI_PWR); ioaddr 1627 drivers/net/ethernet/smsc/smc91c92_cs.c outw(smc->cfg, ioaddr + CONFIG); ioaddr 1630 drivers/net/ethernet/smsc/smc91c92_cs.c mask_bits(~OSI_AUI_PWR, ioaddr - 0x10 + OSITECH_AUI_PWR); ioaddr 1638 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1648 drivers/net/ethernet/smsc/smc91c92_cs.c outw(RCR_SOFTRESET, ioaddr + RCR); ioaddr 1652 drivers/net/ethernet/smsc/smc91c92_cs.c outw(RCR_CLEAR, ioaddr + RCR); ioaddr 1653 drivers/net/ethernet/smsc/smc91c92_cs.c outw(TCR_CLEAR, ioaddr + TCR); ioaddr 1661 drivers/net/ethernet/smsc/smc91c92_cs.c ioaddr + CONTROL); ioaddr 1666 drivers/net/ethernet/smsc/smc91c92_cs.c (inw(ioaddr-0x10+OSITECH_AUI_PWR) & 0xff00), ioaddr 1667 drivers/net/ethernet/smsc/smc91c92_cs.c ioaddr - 0x10 + OSITECH_AUI_PWR); ioaddr 1672 drivers/net/ethernet/smsc/smc91c92_cs.c ioaddr + ADDR0 + i); ioaddr 1676 drivers/net/ethernet/smsc/smc91c92_cs.c outw(MC_RESET, ioaddr + MMU_CMD); ioaddr 1677 drivers/net/ethernet/smsc/smc91c92_cs.c outw(0, ioaddr + INTERRUPT); ioaddr 1682 drivers/net/ethernet/smsc/smc91c92_cs.c TCR_ENABLE | TCR_PAD_EN | smc->duplex, ioaddr + TCR); ioaddr 1702 drivers/net/ethernet/smsc/smc91c92_cs.c ioaddr + INTERRUPT); ioaddr 1715 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1722 drivers/net/ethernet/smsc/smc91c92_cs.c saved_bank = inw(ioaddr + BANK_SELECT); ioaddr 1731 drivers/net/ethernet/smsc/smc91c92_cs.c outw(MC_RESET, ioaddr + MMU_CMD); ioaddr 1734 drivers/net/ethernet/smsc/smc91c92_cs.c i = inw(ioaddr + INTERRUPT); ioaddr 1736 drivers/net/ethernet/smsc/smc91c92_cs.c media = inw(ioaddr + EPH) & EPH_LINK_OK; ioaddr 1738 drivers/net/ethernet/smsc/smc91c92_cs.c media |= (inw(ioaddr + CONFIG) & CFG_AUI_SELECT) ? 2 : 1; ioaddr 1762 drivers/net/ethernet/smsc/smc91c92_cs.c saved_bank = inw(ioaddr + BANK_SELECT); ioaddr 1788 drivers/net/ethernet/smsc/smc91c92_cs.c outw(inw(ioaddr + TCR) | smc->duplex, ioaddr + TCR); ioaddr 1835 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1842 drivers/net/ethernet/smsc/smc91c92_cs.c return inw(ioaddr + EPH) & EPH_LINK_OK; ioaddr 1850 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1857 drivers/net/ethernet/smsc/smc91c92_cs.c tmp = inw(ioaddr + CONFIG); ioaddr 1860 drivers/net/ethernet/smsc/smc91c92_cs.c ecmd->base.phy_address = ioaddr + MGMT; ioaddr 1863 drivers/net/ethernet/smsc/smc91c92_cs.c tmp = inw(ioaddr + TCR); ioaddr 1874 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1890 drivers/net/ethernet/smsc/smc91c92_cs.c tmp = inw(ioaddr + TCR); ioaddr 1895 drivers/net/ethernet/smsc/smc91c92_cs.c outw(tmp, ioaddr + TCR); ioaddr 1917 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1918 drivers/net/ethernet/smsc/smc91c92_cs.c u16 saved_bank = inw(ioaddr + BANK_SELECT); ioaddr 1936 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1937 drivers/net/ethernet/smsc/smc91c92_cs.c u16 saved_bank = inw(ioaddr + BANK_SELECT); ioaddr 1955 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1956 drivers/net/ethernet/smsc/smc91c92_cs.c u16 saved_bank = inw(ioaddr + BANK_SELECT); ioaddr 1972 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1973 drivers/net/ethernet/smsc/smc91c92_cs.c u16 saved_bank = inw(ioaddr + BANK_SELECT); ioaddr 2000 drivers/net/ethernet/smsc/smc91c92_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 2007 drivers/net/ethernet/smsc/smc91c92_cs.c saved_bank = inw(ioaddr + BANK_SELECT); ioaddr 241 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 335 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 369 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 401 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 542 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 592 drivers/net/ethernet/smsc/smc91x.c SMC_outw(lp, ((len & 1) ? (0x2000 | buf[len - 1]) : 0), ioaddr, ioaddr 632 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 705 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 763 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 785 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 810 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 841 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 903 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 1006 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 1035 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 1160 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 1184 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 1204 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 1327 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 1369 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 1627 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 1655 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 1775 drivers/net/ethernet/smsc/smc91x.c void __iomem *ioaddr = lp->base; ioaddr 1847 drivers/net/ethernet/smsc/smc91x.c static int smc_probe(struct net_device *dev, void __iomem *ioaddr, ioaddr 1865 drivers/net/ethernet/smsc/smc91x.c CARDNAME, ioaddr); ioaddr 1891 drivers/net/ethernet/smsc/smc91x.c if (((unsigned long)ioaddr & (0x3e0 << SMC_IO_SHIFT)) != val) { ioaddr 1893 drivers/net/ethernet/smsc/smc91x.c CARDNAME, ioaddr, val); ioaddr 1908 drivers/net/ethernet/smsc/smc91x.c CARDNAME, ioaddr, revision_register); ioaddr 1918 drivers/net/ethernet/smsc/smc91x.c dev->base_addr = (unsigned long)ioaddr; ioaddr 1919 drivers/net/ethernet/smsc/smc91x.c lp->base = ioaddr; ioaddr 99 drivers/net/ethernet/smsc/smc91x.h static inline void _SMC_outw_align4(u16 val, void __iomem *ioaddr, int reg, ioaddr 104 drivers/net/ethernet/smsc/smc91x.h v |= readl(ioaddr + (reg & ~2)) & 0xffff; ioaddr 105 drivers/net/ethernet/smsc/smc91x.h writel(v, ioaddr + (reg & ~2)); ioaddr 107 drivers/net/ethernet/smsc/smc91x.h writew(val, ioaddr + reg); ioaddr 325 drivers/net/ethernet/smsc/smc91x.h smc_pxa_dma_insl(void __iomem *ioaddr, struct smc_local *lp, int reg, int dma, ioaddr 333 drivers/net/ethernet/smsc/smc91x.h readsl(ioaddr + reg, buf, len); ioaddr 339 drivers/net/ethernet/smsc/smc91x.h *((u32 *)buf) = SMC_inl(ioaddr, reg); ioaddr 368 drivers/net/ethernet/smsc/smc91x.h smc_pxa_dma_insw(void __iomem *ioaddr, struct smc_local *lp, int reg, int dma, ioaddr 376 drivers/net/ethernet/smsc/smc91x.h readsw(ioaddr + reg, buf, len); ioaddr 382 drivers/net/ethernet/smsc/smc91x.h *((u16 *)buf) = SMC_inw(ioaddr, reg); ioaddr 417 drivers/net/ethernet/smsc/smc91x.h #define SMC_inl(ioaddr, reg) ({ BUG(); 0; }) ioaddr 418 drivers/net/ethernet/smsc/smc91x.h #define SMC_outl(x, ioaddr, reg) BUG() ioaddr 430 drivers/net/ethernet/smsc/smc91x.h #define SMC_outw(lp, x, ioaddr, reg) SMC_outw_b(x, ioaddr, reg) ioaddr 431 drivers/net/ethernet/smsc/smc91x.h #define SMC_inw(ioaddr, reg) SMC_inw_b(ioaddr, reg) ioaddr 444 drivers/net/ethernet/smsc/smc91x.h #define SMC_inb(ioaddr, reg) ({ BUG(); 0; }) ioaddr 446 drivers/net/ethernet/smsc/smc91x.h #define SMC_outb(x, ioaddr, reg) BUG() ioaddr 872 drivers/net/ethernet/smsc/smc91x.h (SMC_8BIT(lp) ? (SMC_inb(ioaddr, PN_REG(lp))) \ ioaddr 873 drivers/net/ethernet/smsc/smc91x.h : (SMC_inw(ioaddr, PN_REG(lp)) & 0xFF)) ioaddr 878 drivers/net/ethernet/smsc/smc91x.h SMC_outl((x)<<16, ioaddr, SMC_REG(lp, 0, 2)); \ ioaddr 880 drivers/net/ethernet/smsc/smc91x.h SMC_outb(x, ioaddr, PN_REG(lp)); \ ioaddr 882 drivers/net/ethernet/smsc/smc91x.h SMC_outw(lp, x, ioaddr, PN_REG(lp)); \ ioaddr 886 drivers/net/ethernet/smsc/smc91x.h (SMC_8BIT(lp) ? (SMC_inb(ioaddr, AR_REG(lp))) \ ioaddr 887 drivers/net/ethernet/smsc/smc91x.h : (SMC_inw(ioaddr, PN_REG(lp)) >> 8)) ioaddr 890 drivers/net/ethernet/smsc/smc91x.h (SMC_8BIT(lp) ? (SMC_inb(ioaddr, TXFIFO_REG(lp))) \ ioaddr 891 drivers/net/ethernet/smsc/smc91x.h : (SMC_inw(ioaddr, TXFIFO_REG(lp)) & 0xFF)) ioaddr 894 drivers/net/ethernet/smsc/smc91x.h (SMC_8BIT(lp) ? (SMC_inb(ioaddr, RXFIFO_REG(lp))) \ ioaddr 895 drivers/net/ethernet/smsc/smc91x.h : (SMC_inw(ioaddr, TXFIFO_REG(lp)) >> 8)) ioaddr 898 drivers/net/ethernet/smsc/smc91x.h (SMC_8BIT(lp) ? (SMC_inb(ioaddr, INT_REG(lp))) \ ioaddr 899 drivers/net/ethernet/smsc/smc91x.h : (SMC_inw(ioaddr, INT_REG(lp)) & 0xFF)) ioaddr 904 drivers/net/ethernet/smsc/smc91x.h SMC_outb(x, ioaddr, INT_REG(lp)); \ ioaddr 909 drivers/net/ethernet/smsc/smc91x.h __mask = SMC_inw(ioaddr, INT_REG(lp)) & ~0xff; \ ioaddr 910 drivers/net/ethernet/smsc/smc91x.h SMC_outw(lp, __mask | (x), ioaddr, INT_REG(lp)); \ ioaddr 916 drivers/net/ethernet/smsc/smc91x.h (SMC_8BIT(lp) ? (SMC_inb(ioaddr, IM_REG(lp))) \ ioaddr 917 drivers/net/ethernet/smsc/smc91x.h : (SMC_inw(ioaddr, INT_REG(lp)) >> 8)) ioaddr 922 drivers/net/ethernet/smsc/smc91x.h SMC_outb(x, ioaddr, IM_REG(lp)); \ ioaddr 924 drivers/net/ethernet/smsc/smc91x.h SMC_outw(lp, (x) << 8, ioaddr, INT_REG(lp)); \ ioaddr 927 drivers/net/ethernet/smsc/smc91x.h #define SMC_CURRENT_BANK(lp) SMC_inw(ioaddr, BANK_SELECT) ioaddr 932 drivers/net/ethernet/smsc/smc91x.h SMC_outl((x)<<16, ioaddr, 12<<SMC_IO_SHIFT); \ ioaddr 934 drivers/net/ethernet/smsc/smc91x.h SMC_outw(lp, x, ioaddr, BANK_SELECT); \ ioaddr 937 drivers/net/ethernet/smsc/smc91x.h #define SMC_GET_BASE(lp) SMC_inw(ioaddr, BASE_REG(lp)) ioaddr 939 drivers/net/ethernet/smsc/smc91x.h #define SMC_SET_BASE(lp, x) SMC_outw(lp, x, ioaddr, BASE_REG(lp)) ioaddr 941 drivers/net/ethernet/smsc/smc91x.h #define SMC_GET_CONFIG(lp) SMC_inw(ioaddr, CONFIG_REG(lp)) ioaddr 943 drivers/net/ethernet/smsc/smc91x.h #define SMC_SET_CONFIG(lp, x) SMC_outw(lp, x, ioaddr, CONFIG_REG(lp)) ioaddr 945 drivers/net/ethernet/smsc/smc91x.h #define SMC_GET_COUNTER(lp) SMC_inw(ioaddr, COUNTER_REG(lp)) ioaddr 947 drivers/net/ethernet/smsc/smc91x.h #define SMC_GET_CTL(lp) SMC_inw(ioaddr, CTL_REG(lp)) ioaddr 949 drivers/net/ethernet/smsc/smc91x.h #define SMC_SET_CTL(lp, x) SMC_outw(lp, x, ioaddr, CTL_REG(lp)) ioaddr 951 drivers/net/ethernet/smsc/smc91x.h #define SMC_GET_MII(lp) SMC_inw(ioaddr, MII_REG(lp)) ioaddr 953 drivers/net/ethernet/smsc/smc91x.h #define SMC_GET_GP(lp) SMC_inw(ioaddr, GP_REG(lp)) ioaddr 958 drivers/net/ethernet/smsc/smc91x.h SMC_outl((x)<<16, ioaddr, SMC_REG(lp, 8, 1)); \ ioaddr 960 drivers/net/ethernet/smsc/smc91x.h SMC_outw(lp, x, ioaddr, GP_REG(lp)); \ ioaddr 963 drivers/net/ethernet/smsc/smc91x.h #define SMC_SET_MII(lp, x) SMC_outw(lp, x, ioaddr, MII_REG(lp)) ioaddr 965 drivers/net/ethernet/smsc/smc91x.h #define SMC_GET_MIR(lp) SMC_inw(ioaddr, MIR_REG(lp)) ioaddr 967 drivers/net/ethernet/smsc/smc91x.h #define SMC_SET_MIR(lp, x) SMC_outw(lp, x, ioaddr, MIR_REG(lp)) ioaddr 969 drivers/net/ethernet/smsc/smc91x.h #define SMC_GET_MMU_CMD(lp) SMC_inw(ioaddr, MMU_CMD_REG(lp)) ioaddr 971 drivers/net/ethernet/smsc/smc91x.h #define SMC_SET_MMU_CMD(lp, x) SMC_outw(lp, x, ioaddr, MMU_CMD_REG(lp)) ioaddr 973 drivers/net/ethernet/smsc/smc91x.h #define SMC_GET_FIFO(lp) SMC_inw(ioaddr, FIFO_REG(lp)) ioaddr 975 drivers/net/ethernet/smsc/smc91x.h #define SMC_GET_PTR(lp) SMC_inw(ioaddr, PTR_REG(lp)) ioaddr 980 drivers/net/ethernet/smsc/smc91x.h SMC_outl((x)<<16, ioaddr, SMC_REG(lp, 4, 2)); \ ioaddr 982 drivers/net/ethernet/smsc/smc91x.h SMC_outw(lp, x, ioaddr, PTR_REG(lp)); \ ioaddr 985 drivers/net/ethernet/smsc/smc91x.h #define SMC_GET_EPH_STATUS(lp) SMC_inw(ioaddr, EPH_STATUS_REG(lp)) ioaddr 987 drivers/net/ethernet/smsc/smc91x.h #define SMC_GET_RCR(lp) SMC_inw(ioaddr, RCR_REG(lp)) ioaddr 989 drivers/net/ethernet/smsc/smc91x.h #define SMC_SET_RCR(lp, x) SMC_outw(lp, x, ioaddr, RCR_REG(lp)) ioaddr 991 drivers/net/ethernet/smsc/smc91x.h #define SMC_GET_REV(lp) SMC_inw(ioaddr, REV_REG(lp)) ioaddr 993 drivers/net/ethernet/smsc/smc91x.h #define SMC_GET_RPC(lp) SMC_inw(ioaddr, RPC_REG(lp)) ioaddr 998 drivers/net/ethernet/smsc/smc91x.h SMC_outl((x)<<16, ioaddr, SMC_REG(lp, 8, 0)); \ ioaddr 1000 drivers/net/ethernet/smsc/smc91x.h SMC_outw(lp, x, ioaddr, RPC_REG(lp)); \ ioaddr 1003 drivers/net/ethernet/smsc/smc91x.h #define SMC_GET_TCR(lp) SMC_inw(ioaddr, TCR_REG(lp)) ioaddr 1005 drivers/net/ethernet/smsc/smc91x.h #define SMC_SET_TCR(lp, x) SMC_outw(lp, x, ioaddr, TCR_REG(lp)) ioaddr 1011 drivers/net/ethernet/smsc/smc91x.h __v = SMC_inw(ioaddr, ADDR0_REG(lp)); \ ioaddr 1013 drivers/net/ethernet/smsc/smc91x.h __v = SMC_inw(ioaddr, ADDR1_REG(lp)); \ ioaddr 1015 drivers/net/ethernet/smsc/smc91x.h __v = SMC_inw(ioaddr, ADDR2_REG(lp)); \ ioaddr 1022 drivers/net/ethernet/smsc/smc91x.h SMC_outw(lp, addr[0] | (addr[1] << 8), ioaddr, ADDR0_REG(lp)); \ ioaddr 1023 drivers/net/ethernet/smsc/smc91x.h SMC_outw(lp, addr[2] | (addr[3] << 8), ioaddr, ADDR1_REG(lp)); \ ioaddr 1024 drivers/net/ethernet/smsc/smc91x.h SMC_outw(lp, addr[4] | (addr[5] << 8), ioaddr, ADDR2_REG(lp)); \ ioaddr 1030 drivers/net/ethernet/smsc/smc91x.h SMC_outw(lp, mt[0] | (mt[1] << 8), ioaddr, MCAST_REG1(lp)); \ ioaddr 1031 drivers/net/ethernet/smsc/smc91x.h SMC_outw(lp, mt[2] | (mt[3] << 8), ioaddr, MCAST_REG2(lp)); \ ioaddr 1032 drivers/net/ethernet/smsc/smc91x.h SMC_outw(lp, mt[4] | (mt[5] << 8), ioaddr, MCAST_REG3(lp)); \ ioaddr 1033 drivers/net/ethernet/smsc/smc91x.h SMC_outw(lp, mt[6] | (mt[7] << 8), ioaddr, MCAST_REG4(lp)); \ ioaddr 1039 drivers/net/ethernet/smsc/smc91x.h SMC_outl((status) | (length)<<16, ioaddr, \ ioaddr 1042 drivers/net/ethernet/smsc/smc91x.h SMC_outw(lp, status, ioaddr, DATA_REG(lp)); \ ioaddr 1043 drivers/net/ethernet/smsc/smc91x.h SMC_outw(lp, length, ioaddr, DATA_REG(lp)); \ ioaddr 1050 drivers/net/ethernet/smsc/smc91x.h unsigned int __val = SMC_inl(ioaddr, DATA_REG(lp)); \ ioaddr 1054 drivers/net/ethernet/smsc/smc91x.h (status) = SMC_inw(ioaddr, DATA_REG(lp)); \ ioaddr 1055 drivers/net/ethernet/smsc/smc91x.h (length) = SMC_inw(ioaddr, DATA_REG(lp)); \ ioaddr 1064 drivers/net/ethernet/smsc/smc91x.h void __iomem *__ioaddr = ioaddr; \ ioaddr 1067 drivers/net/ethernet/smsc/smc91x.h SMC_outsw(ioaddr, DATA_REG(lp), __ptr, 1); \ ioaddr 1075 drivers/net/ethernet/smsc/smc91x.h SMC_outsw(ioaddr, DATA_REG(lp), __ptr, 1); \ ioaddr 1078 drivers/net/ethernet/smsc/smc91x.h SMC_outsw(ioaddr, DATA_REG(lp), p, (l) >> 1); \ ioaddr 1080 drivers/net/ethernet/smsc/smc91x.h SMC_outsb(ioaddr, DATA_REG(lp), p, l); \ ioaddr 1088 drivers/net/ethernet/smsc/smc91x.h void __iomem *__ioaddr = ioaddr; \ ioaddr 1113 drivers/net/ethernet/smsc/smc91x.h SMC_insw(ioaddr, DATA_REG(lp), p, (l) >> 1); \ ioaddr 1115 drivers/net/ethernet/smsc/smc91x.h SMC_insb(ioaddr, DATA_REG(lp), p, l); \ ioaddr 87 drivers/net/ethernet/smsc/smsc911x.c void __iomem *ioaddr; ioaddr 151 drivers/net/ethernet/smsc/smsc911x.c return readl(pdata->ioaddr + reg); ioaddr 154 drivers/net/ethernet/smsc/smsc911x.c return ((readw(pdata->ioaddr + reg) & 0xFFFF) | ioaddr 155 drivers/net/ethernet/smsc/smsc911x.c ((readw(pdata->ioaddr + reg + 2) & 0xFFFF) << 16)); ioaddr 165 drivers/net/ethernet/smsc/smsc911x.c return readl(pdata->ioaddr + __smsc_shift(pdata, reg)); ioaddr 168 drivers/net/ethernet/smsc/smsc911x.c return (readw(pdata->ioaddr + ioaddr 170 drivers/net/ethernet/smsc/smsc911x.c ((readw(pdata->ioaddr + ioaddr 193 drivers/net/ethernet/smsc/smsc911x.c writel(val, pdata->ioaddr + reg); ioaddr 198 drivers/net/ethernet/smsc/smsc911x.c writew(val & 0xFFFF, pdata->ioaddr + reg); ioaddr 199 drivers/net/ethernet/smsc/smsc911x.c writew((val >> 16) & 0xFFFF, pdata->ioaddr + reg + 2); ioaddr 210 drivers/net/ethernet/smsc/smsc911x.c writel(val, pdata->ioaddr + __smsc_shift(pdata, reg)); ioaddr 216 drivers/net/ethernet/smsc/smsc911x.c pdata->ioaddr + __smsc_shift(pdata, reg)); ioaddr 218 drivers/net/ethernet/smsc/smsc911x.c pdata->ioaddr + __smsc_shift(pdata, reg + 2)); ioaddr 252 drivers/net/ethernet/smsc/smsc911x.c iowrite32_rep(pdata->ioaddr + TX_DATA_FIFO, buf, wordcount); ioaddr 284 drivers/net/ethernet/smsc/smsc911x.c iowrite32_rep(pdata->ioaddr + __smsc_shift(pdata, ioaddr 318 drivers/net/ethernet/smsc/smsc911x.c ioread32_rep(pdata->ioaddr + RX_DATA_FIFO, buf, wordcount); ioaddr 350 drivers/net/ethernet/smsc/smsc911x.c ioread32_rep(pdata->ioaddr + __smsc_shift(pdata, ioaddr 1692 drivers/net/ethernet/smsc/smsc911x.c (unsigned long)pdata->ioaddr, dev->irq); ioaddr 2186 drivers/net/ethernet/smsc/smsc911x.c (unsigned long)pdata->ioaddr); ioaddr 2193 drivers/net/ethernet/smsc/smsc911x.c if (pdata->ioaddr == NULL) { ioaddr 2325 drivers/net/ethernet/smsc/smsc911x.c BUG_ON(!pdata->ioaddr); ioaddr 2341 drivers/net/ethernet/smsc/smsc911x.c iounmap(pdata->ioaddr); ioaddr 2457 drivers/net/ethernet/smsc/smsc911x.c pdata->ioaddr = ioremap_nocache(res->start, res_size); ioaddr 2458 drivers/net/ethernet/smsc/smsc911x.c if (!pdata->ioaddr) { ioaddr 2476 drivers/net/ethernet/smsc/smsc911x.c if (pdata->ioaddr == NULL) { ioaddr 2567 drivers/net/ethernet/smsc/smsc911x.c iounmap(pdata->ioaddr); ioaddr 45 drivers/net/ethernet/smsc/smsc9420.c void __iomem *ioaddr; ioaddr 88 drivers/net/ethernet/smsc/smsc9420.c return ioread32(pd->ioaddr + offset); ioaddr 94 drivers/net/ethernet/smsc/smsc9420.c iowrite32(value, pd->ioaddr + offset); ioaddr 604 drivers/net/ethernet/smsc/smsc9420.c BUG_ON(!pd->ioaddr); ioaddr 1584 drivers/net/ethernet/smsc/smsc9420.c pd->ioaddr = virt_addr; ioaddr 1664 drivers/net/ethernet/smsc/smsc9420.c iounmap(pd->ioaddr - LAN9420_CPSR_ENDIAN_OFFSET); ioaddr 301 drivers/net/ethernet/socionext/netsec.c void __iomem *ioaddr; ioaddr 332 drivers/net/ethernet/socionext/netsec.c writel(val, priv->ioaddr + reg_addr); ioaddr 337 drivers/net/ethernet/socionext/netsec.c return readl(priv->ioaddr + reg_addr); ioaddr 2000 drivers/net/ethernet/socionext/netsec.c priv->ioaddr = devm_ioremap(&pdev->dev, mmio_res->start, ioaddr 2002 drivers/net/ethernet/socionext/netsec.c if (!priv->ioaddr) { ioaddr 464 drivers/net/ethernet/stmicro/stmmac/common.h void stmmac_set_mac_addr(void __iomem *ioaddr, u8 addr[6], ioaddr 466 drivers/net/ethernet/stmicro/stmmac/common.h void stmmac_get_mac_addr(void __iomem *ioaddr, unsigned char *addr, ioaddr 468 drivers/net/ethernet/stmicro/stmmac/common.h void stmmac_set_mac(void __iomem *ioaddr, bool enable); ioaddr 470 drivers/net/ethernet/stmicro/stmmac/common.h void stmmac_dwmac4_set_mac_addr(void __iomem *ioaddr, u8 addr[6], ioaddr 472 drivers/net/ethernet/stmicro/stmmac/common.h void stmmac_dwmac4_get_mac_addr(void __iomem *ioaddr, unsigned char *addr, ioaddr 474 drivers/net/ethernet/stmicro/stmmac/common.h void stmmac_dwmac4_set_mac(void __iomem *ioaddr, bool enable); ioaddr 476 drivers/net/ethernet/stmicro/stmmac/common.h void dwmac_dma_flush_tx_fifo(void __iomem *ioaddr); ioaddr 268 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c static int sun8i_dwmac_dma_reset(void __iomem *ioaddr) ioaddr 270 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(0, ioaddr + EMAC_RX_CTL1); ioaddr 271 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(0, ioaddr + EMAC_TX_CTL1); ioaddr 272 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(0, ioaddr + EMAC_RX_FRM_FLT); ioaddr 273 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(0, ioaddr + EMAC_RX_DESC_LIST); ioaddr 274 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(0, ioaddr + EMAC_TX_DESC_LIST); ioaddr 275 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(0, ioaddr + EMAC_INT_EN); ioaddr 276 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(0x1FFFFFF, ioaddr + EMAC_INT_STA); ioaddr 283 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c static void sun8i_dwmac_dma_init(void __iomem *ioaddr, ioaddr 286 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(EMAC_RX_INT | EMAC_TX_INT, ioaddr + EMAC_INT_EN); ioaddr 287 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(0x1FFFFFF, ioaddr + EMAC_INT_STA); ioaddr 290 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c static void sun8i_dwmac_dma_init_rx(void __iomem *ioaddr, ioaddr 295 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(lower_32_bits(dma_rx_phy), ioaddr + EMAC_RX_DESC_LIST); ioaddr 298 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c static void sun8i_dwmac_dma_init_tx(void __iomem *ioaddr, ioaddr 303 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(lower_32_bits(dma_tx_phy), ioaddr + EMAC_TX_DESC_LIST); ioaddr 310 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c static void sun8i_dwmac_dump_regs(void __iomem *ioaddr, u32 *reg_space) ioaddr 317 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c reg_space[i / 4] = readl(ioaddr + i); ioaddr 329 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c void __iomem *ioaddr = hw->pcsr; ioaddr 334 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c reg_space[i / 4] = readl(ioaddr + i); ioaddr 338 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c static void sun8i_dwmac_enable_dma_irq(void __iomem *ioaddr, u32 chan) ioaddr 340 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(EMAC_RX_INT | EMAC_TX_INT, ioaddr + EMAC_INT_EN); ioaddr 343 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c static void sun8i_dwmac_disable_dma_irq(void __iomem *ioaddr, u32 chan) ioaddr 345 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(0, ioaddr + EMAC_INT_EN); ioaddr 348 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c static void sun8i_dwmac_dma_start_tx(void __iomem *ioaddr, u32 chan) ioaddr 352 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c v = readl(ioaddr + EMAC_TX_CTL1); ioaddr 355 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(v, ioaddr + EMAC_TX_CTL1); ioaddr 358 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c static void sun8i_dwmac_enable_dma_transmission(void __iomem *ioaddr) ioaddr 362 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c v = readl(ioaddr + EMAC_TX_CTL1); ioaddr 365 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(v, ioaddr + EMAC_TX_CTL1); ioaddr 368 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c static void sun8i_dwmac_dma_stop_tx(void __iomem *ioaddr, u32 chan) ioaddr 372 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c v = readl(ioaddr + EMAC_TX_CTL1); ioaddr 374 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(v, ioaddr + EMAC_TX_CTL1); ioaddr 377 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c static void sun8i_dwmac_dma_start_rx(void __iomem *ioaddr, u32 chan) ioaddr 381 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c v = readl(ioaddr + EMAC_RX_CTL1); ioaddr 384 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(v, ioaddr + EMAC_RX_CTL1); ioaddr 387 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c static void sun8i_dwmac_dma_stop_rx(void __iomem *ioaddr, u32 chan) ioaddr 391 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c v = readl(ioaddr + EMAC_RX_CTL1); ioaddr 393 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(v, ioaddr + EMAC_RX_CTL1); ioaddr 396 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c static int sun8i_dwmac_dma_interrupt(void __iomem *ioaddr, ioaddr 402 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c v = readl(ioaddr + EMAC_INT_STA); ioaddr 451 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(v, ioaddr + EMAC_INT_STA); ioaddr 456 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c static void sun8i_dwmac_dma_operation_mode_rx(void __iomem *ioaddr, int mode, ioaddr 461 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c v = readl(ioaddr + EMAC_RX_CTL1); ioaddr 476 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(v, ioaddr + EMAC_RX_CTL1); ioaddr 479 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c static void sun8i_dwmac_dma_operation_mode_tx(void __iomem *ioaddr, int mode, ioaddr 484 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c v = readl(ioaddr + EMAC_TX_CTL1); ioaddr 505 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(v, ioaddr + EMAC_TX_CTL1); ioaddr 553 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c void __iomem *ioaddr = hw->pcsr; ioaddr 557 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(v, ioaddr + EMAC_BASIC_CTL1); ioaddr 560 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c static void sun8i_dwmac_set_mac(void __iomem *ioaddr, bool enable) ioaddr 564 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c t = readl(ioaddr + EMAC_TX_CTL0); ioaddr 565 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c r = readl(ioaddr + EMAC_RX_CTL0); ioaddr 573 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(t, ioaddr + EMAC_TX_CTL0); ioaddr 574 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(r, ioaddr + EMAC_RX_CTL0); ioaddr 585 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c void __iomem *ioaddr = hw->pcsr; ioaddr 589 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(0, ioaddr + EMAC_MACADDR_HI(reg_n)); ioaddr 593 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c stmmac_set_mac_addr(ioaddr, addr, EMAC_MACADDR_HI(reg_n), ioaddr 596 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c v = readl(ioaddr + EMAC_MACADDR_HI(reg_n)); ioaddr 598 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(v, ioaddr + EMAC_MACADDR_HI(reg_n)); ioaddr 606 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c void __iomem *ioaddr = hw->pcsr; ioaddr 608 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c stmmac_get_mac_addr(ioaddr, addr, EMAC_MACADDR_HI(reg_n), ioaddr 615 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c void __iomem *ioaddr = hw->pcsr; ioaddr 618 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c v = readl(ioaddr + EMAC_RX_CTL0); ioaddr 620 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(v, ioaddr + EMAC_RX_CTL0); ioaddr 628 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c void __iomem *ioaddr = hw->pcsr; ioaddr 654 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c if (!(readl(ioaddr + EMAC_RX_FRM_FLT) & EMAC_FRM_FLT_RXALL)) ioaddr 663 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(v, ioaddr + EMAC_RX_FRM_FLT); ioaddr 670 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c void __iomem *ioaddr = hw->pcsr; ioaddr 673 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c v = readl(ioaddr + EMAC_RX_CTL0); ioaddr 678 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(v, ioaddr + EMAC_RX_CTL0); ioaddr 680 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c v = readl(ioaddr + EMAC_TX_FLOW_CTL); ioaddr 685 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(v, ioaddr + EMAC_TX_FLOW_CTL); ioaddr 693 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c v = readl(priv->ioaddr + EMAC_BASIC_CTL1); ioaddr 694 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(v | 0x01, priv->ioaddr + EMAC_BASIC_CTL1); ioaddr 699 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c err = readl_poll_timeout(priv->ioaddr + EMAC_BASIC_CTL1, v, ioaddr 1008 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c static void sun8i_dwmac_set_mac_loopback(void __iomem *ioaddr, bool enable) ioaddr 1010 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c u32 value = readl(ioaddr + EMAC_BASIC_CTL0); ioaddr 1017 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c writel(value, ioaddr + EMAC_BASIC_CTL0); ioaddr 1046 drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c mac->pcsr = priv->ioaddr; ioaddr 28 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 29 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c u32 value = readl(ioaddr + GMAC_CONTROL); ioaddr 64 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c writel(value, ioaddr + GMAC_CONTROL); ioaddr 72 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c writel(value, ioaddr + GMAC_INT_MASK); ioaddr 76 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c writel(0x0, ioaddr + GMAC_VLAN_TAG); ioaddr 82 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 83 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c u32 value = readl(ioaddr + GMAC_CONTROL); ioaddr 90 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c writel(value, ioaddr + GMAC_CONTROL); ioaddr 92 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c value = readl(ioaddr + GMAC_CONTROL); ioaddr 99 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 103 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c reg_space[i] = readl(ioaddr + i * 4); ioaddr 110 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 111 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c stmmac_set_mac_addr(ioaddr, addr, GMAC_ADDR_HIGH(reg_n), ioaddr 119 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 120 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c stmmac_get_mac_addr(ioaddr, addr, GMAC_ADDR_HIGH(reg_n), ioaddr 124 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c static void dwmac1000_set_mchash(void __iomem *ioaddr, u32 *mcfilterbits, ioaddr 131 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c writel(mcfilterbits[0], ioaddr + GMAC_HASH_LOW); ioaddr 132 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c writel(mcfilterbits[1], ioaddr + GMAC_HASH_HIGH); ioaddr 148 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c ioaddr + GMAC_EXTHASH_BASE + regs * 4); ioaddr 154 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c void __iomem *ioaddr = (void __iomem *)dev->base_addr; ioaddr 193 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c dwmac1000_set_mchash(ioaddr, mc_filter, mcbitslog2); ioaddr 206 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c stmmac_set_mac_addr(ioaddr, ha->addr, ioaddr 213 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c writel(0, ioaddr + GMAC_ADDR_HIGH(reg)); ioaddr 214 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c writel(0, ioaddr + GMAC_ADDR_LOW(reg)); ioaddr 223 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c writel(value, ioaddr + GMAC_FRAME_FILTER); ioaddr 231 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 252 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c writel(flow, ioaddr + GMAC_FLOW_CTRL); ioaddr 257 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 269 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c writel(pmt, ioaddr + GMAC_PMT); ioaddr 273 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c static void dwmac1000_rgsmii(void __iomem *ioaddr, struct stmmac_extra_stats *x) ioaddr 277 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c status = readl(ioaddr + GMAC_RGSMIIIS); ioaddr 308 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 309 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c u32 intr_status = readl(ioaddr + GMAC_INT_STATUS); ioaddr 310 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c u32 intr_mask = readl(ioaddr + GMAC_INT_MASK); ioaddr 325 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c readl(ioaddr + GMAC_PMT); ioaddr 332 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c ret = readl(ioaddr + LPI_CTRL_STATUS); ioaddr 344 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c dwmac_pcs_isr(ioaddr, GMAC_PCS_BASE, intr_status, x); ioaddr 347 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c dwmac1000_rgsmii(ioaddr, x); ioaddr 355 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 364 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c value = readl(ioaddr + LPI_CTRL_STATUS); ioaddr 366 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c writel(value, ioaddr + LPI_CTRL_STATUS); ioaddr 371 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 374 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c value = readl(ioaddr + LPI_CTRL_STATUS); ioaddr 376 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c writel(value, ioaddr + LPI_CTRL_STATUS); ioaddr 381 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 384 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c value = readl(ioaddr + LPI_CTRL_STATUS); ioaddr 391 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c writel(value, ioaddr + LPI_CTRL_STATUS); ioaddr 396 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 406 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c writel(value, ioaddr + LPI_TIMER_CTRL); ioaddr 409 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c static void dwmac1000_ctrl_ane(void __iomem *ioaddr, bool ane, bool srgmi_ral, ioaddr 412 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c dwmac_ctrl_ane(ioaddr, GMAC_PCS_BASE, ane, srgmi_ral, loopback); ioaddr 415 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c static void dwmac1000_rane(void __iomem *ioaddr, bool restart) ioaddr 417 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c dwmac_rane(ioaddr, GMAC_PCS_BASE, restart); ioaddr 420 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c static void dwmac1000_get_adv_lp(void __iomem *ioaddr, struct rgmii_adv *adv) ioaddr 422 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c dwmac_get_adv_lp(ioaddr, GMAC_PCS_BASE, adv); ioaddr 425 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c static void dwmac1000_debug(void __iomem *ioaddr, struct stmmac_extra_stats *x, ioaddr 428 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c u32 value = readl(ioaddr + GMAC_DEBUG); ioaddr 500 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c static void dwmac1000_set_mac_loopback(void __iomem *ioaddr, bool enable) ioaddr 502 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c u32 value = readl(ioaddr + GMAC_CONTROL); ioaddr 509 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c writel(value, ioaddr + GMAC_CONTROL); ioaddr 541 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c mac->pcsr = priv->ioaddr; ioaddr 19 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c static void dwmac1000_dma_axi(void __iomem *ioaddr, struct stmmac_axi *axi) ioaddr 21 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c u32 value = readl(ioaddr + DMA_AXI_BUS_MODE); ioaddr 70 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c writel(value, ioaddr + DMA_AXI_BUS_MODE); ioaddr 73 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c static void dwmac1000_dma_init(void __iomem *ioaddr, ioaddr 76 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c u32 value = readl(ioaddr + DMA_BUS_MODE); ioaddr 107 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c writel(value, ioaddr + DMA_BUS_MODE); ioaddr 110 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c writel(DMA_INTR_DEFAULT_MASK, ioaddr + DMA_INTR_ENA); ioaddr 113 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c static void dwmac1000_dma_init_rx(void __iomem *ioaddr, ioaddr 118 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c writel(lower_32_bits(dma_rx_phy), ioaddr + DMA_RCV_BASE_ADDR); ioaddr 121 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c static void dwmac1000_dma_init_tx(void __iomem *ioaddr, ioaddr 126 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c writel(lower_32_bits(dma_tx_phy), ioaddr + DMA_TX_BASE_ADDR); ioaddr 150 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c static void dwmac1000_dma_operation_mode_rx(void __iomem *ioaddr, int mode, ioaddr 153 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c u32 csr6 = readl(ioaddr + DMA_CONTROL); ioaddr 175 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c writel(csr6, ioaddr + DMA_CONTROL); ioaddr 178 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c static void dwmac1000_dma_operation_mode_tx(void __iomem *ioaddr, int mode, ioaddr 181 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c u32 csr6 = readl(ioaddr + DMA_CONTROL); ioaddr 208 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c writel(csr6, ioaddr + DMA_CONTROL); ioaddr 211 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c static void dwmac1000_dump_dma_regs(void __iomem *ioaddr, u32 *reg_space) ioaddr 218 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c readl(ioaddr + DMA_BUS_MODE + i * 4); ioaddr 221 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c static void dwmac1000_get_hw_feature(void __iomem *ioaddr, ioaddr 224 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c u32 hw_cap = readl(ioaddr + DMA_HW_FEATURE); ioaddr 257 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c static void dwmac1000_rx_watchdog(void __iomem *ioaddr, u32 riwt, ioaddr 260 drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c writel(riwt, ioaddr + DMA_RX_WATCHDOG); ioaddr 26 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 27 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c u32 value = readl(ioaddr + MAC_CONTROL); ioaddr 38 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c writel(value, ioaddr + MAC_CONTROL); ioaddr 41 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c writel(ETH_P_8021Q, ioaddr + MAC_VLAN1); ioaddr 47 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 49 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c reg_space[MAC_CONTROL / 4] = readl(ioaddr + MAC_CONTROL); ioaddr 50 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c reg_space[MAC_ADDR_HIGH / 4] = readl(ioaddr + MAC_ADDR_HIGH); ioaddr 51 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c reg_space[MAC_ADDR_LOW / 4] = readl(ioaddr + MAC_ADDR_LOW); ioaddr 52 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c reg_space[MAC_HASH_HIGH / 4] = readl(ioaddr + MAC_HASH_HIGH); ioaddr 53 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c reg_space[MAC_HASH_LOW / 4] = readl(ioaddr + MAC_HASH_LOW); ioaddr 54 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c reg_space[MAC_FLOW_CTRL / 4] = readl(ioaddr + MAC_FLOW_CTRL); ioaddr 55 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c reg_space[MAC_VLAN1 / 4] = readl(ioaddr + MAC_VLAN1); ioaddr 56 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c reg_space[MAC_VLAN2 / 4] = readl(ioaddr + MAC_VLAN2); ioaddr 74 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 75 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c stmmac_set_mac_addr(ioaddr, addr, MAC_ADDR_HIGH, MAC_ADDR_LOW); ioaddr 82 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 83 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c stmmac_get_mac_addr(ioaddr, addr, MAC_ADDR_HIGH, MAC_ADDR_LOW); ioaddr 89 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c void __iomem *ioaddr = (void __iomem *)dev->base_addr; ioaddr 90 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c u32 value = readl(ioaddr + MAC_CONTROL); ioaddr 100 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c writel(0xffffffff, ioaddr + MAC_HASH_HIGH); ioaddr 101 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c writel(0xffffffff, ioaddr + MAC_HASH_LOW); ioaddr 128 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c writel(mc_filter[0], ioaddr + MAC_HASH_LOW); ioaddr 129 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c writel(mc_filter[1], ioaddr + MAC_HASH_HIGH); ioaddr 132 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c writel(value, ioaddr + MAC_CONTROL); ioaddr 139 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 144 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c writel(flow, ioaddr + MAC_FLOW_CTRL); ioaddr 153 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c static void dwmac100_set_mac_loopback(void __iomem *ioaddr, bool enable) ioaddr 155 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c u32 value = readl(ioaddr + MAC_CONTROL); ioaddr 162 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c writel(value, ioaddr + MAC_CONTROL); ioaddr 185 drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c mac->pcsr = priv->ioaddr; ioaddr 21 drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c static void dwmac100_dma_init(void __iomem *ioaddr, ioaddr 26 drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c ioaddr + DMA_BUS_MODE); ioaddr 29 drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c writel(DMA_INTR_DEFAULT_MASK, ioaddr + DMA_INTR_ENA); ioaddr 32 drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c static void dwmac100_dma_init_rx(void __iomem *ioaddr, ioaddr 37 drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c writel(lower_32_bits(dma_rx_phy), ioaddr + DMA_RCV_BASE_ADDR); ioaddr 40 drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c static void dwmac100_dma_init_tx(void __iomem *ioaddr, ioaddr 45 drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c writel(lower_32_bits(dma_tx_phy), ioaddr + DMA_TX_BASE_ADDR); ioaddr 53 drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c static void dwmac100_dma_operation_mode_tx(void __iomem *ioaddr, int mode, ioaddr 56 drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c u32 csr6 = readl(ioaddr + DMA_CONTROL); ioaddr 65 drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c writel(csr6, ioaddr + DMA_CONTROL); ioaddr 68 drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c static void dwmac100_dump_dma_regs(void __iomem *ioaddr, u32 *reg_space) ioaddr 74 drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c readl(ioaddr + DMA_BUS_MODE + i * 4); ioaddr 77 drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c readl(ioaddr + DMA_CUR_TX_BUF_ADDR); ioaddr 79 drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c readl(ioaddr + DMA_CUR_RX_BUF_ADDR); ioaddr 84 drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c void __iomem *ioaddr) ioaddr 87 drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c u32 csr8 = readl(ioaddr + DMA_MISSED_FRAME_CTR); ioaddr 26 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 27 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c u32 value = readl(ioaddr + GMAC_CONFIG); ioaddr 48 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + GMAC_CONFIG); ioaddr 56 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + GMAC_INT_EN); ioaddr 62 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 63 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c u32 value = readl(ioaddr + GMAC_RXQ_CTRL0); ioaddr 71 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + GMAC_RXQ_CTRL0); ioaddr 77 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 85 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + base_register); ioaddr 90 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + base_register); ioaddr 96 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 104 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + base_register); ioaddr 110 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + base_register); ioaddr 116 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 127 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + GMAC_RXQ_CTRL1); ioaddr 143 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + GMAC_RXQ_CTRL1); ioaddr 149 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 150 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c u32 value = readl(ioaddr + MTL_OPERATION_MODE); ioaddr 164 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + MTL_OPERATION_MODE); ioaddr 170 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 171 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c u32 value = readl(ioaddr + MTL_OPERATION_MODE); ioaddr 191 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + MTL_OPERATION_MODE); ioaddr 197 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 198 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c u32 value = readl(ioaddr + MTL_TXQX_WEIGHT_BASE_ADDR(queue)); ioaddr 202 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + MTL_TXQX_WEIGHT_BASE_ADDR(queue)); ioaddr 207 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 211 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + MTL_RXQ_DMA_MAP0); ioaddr 213 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + MTL_RXQ_DMA_MAP1); ioaddr 224 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + MTL_RXQ_DMA_MAP0); ioaddr 226 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + MTL_RXQ_DMA_MAP1); ioaddr 233 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 243 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + MTL_ETSX_CTRL_BASE_ADDR(queue)); ioaddr 246 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + MTL_ETSX_CTRL_BASE_ADDR(queue)); ioaddr 249 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + MTL_SEND_SLP_CREDX_BASE_ADDR(queue)); ioaddr 252 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + MTL_SEND_SLP_CREDX_BASE_ADDR(queue)); ioaddr 258 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + MTL_HIGH_CREDX_BASE_ADDR(queue)); ioaddr 261 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + MTL_HIGH_CREDX_BASE_ADDR(queue)); ioaddr 264 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + MTL_LOW_CREDX_BASE_ADDR(queue)); ioaddr 267 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + MTL_LOW_CREDX_BASE_ADDR(queue)); ioaddr 272 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 276 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c reg_space[i] = readl(ioaddr + i * 4); ioaddr 281 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 282 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c u32 value = readl(ioaddr + GMAC_CONFIG); ioaddr 289 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + GMAC_CONFIG); ioaddr 291 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + GMAC_CONFIG); ioaddr 298 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 313 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c config = readl(ioaddr + GMAC_CONFIG); ioaddr 315 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(config, ioaddr + GMAC_CONFIG); ioaddr 317 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(pmt, ioaddr + GMAC_PMT); ioaddr 323 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 325 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c stmmac_dwmac4_set_mac_addr(ioaddr, addr, GMAC_ADDR_HIGH(reg_n), ioaddr 332 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 334 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c stmmac_dwmac4_get_mac_addr(ioaddr, addr, GMAC_ADDR_HIGH(reg_n), ioaddr 341 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 348 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + GMAC4_LPI_CTRL_STATUS); ioaddr 354 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + GMAC4_LPI_CTRL_STATUS); ioaddr 359 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 362 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + GMAC4_LPI_CTRL_STATUS); ioaddr 364 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + GMAC4_LPI_CTRL_STATUS); ioaddr 369 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 372 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + GMAC4_LPI_CTRL_STATUS); ioaddr 379 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + GMAC4_LPI_CTRL_STATUS); ioaddr 384 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 394 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + GMAC4_LPI_TIMER_CTRL); ioaddr 400 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = (void __iomem *)dev->base_addr; ioaddr 409 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + GMAC_PACKET_FILTER); ioaddr 446 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(mc_filter[i], ioaddr + GMAC_HASH_TAB(i)); ioaddr 466 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(0, ioaddr + GMAC_ADDR_HIGH(reg)); ioaddr 467 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(0, ioaddr + GMAC_ADDR_LOW(reg)); ioaddr 472 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + GMAC_PACKET_FILTER); ioaddr 479 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 488 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(flow, ioaddr + GMAC_RX_FLOW_CTRL); ioaddr 503 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(flow, ioaddr + GMAC_QX_TX_FLOW_CTRL(queue)); ioaddr 507 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(0, ioaddr + GMAC_QX_TX_FLOW_CTRL(queue)); ioaddr 511 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c static void dwmac4_ctrl_ane(void __iomem *ioaddr, bool ane, bool srgmi_ral, ioaddr 514 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c dwmac_ctrl_ane(ioaddr, GMAC_PCS_BASE, ane, srgmi_ral, loopback); ioaddr 517 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c static void dwmac4_rane(void __iomem *ioaddr, bool restart) ioaddr 519 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c dwmac_rane(ioaddr, GMAC_PCS_BASE, restart); ioaddr 522 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c static void dwmac4_get_adv_lp(void __iomem *ioaddr, struct rgmii_adv *adv) ioaddr 524 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c dwmac_get_adv_lp(ioaddr, GMAC_PCS_BASE, adv); ioaddr 528 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c static void dwmac4_phystatus(void __iomem *ioaddr, struct stmmac_extra_stats *x) ioaddr 532 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c status = readl(ioaddr + GMAC_PHYIF_CONTROL_STATUS); ioaddr 562 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 566 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c mtl_int_qx_status = readl(ioaddr + MTL_INT_STATUS); ioaddr 571 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c u32 status = readl(ioaddr + MTL_CHAN_INT_CTRL(chan)); ioaddr 576 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c ioaddr + MTL_CHAN_INT_CTRL(chan)); ioaddr 587 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 588 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c u32 intr_status = readl(ioaddr + GMAC_INT_STATUS); ioaddr 589 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c u32 intr_enable = readl(ioaddr + GMAC_INT_EN); ioaddr 604 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c readl(ioaddr + GMAC_PMT); ioaddr 611 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c u32 status = readl(ioaddr + GMAC4_LPI_CTRL_STATUS); ioaddr 627 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c dwmac_pcs_isr(ioaddr, GMAC_PCS_BASE, intr_status, x); ioaddr 629 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c dwmac4_phystatus(ioaddr, x); ioaddr 634 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c static void dwmac4_debug(void __iomem *ioaddr, struct stmmac_extra_stats *x, ioaddr 641 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + MTL_CHAN_TX_DEBUG(queue)); ioaddr 666 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + MTL_CHAN_RX_DEBUG(queue)); ioaddr 699 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + GMAC_DEBUG); ioaddr 723 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c static void dwmac4_set_mac_loopback(void __iomem *ioaddr, bool enable) ioaddr 725 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c u32 value = readl(ioaddr + GMAC_CONFIG); ioaddr 732 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + GMAC_CONFIG); ioaddr 738 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 740 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(hash, ioaddr + GMAC_VLAN_HASH_TABLE); ioaddr 750 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + GMAC_VLAN_TAG); ioaddr 752 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c u32 value = readl(ioaddr + GMAC_VLAN_TAG); ioaddr 759 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + GMAC_VLAN_TAG); ioaddr 763 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c static void dwmac4_sarc_configure(void __iomem *ioaddr, int val) ioaddr 765 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c u32 value = readl(ioaddr + GMAC_CONFIG); ioaddr 770 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + GMAC_CONFIG); ioaddr 775 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 778 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + GMAC_VLAN_INCL); ioaddr 783 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + GMAC_VLAN_INCL); ioaddr 789 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 792 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(addr, ioaddr + GMAC_ARP_ADDR); ioaddr 794 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value = readl(ioaddr + GMAC_CONFIG); ioaddr 799 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c writel(value, ioaddr + GMAC_CONFIG); ioaddr 922 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c mac->pcsr = priv->ioaddr; ioaddr 17 drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c void __iomem *ioaddr) ioaddr 17 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c static void dwmac4_dma_axi(void __iomem *ioaddr, struct stmmac_axi *axi) ioaddr 19 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c u32 value = readl(ioaddr + DMA_SYS_BUS_MODE); ioaddr 68 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c writel(value, ioaddr + DMA_SYS_BUS_MODE); ioaddr 71 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c static void dwmac4_dma_init_rx_chan(void __iomem *ioaddr, ioaddr 78 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c value = readl(ioaddr + DMA_CHAN_RX_CONTROL(chan)); ioaddr 80 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c writel(value, ioaddr + DMA_CHAN_RX_CONTROL(chan)); ioaddr 82 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c writel(lower_32_bits(dma_rx_phy), ioaddr + DMA_CHAN_RX_BASE_ADDR(chan)); ioaddr 85 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c static void dwmac4_dma_init_tx_chan(void __iomem *ioaddr, ioaddr 92 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c value = readl(ioaddr + DMA_CHAN_TX_CONTROL(chan)); ioaddr 98 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c writel(value, ioaddr + DMA_CHAN_TX_CONTROL(chan)); ioaddr 100 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c writel(lower_32_bits(dma_tx_phy), ioaddr + DMA_CHAN_TX_BASE_ADDR(chan)); ioaddr 103 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c static void dwmac4_dma_init_channel(void __iomem *ioaddr, ioaddr 109 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c value = readl(ioaddr + DMA_CHAN_CONTROL(chan)); ioaddr 112 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c writel(value, ioaddr + DMA_CHAN_CONTROL(chan)); ioaddr 116 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c ioaddr + DMA_CHAN_INTR_ENA(chan)); ioaddr 119 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c static void dwmac4_dma_init(void __iomem *ioaddr, ioaddr 122 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c u32 value = readl(ioaddr + DMA_SYS_BUS_MODE); ioaddr 135 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c writel(value, ioaddr + DMA_SYS_BUS_MODE); ioaddr 138 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c static void _dwmac4_dump_dma_regs(void __iomem *ioaddr, u32 channel, ioaddr 142 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c readl(ioaddr + DMA_CHAN_CONTROL(channel)); ioaddr 144 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c readl(ioaddr + DMA_CHAN_TX_CONTROL(channel)); ioaddr 146 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c readl(ioaddr + DMA_CHAN_RX_CONTROL(channel)); ioaddr 148 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c readl(ioaddr + DMA_CHAN_TX_BASE_ADDR(channel)); ioaddr 150 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c readl(ioaddr + DMA_CHAN_RX_BASE_ADDR(channel)); ioaddr 152 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c readl(ioaddr + DMA_CHAN_TX_END_ADDR(channel)); ioaddr 154 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c readl(ioaddr + DMA_CHAN_RX_END_ADDR(channel)); ioaddr 156 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c readl(ioaddr + DMA_CHAN_TX_RING_LEN(channel)); ioaddr 158 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c readl(ioaddr + DMA_CHAN_RX_RING_LEN(channel)); ioaddr 160 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c readl(ioaddr + DMA_CHAN_INTR_ENA(channel)); ioaddr 162 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c readl(ioaddr + DMA_CHAN_RX_WATCHDOG(channel)); ioaddr 164 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c readl(ioaddr + DMA_CHAN_SLOT_CTRL_STATUS(channel)); ioaddr 166 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c readl(ioaddr + DMA_CHAN_CUR_TX_DESC(channel)); ioaddr 168 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c readl(ioaddr + DMA_CHAN_CUR_RX_DESC(channel)); ioaddr 170 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c readl(ioaddr + DMA_CHAN_CUR_TX_BUF_ADDR(channel)); ioaddr 172 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c readl(ioaddr + DMA_CHAN_CUR_RX_BUF_ADDR(channel)); ioaddr 174 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c readl(ioaddr + DMA_CHAN_STATUS(channel)); ioaddr 177 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c static void dwmac4_dump_dma_regs(void __iomem *ioaddr, u32 *reg_space) ioaddr 182 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c _dwmac4_dump_dma_regs(ioaddr, i, reg_space); ioaddr 185 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c static void dwmac4_rx_watchdog(void __iomem *ioaddr, u32 riwt, u32 number_chan) ioaddr 190 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c writel(riwt, ioaddr + DMA_CHAN_RX_WATCHDOG(chan)); ioaddr 193 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c static void dwmac4_dma_rx_chan_op_mode(void __iomem *ioaddr, int mode, ioaddr 199 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c mtl_rx_op = readl(ioaddr + MTL_CHAN_RX_OP_MODE(channel)); ioaddr 267 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c writel(mtl_rx_op, ioaddr + MTL_CHAN_RX_OP_MODE(channel)); ioaddr 270 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c mtl_rx_int = readl(ioaddr + MTL_CHAN_INT_CTRL(channel)); ioaddr 272 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c ioaddr + MTL_CHAN_INT_CTRL(channel)); ioaddr 275 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c static void dwmac4_dma_tx_chan_op_mode(void __iomem *ioaddr, int mode, ioaddr 278 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c u32 mtl_tx_op = readl(ioaddr + MTL_CHAN_TX_OP_MODE(channel)); ioaddr 324 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c writel(mtl_tx_op, ioaddr + MTL_CHAN_TX_OP_MODE(channel)); ioaddr 327 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c static void dwmac4_get_hw_feature(void __iomem *ioaddr, ioaddr 330 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c u32 hw_cap = readl(ioaddr + GMAC_HW_FEATURE0); ioaddr 355 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c hw_cap = readl(ioaddr + GMAC_HW_FEATURE1); ioaddr 365 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c hw_cap = readl(ioaddr + GMAC_HW_FEATURE2); ioaddr 383 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c hw_cap = readl(ioaddr + GMAC_HW_FEATURE3); ioaddr 394 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c static void dwmac4_enable_tso(void __iomem *ioaddr, bool en, u32 chan) ioaddr 400 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c value = readl(ioaddr + DMA_CHAN_TX_CONTROL(chan)); ioaddr 402 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c ioaddr + DMA_CHAN_TX_CONTROL(chan)); ioaddr 405 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c value = readl(ioaddr + DMA_CHAN_TX_CONTROL(chan)); ioaddr 407 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c ioaddr + DMA_CHAN_TX_CONTROL(chan)); ioaddr 411 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c static void dwmac4_qmode(void __iomem *ioaddr, u32 channel, u8 qmode) ioaddr 413 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c u32 mtl_tx_op = readl(ioaddr + MTL_CHAN_TX_OP_MODE(channel)); ioaddr 421 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c writel(mtl_tx_op, ioaddr + MTL_CHAN_TX_OP_MODE(channel)); ioaddr 424 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c static void dwmac4_set_bfsize(void __iomem *ioaddr, int bfsize, u32 chan) ioaddr 426 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c u32 value = readl(ioaddr + DMA_CHAN_RX_CONTROL(chan)); ioaddr 431 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c writel(value, ioaddr + DMA_CHAN_RX_CONTROL(chan)); ioaddr 184 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h int dwmac4_dma_reset(void __iomem *ioaddr); ioaddr 185 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h void dwmac4_enable_dma_irq(void __iomem *ioaddr, u32 chan); ioaddr 186 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h void dwmac410_enable_dma_irq(void __iomem *ioaddr, u32 chan); ioaddr 187 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h void dwmac4_disable_dma_irq(void __iomem *ioaddr, u32 chan); ioaddr 188 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h void dwmac4_dma_start_tx(void __iomem *ioaddr, u32 chan); ioaddr 189 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h void dwmac4_dma_stop_tx(void __iomem *ioaddr, u32 chan); ioaddr 190 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h void dwmac4_dma_start_rx(void __iomem *ioaddr, u32 chan); ioaddr 191 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h void dwmac4_dma_stop_rx(void __iomem *ioaddr, u32 chan); ioaddr 192 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h int dwmac4_dma_interrupt(void __iomem *ioaddr, ioaddr 194 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h void dwmac4_set_rx_ring_len(void __iomem *ioaddr, u32 len, u32 chan); ioaddr 195 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h void dwmac4_set_tx_ring_len(void __iomem *ioaddr, u32 len, u32 chan); ioaddr 196 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h void dwmac4_set_rx_tail_ptr(void __iomem *ioaddr, u32 tail_ptr, u32 chan); ioaddr 197 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h void dwmac4_set_tx_tail_ptr(void __iomem *ioaddr, u32 tail_ptr, u32 chan); ioaddr 14 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c int dwmac4_dma_reset(void __iomem *ioaddr) ioaddr 16 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c u32 value = readl(ioaddr + DMA_BUS_MODE); ioaddr 21 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(value, ioaddr + DMA_BUS_MODE); ioaddr 24 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c if (!(readl(ioaddr + DMA_BUS_MODE) & DMA_BUS_MODE_SFT_RESET)) ioaddr 35 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c void dwmac4_set_rx_tail_ptr(void __iomem *ioaddr, u32 tail_ptr, u32 chan) ioaddr 37 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(tail_ptr, ioaddr + DMA_CHAN_RX_END_ADDR(chan)); ioaddr 40 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c void dwmac4_set_tx_tail_ptr(void __iomem *ioaddr, u32 tail_ptr, u32 chan) ioaddr 42 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(tail_ptr, ioaddr + DMA_CHAN_TX_END_ADDR(chan)); ioaddr 45 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c void dwmac4_dma_start_tx(void __iomem *ioaddr, u32 chan) ioaddr 47 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c u32 value = readl(ioaddr + DMA_CHAN_TX_CONTROL(chan)); ioaddr 50 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(value, ioaddr + DMA_CHAN_TX_CONTROL(chan)); ioaddr 52 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c value = readl(ioaddr + GMAC_CONFIG); ioaddr 54 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(value, ioaddr + GMAC_CONFIG); ioaddr 57 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c void dwmac4_dma_stop_tx(void __iomem *ioaddr, u32 chan) ioaddr 59 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c u32 value = readl(ioaddr + DMA_CHAN_TX_CONTROL(chan)); ioaddr 62 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(value, ioaddr + DMA_CHAN_TX_CONTROL(chan)); ioaddr 64 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c value = readl(ioaddr + GMAC_CONFIG); ioaddr 66 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(value, ioaddr + GMAC_CONFIG); ioaddr 69 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c void dwmac4_dma_start_rx(void __iomem *ioaddr, u32 chan) ioaddr 71 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c u32 value = readl(ioaddr + DMA_CHAN_RX_CONTROL(chan)); ioaddr 75 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(value, ioaddr + DMA_CHAN_RX_CONTROL(chan)); ioaddr 77 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c value = readl(ioaddr + GMAC_CONFIG); ioaddr 79 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(value, ioaddr + GMAC_CONFIG); ioaddr 82 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c void dwmac4_dma_stop_rx(void __iomem *ioaddr, u32 chan) ioaddr 84 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c u32 value = readl(ioaddr + DMA_CHAN_RX_CONTROL(chan)); ioaddr 87 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(value, ioaddr + DMA_CHAN_RX_CONTROL(chan)); ioaddr 90 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c void dwmac4_set_tx_ring_len(void __iomem *ioaddr, u32 len, u32 chan) ioaddr 92 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(len, ioaddr + DMA_CHAN_TX_RING_LEN(chan)); ioaddr 95 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c void dwmac4_set_rx_ring_len(void __iomem *ioaddr, u32 len, u32 chan) ioaddr 97 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(len, ioaddr + DMA_CHAN_RX_RING_LEN(chan)); ioaddr 100 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c void dwmac4_enable_dma_irq(void __iomem *ioaddr, u32 chan) ioaddr 102 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(DMA_CHAN_INTR_DEFAULT_MASK, ioaddr + ioaddr 106 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c void dwmac410_enable_dma_irq(void __iomem *ioaddr, u32 chan) ioaddr 109 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c ioaddr + DMA_CHAN_INTR_ENA(chan)); ioaddr 112 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c void dwmac4_disable_dma_irq(void __iomem *ioaddr, u32 chan) ioaddr 114 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(0, ioaddr + DMA_CHAN_INTR_ENA(chan)); ioaddr 117 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c int dwmac4_dma_interrupt(void __iomem *ioaddr, ioaddr 120 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c u32 intr_status = readl(ioaddr + DMA_CHAN_STATUS(chan)); ioaddr 121 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c u32 intr_en = readl(ioaddr + DMA_CHAN_INTR_ENA(chan)); ioaddr 159 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(intr_status & intr_en, ioaddr + DMA_CHAN_STATUS(chan)); ioaddr 163 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c void stmmac_dwmac4_set_mac_addr(void __iomem *ioaddr, u8 addr[6], ioaddr 174 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(data | GMAC_HI_REG_AE, ioaddr + high); ioaddr 176 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(data, ioaddr + low); ioaddr 180 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c void stmmac_dwmac4_set_mac(void __iomem *ioaddr, bool enable) ioaddr 182 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c u32 value = readl(ioaddr + GMAC_CONFIG); ioaddr 189 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c writel(value, ioaddr + GMAC_CONFIG); ioaddr 192 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c void stmmac_dwmac4_get_mac_addr(void __iomem *ioaddr, unsigned char *addr, ioaddr 198 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c hi_addr = readl(ioaddr + high); ioaddr 199 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c lo_addr = readl(ioaddr + low); ioaddr 78 drivers/net/ethernet/stmicro/stmmac/dwmac5.c void __iomem *ioaddr, bool correctable, ioaddr 83 drivers/net/ethernet/stmicro/stmmac/dwmac5.c value = readl(ioaddr + MAC_DPP_FSM_INT_STATUS); ioaddr 84 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(value, ioaddr + MAC_DPP_FSM_INT_STATUS); ioaddr 126 drivers/net/ethernet/stmicro/stmmac/dwmac5.c void __iomem *ioaddr, bool correctable, ioaddr 131 drivers/net/ethernet/stmicro/stmmac/dwmac5.c value = readl(ioaddr + MTL_ECC_INT_STATUS); ioaddr 132 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(value, ioaddr + MTL_ECC_INT_STATUS); ioaddr 174 drivers/net/ethernet/stmicro/stmmac/dwmac5.c void __iomem *ioaddr, bool correctable, ioaddr 179 drivers/net/ethernet/stmicro/stmmac/dwmac5.c value = readl(ioaddr + DMA_ECC_INT_STATUS); ioaddr 180 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(value, ioaddr + DMA_ECC_INT_STATUS); ioaddr 186 drivers/net/ethernet/stmicro/stmmac/dwmac5.c int dwmac5_safety_feat_config(void __iomem *ioaddr, unsigned int asp) ioaddr 194 drivers/net/ethernet/stmicro/stmmac/dwmac5.c value = readl(ioaddr + MTL_ECC_CONTROL); ioaddr 200 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(value, ioaddr + MTL_ECC_CONTROL); ioaddr 203 drivers/net/ethernet/stmicro/stmmac/dwmac5.c value = readl(ioaddr + MTL_ECC_INT_ENABLE); ioaddr 208 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(value, ioaddr + MTL_ECC_INT_ENABLE); ioaddr 211 drivers/net/ethernet/stmicro/stmmac/dwmac5.c value = readl(ioaddr + DMA_ECC_INT_ENABLE); ioaddr 213 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(value, ioaddr + DMA_ECC_INT_ENABLE); ioaddr 220 drivers/net/ethernet/stmicro/stmmac/dwmac5.c value = readl(ioaddr + MAC_FSM_CONTROL); ioaddr 223 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(value, ioaddr + MAC_FSM_CONTROL); ioaddr 226 drivers/net/ethernet/stmicro/stmmac/dwmac5.c value = readl(ioaddr + MTL_DPP_CONTROL); ioaddr 228 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(value, ioaddr + MTL_DPP_CONTROL); ioaddr 238 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(value, ioaddr + MTL_DPP_CONTROL); ioaddr 243 drivers/net/ethernet/stmicro/stmmac/dwmac5.c void __iomem *ioaddr, unsigned int asp, ioaddr 253 drivers/net/ethernet/stmicro/stmmac/dwmac5.c mtl = readl(ioaddr + MTL_SAFETY_INT_STATUS); ioaddr 254 drivers/net/ethernet/stmicro/stmmac/dwmac5.c dma = readl(ioaddr + DMA_SAFETY_INT_STATUS); ioaddr 259 drivers/net/ethernet/stmicro/stmmac/dwmac5.c dwmac5_handle_mac_err(ndev, ioaddr, corr, stats); ioaddr 266 drivers/net/ethernet/stmicro/stmmac/dwmac5.c dwmac5_handle_mtl_err(ndev, ioaddr, corr, stats); ioaddr 273 drivers/net/ethernet/stmicro/stmmac/dwmac5.c dwmac5_handle_dma_err(ndev, ioaddr, corr, stats); ioaddr 305 drivers/net/ethernet/stmicro/stmmac/dwmac5.c static int dwmac5_rxp_disable(void __iomem *ioaddr) ioaddr 310 drivers/net/ethernet/stmicro/stmmac/dwmac5.c val = readl(ioaddr + MTL_OPERATION_MODE); ioaddr 312 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(val, ioaddr + MTL_OPERATION_MODE); ioaddr 314 drivers/net/ethernet/stmicro/stmmac/dwmac5.c ret = readl_poll_timeout(ioaddr + MTL_RXP_CONTROL_STATUS, val, ioaddr 321 drivers/net/ethernet/stmicro/stmmac/dwmac5.c static void dwmac5_rxp_enable(void __iomem *ioaddr) ioaddr 325 drivers/net/ethernet/stmicro/stmmac/dwmac5.c val = readl(ioaddr + MTL_OPERATION_MODE); ioaddr 327 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(val, ioaddr + MTL_OPERATION_MODE); ioaddr 330 drivers/net/ethernet/stmicro/stmmac/dwmac5.c static int dwmac5_rxp_update_single_entry(void __iomem *ioaddr, ioaddr 341 drivers/net/ethernet/stmicro/stmmac/dwmac5.c ret = readl_poll_timeout(ioaddr + MTL_RXP_IACC_CTRL_STATUS, ioaddr 348 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(val, ioaddr + MTL_RXP_IACC_DATA); ioaddr 352 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(val, ioaddr + MTL_RXP_IACC_CTRL_STATUS); ioaddr 356 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(val, ioaddr + MTL_RXP_IACC_CTRL_STATUS); ioaddr 360 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(val, ioaddr + MTL_RXP_IACC_CTRL_STATUS); ioaddr 363 drivers/net/ethernet/stmicro/stmmac/dwmac5.c ret = readl_poll_timeout(ioaddr + MTL_RXP_IACC_CTRL_STATUS, ioaddr 412 drivers/net/ethernet/stmicro/stmmac/dwmac5.c int dwmac5_rxp_config(void __iomem *ioaddr, struct stmmac_tc_entry *entries, ioaddr 421 drivers/net/ethernet/stmicro/stmmac/dwmac5.c old_val = readl(ioaddr + GMAC_CONFIG); ioaddr 423 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(val, ioaddr + GMAC_CONFIG); ioaddr 426 drivers/net/ethernet/stmicro/stmmac/dwmac5.c ret = dwmac5_rxp_disable(ioaddr); ioaddr 453 drivers/net/ethernet/stmicro/stmmac/dwmac5.c ret = dwmac5_rxp_update_single_entry(ioaddr, entry, nve); ioaddr 461 drivers/net/ethernet/stmicro/stmmac/dwmac5.c ret = dwmac5_rxp_update_single_entry(ioaddr, frag, nve); ioaddr 478 drivers/net/ethernet/stmicro/stmmac/dwmac5.c ret = dwmac5_rxp_update_single_entry(ioaddr, entry, nve); ioaddr 488 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(val, ioaddr + MTL_RXP_CONTROL_STATUS); ioaddr 491 drivers/net/ethernet/stmicro/stmmac/dwmac5.c dwmac5_rxp_enable(ioaddr); ioaddr 495 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(old_val, ioaddr + GMAC_CONFIG); ioaddr 499 drivers/net/ethernet/stmicro/stmmac/dwmac5.c int dwmac5_flex_pps_config(void __iomem *ioaddr, int index, ioaddr 503 drivers/net/ethernet/stmicro/stmmac/dwmac5.c u32 tnsec = readl(ioaddr + MAC_PPSx_TARGET_TIME_NSEC(index)); ioaddr 504 drivers/net/ethernet/stmicro/stmmac/dwmac5.c u32 val = readl(ioaddr + MAC_PPS_CONTROL); ioaddr 519 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(val, ioaddr + MAC_PPS_CONTROL); ioaddr 527 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(cfg->start.tv_sec, ioaddr + MAC_PPSx_TARGET_TIME_SEC(index)); ioaddr 531 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(cfg->start.tv_nsec, ioaddr + MAC_PPSx_TARGET_TIME_NSEC(index)); ioaddr 541 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(period - 1, ioaddr + MAC_PPSx_INTERVAL(index)); ioaddr 547 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(period - 1, ioaddr + MAC_PPSx_WIDTH(index)); ioaddr 550 drivers/net/ethernet/stmicro/stmmac/dwmac5.c writel(val, ioaddr + MAC_PPS_CONTROL); ioaddr 75 drivers/net/ethernet/stmicro/stmmac/dwmac5.h int dwmac5_safety_feat_config(void __iomem *ioaddr, unsigned int asp); ioaddr 77 drivers/net/ethernet/stmicro/stmmac/dwmac5.h void __iomem *ioaddr, unsigned int asp, ioaddr 81 drivers/net/ethernet/stmicro/stmmac/dwmac5.h int dwmac5_rxp_config(void __iomem *ioaddr, struct stmmac_tc_entry *entries, ioaddr 83 drivers/net/ethernet/stmicro/stmmac/dwmac5.h int dwmac5_flex_pps_config(void __iomem *ioaddr, int index, ioaddr 132 drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h void dwmac_enable_dma_transmission(void __iomem *ioaddr); ioaddr 133 drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h void dwmac_enable_dma_irq(void __iomem *ioaddr, u32 chan); ioaddr 134 drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h void dwmac_disable_dma_irq(void __iomem *ioaddr, u32 chan); ioaddr 135 drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h void dwmac_dma_start_tx(void __iomem *ioaddr, u32 chan); ioaddr 136 drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h void dwmac_dma_stop_tx(void __iomem *ioaddr, u32 chan); ioaddr 137 drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h void dwmac_dma_start_rx(void __iomem *ioaddr, u32 chan); ioaddr 138 drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h void dwmac_dma_stop_rx(void __iomem *ioaddr, u32 chan); ioaddr 139 drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h int dwmac_dma_interrupt(void __iomem *ioaddr, struct stmmac_extra_stats *x, ioaddr 141 drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h int dwmac_dma_reset(void __iomem *ioaddr); ioaddr 16 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c int dwmac_dma_reset(void __iomem *ioaddr) ioaddr 18 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c u32 value = readl(ioaddr + DMA_BUS_MODE); ioaddr 23 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c writel(value, ioaddr + DMA_BUS_MODE); ioaddr 25 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c err = readl_poll_timeout(ioaddr + DMA_BUS_MODE, value, ioaddr 35 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c void dwmac_enable_dma_transmission(void __iomem *ioaddr) ioaddr 37 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c writel(1, ioaddr + DMA_XMT_POLL_DEMAND); ioaddr 40 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c void dwmac_enable_dma_irq(void __iomem *ioaddr, u32 chan) ioaddr 42 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c writel(DMA_INTR_DEFAULT_MASK, ioaddr + DMA_INTR_ENA); ioaddr 45 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c void dwmac_disable_dma_irq(void __iomem *ioaddr, u32 chan) ioaddr 47 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c writel(0, ioaddr + DMA_INTR_ENA); ioaddr 50 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c void dwmac_dma_start_tx(void __iomem *ioaddr, u32 chan) ioaddr 52 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c u32 value = readl(ioaddr + DMA_CONTROL); ioaddr 54 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c writel(value, ioaddr + DMA_CONTROL); ioaddr 57 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c void dwmac_dma_stop_tx(void __iomem *ioaddr, u32 chan) ioaddr 59 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c u32 value = readl(ioaddr + DMA_CONTROL); ioaddr 61 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c writel(value, ioaddr + DMA_CONTROL); ioaddr 64 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c void dwmac_dma_start_rx(void __iomem *ioaddr, u32 chan) ioaddr 66 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c u32 value = readl(ioaddr + DMA_CONTROL); ioaddr 68 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c writel(value, ioaddr + DMA_CONTROL); ioaddr 71 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c void dwmac_dma_stop_rx(void __iomem *ioaddr, u32 chan) ioaddr 73 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c u32 value = readl(ioaddr + DMA_CONTROL); ioaddr 75 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c writel(value, ioaddr + DMA_CONTROL); ioaddr 148 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c int dwmac_dma_interrupt(void __iomem *ioaddr, ioaddr 153 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c u32 intr_status = readl(ioaddr + DMA_STATUS); ioaddr 194 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c u32 value = readl(ioaddr + DMA_INTR_ENA); ioaddr 214 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c writel((intr_status & 0x1ffff), ioaddr + DMA_STATUS); ioaddr 219 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c void dwmac_dma_flush_tx_fifo(void __iomem *ioaddr) ioaddr 221 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c u32 csr6 = readl(ioaddr + DMA_CONTROL); ioaddr 222 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c writel((csr6 | DMA_CONTROL_FTF), ioaddr + DMA_CONTROL); ioaddr 224 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c do {} while ((readl(ioaddr + DMA_CONTROL) & DMA_CONTROL_FTF)); ioaddr 227 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c void stmmac_set_mac_addr(void __iomem *ioaddr, u8 addr[6], ioaddr 237 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c writel(data | GMAC_HI_REG_AE, ioaddr + high); ioaddr 239 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c writel(data, ioaddr + low); ioaddr 244 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c void stmmac_set_mac(void __iomem *ioaddr, bool enable) ioaddr 246 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c u32 value = readl(ioaddr + MAC_CTRL_REG); ioaddr 253 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c writel(value, ioaddr + MAC_CTRL_REG); ioaddr 256 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c void stmmac_get_mac_addr(void __iomem *ioaddr, unsigned char *addr, ioaddr 262 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c hi_addr = readl(ioaddr + high); ioaddr 263 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c lo_addr = readl(ioaddr + low); ioaddr 17 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 20 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c tx = readl(ioaddr + XGMAC_TX_CONFIG); ioaddr 21 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c rx = readl(ioaddr + XGMAC_RX_CONFIG); ioaddr 44 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(tx, ioaddr + XGMAC_TX_CONFIG); ioaddr 45 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(rx, ioaddr + XGMAC_RX_CONFIG); ioaddr 46 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(XGMAC_INT_DEFAULT_EN, ioaddr + XGMAC_INT_EN); ioaddr 49 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c static void dwxgmac2_set_mac(void __iomem *ioaddr, bool enable) ioaddr 51 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 tx = readl(ioaddr + XGMAC_TX_CONFIG); ioaddr 52 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 rx = readl(ioaddr + XGMAC_RX_CONFIG); ioaddr 62 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(tx, ioaddr + XGMAC_TX_CONFIG); ioaddr 63 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(rx, ioaddr + XGMAC_RX_CONFIG); ioaddr 68 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 71 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_RX_CONFIG); ioaddr 76 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_RX_CONFIG); ioaddr 78 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c return !!(readl(ioaddr + XGMAC_RX_CONFIG) & XGMAC_CONFIG_IPC); ioaddr 84 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 87 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_RXQ_CTRL0) & ~XGMAC_RXQEN(queue); ioaddr 92 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_RXQ_CTRL0); ioaddr 98 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 105 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + reg); ioaddr 109 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + reg); ioaddr 115 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 122 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + reg); ioaddr 126 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + reg); ioaddr 132 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 135 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_MTL_OPMODE); ioaddr 148 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_MTL_OPMODE); ioaddr 154 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 159 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_MTL_OPMODE); ioaddr 177 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_MTL_OPMODE); ioaddr 181 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_MTL_TCx_ETS_CONTROL(i)); ioaddr 185 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_MTL_TCx_ETS_CONTROL(i)); ioaddr 192 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 194 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(weight, ioaddr + XGMAC_MTL_TCx_QUANTUM_WEIGHT(queue)); ioaddr 200 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 207 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + reg); ioaddr 211 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + reg); ioaddr 218 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 221 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(send_slope, ioaddr + XGMAC_MTL_TCx_SENDSLOPE(queue)); ioaddr 222 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(idle_slope, ioaddr + XGMAC_MTL_TCx_QUANTUM_WEIGHT(queue)); ioaddr 223 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(high_credit, ioaddr + XGMAC_MTL_TCx_HICREDIT(queue)); ioaddr 224 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(low_credit, ioaddr + XGMAC_MTL_TCx_LOCREDIT(queue)); ioaddr 226 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_MTL_TCx_ETS_CONTROL(queue)); ioaddr 229 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_MTL_TCx_ETS_CONTROL(queue)); ioaddr 234 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 238 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c reg_space[i] = readl(ioaddr + i * 4); ioaddr 244 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 248 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c en = readl(ioaddr + XGMAC_INT_EN); ioaddr 249 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c stat = readl(ioaddr + XGMAC_INT_STATUS); ioaddr 255 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c readl(ioaddr + XGMAC_PMT); ioaddr 259 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 lpi = readl(ioaddr + XGMAC_LPI_CTRL); ioaddr 280 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 284 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c status = readl(ioaddr + XGMAC_MTL_INT_STATUS); ioaddr 286 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 chan_status = readl(ioaddr + XGMAC_MTL_QINT_STATUS(chan)); ioaddr 291 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(~0x0, ioaddr + XGMAC_MTL_QINT_STATUS(chan)); ioaddr 301 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 305 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(XGMAC_RFE, ioaddr + XGMAC_RX_FLOW_CTRL); ioaddr 313 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_Qx_TX_FLOW_CTRL(i)); ioaddr 320 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 328 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 cfg = readl(ioaddr + XGMAC_RX_CONFIG); ioaddr 330 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(cfg, ioaddr + XGMAC_RX_CONFIG); ioaddr 333 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(val, ioaddr + XGMAC_PMT); ioaddr 339 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 343 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value | XGMAC_AE, ioaddr + XGMAC_ADDRx_HIGH(reg_n)); ioaddr 346 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_ADDRx_LOW(reg_n)); ioaddr 352 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 356 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c hi_addr = readl(ioaddr + XGMAC_ADDRx_HIGH(reg_n)); ioaddr 357 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c lo_addr = readl(ioaddr + XGMAC_ADDRx_LOW(reg_n)); ioaddr 371 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 374 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_LPI_CTRL); ioaddr 380 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_LPI_CTRL); ioaddr 385 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 388 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_LPI_CTRL); ioaddr 390 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_LPI_CTRL); ioaddr 395 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 398 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_LPI_CTRL); ioaddr 403 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_LPI_CTRL); ioaddr 408 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 412 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_LPI_TIMER_CTRL); ioaddr 415 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c static void dwxgmac2_set_mchash(void __iomem *ioaddr, u32 *mcfilterbits, ioaddr 435 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(mcfilterbits[regs], ioaddr + XGMAC_HASH_TABLE(regs)); ioaddr 441 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = (void __iomem *)dev->base_addr; ioaddr 442 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 value = readl(ioaddr + XGMAC_PACKET_FILTER); ioaddr 460 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(~0x0, ioaddr + XGMAC_HASH_TABLE(i)); ioaddr 473 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c dwxgmac2_set_mchash(ioaddr, mc_filter, mcbitslog2); ioaddr 488 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(0, ioaddr + XGMAC_ADDRx_HIGH(reg)); ioaddr 489 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(0, ioaddr + XGMAC_ADDRx_LOW(reg)); ioaddr 493 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_PACKET_FILTER); ioaddr 496 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c static void dwxgmac2_set_mac_loopback(void __iomem *ioaddr, bool enable) ioaddr 498 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 value = readl(ioaddr + XGMAC_RX_CONFIG); ioaddr 505 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_RX_CONFIG); ioaddr 508 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c static int dwxgmac2_rss_write_reg(void __iomem *ioaddr, bool is_key, int idx, ioaddr 513 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(val, ioaddr + XGMAC_RSS_DATA); ioaddr 517 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(ctrl, ioaddr + XGMAC_RSS_ADDR); ioaddr 519 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c return readl_poll_timeout(ioaddr + XGMAC_RSS_ADDR, ctrl, ioaddr 526 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 530 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_RSS_CTRL); ioaddr 533 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_RSS_CTRL); ioaddr 539 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c ret = dwxgmac2_rss_write_reg(ioaddr, true, i, key[i]); ioaddr 545 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c ret = dwxgmac2_rss_write_reg(ioaddr, false, i, cfg->table[i]); ioaddr 554 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_RSS_CTRL); ioaddr 561 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 563 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(hash, ioaddr + XGMAC_VLAN_HASH_TABLE); ioaddr 566 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 value = readl(ioaddr + XGMAC_PACKET_FILTER); ioaddr 570 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_PACKET_FILTER); ioaddr 579 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_VLAN_TAG); ioaddr 581 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 value = readl(ioaddr + XGMAC_PACKET_FILTER); ioaddr 585 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_PACKET_FILTER); ioaddr 587 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_VLAN_TAG); ioaddr 594 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_VLAN_TAG); ioaddr 665 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr, bool correctable, ioaddr 670 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_MAC_DPP_FSM_INT_STATUS); ioaddr 671 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_MAC_DPP_FSM_INT_STATUS); ioaddr 713 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr, bool correctable, ioaddr 718 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_MTL_ECC_INT_STATUS); ioaddr 719 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_MTL_ECC_INT_STATUS); ioaddr 761 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr, bool correctable, ioaddr 766 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_DMA_ECC_INT_STATUS); ioaddr 767 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_DMA_ECC_INT_STATUS); ioaddr 773 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c static int dwxgmac3_safety_feat_config(void __iomem *ioaddr, unsigned int asp) ioaddr 781 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(0x0, ioaddr + XGMAC_MTL_ECC_CONTROL); ioaddr 784 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_MTL_ECC_INT_ENABLE); ioaddr 789 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_MTL_ECC_INT_ENABLE); ioaddr 792 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_DMA_ECC_INT_ENABLE); ioaddr 795 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_DMA_ECC_INT_ENABLE); ioaddr 802 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_MAC_FSM_CONTROL); ioaddr 805 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_MAC_FSM_CONTROL); ioaddr 811 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr, ioaddr 822 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c mtl = readl(ioaddr + XGMAC_MTL_SAFETY_INT_STATUS); ioaddr 823 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c dma = readl(ioaddr + XGMAC_DMA_SAFETY_INT_STATUS); ioaddr 828 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c dwxgmac3_handle_mac_err(ndev, ioaddr, corr, stats); ioaddr 836 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c dwxgmac3_handle_mtl_err(ndev, ioaddr, corr, stats); ioaddr 843 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c dwxgmac3_handle_dma_err(ndev, ioaddr, corr, stats); ioaddr 876 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c static int dwxgmac3_rxp_disable(void __iomem *ioaddr) ioaddr 878 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 val = readl(ioaddr + XGMAC_MTL_OPMODE); ioaddr 881 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(val, ioaddr + XGMAC_MTL_OPMODE); ioaddr 886 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c static void dwxgmac3_rxp_enable(void __iomem *ioaddr) ioaddr 890 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c val = readl(ioaddr + XGMAC_MTL_OPMODE); ioaddr 892 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(val, ioaddr + XGMAC_MTL_OPMODE); ioaddr 895 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c static int dwxgmac3_rxp_update_single_entry(void __iomem *ioaddr, ioaddr 906 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c ret = readl_poll_timeout(ioaddr + XGMAC_MTL_RXP_IACC_CTRL_ST, ioaddr 913 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(val, ioaddr + XGMAC_MTL_RXP_IACC_DATA); ioaddr 917 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(val, ioaddr + XGMAC_MTL_RXP_IACC_CTRL_ST); ioaddr 921 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(val, ioaddr + XGMAC_MTL_RXP_IACC_CTRL_ST); ioaddr 925 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(val, ioaddr + XGMAC_MTL_RXP_IACC_CTRL_ST); ioaddr 928 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c ret = readl_poll_timeout(ioaddr + XGMAC_MTL_RXP_IACC_CTRL_ST, ioaddr 977 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c static int dwxgmac3_rxp_config(void __iomem *ioaddr, ioaddr 987 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c old_val = readl(ioaddr + XGMAC_RX_CONFIG); ioaddr 989 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(val, ioaddr + XGMAC_RX_CONFIG); ioaddr 992 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c ret = dwxgmac3_rxp_disable(ioaddr); ioaddr 1019 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c ret = dwxgmac3_rxp_update_single_entry(ioaddr, entry, nve); ioaddr 1027 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c ret = dwxgmac3_rxp_update_single_entry(ioaddr, frag, nve); ioaddr 1044 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c ret = dwxgmac3_rxp_update_single_entry(ioaddr, entry, nve); ioaddr 1054 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(val, ioaddr + XGMAC_MTL_RXP_CONTROL_STATUS); ioaddr 1057 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c dwxgmac3_rxp_enable(ioaddr); ioaddr 1061 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(old_val, ioaddr + XGMAC_RX_CONFIG); ioaddr 1067 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 1070 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c if (readl_poll_timeout_atomic(ioaddr + XGMAC_TIMESTAMP_STATUS, ioaddr 1074 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c *ts = readl(ioaddr + XGMAC_TXTIMESTAMP_NSEC) & XGMAC_TXTSSTSLO; ioaddr 1075 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c *ts += readl(ioaddr + XGMAC_TXTIMESTAMP_SEC) * 1000000000ULL; ioaddr 1079 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c static int dwxgmac2_flex_pps_config(void __iomem *ioaddr, int index, ioaddr 1083 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 tnsec = readl(ioaddr + XGMAC_PPSx_TARGET_TIME_NSEC(index)); ioaddr 1084 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 val = readl(ioaddr + XGMAC_PPS_CONTROL); ioaddr 1098 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(val, ioaddr + XGMAC_PPS_CONTROL); ioaddr 1106 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(cfg->start.tv_sec, ioaddr + XGMAC_PPSx_TARGET_TIME_SEC(index)); ioaddr 1110 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(cfg->start.tv_nsec, ioaddr + XGMAC_PPSx_TARGET_TIME_NSEC(index)); ioaddr 1120 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(period - 1, ioaddr + XGMAC_PPSx_INTERVAL(index)); ioaddr 1126 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(period - 1, ioaddr + XGMAC_PPSx_WIDTH(index)); ioaddr 1129 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(val, ioaddr + XGMAC_PPS_CONTROL); ioaddr 1133 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c static void dwxgmac2_sarc_configure(void __iomem *ioaddr, int val) ioaddr 1135 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 value = readl(ioaddr + XGMAC_TX_CONFIG); ioaddr 1140 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_TX_CONFIG); ioaddr 1145 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 1148 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_VLAN_INCL); ioaddr 1153 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_VLAN_INCL); ioaddr 1158 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 1161 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c if (readl_poll_timeout(ioaddr + XGMAC_L3L4_ADDR_CTRL, value, ioaddr 1170 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 1180 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_L3L4_ADDR_CTRL); ioaddr 1186 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c *data = readl(ioaddr + XGMAC_L3L4_DATA); ioaddr 1193 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 1201 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(data, ioaddr + XGMAC_L3L4_DATA); ioaddr 1205 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_L3L4_ADDR_CTRL); ioaddr 1214 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 1218 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_PACKET_FILTER); ioaddr 1220 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_PACKET_FILTER); ioaddr 1277 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 1281 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_PACKET_FILTER); ioaddr 1283 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_PACKET_FILTER); ioaddr 1334 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c void __iomem *ioaddr = hw->pcsr; ioaddr 1337 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(addr, ioaddr + XGMAC_ARP_ADDR); ioaddr 1339 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c value = readl(ioaddr + XGMAC_RX_CONFIG); ioaddr 1344 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(value, ioaddr + XGMAC_RX_CONFIG); ioaddr 1399 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c mac->pcsr = priv->ioaddr; ioaddr 12 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c struct dma_desc *p, void __iomem *ioaddr) ioaddr 11 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static int dwxgmac2_dma_reset(void __iomem *ioaddr) ioaddr 13 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c u32 value = readl(ioaddr + XGMAC_DMA_MODE); ioaddr 16 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value | XGMAC_SWR, ioaddr + XGMAC_DMA_MODE); ioaddr 18 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c return readl_poll_timeout(ioaddr + XGMAC_DMA_MODE, value, ioaddr 22 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_dma_init(void __iomem *ioaddr, ioaddr 25 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c u32 value = readl(ioaddr + XGMAC_DMA_SYSBUS_MODE); ioaddr 30 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value | XGMAC_EAME, ioaddr + XGMAC_DMA_SYSBUS_MODE); ioaddr 33 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_dma_init_chan(void __iomem *ioaddr, ioaddr 36 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c u32 value = readl(ioaddr + XGMAC_DMA_CH_CONTROL(chan)); ioaddr 41 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_DMA_CH_CONTROL(chan)); ioaddr 42 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(XGMAC_DMA_INT_DEFAULT_EN, ioaddr + XGMAC_DMA_CH_INT_EN(chan)); ioaddr 45 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_dma_init_rx_chan(void __iomem *ioaddr, ioaddr 52 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c value = readl(ioaddr + XGMAC_DMA_CH_RX_CONTROL(chan)); ioaddr 55 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_DMA_CH_RX_CONTROL(chan)); ioaddr 57 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(upper_32_bits(phy), ioaddr + XGMAC_DMA_CH_RxDESC_HADDR(chan)); ioaddr 58 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(lower_32_bits(phy), ioaddr + XGMAC_DMA_CH_RxDESC_LADDR(chan)); ioaddr 61 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_dma_init_tx_chan(void __iomem *ioaddr, ioaddr 68 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c value = readl(ioaddr + XGMAC_DMA_CH_TX_CONTROL(chan)); ioaddr 72 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_DMA_CH_TX_CONTROL(chan)); ioaddr 74 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(upper_32_bits(phy), ioaddr + XGMAC_DMA_CH_TxDESC_HADDR(chan)); ioaddr 75 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(lower_32_bits(phy), ioaddr + XGMAC_DMA_CH_TxDESC_LADDR(chan)); ioaddr 78 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_dma_axi(void __iomem *ioaddr, struct stmmac_axi *axi) ioaddr 80 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c u32 value = readl(ioaddr + XGMAC_DMA_SYSBUS_MODE); ioaddr 126 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_DMA_SYSBUS_MODE); ioaddr 127 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(XGMAC_TDPS, ioaddr + XGMAC_TX_EDMA_CTRL); ioaddr 128 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(XGMAC_RDPS, ioaddr + XGMAC_RX_EDMA_CTRL); ioaddr 131 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_dma_dump_regs(void __iomem *ioaddr, u32 *reg_space) ioaddr 136 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c reg_space[i] = readl(ioaddr + i * 4); ioaddr 139 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_dma_rx_mode(void __iomem *ioaddr, int mode, ioaddr 142 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c u32 value = readl(ioaddr + XGMAC_MTL_RXQ_OPMODE(channel)); ioaddr 163 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c u32 flow = readl(ioaddr + XGMAC_MTL_RXQ_FLOW_CONTROL(channel)); ioaddr 205 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(flow, ioaddr + XGMAC_MTL_RXQ_FLOW_CONTROL(channel)); ioaddr 208 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_MTL_RXQ_OPMODE(channel)); ioaddr 211 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c value = readl(ioaddr + XGMAC_MTL_QINTEN(channel)); ioaddr 212 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value | XGMAC_RXOIE, ioaddr + XGMAC_MTL_QINTEN(channel)); ioaddr 215 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_dma_tx_mode(void __iomem *ioaddr, int mode, ioaddr 218 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c u32 value = readl(ioaddr + XGMAC_MTL_TXQ_OPMODE(channel)); ioaddr 255 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_MTL_TXQ_OPMODE(channel)); ioaddr 258 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_enable_dma_irq(void __iomem *ioaddr, u32 chan) ioaddr 260 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(XGMAC_DMA_INT_DEFAULT_EN, ioaddr + XGMAC_DMA_CH_INT_EN(chan)); ioaddr 263 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_disable_dma_irq(void __iomem *ioaddr, u32 chan) ioaddr 265 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(0, ioaddr + XGMAC_DMA_CH_INT_EN(chan)); ioaddr 268 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_dma_start_tx(void __iomem *ioaddr, u32 chan) ioaddr 272 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c value = readl(ioaddr + XGMAC_DMA_CH_TX_CONTROL(chan)); ioaddr 274 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_DMA_CH_TX_CONTROL(chan)); ioaddr 276 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c value = readl(ioaddr + XGMAC_TX_CONFIG); ioaddr 278 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_TX_CONFIG); ioaddr 281 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_dma_stop_tx(void __iomem *ioaddr, u32 chan) ioaddr 285 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c value = readl(ioaddr + XGMAC_DMA_CH_TX_CONTROL(chan)); ioaddr 287 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_DMA_CH_TX_CONTROL(chan)); ioaddr 289 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c value = readl(ioaddr + XGMAC_TX_CONFIG); ioaddr 291 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_TX_CONFIG); ioaddr 294 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_dma_start_rx(void __iomem *ioaddr, u32 chan) ioaddr 298 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c value = readl(ioaddr + XGMAC_DMA_CH_RX_CONTROL(chan)); ioaddr 300 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_DMA_CH_RX_CONTROL(chan)); ioaddr 302 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c value = readl(ioaddr + XGMAC_RX_CONFIG); ioaddr 304 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_RX_CONFIG); ioaddr 307 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_dma_stop_rx(void __iomem *ioaddr, u32 chan) ioaddr 311 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c value = readl(ioaddr + XGMAC_DMA_CH_RX_CONTROL(chan)); ioaddr 313 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_DMA_CH_RX_CONTROL(chan)); ioaddr 316 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static int dwxgmac2_dma_interrupt(void __iomem *ioaddr, ioaddr 319 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c u32 intr_status = readl(ioaddr + XGMAC_DMA_CH_STATUS(chan)); ioaddr 320 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c u32 intr_en = readl(ioaddr + XGMAC_DMA_CH_INT_EN(chan)); ioaddr 354 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(intr_en & intr_status, ioaddr + XGMAC_DMA_CH_STATUS(chan)); ioaddr 359 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_get_hw_feature(void __iomem *ioaddr, ioaddr 365 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c hw_cap = readl(ioaddr + XGMAC_HW_FEATURE0); ioaddr 381 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c hw_cap = readl(ioaddr + XGMAC_HW_FEATURE1); ioaddr 410 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c hw_cap = readl(ioaddr + XGMAC_HW_FEATURE2); ioaddr 422 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c hw_cap = readl(ioaddr + XGMAC_HW_FEATURE3); ioaddr 430 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_rx_watchdog(void __iomem *ioaddr, u32 riwt, u32 nchan) ioaddr 435 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(riwt & XGMAC_RWT, ioaddr + XGMAC_DMA_CH_Rx_WATCHDOG(i)); ioaddr 438 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_set_rx_ring_len(void __iomem *ioaddr, u32 len, u32 chan) ioaddr 440 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(len, ioaddr + XGMAC_DMA_CH_RxDESC_RING_LEN(chan)); ioaddr 443 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_set_tx_ring_len(void __iomem *ioaddr, u32 len, u32 chan) ioaddr 445 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(len, ioaddr + XGMAC_DMA_CH_TxDESC_RING_LEN(chan)); ioaddr 448 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_set_rx_tail_ptr(void __iomem *ioaddr, u32 ptr, u32 chan) ioaddr 450 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(ptr, ioaddr + XGMAC_DMA_CH_RxDESC_TAIL_LPTR(chan)); ioaddr 453 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_set_tx_tail_ptr(void __iomem *ioaddr, u32 ptr, u32 chan) ioaddr 455 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(ptr, ioaddr + XGMAC_DMA_CH_TxDESC_TAIL_LPTR(chan)); ioaddr 458 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_enable_tso(void __iomem *ioaddr, bool en, u32 chan) ioaddr 460 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c u32 value = readl(ioaddr + XGMAC_DMA_CH_TX_CONTROL(chan)); ioaddr 467 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_DMA_CH_TX_CONTROL(chan)); ioaddr 470 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_qmode(void __iomem *ioaddr, u32 channel, u8 qmode) ioaddr 472 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c u32 value = readl(ioaddr + XGMAC_MTL_TXQ_OPMODE(channel)); ioaddr 473 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c u32 flow = readl(ioaddr + XGMAC_RX_FLOW_CTRL); ioaddr 478 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(0, ioaddr + XGMAC_MTL_TCx_ETS_CONTROL(channel)); ioaddr 481 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(flow & (~XGMAC_RFE), ioaddr + XGMAC_RX_FLOW_CTRL); ioaddr 484 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_MTL_TXQ_OPMODE(channel)); ioaddr 487 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_set_bfsize(void __iomem *ioaddr, int bfsize, u32 chan) ioaddr 491 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c value = readl(ioaddr + XGMAC_DMA_CH_RX_CONTROL(chan)); ioaddr 494 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_DMA_CH_RX_CONTROL(chan)); ioaddr 497 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c static void dwxgmac2_enable_sph(void __iomem *ioaddr, bool en, u32 chan) ioaddr 499 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c u32 value = readl(ioaddr + XGMAC_RX_CONFIG); ioaddr 503 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_RX_CONFIG); ioaddr 505 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c value = readl(ioaddr + XGMAC_DMA_CH_CONTROL(chan)); ioaddr 510 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c writel(value, ioaddr + XGMAC_DMA_CH_CONTROL(chan)); ioaddr 16 drivers/net/ethernet/stmicro/stmmac/enh_desc.c struct dma_desc *p, void __iomem *ioaddr) ioaddr 36 drivers/net/ethernet/stmicro/stmmac/enh_desc.c dwmac_dma_flush_tx_fifo(ioaddr); ioaddr 56 drivers/net/ethernet/stmicro/stmmac/enh_desc.c dwmac_dma_flush_tx_fifo(ioaddr); ioaddr 65 drivers/net/ethernet/stmicro/stmmac/enh_desc.c dwmac_dma_flush_tx_fifo(ioaddr); ioaddr 13 drivers/net/ethernet/stmicro/stmmac/hwif.c u32 reg = readl(priv->ioaddr + id_reg); ioaddr 241 drivers/net/ethernet/stmicro/stmmac/hwif.c priv->ptpaddr = priv->ioaddr + ioaddr 243 drivers/net/ethernet/stmicro/stmmac/hwif.c priv->mmcaddr = priv->ioaddr + ioaddr 281 drivers/net/ethernet/stmicro/stmmac/hwif.c priv->ptpaddr = priv->ioaddr + entry->regs.ptp_off; ioaddr 282 drivers/net/ethernet/stmicro/stmmac/hwif.c priv->mmcaddr = priv->ioaddr + entry->regs.mmc_off; ioaddr 59 drivers/net/ethernet/stmicro/stmmac/hwif.h struct dma_desc *p, void __iomem *ioaddr); ioaddr 167 drivers/net/ethernet/stmicro/stmmac/hwif.h int (*reset)(void __iomem *ioaddr); ioaddr 168 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*init)(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, ioaddr 170 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*init_chan)(void __iomem *ioaddr, ioaddr 172 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*init_rx_chan)(void __iomem *ioaddr, ioaddr 175 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*init_tx_chan)(void __iomem *ioaddr, ioaddr 179 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*axi)(void __iomem *ioaddr, struct stmmac_axi *axi); ioaddr 181 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*dump_regs)(void __iomem *ioaddr, u32 *reg_space); ioaddr 182 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*dma_rx_mode)(void __iomem *ioaddr, int mode, u32 channel, ioaddr 184 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*dma_tx_mode)(void __iomem *ioaddr, int mode, u32 channel, ioaddr 188 drivers/net/ethernet/stmicro/stmmac/hwif.h void __iomem *ioaddr); ioaddr 189 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*enable_dma_transmission) (void __iomem *ioaddr); ioaddr 190 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*enable_dma_irq)(void __iomem *ioaddr, u32 chan); ioaddr 191 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*disable_dma_irq)(void __iomem *ioaddr, u32 chan); ioaddr 192 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*start_tx)(void __iomem *ioaddr, u32 chan); ioaddr 193 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*stop_tx)(void __iomem *ioaddr, u32 chan); ioaddr 194 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*start_rx)(void __iomem *ioaddr, u32 chan); ioaddr 195 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*stop_rx)(void __iomem *ioaddr, u32 chan); ioaddr 196 drivers/net/ethernet/stmicro/stmmac/hwif.h int (*dma_interrupt) (void __iomem *ioaddr, ioaddr 199 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*get_hw_feature)(void __iomem *ioaddr, ioaddr 202 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*rx_watchdog)(void __iomem *ioaddr, u32 riwt, u32 number_chan); ioaddr 203 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*set_tx_ring_len)(void __iomem *ioaddr, u32 len, u32 chan); ioaddr 204 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*set_rx_ring_len)(void __iomem *ioaddr, u32 len, u32 chan); ioaddr 205 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*set_rx_tail_ptr)(void __iomem *ioaddr, u32 tail_ptr, u32 chan); ioaddr 206 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*set_tx_tail_ptr)(void __iomem *ioaddr, u32 tail_ptr, u32 chan); ioaddr 207 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*enable_tso)(void __iomem *ioaddr, bool en, u32 chan); ioaddr 208 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*qmode)(void __iomem *ioaddr, u32 channel, u8 qmode); ioaddr 209 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*set_bfsize)(void __iomem *ioaddr, int bfsize, u32 chan); ioaddr 210 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*enable_sph)(void __iomem *ioaddr, bool en, u32 chan); ioaddr 283 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*set_mac)(void __iomem *ioaddr, bool enable); ioaddr 332 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*debug)(void __iomem *ioaddr, struct stmmac_extra_stats *x, ioaddr 335 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*pcs_ctrl_ane)(void __iomem *ioaddr, bool ane, bool srgmi_ral, ioaddr 337 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*pcs_rane)(void __iomem *ioaddr, bool restart); ioaddr 338 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*pcs_get_adv_lp)(void __iomem *ioaddr, struct rgmii_adv *adv); ioaddr 340 drivers/net/ethernet/stmicro/stmmac/hwif.h int (*safety_feat_config)(void __iomem *ioaddr, unsigned int asp); ioaddr 342 drivers/net/ethernet/stmicro/stmmac/hwif.h void __iomem *ioaddr, unsigned int asp, ioaddr 347 drivers/net/ethernet/stmicro/stmmac/hwif.h int (*rxp_config)(void __iomem *ioaddr, struct stmmac_tc_entry *entries, ioaddr 350 drivers/net/ethernet/stmicro/stmmac/hwif.h int (*flex_pps_config)(void __iomem *ioaddr, int index, ioaddr 354 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*set_mac_loopback)(void __iomem *ioaddr, bool enable); ioaddr 365 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*sarc_configure)(void __iomem *ioaddr, int val); ioaddr 463 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*config_hw_tstamping) (void __iomem *ioaddr, u32 data); ioaddr 464 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*config_sub_second_increment)(void __iomem *ioaddr, u32 ptp_clock, ioaddr 466 drivers/net/ethernet/stmicro/stmmac/hwif.h int (*init_systime) (void __iomem *ioaddr, u32 sec, u32 nsec); ioaddr 467 drivers/net/ethernet/stmicro/stmmac/hwif.h int (*config_addend) (void __iomem *ioaddr, u32 addend); ioaddr 468 drivers/net/ethernet/stmicro/stmmac/hwif.h int (*adjust_systime) (void __iomem *ioaddr, u32 sec, u32 nsec, ioaddr 470 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*get_systime) (void __iomem *ioaddr, u64 *systime); ioaddr 540 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*ctrl)(void __iomem *ioaddr, unsigned int mode); ioaddr 541 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*intr_all_mask)(void __iomem *ioaddr); ioaddr 542 drivers/net/ethernet/stmicro/stmmac/hwif.h void (*read)(void __iomem *ioaddr, struct stmmac_counters *mmc); ioaddr 16 drivers/net/ethernet/stmicro/stmmac/norm_desc.c struct dma_desc *p, void __iomem *ioaddr) ioaddr 159 drivers/net/ethernet/stmicro/stmmac/stmmac.h void __iomem *ioaddr; ioaddr 294 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c if (stmmac_pcs_get_adv_lp(priv, priv->ioaddr, &adv)) ioaddr 381 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c stmmac_pcs_ctrl_ane(priv, priv->ioaddr, 1, priv->hw->ps, 0); ioaddr 426 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c stmmac_dump_dma_regs(priv, priv->ioaddr, reg_space); ioaddr 450 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c if (priv->hw->pcs && !stmmac_pcs_get_adv_lp(priv, priv->ioaddr, &adv_lp)) { ioaddr 466 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c if (priv->hw->pcs && !stmmac_pcs_get_adv_lp(priv, priv->ioaddr, &adv_lp)) { ioaddr 495 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c priv->ioaddr); ioaddr 517 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c stmmac_mac_debug(priv, priv->ioaddr, ioaddr 756 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c stmmac_rx_watchdog(priv, priv->ioaddr, priv->rx_riwt, rx_cnt); ioaddr 17 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c static void config_hw_tstamping(void __iomem *ioaddr, u32 data) ioaddr 19 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c writel(data, ioaddr + PTP_TCR); ioaddr 22 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c static void config_sub_second_increment(void __iomem *ioaddr, ioaddr 25 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c u32 value = readl(ioaddr + PTP_TCR); ioaddr 52 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c writel(reg_value, ioaddr + PTP_SSIR); ioaddr 58 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c static int init_systime(void __iomem *ioaddr, u32 sec, u32 nsec) ioaddr 63 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c writel(sec, ioaddr + PTP_STSUR); ioaddr 64 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c writel(nsec, ioaddr + PTP_STNSUR); ioaddr 66 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c value = readl(ioaddr + PTP_TCR); ioaddr 68 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c writel(value, ioaddr + PTP_TCR); ioaddr 73 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c if (!(readl(ioaddr + PTP_TCR) & PTP_TCR_TSINIT)) ioaddr 83 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c static int config_addend(void __iomem *ioaddr, u32 addend) ioaddr 88 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c writel(addend, ioaddr + PTP_TAR); ioaddr 90 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c value = readl(ioaddr + PTP_TCR); ioaddr 92 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c writel(value, ioaddr + PTP_TCR); ioaddr 97 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c if (!(readl(ioaddr + PTP_TCR) & PTP_TCR_TSADDREG)) ioaddr 107 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c static int adjust_systime(void __iomem *ioaddr, u32 sec, u32 nsec, ioaddr 121 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c value = readl(ioaddr + PTP_TCR); ioaddr 128 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c writel(sec, ioaddr + PTP_STSUR); ioaddr 130 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c writel(value, ioaddr + PTP_STNSUR); ioaddr 133 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c value = readl(ioaddr + PTP_TCR); ioaddr 135 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c writel(value, ioaddr + PTP_TCR); ioaddr 140 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c if (!(readl(ioaddr + PTP_TCR) & PTP_TCR_TSUPDT)) ioaddr 150 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c static void get_systime(void __iomem *ioaddr, u64 *systime) ioaddr 155 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c ns = readl(ioaddr + PTP_STNSR); ioaddr 157 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c ns += readl(ioaddr + PTP_STSR) * 1000000000ULL; ioaddr 884 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c ctrl = readl(priv->ioaddr + MAC_CTRL_REG); ioaddr 934 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c writel(ctrl, priv->ioaddr + MAC_CTRL_REG); ioaddr 947 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_mac_set(priv, priv->ioaddr, false); ioaddr 959 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_mac_set(priv, priv->ioaddr, true); ioaddr 1721 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_start_rx(priv, priv->ioaddr, chan); ioaddr 1734 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_start_tx(priv, priv->ioaddr, chan); ioaddr 1747 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_stop_rx(priv, priv->ioaddr, chan); ioaddr 1760 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_stop_tx(priv, priv->ioaddr, chan); ioaddr 1850 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_dma_rx_mode(priv, priv->ioaddr, rxmode, chan, ioaddr 1852 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_dma_bfsize(priv, priv->ioaddr, priv->dma_buf_sz, ioaddr 1859 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_dma_tx_mode(priv, priv->ioaddr, txmode, chan, ioaddr 1892 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c &priv->xstats, p, priv->ioaddr); ioaddr 2038 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_dma_rx_mode(priv, priv->ioaddr, rxmode, chan, rxfifosz, rxqmode); ioaddr 2039 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_dma_tx_mode(priv, priv->ioaddr, txmode, chan, txfifosz, txqmode); ioaddr 2047 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c priv->ioaddr, priv->dma_cap.asp, &priv->sstats); ioaddr 2058 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c int status = stmmac_dma_interrupt_status(priv, priv->ioaddr, ioaddr 2064 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_disable_dma_irq(priv, priv->ioaddr, chan); ioaddr 2153 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c return stmmac_get_hw_feature(priv, priv->ioaddr, &priv->dma_cap) == 0; ioaddr 2201 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c ret = stmmac_reset(priv, priv->ioaddr); ioaddr 2208 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_dma_init(priv, priv->ioaddr, priv->plat->dma_cfg, atds); ioaddr 2211 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_axi(priv, priv->ioaddr, priv->plat->axi); ioaddr 2215 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_init_chan(priv, priv->ioaddr, priv->plat->dma_cfg, chan); ioaddr 2221 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_init_rx_chan(priv, priv->ioaddr, priv->plat->dma_cfg, ioaddr 2226 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_rx_tail_ptr(priv, priv->ioaddr, ioaddr 2234 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_init_tx_chan(priv, priv->ioaddr, priv->plat->dma_cfg, ioaddr 2238 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_tx_tail_ptr(priv, priv->ioaddr, ioaddr 2308 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_tx_ring_len(priv, priv->ioaddr, ioaddr 2313 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_rx_ring_len(priv, priv->ioaddr, ioaddr 2508 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_safety_feat_config(priv, priv->ioaddr, priv->dma_cap.asp); ioaddr 2575 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_mac_set(priv, priv->ioaddr, true); ioaddr 2597 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c ret = stmmac_rx_watchdog(priv, priv->ioaddr, MIN_DMA_RIWT, rx_cnt); ioaddr 2603 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_pcs_ctrl_ane(priv, priv->ioaddr, 1, priv->hw->ps, 0); ioaddr 2611 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_enable_tso(priv, priv->ioaddr, 1, chan); ioaddr 2617 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_enable_sph(priv, priv->ioaddr, 1, chan); ioaddr 2802 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_mac_set(priv, priv->ioaddr, false); ioaddr 3107 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_tx_tail_ptr(priv, priv->ioaddr, tx_q->tx_tail_addr, queue); ioaddr 3332 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_enable_dma_transmission(priv, priv->ioaddr); ioaddr 3335 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_tx_tail_ptr(priv, priv->ioaddr, tx_q->tx_tail_addr, queue); ioaddr 3445 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_rx_tail_ptr(priv, priv->ioaddr, rx_q->rx_tail_addr, queue); ioaddr 3677 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_enable_dma_irq(priv, priv->ioaddr, chan); ioaddr 3701 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_enable_dma_transmission(priv, priv->ioaddr); ioaddr 3702 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_tx_tail_ptr(priv, priv->ioaddr, tx_q->tx_tail_addr, ioaddr 3828 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_enable_sph(priv, priv->ioaddr, sph_en, chan); ioaddr 3889 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_rx_tail_ptr(priv, priv->ioaddr, ioaddr 4487 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c priv->ioaddr = res->addr; ioaddr 4730 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_mac_set(priv, priv->ioaddr, false); ioaddr 4794 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_mac_set(priv, priv->ioaddr, false); ioaddr 55 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, ioaddr 60 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c tmp = readl(priv->ioaddr + XGMAC_MDIO_C22P); ioaddr 63 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c writel(tmp, priv->ioaddr + XGMAC_MDIO_C22P); ioaddr 91 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, ioaddr 96 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c writel(addr, priv->ioaddr + mii_address); ioaddr 97 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c writel(value, priv->ioaddr + mii_data); ioaddr 100 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, ioaddr 105 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c return readl(priv->ioaddr + mii_data) & GENMASK(15, 0); ioaddr 132 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, ioaddr 137 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c writel(addr, priv->ioaddr + mii_address); ioaddr 138 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c writel(value, priv->ioaddr + mii_data); ioaddr 141 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c return readl_poll_timeout(priv->ioaddr + mii_data, tmp, ioaddr 184 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), ioaddr 188 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c writel(data, priv->ioaddr + mii_data); ioaddr 189 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c writel(value, priv->ioaddr + mii_address); ioaddr 191 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), ioaddr 196 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c data = (int)readl(priv->ioaddr + mii_data) & MII_DATA_MASK; ioaddr 243 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), ioaddr 248 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c writel(data, priv->ioaddr + mii_data); ioaddr 249 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c writel(value, priv->ioaddr + mii_address); ioaddr 252 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c return readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), ioaddr 302 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c writel(0, priv->ioaddr + mii_address); ioaddr 56 drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h static inline void dwmac_pcs_isr(void __iomem *ioaddr, u32 reg, ioaddr 60 drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h u32 val = readl(ioaddr + GMAC_AN_STATUS(reg)); ioaddr 84 drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h static inline void dwmac_rane(void __iomem *ioaddr, u32 reg, bool restart) ioaddr 86 drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h u32 value = readl(ioaddr + GMAC_AN_CTRL(reg)); ioaddr 91 drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h writel(value, ioaddr + GMAC_AN_CTRL(reg)); ioaddr 105 drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h static inline void dwmac_ctrl_ane(void __iomem *ioaddr, u32 reg, bool ane, ioaddr 108 drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h u32 value = readl(ioaddr + GMAC_AN_CTRL(reg)); ioaddr 123 drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h writel(value, ioaddr + GMAC_AN_CTRL(reg)); ioaddr 134 drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h static inline void dwmac_get_adv_lp(void __iomem *ioaddr, u32 reg, ioaddr 137 drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h u32 value = readl(ioaddr + GMAC_ANE_ADV(reg)); ioaddr 146 drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h value = readl(ioaddr + GMAC_ANE_LPA(reg)); ioaddr 155 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c ret = stmmac_flex_pps_config(priv, priv->ioaddr, ioaddr 763 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c stmmac_stop_rx(priv, priv->ioaddr, i); ioaddr 797 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c stmmac_set_rx_tail_ptr(priv, priv->ioaddr, tail, i); ioaddr 798 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c stmmac_start_rx(priv, priv->ioaddr, i); ioaddr 1188 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c if (stmmac_sarc_configure(priv, priv->ioaddr, 0x2)) ioaddr 1193 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c stmmac_sarc_configure(priv, priv->ioaddr, 0x0); ioaddr 1210 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c if (stmmac_sarc_configure(priv, priv->ioaddr, 0x3)) ioaddr 1215 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c stmmac_sarc_configure(priv, priv->ioaddr, 0x0); ioaddr 1880 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c ret = stmmac_set_mac_loopback(priv, priv->ioaddr, true); ioaddr 1913 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c stmmac_set_mac_loopback(priv, priv->ioaddr, false); ioaddr 329 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c ret = stmmac_dma_qmode(priv, priv->ioaddr, queue, MTL_QUEUE_AVB); ioaddr 335 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c return stmmac_dma_qmode(priv, priv->ioaddr, queue, MTL_QUEUE_DCB); ioaddr 162 drivers/net/ethernet/ti/tlan.c static int tlan_probe1(struct pci_dev *pdev, long ioaddr, ioaddr 463 drivers/net/ethernet/ti/tlan.c static int tlan_probe1(struct pci_dev *pdev, long ioaddr, int irq, int rev, ioaddr 534 drivers/net/ethernet/ti/tlan.c device_id = inw(ioaddr + EISA_ID2); ioaddr 542 drivers/net/ethernet/ti/tlan.c dev->base_addr = ioaddr; ioaddr 675 drivers/net/ethernet/ti/tlan.c long ioaddr; ioaddr 686 drivers/net/ethernet/ti/tlan.c for (ioaddr = 0x1000; ioaddr < 0x9000; ioaddr += 0x1000) { ioaddr 689 drivers/net/ethernet/ti/tlan.c (int) ioaddr + 0xc80, inw(ioaddr + EISA_ID)); ioaddr 691 drivers/net/ethernet/ti/tlan.c (int) ioaddr + 0xc82, inw(ioaddr + EISA_ID2)); ioaddr 696 drivers/net/ethernet/ti/tlan.c (int) ioaddr); ioaddr 697 drivers/net/ethernet/ti/tlan.c if (request_region(ioaddr, 0x10, tlan_signature) == NULL) ioaddr 700 drivers/net/ethernet/ti/tlan.c if (inw(ioaddr + EISA_ID) != 0x110E) { ioaddr 701 drivers/net/ethernet/ti/tlan.c release_region(ioaddr, 0x10); ioaddr 705 drivers/net/ethernet/ti/tlan.c device_id = inw(ioaddr + EISA_ID2); ioaddr 707 drivers/net/ethernet/ti/tlan.c release_region(ioaddr, 0x10); ioaddr 712 drivers/net/ethernet/ti/tlan.c if (inb(ioaddr + EISA_CR) != 0x1) { ioaddr 713 drivers/net/ethernet/ti/tlan.c release_region(ioaddr, 0x10); ioaddr 722 drivers/net/ethernet/ti/tlan.c switch (inb(ioaddr + 0xcc0)) { ioaddr 741 drivers/net/ethernet/ti/tlan.c rc = tlan_probe1(NULL, ioaddr, irq, ioaddr 765 drivers/net/ethernet/toshiba/tc35815.c void __iomem *ioaddr = NULL; ioaddr 800 drivers/net/ethernet/toshiba/tc35815.c ioaddr = pcim_iomap_table(pdev)[1]; ioaddr 809 drivers/net/ethernet/toshiba/tc35815.c dev->base_addr = (unsigned long)ioaddr; ioaddr 275 drivers/net/ethernet/via/via-rhine.c #define IOSYNC do { ioread8(ioaddr + StationAddr); } while (0) ioaddr 529 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 533 drivers/net/ethernet/via/via-rhine.c bool has_mask_bits = !!(ioread8(ioaddr + reg) & mask); ioaddr 557 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 560 drivers/net/ethernet/via/via-rhine.c intr_status = ioread16(ioaddr + IntrStatus); ioaddr 563 drivers/net/ethernet/via/via-rhine.c intr_status |= ioread8(ioaddr + IntrStatus2) << 16; ioaddr 569 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 572 drivers/net/ethernet/via/via-rhine.c iowrite8(mask >> 16, ioaddr + IntrStatus2); ioaddr 573 drivers/net/ethernet/via/via-rhine.c iowrite16(mask, ioaddr + IntrStatus); ioaddr 583 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 588 drivers/net/ethernet/via/via-rhine.c iowrite8(ioread8(ioaddr + StickyHW) & 0xFC, ioaddr + StickyHW); ioaddr 591 drivers/net/ethernet/via/via-rhine.c iowrite8(0x80, ioaddr + WOLcgClr); ioaddr 594 drivers/net/ethernet/via/via-rhine.c iowrite8(0xFF, ioaddr + WOLcrClr); ioaddr 597 drivers/net/ethernet/via/via-rhine.c iowrite8(0x03, ioaddr + WOLcrClr1); ioaddr 600 drivers/net/ethernet/via/via-rhine.c wolstat = ioread8(ioaddr + PwrcsrSet); ioaddr 602 drivers/net/ethernet/via/via-rhine.c wolstat |= (ioread8(ioaddr + PwrcsrSet1) & 0x03) << 8; ioaddr 605 drivers/net/ethernet/via/via-rhine.c iowrite8(0xFF, ioaddr + PwrcsrClr); ioaddr 607 drivers/net/ethernet/via/via-rhine.c iowrite8(0x03, ioaddr + PwrcsrClr1); ioaddr 639 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 642 drivers/net/ethernet/via/via-rhine.c iowrite8(Cmd1Reset, ioaddr + ChipCmd1); ioaddr 645 drivers/net/ethernet/via/via-rhine.c if (ioread8(ioaddr + ChipCmd1) & Cmd1Reset) { ioaddr 650 drivers/net/ethernet/via/via-rhine.c iowrite8(0x40, ioaddr + MiscCmd); ioaddr 656 drivers/net/ethernet/via/via-rhine.c cmd1 = ioread8(ioaddr + ChipCmd1); ioaddr 679 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr, ioaddr 689 drivers/net/ethernet/via/via-rhine.c unsigned char b = readb(ioaddr+reg); ioaddr 709 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 729 drivers/net/ethernet/via/via-rhine.c iowrite8(ioread8(ioaddr + ConfigA) & 0xFC, ioaddr + ConfigA); ioaddr 748 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 751 drivers/net/ethernet/via/via-rhine.c BYTE_REG_BITS_SET(rp->tx_thresh, 0x80, ioaddr + TxConfig); ioaddr 785 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 788 drivers/net/ethernet/via/via-rhine.c stats->rx_crc_errors += ioread16(ioaddr + RxCRCErrs); ioaddr 789 drivers/net/ethernet/via/via-rhine.c stats->rx_missed_errors += ioread16(ioaddr + RxMissed); ioaddr 797 drivers/net/ethernet/via/via-rhine.c iowrite32(0, ioaddr + RxMissed); ioaddr 798 drivers/net/ethernet/via/via-rhine.c ioread16(ioaddr + RxCRCErrs); ioaddr 799 drivers/net/ethernet/via/via-rhine.c ioread16(ioaddr + RxMissed); ioaddr 826 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 841 drivers/net/ethernet/via/via-rhine.c if (ioread8(ioaddr + ChipCmd) & CmdTxOn) ioaddr 864 drivers/net/ethernet/via/via-rhine.c iowrite16(enable_mask, ioaddr + IntrEnable); ioaddr 903 drivers/net/ethernet/via/via-rhine.c long pioaddr, void __iomem *ioaddr, int irq) ioaddr 928 drivers/net/ethernet/via/via-rhine.c rp->base = ioaddr; ioaddr 942 drivers/net/ethernet/via/via-rhine.c dev->dev_addr[i] = ioread8(ioaddr + StationAddr + i); ioaddr 954 drivers/net/ethernet/via/via-rhine.c phy_id = ioread8(ioaddr + 0x6C); ioaddr 997 drivers/net/ethernet/via/via-rhine.c name, ioaddr, dev->dev_addr, rp->irq); ioaddr 1040 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr; ioaddr 1095 drivers/net/ethernet/via/via-rhine.c ioaddr = pci_iomap(pdev, (quirks & rqNeedEnMMIO ? 1 : 0), io_size); ioaddr 1096 drivers/net/ethernet/via/via-rhine.c if (!ioaddr) { ioaddr 1106 drivers/net/ethernet/via/via-rhine.c rc = verify_mmio(hwdev, pioaddr, ioaddr, quirks); ioaddr 1111 drivers/net/ethernet/via/via-rhine.c pioaddr, ioaddr, pdev->irq); ioaddr 1116 drivers/net/ethernet/via/via-rhine.c pci_iounmap(pdev, ioaddr); ioaddr 1130 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr; ioaddr 1136 drivers/net/ethernet/via/via-rhine.c ioaddr = devm_platform_ioremap_resource(pdev, 0); ioaddr 1137 drivers/net/ethernet/via/via-rhine.c if (IS_ERR(ioaddr)) ioaddr 1138 drivers/net/ethernet/via/via-rhine.c return PTR_ERR(ioaddr); ioaddr 1149 drivers/net/ethernet/via/via-rhine.c (long)ioaddr, ioaddr, irq); ioaddr 1364 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 1370 drivers/net/ethernet/via/via-rhine.c iowrite8(ioread8(ioaddr + ChipCmd1) | Cmd1FDuplex, ioaddr 1371 drivers/net/ethernet/via/via-rhine.c ioaddr + ChipCmd1); ioaddr 1373 drivers/net/ethernet/via/via-rhine.c iowrite8(ioread8(ioaddr + ChipCmd1) & ~Cmd1FDuplex, ioaddr 1374 drivers/net/ethernet/via/via-rhine.c ioaddr + ChipCmd1); ioaddr 1406 drivers/net/ethernet/via/via-rhine.c static void rhine_set_cam(void __iomem *ioaddr, int idx, u8 *addr) ioaddr 1410 drivers/net/ethernet/via/via-rhine.c iowrite8(CAMC_CAMEN, ioaddr + CamCon); ioaddr 1416 drivers/net/ethernet/via/via-rhine.c iowrite8((u8) idx, ioaddr + CamAddr); ioaddr 1419 drivers/net/ethernet/via/via-rhine.c iowrite8(*addr, ioaddr + MulticastFilter0 + i); ioaddr 1423 drivers/net/ethernet/via/via-rhine.c iowrite8(CAMC_CAMWR | CAMC_CAMEN, ioaddr + CamCon); ioaddr 1426 drivers/net/ethernet/via/via-rhine.c iowrite8(0, ioaddr + CamCon); ioaddr 1437 drivers/net/ethernet/via/via-rhine.c static void rhine_set_vlan_cam(void __iomem *ioaddr, int idx, u8 *addr) ioaddr 1439 drivers/net/ethernet/via/via-rhine.c iowrite8(CAMC_CAMEN | CAMC_VCAMSL, ioaddr + CamCon); ioaddr 1445 drivers/net/ethernet/via/via-rhine.c iowrite8((u8) idx, ioaddr + CamAddr); ioaddr 1447 drivers/net/ethernet/via/via-rhine.c iowrite16(*((u16 *) addr), ioaddr + MulticastFilter0 + 6); ioaddr 1451 drivers/net/ethernet/via/via-rhine.c iowrite8(CAMC_CAMWR | CAMC_CAMEN, ioaddr + CamCon); ioaddr 1454 drivers/net/ethernet/via/via-rhine.c iowrite8(0, ioaddr + CamCon); ioaddr 1464 drivers/net/ethernet/via/via-rhine.c static void rhine_set_cam_mask(void __iomem *ioaddr, u32 mask) ioaddr 1466 drivers/net/ethernet/via/via-rhine.c iowrite8(CAMC_CAMEN, ioaddr + CamCon); ioaddr 1470 drivers/net/ethernet/via/via-rhine.c iowrite32(mask, ioaddr + CamMask); ioaddr 1473 drivers/net/ethernet/via/via-rhine.c iowrite8(0, ioaddr + CamCon); ioaddr 1483 drivers/net/ethernet/via/via-rhine.c static void rhine_set_vlan_cam_mask(void __iomem *ioaddr, u32 mask) ioaddr 1485 drivers/net/ethernet/via/via-rhine.c iowrite8(CAMC_CAMEN | CAMC_VCAMSL, ioaddr + CamCon); ioaddr 1489 drivers/net/ethernet/via/via-rhine.c iowrite32(mask, ioaddr + CamMask); ioaddr 1492 drivers/net/ethernet/via/via-rhine.c iowrite8(0, ioaddr + CamCon); ioaddr 1505 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 1508 drivers/net/ethernet/via/via-rhine.c rhine_set_vlan_cam_mask(ioaddr, 0); ioaddr 1509 drivers/net/ethernet/via/via-rhine.c rhine_set_cam_mask(ioaddr, 0); ioaddr 1512 drivers/net/ethernet/via/via-rhine.c BYTE_REG_BITS_ON(TCR_PQEN, ioaddr + TxConfig); ioaddr 1513 drivers/net/ethernet/via/via-rhine.c BYTE_REG_BITS_OFF(BCR1_VIDFR, ioaddr + PCIBusConfig1); ioaddr 1525 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 1531 drivers/net/ethernet/via/via-rhine.c rhine_set_vlan_cam(ioaddr, i, (u8 *)&vid); ioaddr 1536 drivers/net/ethernet/via/via-rhine.c rhine_set_vlan_cam_mask(ioaddr, vCAMmask); ioaddr 1564 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 1568 drivers/net/ethernet/via/via-rhine.c iowrite8(dev->dev_addr[i], ioaddr + StationAddr + i); ioaddr 1571 drivers/net/ethernet/via/via-rhine.c iowrite16(0x0006, ioaddr + PCIBusConfig); /* Tune configuration??? */ ioaddr 1573 drivers/net/ethernet/via/via-rhine.c iowrite8(0x20, ioaddr + TxConfig); ioaddr 1577 drivers/net/ethernet/via/via-rhine.c iowrite32(rp->rx_ring_dma, ioaddr + RxRingPtr); ioaddr 1578 drivers/net/ethernet/via/via-rhine.c iowrite32(rp->tx_ring_dma, ioaddr + TxRingPtr); ioaddr 1587 drivers/net/ethernet/via/via-rhine.c iowrite16(RHINE_EVENT & 0xffff, ioaddr + IntrEnable); ioaddr 1590 drivers/net/ethernet/via/via-rhine.c ioaddr + ChipCmd); ioaddr 1597 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 1599 drivers/net/ethernet/via/via-rhine.c iowrite8(0, ioaddr + MIICmd); ioaddr 1600 drivers/net/ethernet/via/via-rhine.c iowrite8(MII_BMSR, ioaddr + MIIRegAddr); ioaddr 1601 drivers/net/ethernet/via/via-rhine.c iowrite8(0x80, ioaddr + MIICmd); ioaddr 1605 drivers/net/ethernet/via/via-rhine.c iowrite8(MII_BMSR | 0x40, ioaddr + MIIRegAddr); ioaddr 1611 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 1613 drivers/net/ethernet/via/via-rhine.c iowrite8(0, ioaddr + MIICmd); ioaddr 1616 drivers/net/ethernet/via/via-rhine.c iowrite8(0x01, ioaddr + MIIRegAddr); // MII_BMSR ioaddr 1622 drivers/net/ethernet/via/via-rhine.c iowrite8(0x80, ioaddr + MIICmd); ioaddr 1627 drivers/net/ethernet/via/via-rhine.c iowrite8(0, ioaddr + MIICmd); ioaddr 1638 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 1644 drivers/net/ethernet/via/via-rhine.c iowrite8(phy_id, ioaddr + MIIPhyAddr); ioaddr 1645 drivers/net/ethernet/via/via-rhine.c iowrite8(regnum, ioaddr + MIIRegAddr); ioaddr 1646 drivers/net/ethernet/via/via-rhine.c iowrite8(0x40, ioaddr + MIICmd); /* Trigger read */ ioaddr 1648 drivers/net/ethernet/via/via-rhine.c result = ioread16(ioaddr + MIIData); ioaddr 1657 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 1662 drivers/net/ethernet/via/via-rhine.c iowrite8(phy_id, ioaddr + MIIPhyAddr); ioaddr 1663 drivers/net/ethernet/via/via-rhine.c iowrite8(regnum, ioaddr + MIIRegAddr); ioaddr 1664 drivers/net/ethernet/via/via-rhine.c iowrite16(value, ioaddr + MIIData); ioaddr 1665 drivers/net/ethernet/via/via-rhine.c iowrite8(0x20, ioaddr + MIICmd); /* Trigger write */ ioaddr 1691 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 1714 drivers/net/ethernet/via/via-rhine.c __func__, ioread16(ioaddr + ChipCmd), ioaddr 1767 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 1770 drivers/net/ethernet/via/via-rhine.c ioread16(ioaddr + IntrStatus), ioaddr 1786 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 1867 drivers/net/ethernet/via/via-rhine.c BYTE_REG_BITS_ON(1 << 7, ioaddr + TQWake); ioaddr 1870 drivers/net/ethernet/via/via-rhine.c iowrite8(ioread8(ioaddr + ChipCmd1) | Cmd1TxDemand, ioaddr 1871 drivers/net/ethernet/via/via-rhine.c ioaddr + ChipCmd1); ioaddr 2157 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 2171 drivers/net/ethernet/via/via-rhine.c ioaddr + TxRingPtr); ioaddr 2173 drivers/net/ethernet/via/via-rhine.c iowrite8(ioread8(ioaddr + ChipCmd) | CmdTxOn, ioaddr 2174 drivers/net/ethernet/via/via-rhine.c ioaddr + ChipCmd); ioaddr 2178 drivers/net/ethernet/via/via-rhine.c BYTE_REG_BITS_ON(1 << 7, ioaddr + TQWake); ioaddr 2180 drivers/net/ethernet/via/via-rhine.c iowrite8(ioread8(ioaddr + ChipCmd1) | Cmd1TxDemand, ioaddr 2181 drivers/net/ethernet/via/via-rhine.c ioaddr + ChipCmd1); ioaddr 2247 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 2254 drivers/net/ethernet/via/via-rhine.c iowrite32(0xffffffff, ioaddr + MulticastFilter0); ioaddr 2255 drivers/net/ethernet/via/via-rhine.c iowrite32(0xffffffff, ioaddr + MulticastFilter1); ioaddr 2259 drivers/net/ethernet/via/via-rhine.c iowrite32(0xffffffff, ioaddr + MulticastFilter0); ioaddr 2260 drivers/net/ethernet/via/via-rhine.c iowrite32(0xffffffff, ioaddr + MulticastFilter1); ioaddr 2267 drivers/net/ethernet/via/via-rhine.c rhine_set_cam(ioaddr, i, ha->addr); ioaddr 2271 drivers/net/ethernet/via/via-rhine.c rhine_set_cam_mask(ioaddr, mCAMmask); ioaddr 2279 drivers/net/ethernet/via/via-rhine.c iowrite32(mc_filter[0], ioaddr + MulticastFilter0); ioaddr 2280 drivers/net/ethernet/via/via-rhine.c iowrite32(mc_filter[1], ioaddr + MulticastFilter1); ioaddr 2285 drivers/net/ethernet/via/via-rhine.c BYTE_REG_BITS_OFF(BCR1_VIDFR, ioaddr + PCIBusConfig1); ioaddr 2287 drivers/net/ethernet/via/via-rhine.c BYTE_REG_BITS_ON(BCR1_VIDFR, ioaddr + PCIBusConfig1); ioaddr 2289 drivers/net/ethernet/via/via-rhine.c BYTE_REG_BITS_ON(rx_mode, ioaddr + RxConfig); ioaddr 2419 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 2426 drivers/net/ethernet/via/via-rhine.c ioread16(ioaddr + ChipCmd)); ioaddr 2429 drivers/net/ethernet/via/via-rhine.c iowrite8(rp->tx_thresh | 0x02, ioaddr + TxConfig); ioaddr 2434 drivers/net/ethernet/via/via-rhine.c iowrite16(CmdStop, ioaddr + ChipCmd); ioaddr 2477 drivers/net/ethernet/via/via-rhine.c void __iomem *ioaddr = rp->base; ioaddr 2486 drivers/net/ethernet/via/via-rhine.c iowrite8(0x04, ioaddr + WOLcgClr); ioaddr 2491 drivers/net/ethernet/via/via-rhine.c iowrite8(WOLmagic, ioaddr + WOLcrSet); ioaddr 2496 drivers/net/ethernet/via/via-rhine.c iowrite8(ioread8(ioaddr + ConfigA) | 0x03, ioaddr + ConfigA); ioaddr 2500 drivers/net/ethernet/via/via-rhine.c iowrite8(WOLbmcast, ioaddr + WOLcgSet); ioaddr 2503 drivers/net/ethernet/via/via-rhine.c iowrite8(WOLlnkon | WOLlnkoff, ioaddr + WOLcrSet); ioaddr 2506 drivers/net/ethernet/via/via-rhine.c iowrite8(WOLucast, ioaddr + WOLcrSet); ioaddr 2510 drivers/net/ethernet/via/via-rhine.c iowrite8(0x01, ioaddr + PwcfgSet); ioaddr 2511 drivers/net/ethernet/via/via-rhine.c iowrite8(ioread8(ioaddr + StickyHW) | 0x04, ioaddr + StickyHW); ioaddr 2517 drivers/net/ethernet/via/via-rhine.c iowrite8(ioread8(ioaddr + StickyHW) | 0x03, ioaddr + StickyHW); ioaddr 2661 drivers/net/ethernet/via/via-velocity.c vptr->ioaddr = pci_resource_start(pdev, 0); ioaddr 1439 drivers/net/ethernet/via/via-velocity.h unsigned long ioaddr; ioaddr 254 drivers/net/ethernet/xircom/xirc2ps_cs.c static void mii_idle(unsigned int ioaddr); ioaddr 255 drivers/net/ethernet/xircom/xirc2ps_cs.c static void mii_putbit(unsigned int ioaddr, unsigned data); ioaddr 256 drivers/net/ethernet/xircom/xirc2ps_cs.c static int mii_getbit(unsigned int ioaddr); ioaddr 257 drivers/net/ethernet/xircom/xirc2ps_cs.c static void mii_wbits(unsigned int ioaddr, unsigned data, int len); ioaddr 258 drivers/net/ethernet/xircom/xirc2ps_cs.c static unsigned mii_rd(unsigned int ioaddr, u_char phyaddr, u_char phyreg); ioaddr 259 drivers/net/ethernet/xircom/xirc2ps_cs.c static void mii_wr(unsigned int ioaddr, u_char phyaddr, u_char phyreg, ioaddr 307 drivers/net/ethernet/xircom/xirc2ps_cs.c #define SelectPage(pgnr) outb((pgnr), ioaddr + XIRCREG_PR) ioaddr 308 drivers/net/ethernet/xircom/xirc2ps_cs.c #define GetByte(reg) ((unsigned)inb(ioaddr + (reg))) ioaddr 309 drivers/net/ethernet/xircom/xirc2ps_cs.c #define GetWord(reg) ((unsigned)inw(ioaddr + (reg))) ioaddr 310 drivers/net/ethernet/xircom/xirc2ps_cs.c #define PutByte(reg,value) outb((value), ioaddr+(reg)) ioaddr 311 drivers/net/ethernet/xircom/xirc2ps_cs.c #define PutWord(reg,value) outw((value), ioaddr+(reg)) ioaddr 318 drivers/net/ethernet/xircom/xirc2ps_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 354 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_idle(unsigned int ioaddr) ioaddr 366 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_putbit(unsigned int ioaddr, unsigned data) ioaddr 399 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_getbit(unsigned int ioaddr) ioaddr 412 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_wbits(unsigned int ioaddr, unsigned data, int len) ioaddr 416 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_putbit(ioaddr, data & m); ioaddr 420 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_rd(unsigned int ioaddr, u_char phyaddr, u_char phyreg) ioaddr 427 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_putbit(ioaddr, 1); ioaddr 428 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_wbits(ioaddr, 0x06, 4); /* Start and opcode for read */ ioaddr 429 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_wbits(ioaddr, phyaddr, 5); /* PHY address to be accessed */ ioaddr 430 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_wbits(ioaddr, phyreg, 5); /* PHY register to read */ ioaddr 431 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_idle(ioaddr); /* turn around */ ioaddr 432 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_getbit(ioaddr); ioaddr 435 drivers/net/ethernet/xircom/xirc2ps_cs.c if (mii_getbit(ioaddr)) ioaddr 437 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_idle(ioaddr); ioaddr 442 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_wr(unsigned int ioaddr, u_char phyaddr, u_char phyreg, unsigned data, ioaddr 449 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_putbit(ioaddr, 1); ioaddr 450 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_wbits(ioaddr, 0x05, 4); /* Start and opcode for write */ ioaddr 451 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_wbits(ioaddr, phyaddr, 5); /* PHY address to be accessed */ ioaddr 452 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_wbits(ioaddr, phyreg, 5); /* PHY Register to write */ ioaddr 453 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_putbit(ioaddr, 1); /* turn around */ ioaddr 454 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_putbit(ioaddr, 0); ioaddr 455 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_wbits(ioaddr, data, len); /* And write the data */ ioaddr 456 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_idle(ioaddr); ioaddr 621 drivers/net/ethernet/xircom/xirc2ps_cs.c unsigned int ioaddr; ioaddr 635 drivers/net/ethernet/xircom/xirc2ps_cs.c for (ioaddr = 0x300; ioaddr < 0x400; ioaddr += 0x10) { ioaddr 636 drivers/net/ethernet/xircom/xirc2ps_cs.c p_dev->resource[0]->start = ioaddr; ioaddr 693 drivers/net/ethernet/xircom/xirc2ps_cs.c unsigned int ioaddr; ioaddr 791 drivers/net/ethernet/xircom/xirc2ps_cs.c for (ioaddr = 0x300; ioaddr < 0x400; ioaddr += 0x10) { ioaddr 792 drivers/net/ethernet/xircom/xirc2ps_cs.c link->resource[0]->start = ioaddr; ioaddr 852 drivers/net/ethernet/xircom/xirc2ps_cs.c ioaddr = link->resource[0]->start; ioaddr 853 drivers/net/ethernet/xircom/xirc2ps_cs.c writeb(ioaddr & 0xff , local->dingo_ccr + CISREG_IOBASE_0); ioaddr 854 drivers/net/ethernet/xircom/xirc2ps_cs.c writeb((ioaddr >> 8)&0xff , local->dingo_ccr + CISREG_IOBASE_1); ioaddr 978 drivers/net/ethernet/xircom/xirc2ps_cs.c unsigned int ioaddr; ioaddr 991 drivers/net/ethernet/xircom/xirc2ps_cs.c ioaddr = dev->base_addr; ioaddr 996 drivers/net/ethernet/xircom/xirc2ps_cs.c pr_debug("%s: interrupt %d at %#x.\n", dev->name, irq, ioaddr); ioaddr 1065 drivers/net/ethernet/xircom/xirc2ps_cs.c insw(ioaddr+XIRCREG_EDP, ioaddr 1082 drivers/net/ethernet/xircom/xirc2ps_cs.c unsigned int edpreg = ioaddr+XIRCREG_EDP-2; ioaddr 1093 drivers/net/ethernet/xircom/xirc2ps_cs.c insw(ioaddr+XIRCREG_EDP, skb_put(skb, pktlen), ioaddr 1218 drivers/net/ethernet/xircom/xirc2ps_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1256 drivers/net/ethernet/xircom/xirc2ps_cs.c outsw(ioaddr+XIRCREG_EDP, skb->data, pktlen>>1); ioaddr 1273 drivers/net/ethernet/xircom/xirc2ps_cs.c unsigned int ioaddr; ioaddr 1278 drivers/net/ethernet/xircom/xirc2ps_cs.c unsigned int ioaddr = sa_info->ioaddr; ioaddr 1301 drivers/net/ethernet/xircom/xirc2ps_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1314 drivers/net/ethernet/xircom/xirc2ps_cs.c sa_info.ioaddr = ioaddr; ioaddr 1337 drivers/net/ethernet/xircom/xirc2ps_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1424 drivers/net/ethernet/xircom/xirc2ps_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1439 drivers/net/ethernet/xircom/xirc2ps_cs.c data->val_out = mii_rd(ioaddr, data->phy_id & 0x1f, ioaddr 1443 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_wr(ioaddr, data->phy_id & 0x1f, data->reg_num & 0x1f, data->val_in, ioaddr 1456 drivers/net/ethernet/xircom/xirc2ps_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1473 drivers/net/ethernet/xircom/xirc2ps_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1634 drivers/net/ethernet/xircom/xirc2ps_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1644 drivers/net/ethernet/xircom/xirc2ps_cs.c status = mii_rd(ioaddr, 0, 1); ioaddr 1648 drivers/net/ethernet/xircom/xirc2ps_cs.c local->new_mii = (mii_rd(ioaddr, 0, 2) != 0xffff); ioaddr 1656 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_wr(ioaddr, 0, 0, control, 16); ioaddr 1658 drivers/net/ethernet/xircom/xirc2ps_cs.c control = mii_rd(ioaddr, 0, 0); ioaddr 1673 drivers/net/ethernet/xircom/xirc2ps_cs.c status = mii_rd(ioaddr, 0, 1); ioaddr 1682 drivers/net/ethernet/xircom/xirc2ps_cs.c mii_wr(ioaddr, 0, 0, control, 16); ioaddr 1688 drivers/net/ethernet/xircom/xirc2ps_cs.c linkpartner = mii_rd(ioaddr, 0, 5); ioaddr 1704 drivers/net/ethernet/xircom/xirc2ps_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 1716 drivers/net/ethernet/xircom/xirc2ps_cs.c unsigned int ioaddr = dev->base_addr; ioaddr 89 drivers/net/sb1000.c static int card_wait_for_busy_clear(const int ioaddr[], ioaddr 91 drivers/net/sb1000.c static int card_wait_for_ready(const int ioaddr[], const char* name, ioaddr 93 drivers/net/sb1000.c static int card_send_command(const int ioaddr[], const char* name, ioaddr 97 drivers/net/sb1000.c static int sb1000_wait_for_ready(const int ioaddr[], const char* name); ioaddr 98 drivers/net/sb1000.c static int sb1000_wait_for_ready_clear(const int ioaddr[], ioaddr 100 drivers/net/sb1000.c static void sb1000_send_command(const int ioaddr[], const char* name, ioaddr 102 drivers/net/sb1000.c static void sb1000_read_status(const int ioaddr[], unsigned char in[]); ioaddr 103 drivers/net/sb1000.c static void sb1000_issue_read_command(const int ioaddr[], ioaddr 107 drivers/net/sb1000.c static int sb1000_reset(const int ioaddr[], const char* name); ioaddr 108 drivers/net/sb1000.c static int sb1000_check_CRC(const int ioaddr[], const char* name); ioaddr 109 drivers/net/sb1000.c static inline int sb1000_start_get_set_command(const int ioaddr[], ioaddr 111 drivers/net/sb1000.c static int sb1000_end_get_set_command(const int ioaddr[], ioaddr 113 drivers/net/sb1000.c static int sb1000_activate(const int ioaddr[], const char* name); ioaddr 114 drivers/net/sb1000.c static int sb1000_get_firmware_version(const int ioaddr[], ioaddr 116 drivers/net/sb1000.c static int sb1000_get_frequency(const int ioaddr[], const char* name, ioaddr 118 drivers/net/sb1000.c static int sb1000_set_frequency(const int ioaddr[], const char* name, ioaddr 120 drivers/net/sb1000.c static int sb1000_get_PIDs(const int ioaddr[], const char* name, ioaddr 122 drivers/net/sb1000.c static int sb1000_set_PIDs(const int ioaddr[], const char* name, ioaddr 148 drivers/net/sb1000.c unsigned short ioaddr[2], irq; ioaddr 164 drivers/net/sb1000.c ioaddr[0] = pnp_port_start(pdev, 0); ioaddr 165 drivers/net/sb1000.c ioaddr[1] = pnp_port_start(pdev, 0); ioaddr 169 drivers/net/sb1000.c if (!request_region(ioaddr[0], 16, "sb1000")) ioaddr 171 drivers/net/sb1000.c if (!request_region(ioaddr[1], 16, "sb1000")) ioaddr 181 drivers/net/sb1000.c dev->base_addr = ioaddr[0]; ioaddr 183 drivers/net/sb1000.c dev->mem_start = ioaddr[1]; ioaddr 220 drivers/net/sb1000.c release_region(ioaddr[1], 16); ioaddr 222 drivers/net/sb1000.c release_region(ioaddr[0], 16); ioaddr 257 drivers/net/sb1000.c card_wait_for_busy_clear(const int ioaddr[], const char* name) ioaddr 262 drivers/net/sb1000.c a = inb(ioaddr[0] + 7); ioaddr 268 drivers/net/sb1000.c a = inb(ioaddr[0] + 7); ioaddr 281 drivers/net/sb1000.c card_wait_for_ready(const int ioaddr[], const char* name, unsigned char in[]) ioaddr 286 drivers/net/sb1000.c a = inb(ioaddr[1] + 6); ioaddr 292 drivers/net/sb1000.c a = inb(ioaddr[1] + 6); ioaddr 300 drivers/net/sb1000.c in[1] = inb(ioaddr[0] + 1); ioaddr 301 drivers/net/sb1000.c in[2] = inb(ioaddr[0] + 2); ioaddr 302 drivers/net/sb1000.c in[3] = inb(ioaddr[0] + 3); ioaddr 303 drivers/net/sb1000.c in[4] = inb(ioaddr[0] + 4); ioaddr 304 drivers/net/sb1000.c in[0] = inb(ioaddr[0] + 5); ioaddr 305 drivers/net/sb1000.c in[6] = inb(ioaddr[0] + 6); ioaddr 306 drivers/net/sb1000.c in[5] = inb(ioaddr[1] + 6); ioaddr 312 drivers/net/sb1000.c card_send_command(const int ioaddr[], const char* name, ioaddr 317 drivers/net/sb1000.c if ((status = card_wait_for_busy_clear(ioaddr, name))) ioaddr 319 drivers/net/sb1000.c outb(0xa0, ioaddr[0] + 6); ioaddr 320 drivers/net/sb1000.c outb(out[2], ioaddr[0] + 1); ioaddr 321 drivers/net/sb1000.c outb(out[3], ioaddr[0] + 2); ioaddr 322 drivers/net/sb1000.c outb(out[4], ioaddr[0] + 3); ioaddr 323 drivers/net/sb1000.c outb(out[5], ioaddr[0] + 4); ioaddr 324 drivers/net/sb1000.c outb(out[1], ioaddr[0] + 5); ioaddr 325 drivers/net/sb1000.c outb(0xa0, ioaddr[0] + 6); ioaddr 326 drivers/net/sb1000.c outb(out[0], ioaddr[0] + 7); ioaddr 328 drivers/net/sb1000.c if ((status = card_wait_for_ready(ioaddr, name, in))) ioaddr 330 drivers/net/sb1000.c inb(ioaddr[0] + 7); ioaddr 359 drivers/net/sb1000.c sb1000_wait_for_ready(const int ioaddr[], const char* name) ioaddr 364 drivers/net/sb1000.c while (inb(ioaddr[1] + 6) & 0x80) { ioaddr 372 drivers/net/sb1000.c while (!(inb(ioaddr[1] + 6) & 0x40)) { ioaddr 379 drivers/net/sb1000.c inb(ioaddr[0] + 7); ioaddr 385 drivers/net/sb1000.c sb1000_wait_for_ready_clear(const int ioaddr[], const char* name) ioaddr 390 drivers/net/sb1000.c while (inb(ioaddr[1] + 6) & 0x80) { ioaddr 398 drivers/net/sb1000.c while (inb(ioaddr[1] + 6) & 0x40) { ioaddr 410 drivers/net/sb1000.c sb1000_send_command(const int ioaddr[], const char* name, ioaddr 413 drivers/net/sb1000.c outb(out[2], ioaddr[0] + 1); ioaddr 414 drivers/net/sb1000.c outb(out[3], ioaddr[0] + 2); ioaddr 415 drivers/net/sb1000.c outb(out[4], ioaddr[0] + 3); ioaddr 416 drivers/net/sb1000.c outb(out[5], ioaddr[0] + 4); ioaddr 417 drivers/net/sb1000.c outb(out[1], ioaddr[0] + 5); ioaddr 418 drivers/net/sb1000.c outb(out[0], ioaddr[0] + 7); ioaddr 426 drivers/net/sb1000.c sb1000_read_status(const int ioaddr[], unsigned char in[]) ioaddr 428 drivers/net/sb1000.c in[1] = inb(ioaddr[0] + 1); ioaddr 429 drivers/net/sb1000.c in[2] = inb(ioaddr[0] + 2); ioaddr 430 drivers/net/sb1000.c in[3] = inb(ioaddr[0] + 3); ioaddr 431 drivers/net/sb1000.c in[4] = inb(ioaddr[0] + 4); ioaddr 432 drivers/net/sb1000.c in[0] = inb(ioaddr[0] + 5); ioaddr 437 drivers/net/sb1000.c sb1000_issue_read_command(const int ioaddr[], const char* name) ioaddr 441 drivers/net/sb1000.c sb1000_wait_for_ready_clear(ioaddr, name); ioaddr 442 drivers/net/sb1000.c outb(0xa0, ioaddr[0] + 6); ioaddr 443 drivers/net/sb1000.c sb1000_send_command(ioaddr, name, Command0); ioaddr 452 drivers/net/sb1000.c sb1000_reset(const int ioaddr[], const char* name) ioaddr 459 drivers/net/sb1000.c port = ioaddr[1] + 6; ioaddr 473 drivers/net/sb1000.c if ((status = card_send_command(ioaddr, name, Command0, st))) ioaddr 482 drivers/net/sb1000.c sb1000_check_CRC(const int ioaddr[], const char* name) ioaddr 490 drivers/net/sb1000.c if ((status = card_send_command(ioaddr, name, Command0, st))) ioaddr 498 drivers/net/sb1000.c sb1000_start_get_set_command(const int ioaddr[], const char* name) ioaddr 504 drivers/net/sb1000.c return card_send_command(ioaddr, name, Command0, st); ioaddr 508 drivers/net/sb1000.c sb1000_end_get_set_command(const int ioaddr[], const char* name) ioaddr 516 drivers/net/sb1000.c if ((status = card_send_command(ioaddr, name, Command0, st))) ioaddr 518 drivers/net/sb1000.c return card_send_command(ioaddr, name, Command1, st); ioaddr 522 drivers/net/sb1000.c sb1000_activate(const int ioaddr[], const char* name) ioaddr 531 drivers/net/sb1000.c status = card_send_command(ioaddr, name, Command0, st); ioaddr 534 drivers/net/sb1000.c status = card_send_command(ioaddr, name, Command1, st); ioaddr 538 drivers/net/sb1000.c status = sb1000_start_get_set_command(ioaddr, name); ioaddr 544 drivers/net/sb1000.c return sb1000_start_get_set_command(ioaddr, name); ioaddr 549 drivers/net/sb1000.c sb1000_get_firmware_version(const int ioaddr[], const char* name, ioaddr 557 drivers/net/sb1000.c if ((status = sb1000_start_get_set_command(ioaddr, name))) ioaddr 559 drivers/net/sb1000.c if ((status = card_send_command(ioaddr, name, Command0, st))) ioaddr 566 drivers/net/sb1000.c return sb1000_end_get_set_command(ioaddr, name); ioaddr 573 drivers/net/sb1000.c sb1000_get_frequency(const int ioaddr[], const char* name, int* frequency) ioaddr 581 drivers/net/sb1000.c if ((status = sb1000_start_get_set_command(ioaddr, name))) ioaddr 583 drivers/net/sb1000.c if ((status = card_send_command(ioaddr, name, Command0, st))) ioaddr 586 drivers/net/sb1000.c return sb1000_end_get_set_command(ioaddr, name); ioaddr 591 drivers/net/sb1000.c sb1000_set_frequency(const int ioaddr[], const char* name, int frequency) ioaddr 607 drivers/net/sb1000.c if ((status = sb1000_start_get_set_command(ioaddr, name))) ioaddr 616 drivers/net/sb1000.c return card_send_command(ioaddr, name, Command0, st); ioaddr 621 drivers/net/sb1000.c sb1000_get_PIDs(const int ioaddr[], const char* name, short PID[]) ioaddr 632 drivers/net/sb1000.c if ((status = sb1000_start_get_set_command(ioaddr, name))) ioaddr 635 drivers/net/sb1000.c if ((status = card_send_command(ioaddr, name, Command0, st))) ioaddr 639 drivers/net/sb1000.c if ((status = card_send_command(ioaddr, name, Command1, st))) ioaddr 643 drivers/net/sb1000.c if ((status = card_send_command(ioaddr, name, Command2, st))) ioaddr 647 drivers/net/sb1000.c if ((status = card_send_command(ioaddr, name, Command3, st))) ioaddr 651 drivers/net/sb1000.c return sb1000_end_get_set_command(ioaddr, name); ioaddr 656 drivers/net/sb1000.c sb1000_set_PIDs(const int ioaddr[], const char* name, const short PID[]) ioaddr 669 drivers/net/sb1000.c if ((status = sb1000_start_get_set_command(ioaddr, name))) ioaddr 676 drivers/net/sb1000.c if ((status = card_send_command(ioaddr, name, Command0, st))) ioaddr 683 drivers/net/sb1000.c if ((status = card_send_command(ioaddr, name, Command1, st))) ioaddr 690 drivers/net/sb1000.c if ((status = card_send_command(ioaddr, name, Command2, st))) ioaddr 697 drivers/net/sb1000.c if ((status = card_send_command(ioaddr, name, Command3, st))) ioaddr 700 drivers/net/sb1000.c if ((status = card_send_command(ioaddr, name, Command4, st))) ioaddr 702 drivers/net/sb1000.c return sb1000_end_get_set_command(ioaddr, name); ioaddr 743 drivers/net/sb1000.c int ioaddr, ns; ioaddr 759 drivers/net/sb1000.c ioaddr = dev->base_addr; ioaddr 761 drivers/net/sb1000.c insw(ioaddr, (unsigned short*) st, 1); ioaddr 806 drivers/net/sb1000.c insw(ioaddr, buffer, NewDatagramHeaderSize / 2); ioaddr 816 drivers/net/sb1000.c insw(ioaddr, buffer, NewDatagramDataSize / 2); ioaddr 826 drivers/net/sb1000.c insw(ioaddr, buffer, NewDatagramDataSize / 2); ioaddr 837 drivers/net/sb1000.c insw(ioaddr, buffer, NewDatagramDataSize / 2); ioaddr 843 drivers/net/sb1000.c insw(ioaddr, skb_put(skb, NewDatagramDataSize), ioaddr 848 drivers/net/sb1000.c insw(ioaddr, buffer, ContDatagramHeaderSize / 2); ioaddr 855 drivers/net/sb1000.c insw(ioaddr, buffer, ContDatagramDataSize / 2); ioaddr 859 drivers/net/sb1000.c insw(ioaddr, skb_put(skb, ContDatagramDataSize), ioaddr 878 drivers/net/sb1000.c insw(ioaddr, buffer, FrameSize / 2); ioaddr 905 drivers/net/sb1000.c int ioaddr[2]; ioaddr 909 drivers/net/sb1000.c ioaddr[0] = dev->base_addr; ioaddr 911 drivers/net/sb1000.c ioaddr[1] = dev->mem_start; ioaddr 914 drivers/net/sb1000.c sb1000_wait_for_ready_clear(ioaddr, name); ioaddr 915 drivers/net/sb1000.c sb1000_send_command(ioaddr, name, Command0); ioaddr 916 drivers/net/sb1000.c sb1000_wait_for_ready(ioaddr, name); ioaddr 917 drivers/net/sb1000.c sb1000_read_status(ioaddr, st); ioaddr 930 drivers/net/sb1000.c int ioaddr[2], status; ioaddr 934 drivers/net/sb1000.c ioaddr[0] = dev->base_addr; ioaddr 936 drivers/net/sb1000.c ioaddr[1] = dev->mem_start; ioaddr 940 drivers/net/sb1000.c if ((status = sb1000_reset(ioaddr, name))) ioaddr 943 drivers/net/sb1000.c if ((status = sb1000_check_CRC(ioaddr, name))) ioaddr 975 drivers/net/sb1000.c if ((status = sb1000_activate(ioaddr, name))) ioaddr 978 drivers/net/sb1000.c if ((status = sb1000_get_firmware_version(ioaddr, name, version, 0))) ioaddr 995 drivers/net/sb1000.c int ioaddr[2], status, frequency; ioaddr 1002 drivers/net/sb1000.c ioaddr[0] = dev->base_addr; ioaddr 1004 drivers/net/sb1000.c ioaddr[1] = dev->mem_start; ioaddr 1020 drivers/net/sb1000.c if ((status = sb1000_get_firmware_version(ioaddr, name, version, 1))) ioaddr 1027 drivers/net/sb1000.c if ((status = sb1000_get_frequency(ioaddr, name, &frequency))) ioaddr 1038 drivers/net/sb1000.c if ((status = sb1000_set_frequency(ioaddr, name, frequency))) ioaddr 1043 drivers/net/sb1000.c if ((status = sb1000_get_PIDs(ioaddr, name, PID))) ioaddr 1054 drivers/net/sb1000.c if ((status = sb1000_set_PIDs(ioaddr, name, PID))) ioaddr 1092 drivers/net/sb1000.c int ioaddr[2]; ioaddr 1098 drivers/net/sb1000.c ioaddr[0] = dev->base_addr; ioaddr 1100 drivers/net/sb1000.c ioaddr[1] = dev->mem_start; ioaddr 1104 drivers/net/sb1000.c st = inb(ioaddr[1] + 6); ioaddr 1112 drivers/net/sb1000.c st = inb(ioaddr[0] + 7); ioaddr 1118 drivers/net/sb1000.c sb1000_issue_read_command(ioaddr, name); ioaddr 1121 drivers/net/sb1000.c sb1000_issue_read_command(ioaddr, name); ioaddr 1124 drivers/net/sb1000.c sb1000_wait_for_ready_clear(ioaddr, name); ioaddr 1125 drivers/net/sb1000.c sb1000_send_command(ioaddr, name, Command0); ioaddr 1126 drivers/net/sb1000.c sb1000_wait_for_ready(ioaddr, name); ioaddr 1127 drivers/net/sb1000.c sb1000_issue_read_command(ioaddr, name); ioaddr 1130 drivers/net/sb1000.c sb1000_wait_for_ready_clear(ioaddr, name); ioaddr 1131 drivers/net/sb1000.c sb1000_send_command(ioaddr, name, Command1); ioaddr 1132 drivers/net/sb1000.c sb1000_wait_for_ready(ioaddr, name); ioaddr 1133 drivers/net/sb1000.c sb1000_issue_read_command(ioaddr, name); ioaddr 1143 drivers/net/sb1000.c int ioaddr[2]; ioaddr 1151 drivers/net/sb1000.c ioaddr[0] = dev->base_addr; ioaddr 1153 drivers/net/sb1000.c ioaddr[1] = dev->mem_start; ioaddr 1157 drivers/net/sb1000.c release_region(ioaddr[1], SB1000_IO_EXTENT); ioaddr 1158 drivers/net/sb1000.c release_region(ioaddr[0], SB1000_IO_EXTENT); ioaddr 257 drivers/net/wan/cosa.c static int cosa_probe(int ioaddr, int irq, int dma); ioaddr 285 drivers/net/wan/sbni.c int ioaddr = netcard_portlist[ i ]; ioaddr 286 drivers/net/wan/sbni.c if( request_region( ioaddr, SBNI_IO_EXTENT, dev->name ) && ioaddr 287 drivers/net/wan/sbni.c sbni_probe1( dev, ioaddr, 0 )) ioaddr 348 drivers/net/wan/sbni.c sbni_probe1( struct net_device *dev, unsigned long ioaddr, int irq ) ioaddr 352 drivers/net/wan/sbni.c if( sbni_card_probe( ioaddr ) ) { ioaddr 353 drivers/net/wan/sbni.c release_region( ioaddr, SBNI_IO_EXTENT ); ioaddr 357 drivers/net/wan/sbni.c outb( 0, ioaddr + CSR0 ); ioaddr 363 drivers/net/wan/sbni.c outb( EN_INT | TR_REQ, ioaddr + CSR0 ); ioaddr 364 drivers/net/wan/sbni.c outb( PR_RES, ioaddr + CSR1 ); ioaddr 367 drivers/net/wan/sbni.c outb( 0, ioaddr + CSR0 ); ioaddr 371 drivers/net/wan/sbni.c release_region( ioaddr, SBNI_IO_EXTENT ); ioaddr 378 drivers/net/wan/sbni.c dev->base_addr = ioaddr; ioaddr 384 drivers/net/wan/sbni.c release_region( ioaddr, SBNI_IO_EXTENT ); ioaddr 409 drivers/net/wan/sbni.c if( inb( ioaddr + CSR0 ) & 0x01 ) ioaddr 535 drivers/net/wan/sbni.c unsigned long ioaddr = dev->base_addr; ioaddr 546 drivers/net/wan/sbni.c outb( (inb( ioaddr + CSR0 ) & ~EN_INT) | TR_REQ, ioaddr + CSR0 ); ioaddr 550 drivers/net/wan/sbni.c csr0 = inb( ioaddr + CSR0 ); ioaddr 563 drivers/net/wan/sbni.c csr0 = inb( ioaddr + CSR0 ); ioaddr 572 drivers/net/wan/sbni.c outb( inb( ioaddr + CSR0 ) & ~TR_REQ, ioaddr + CSR0 ); ioaddr 575 drivers/net/wan/sbni.c outb( inb( ioaddr + CSR0 ) | EN_INT, ioaddr + CSR0 ); ioaddr 593 drivers/net/wan/sbni.c unsigned long ioaddr = dev->base_addr; ioaddr 600 drivers/net/wan/sbni.c if( check_fhdr( ioaddr, &framelen, &frameno, &ack, &is_first, &crc ) ) { ioaddr 603 drivers/net/wan/sbni.c : skip_tail( ioaddr, framelen, crc ); ioaddr 608 drivers/net/wan/sbni.c outb( inb( ioaddr + CSR0 ) ^ CT_ZER, ioaddr + CSR0 ); ioaddr 939 drivers/net/wan/sbni.c skip_tail( unsigned int ioaddr, unsigned int tail_len, u32 crc ) ioaddr 942 drivers/net/wan/sbni.c crc = CRC32( inb( ioaddr + DAT ), crc ); ioaddr 954 drivers/net/wan/sbni.c check_fhdr( u32 ioaddr, u32 *framelen, u32 *frameno, u32 *ack, ioaddr 960 drivers/net/wan/sbni.c if( inb( ioaddr + DAT ) != SBNI_SIG ) ioaddr 963 drivers/net/wan/sbni.c value = inb( ioaddr + DAT ); ioaddr 966 drivers/net/wan/sbni.c value = inb( ioaddr + DAT ); ioaddr 977 drivers/net/wan/sbni.c value = inb( ioaddr + DAT ); ioaddr 981 drivers/net/wan/sbni.c crc = CRC32( inb( ioaddr + DAT ), crc ); /* reserved byte */ ioaddr 1269 drivers/net/wan/sbni.c sbni_card_probe( unsigned long ioaddr ) ioaddr 1273 drivers/net/wan/sbni.c csr0 = inb( ioaddr + CSR0 ); ioaddr 31 drivers/net/wireless/ath/wil6210/fw_inc.c void __iomem **ioaddr, __le32 val, ioaddr 34 drivers/net/wireless/ath/wil6210/fw_inc.c *ioaddr = wmi_buffer_block(wil, val, size); ioaddr 35 drivers/net/wireless/ath/wil6210/fw_inc.c if (!(*ioaddr)) { ioaddr 335 drivers/net/wireless/intel/ipw2x00/ipw2100.c *val = ioread32(priv->ioaddr + reg); ioaddr 343 drivers/net/wireless/intel/ipw2x00/ipw2100.c iowrite32(val, priv->ioaddr + reg); ioaddr 352 drivers/net/wireless/intel/ipw2x00/ipw2100.c *val = ioread16(priv->ioaddr + reg); ioaddr 360 drivers/net/wireless/intel/ipw2x00/ipw2100.c *val = ioread8(priv->ioaddr + reg); ioaddr 368 drivers/net/wireless/intel/ipw2x00/ipw2100.c iowrite16(val, priv->ioaddr + reg); ioaddr 376 drivers/net/wireless/intel/ipw2x00/ipw2100.c iowrite8(val, priv->ioaddr + reg); ioaddr 6025 drivers/net/wireless/intel/ipw2x00/ipw2100.c void __iomem * ioaddr) ioaddr 6037 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->ioaddr = ioaddr; ioaddr 6154 drivers/net/wireless/intel/ipw2x00/ipw2100.c void __iomem *ioaddr; ioaddr 6169 drivers/net/wireless/intel/ipw2x00/ipw2100.c ioaddr = pci_iomap(pci_dev, 0, 0); ioaddr 6170 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (!ioaddr) { ioaddr 6178 drivers/net/wireless/intel/ipw2x00/ipw2100.c dev = ipw2100_alloc_device(pci_dev, ioaddr); ioaddr 6343 drivers/net/wireless/intel/ipw2x00/ipw2100.c pci_iounmap(pci_dev, ioaddr); ioaddr 6387 drivers/net/wireless/intel/ipw2x00/ipw2100.c pci_iounmap(pci_dev, priv->ioaddr); ioaddr 8520 drivers/net/wireless/intel/ipw2x00/ipw2100.c void __iomem *reg = priv->ioaddr; ioaddr 468 drivers/net/wireless/intel/ipw2x00/ipw2100.h void __iomem *ioaddr; ioaddr 1348 drivers/parisc/ccio-dma.c ccio_init_resource(struct resource *res, char *name, void __iomem *ioaddr) ioaddr 1359 drivers/parisc/ccio-dma.c res->start = (unsigned long)((signed) READ_U32(ioaddr) << 16); ioaddr 1360 drivers/parisc/ccio-dma.c res->end = (unsigned long)((signed) (READ_U32(ioaddr + 4) << 16) - 1); ioaddr 148 drivers/pcmcia/i82365.c unsigned int ioaddr; ioaddr 222 drivers/pcmcia/i82365.c unsigned int port = socket[sock].ioaddr; ioaddr 236 drivers/pcmcia/i82365.c unsigned int port = socket[sock].ioaddr; ioaddr 578 drivers/pcmcia/i82365.c socket[sockets].ioaddr = port; ioaddr 664 drivers/pcmcia/i82365.c socket[sockets].ioaddr = port; ioaddr 683 drivers/pcmcia/i82365.c t->ioaddr, t->psock*0x40); ioaddr 1302 drivers/pcmcia/i82365.c release_region(socket[i].ioaddr, 2); ioaddr 1333 drivers/pcmcia/i82365.c release_region(socket[i].ioaddr, 2); ioaddr 31 drivers/rtc/rtc-ds1216.c void __iomem *ioaddr; ioaddr 43 drivers/rtc/rtc-ds1216.c static void ds1216_read(u8 __iomem *ioaddr, u8 *buf) ioaddr 51 drivers/rtc/rtc-ds1216.c c |= (readb(ioaddr) & 0x1) << j; ioaddr 56 drivers/rtc/rtc-ds1216.c static void ds1216_write(u8 __iomem *ioaddr, const u8 *buf) ioaddr 64 drivers/rtc/rtc-ds1216.c writeb(c, ioaddr); ioaddr 70 drivers/rtc/rtc-ds1216.c static void ds1216_switch_ds_to_clock(u8 __iomem *ioaddr) ioaddr 73 drivers/rtc/rtc-ds1216.c readb(ioaddr); ioaddr 75 drivers/rtc/rtc-ds1216.c ds1216_write(ioaddr, magic); ioaddr 83 drivers/rtc/rtc-ds1216.c ds1216_switch_ds_to_clock(priv->ioaddr); ioaddr 84 drivers/rtc/rtc-ds1216.c ds1216_read(priv->ioaddr, (u8 *)®s); ioaddr 110 drivers/rtc/rtc-ds1216.c ds1216_switch_ds_to_clock(priv->ioaddr); ioaddr 111 drivers/rtc/rtc-ds1216.c ds1216_read(priv->ioaddr, (u8 *)®s); ioaddr 128 drivers/rtc/rtc-ds1216.c ds1216_switch_ds_to_clock(priv->ioaddr); ioaddr 129 drivers/rtc/rtc-ds1216.c ds1216_write(priv->ioaddr, (u8 *)®s); ioaddr 151 drivers/rtc/rtc-ds1216.c priv->ioaddr = devm_ioremap_resource(&pdev->dev, res); ioaddr 152 drivers/rtc/rtc-ds1216.c if (IS_ERR(priv->ioaddr)) ioaddr 153 drivers/rtc/rtc-ds1216.c return PTR_ERR(priv->ioaddr); ioaddr 161 drivers/rtc/rtc-ds1216.c ds1216_read(priv->ioaddr, dummy); ioaddr 86 drivers/rtc/rtc-ds1511.c void __iomem *ioaddr; /* virtual base address */ ioaddr 438 drivers/rtc/rtc-ds1511.c pdata->ioaddr = ds1511_base; ioaddr 60 drivers/rtc/rtc-ds1553.c void __iomem *ioaddr; ioaddr 74 drivers/rtc/rtc-ds1553.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 79 drivers/rtc/rtc-ds1553.c writeb(RTC_WRITE, pdata->ioaddr + RTC_CONTROL); ioaddr 81 drivers/rtc/rtc-ds1553.c writeb(bin2bcd(tm->tm_year % 100), ioaddr + RTC_YEAR); ioaddr 82 drivers/rtc/rtc-ds1553.c writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); ioaddr 83 drivers/rtc/rtc-ds1553.c writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); ioaddr 84 drivers/rtc/rtc-ds1553.c writeb(bin2bcd(tm->tm_mday), ioaddr + RTC_DATE); ioaddr 85 drivers/rtc/rtc-ds1553.c writeb(bin2bcd(tm->tm_hour), ioaddr + RTC_HOURS); ioaddr 86 drivers/rtc/rtc-ds1553.c writeb(bin2bcd(tm->tm_min), ioaddr + RTC_MINUTES); ioaddr 87 drivers/rtc/rtc-ds1553.c writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); ioaddr 90 drivers/rtc/rtc-ds1553.c writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); ioaddr 91 drivers/rtc/rtc-ds1553.c writeb(century & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); ioaddr 98 drivers/rtc/rtc-ds1553.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 106 drivers/rtc/rtc-ds1553.c writeb(RTC_READ, ioaddr + RTC_CONTROL); ioaddr 107 drivers/rtc/rtc-ds1553.c second = readb(ioaddr + RTC_SECONDS) & RTC_SECONDS_MASK; ioaddr 108 drivers/rtc/rtc-ds1553.c minute = readb(ioaddr + RTC_MINUTES); ioaddr 109 drivers/rtc/rtc-ds1553.c hour = readb(ioaddr + RTC_HOURS); ioaddr 110 drivers/rtc/rtc-ds1553.c day = readb(ioaddr + RTC_DATE); ioaddr 111 drivers/rtc/rtc-ds1553.c week = readb(ioaddr + RTC_DAY) & RTC_DAY_MASK; ioaddr 112 drivers/rtc/rtc-ds1553.c month = readb(ioaddr + RTC_MONTH); ioaddr 113 drivers/rtc/rtc-ds1553.c year = readb(ioaddr + RTC_YEAR); ioaddr 114 drivers/rtc/rtc-ds1553.c century = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; ioaddr 115 drivers/rtc/rtc-ds1553.c writeb(0, ioaddr + RTC_CONTROL); ioaddr 130 drivers/rtc/rtc-ds1553.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 136 drivers/rtc/rtc-ds1553.c ioaddr + RTC_DATE_ALARM); ioaddr 139 drivers/rtc/rtc-ds1553.c ioaddr + RTC_HOURS_ALARM); ioaddr 142 drivers/rtc/rtc-ds1553.c ioaddr + RTC_MINUTES_ALARM); ioaddr 145 drivers/rtc/rtc-ds1553.c ioaddr + RTC_SECONDS_ALARM); ioaddr 146 drivers/rtc/rtc-ds1553.c writeb(pdata->irqen ? RTC_INTS_AE : 0, ioaddr + RTC_INTERRUPTS); ioaddr 147 drivers/rtc/rtc-ds1553.c readb(ioaddr + RTC_FLAGS); /* clear interrupts */ ioaddr 185 drivers/rtc/rtc-ds1553.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 190 drivers/rtc/rtc-ds1553.c if (readb(ioaddr + RTC_FLAGS) & RTC_FLAGS_AF) { ioaddr 192 drivers/rtc/rtc-ds1553.c if (readb(ioaddr + RTC_SECONDS_ALARM) & 0x80) ioaddr 229 drivers/rtc/rtc-ds1553.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 233 drivers/rtc/rtc-ds1553.c *buf++ = readb(ioaddr + pos++); ioaddr 242 drivers/rtc/rtc-ds1553.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 246 drivers/rtc/rtc-ds1553.c writeb(*buf++, ioaddr + pos++); ioaddr 255 drivers/rtc/rtc-ds1553.c void __iomem *ioaddr; ioaddr 272 drivers/rtc/rtc-ds1553.c ioaddr = devm_ioremap_resource(&pdev->dev, res); ioaddr 273 drivers/rtc/rtc-ds1553.c if (IS_ERR(ioaddr)) ioaddr 274 drivers/rtc/rtc-ds1553.c return PTR_ERR(ioaddr); ioaddr 275 drivers/rtc/rtc-ds1553.c pdata->ioaddr = ioaddr; ioaddr 279 drivers/rtc/rtc-ds1553.c sec = readb(ioaddr + RTC_SECONDS); ioaddr 282 drivers/rtc/rtc-ds1553.c cen = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; ioaddr 283 drivers/rtc/rtc-ds1553.c writeb(RTC_WRITE, ioaddr + RTC_CONTROL); ioaddr 284 drivers/rtc/rtc-ds1553.c writeb(sec, ioaddr + RTC_SECONDS); ioaddr 285 drivers/rtc/rtc-ds1553.c writeb(cen & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); ioaddr 287 drivers/rtc/rtc-ds1553.c if (readb(ioaddr + RTC_FLAGS) & RTC_FLAGS_BLF) ioaddr 306 drivers/rtc/rtc-ds1553.c writeb(0, ioaddr + RTC_INTERRUPTS); ioaddr 59 drivers/rtc/rtc-ds1742.c void __iomem *ioaddr = pdata->ioaddr_rtc; ioaddr 64 drivers/rtc/rtc-ds1742.c writeb(RTC_WRITE, ioaddr + RTC_CONTROL); ioaddr 66 drivers/rtc/rtc-ds1742.c writeb(bin2bcd(tm->tm_year % 100), ioaddr + RTC_YEAR); ioaddr 67 drivers/rtc/rtc-ds1742.c writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); ioaddr 68 drivers/rtc/rtc-ds1742.c writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); ioaddr 69 drivers/rtc/rtc-ds1742.c writeb(bin2bcd(tm->tm_mday), ioaddr + RTC_DATE); ioaddr 70 drivers/rtc/rtc-ds1742.c writeb(bin2bcd(tm->tm_hour), ioaddr + RTC_HOURS); ioaddr 71 drivers/rtc/rtc-ds1742.c writeb(bin2bcd(tm->tm_min), ioaddr + RTC_MINUTES); ioaddr 72 drivers/rtc/rtc-ds1742.c writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); ioaddr 75 drivers/rtc/rtc-ds1742.c writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); ioaddr 76 drivers/rtc/rtc-ds1742.c writeb(century & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); ioaddr 83 drivers/rtc/rtc-ds1742.c void __iomem *ioaddr = pdata->ioaddr_rtc; ioaddr 91 drivers/rtc/rtc-ds1742.c writeb(RTC_READ, ioaddr + RTC_CONTROL); ioaddr 92 drivers/rtc/rtc-ds1742.c second = readb(ioaddr + RTC_SECONDS) & RTC_SECONDS_MASK; ioaddr 93 drivers/rtc/rtc-ds1742.c minute = readb(ioaddr + RTC_MINUTES); ioaddr 94 drivers/rtc/rtc-ds1742.c hour = readb(ioaddr + RTC_HOURS); ioaddr 95 drivers/rtc/rtc-ds1742.c day = readb(ioaddr + RTC_DATE); ioaddr 96 drivers/rtc/rtc-ds1742.c week = readb(ioaddr + RTC_DAY) & RTC_DAY_MASK; ioaddr 97 drivers/rtc/rtc-ds1742.c month = readb(ioaddr + RTC_MONTH); ioaddr 98 drivers/rtc/rtc-ds1742.c year = readb(ioaddr + RTC_YEAR); ioaddr 99 drivers/rtc/rtc-ds1742.c century = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; ioaddr 100 drivers/rtc/rtc-ds1742.c writeb(0, ioaddr + RTC_CONTROL); ioaddr 122 drivers/rtc/rtc-ds1742.c void __iomem *ioaddr = pdata->ioaddr_nvram; ioaddr 126 drivers/rtc/rtc-ds1742.c *buf++ = readb(ioaddr + pos++); ioaddr 134 drivers/rtc/rtc-ds1742.c void __iomem *ioaddr = pdata->ioaddr_nvram; ioaddr 138 drivers/rtc/rtc-ds1742.c writeb(*buf++, ioaddr + pos++); ioaddr 148 drivers/rtc/rtc-ds1742.c void __iomem *ioaddr; ioaddr 162 drivers/rtc/rtc-ds1742.c ioaddr = devm_ioremap_resource(&pdev->dev, res); ioaddr 163 drivers/rtc/rtc-ds1742.c if (IS_ERR(ioaddr)) ioaddr 164 drivers/rtc/rtc-ds1742.c return PTR_ERR(ioaddr); ioaddr 166 drivers/rtc/rtc-ds1742.c pdata->ioaddr_nvram = ioaddr; ioaddr 167 drivers/rtc/rtc-ds1742.c pdata->ioaddr_rtc = ioaddr + resource_size(res) - RTC_SIZE; ioaddr 173 drivers/rtc/rtc-ds1742.c ioaddr = pdata->ioaddr_rtc; ioaddr 174 drivers/rtc/rtc-ds1742.c sec = readb(ioaddr + RTC_SECONDS); ioaddr 177 drivers/rtc/rtc-ds1742.c cen = readb(ioaddr + RTC_CENTURY) & RTC_CENTURY_MASK; ioaddr 178 drivers/rtc/rtc-ds1742.c writeb(RTC_WRITE, ioaddr + RTC_CONTROL); ioaddr 179 drivers/rtc/rtc-ds1742.c writeb(sec, ioaddr + RTC_SECONDS); ioaddr 180 drivers/rtc/rtc-ds1742.c writeb(cen & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); ioaddr 182 drivers/rtc/rtc-ds1742.c if (!(readb(ioaddr + RTC_DAY) & RTC_BATT_FLAG)) ioaddr 111 drivers/rtc/rtc-imxdi.c void __iomem *ioaddr; ioaddr 174 drivers/rtc/rtc-imxdi.c writel(val, imxdi->ioaddr + reg); ioaddr 187 drivers/rtc/rtc-imxdi.c dtcr = readl(imxdi->ioaddr + DTCR); ioaddr 250 drivers/rtc/rtc-imxdi.c dcr = readl(imxdi->ioaddr + DCR); ioaddr 291 drivers/rtc/rtc-imxdi.c sec = readl(imxdi->ioaddr + DTCMR); ioaddr 300 drivers/rtc/rtc-imxdi.c dcr = readl(imxdi->ioaddr + DCR); ioaddr 333 drivers/rtc/rtc-imxdi.c return di_handle_valid_state(imxdi, __raw_readl(imxdi->ioaddr + DSR)); ioaddr 347 drivers/rtc/rtc-imxdi.c dcr = __raw_readl(imxdi->ioaddr + DCR); ioaddr 378 drivers/rtc/rtc-imxdi.c dsr = readl(imxdi->ioaddr + DSR); ioaddr 393 drivers/rtc/rtc-imxdi.c dsr = readl(imxdi->ioaddr + DSR); ioaddr 414 drivers/rtc/rtc-imxdi.c dsr = readl(imxdi->ioaddr + DSR); ioaddr 446 drivers/rtc/rtc-imxdi.c writel(readl(imxdi->ioaddr + DIER) | intr, ioaddr 447 drivers/rtc/rtc-imxdi.c imxdi->ioaddr + DIER); ioaddr 459 drivers/rtc/rtc-imxdi.c writel(readl(imxdi->ioaddr + DIER) & ~intr, ioaddr 460 drivers/rtc/rtc-imxdi.c imxdi->ioaddr + DIER); ioaddr 478 drivers/rtc/rtc-imxdi.c writel(DSR_WEF, imxdi->ioaddr + DSR); ioaddr 482 drivers/rtc/rtc-imxdi.c if ((readl(imxdi->ioaddr + DSR) & DSR_WEF) == 0) ioaddr 510 drivers/rtc/rtc-imxdi.c writel(val, imxdi->ioaddr + reg); ioaddr 544 drivers/rtc/rtc-imxdi.c now = readl(imxdi->ioaddr + DTCMR); ioaddr 560 drivers/rtc/rtc-imxdi.c dcr = readl(imxdi->ioaddr + DCR); ioaddr 561 drivers/rtc/rtc-imxdi.c dsr = readl(imxdi->ioaddr + DSR); ioaddr 585 drivers/rtc/rtc-imxdi.c return di_write_wait(imxdi, readl(imxdi->ioaddr + DCR) | DCR_TCE, DCR); ioaddr 610 drivers/rtc/rtc-imxdi.c dcamr = readl(imxdi->ioaddr + DCAMR); ioaddr 614 drivers/rtc/rtc-imxdi.c alarm->enabled = (readl(imxdi->ioaddr + DIER) & DIER_CAIE) != 0; ioaddr 620 drivers/rtc/rtc-imxdi.c alarm->pending = (readl(imxdi->ioaddr + DSR) & DSR_CAF) != 0; ioaddr 665 drivers/rtc/rtc-imxdi.c dier = readl(imxdi->ioaddr + DIER); ioaddr 666 drivers/rtc/rtc-imxdi.c dsr = readl(imxdi->ioaddr + DSR); ioaddr 753 drivers/rtc/rtc-imxdi.c imxdi->ioaddr = devm_platform_ioremap_resource(pdev, 0); ioaddr 754 drivers/rtc/rtc-imxdi.c if (IS_ERR(imxdi->ioaddr)) ioaddr 755 drivers/rtc/rtc-imxdi.c return PTR_ERR(imxdi->ioaddr); ioaddr 792 drivers/rtc/rtc-imxdi.c writel(0, imxdi->ioaddr + DIER); ioaddr 836 drivers/rtc/rtc-imxdi.c writel(0, imxdi->ioaddr + DIER); ioaddr 35 drivers/rtc/rtc-m48t59.c void __iomem *ioaddr; ioaddr 49 drivers/rtc/rtc-m48t59.c writeb(val, m48t59->ioaddr+ofs); ioaddr 57 drivers/rtc/rtc-m48t59.c return readb(m48t59->ioaddr+ofs); ioaddr 417 drivers/rtc/rtc-m48t59.c m48t59->ioaddr = pdata->ioaddr; ioaddr 419 drivers/rtc/rtc-m48t59.c if (!m48t59->ioaddr) { ioaddr 421 drivers/rtc/rtc-m48t59.c m48t59->ioaddr = devm_ioremap(&pdev->dev, res->start, ioaddr 423 drivers/rtc/rtc-m48t59.c if (!m48t59->ioaddr) ioaddr 41 drivers/rtc/rtc-mv.c void __iomem *ioaddr; ioaddr 49 drivers/rtc/rtc-mv.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 56 drivers/rtc/rtc-mv.c writel(rtc_reg, ioaddr + RTC_TIME_REG_OFFS); ioaddr 61 drivers/rtc/rtc-mv.c writel(rtc_reg, ioaddr + RTC_DATE_REG_OFFS); ioaddr 69 drivers/rtc/rtc-mv.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 73 drivers/rtc/rtc-mv.c rtc_time = readl(ioaddr + RTC_TIME_REG_OFFS); ioaddr 74 drivers/rtc/rtc-mv.c rtc_date = readl(ioaddr + RTC_DATE_REG_OFFS); ioaddr 100 drivers/rtc/rtc-mv.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 104 drivers/rtc/rtc-mv.c rtc_time = readl(ioaddr + RTC_ALARM_TIME_REG_OFFS); ioaddr 105 drivers/rtc/rtc-mv.c rtc_date = readl(ioaddr + RTC_ALARM_DATE_REG_OFFS); ioaddr 125 drivers/rtc/rtc-mv.c alm->enabled = !!readl(ioaddr + RTC_ALARM_INTERRUPT_MASK_REG_OFFS); ioaddr 133 drivers/rtc/rtc-mv.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 146 drivers/rtc/rtc-mv.c writel(rtc_reg, ioaddr + RTC_ALARM_TIME_REG_OFFS); ioaddr 162 drivers/rtc/rtc-mv.c writel(rtc_reg, ioaddr + RTC_ALARM_DATE_REG_OFFS); ioaddr 163 drivers/rtc/rtc-mv.c writel(0, ioaddr + RTC_ALARM_INTERRUPT_CASUE_REG_OFFS); ioaddr 165 drivers/rtc/rtc-mv.c ioaddr + RTC_ALARM_INTERRUPT_MASK_REG_OFFS); ioaddr 173 drivers/rtc/rtc-mv.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 179 drivers/rtc/rtc-mv.c writel(1, ioaddr + RTC_ALARM_INTERRUPT_MASK_REG_OFFS); ioaddr 181 drivers/rtc/rtc-mv.c writel(0, ioaddr + RTC_ALARM_INTERRUPT_MASK_REG_OFFS); ioaddr 188 drivers/rtc/rtc-mv.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 191 drivers/rtc/rtc-mv.c if (!readl(ioaddr + RTC_ALARM_INTERRUPT_CASUE_REG_OFFS)) ioaddr 195 drivers/rtc/rtc-mv.c writel(0, ioaddr + RTC_ALARM_INTERRUPT_CASUE_REG_OFFS); ioaddr 225 drivers/rtc/rtc-mv.c pdata->ioaddr = devm_ioremap_resource(&pdev->dev, res); ioaddr 226 drivers/rtc/rtc-mv.c if (IS_ERR(pdata->ioaddr)) ioaddr 227 drivers/rtc/rtc-mv.c return PTR_ERR(pdata->ioaddr); ioaddr 235 drivers/rtc/rtc-mv.c rtc_time = readl(pdata->ioaddr + RTC_TIME_REG_OFFS); ioaddr 245 drivers/rtc/rtc-mv.c rtc_time = readl(pdata->ioaddr + RTC_TIME_REG_OFFS); ioaddr 264 drivers/rtc/rtc-mv.c writel(0, pdata->ioaddr + RTC_ALARM_INTERRUPT_MASK_REG_OFFS); ioaddr 65 drivers/rtc/rtc-mxc.c void __iomem *ioaddr; ioaddr 107 drivers/rtc/rtc-mxc.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 112 drivers/rtc/rtc-mxc.c day = readw(ioaddr + RTC_DAYR); ioaddr 113 drivers/rtc/rtc-mxc.c hr_min = readw(ioaddr + RTC_HOURMIN); ioaddr 114 drivers/rtc/rtc-mxc.c sec = readw(ioaddr + RTC_SECOND); ioaddr 117 drivers/rtc/rtc-mxc.c day = readw(ioaddr + RTC_DAYALARM); ioaddr 118 drivers/rtc/rtc-mxc.c hr_min = readw(ioaddr + RTC_ALRM_HM) & 0xffff; ioaddr 119 drivers/rtc/rtc-mxc.c sec = readw(ioaddr + RTC_ALRM_SEC); ioaddr 136 drivers/rtc/rtc-mxc.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 152 drivers/rtc/rtc-mxc.c writew(day, ioaddr + RTC_DAYR); ioaddr 153 drivers/rtc/rtc-mxc.c writew(sec, ioaddr + RTC_SECOND); ioaddr 154 drivers/rtc/rtc-mxc.c writew(temp, ioaddr + RTC_HOURMIN); ioaddr 157 drivers/rtc/rtc-mxc.c writew(day, ioaddr + RTC_DAYALARM); ioaddr 158 drivers/rtc/rtc-mxc.c writew(sec, ioaddr + RTC_ALRM_SEC); ioaddr 159 drivers/rtc/rtc-mxc.c writew(temp, ioaddr + RTC_ALRM_HM); ioaddr 172 drivers/rtc/rtc-mxc.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 177 drivers/rtc/rtc-mxc.c writew(readw(ioaddr + RTC_RTCISR), ioaddr + RTC_RTCISR); ioaddr 185 drivers/rtc/rtc-mxc.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 190 drivers/rtc/rtc-mxc.c reg = readw(ioaddr + RTC_RTCIENR); ioaddr 197 drivers/rtc/rtc-mxc.c writew(reg, ioaddr + RTC_RTCIENR); ioaddr 206 drivers/rtc/rtc-mxc.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 212 drivers/rtc/rtc-mxc.c status = readw(ioaddr + RTC_RTCISR) & readw(ioaddr + RTC_RTCIENR); ioaddr 214 drivers/rtc/rtc-mxc.c writew(status, ioaddr + RTC_RTCISR); ioaddr 278 drivers/rtc/rtc-mxc.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 281 drivers/rtc/rtc-mxc.c alrm->pending = ((readw(ioaddr + RTC_RTCISR) & RTC_ALM_BIT)) ? 1 : 0; ioaddr 329 drivers/rtc/rtc-mxc.c pdata->ioaddr = devm_platform_ioremap_resource(pdev, 0); ioaddr 330 drivers/rtc/rtc-mxc.c if (IS_ERR(pdata->ioaddr)) ioaddr 331 drivers/rtc/rtc-mxc.c return PTR_ERR(pdata->ioaddr); ioaddr 393 drivers/rtc/rtc-mxc.c writew(reg, (pdata->ioaddr + RTC_RTCCTL)); ioaddr 394 drivers/rtc/rtc-mxc.c if (((readw(pdata->ioaddr + RTC_RTCCTL)) & RTC_ENABLE_BIT) == 0) { ioaddr 41 drivers/rtc/rtc-mxc_v2.c void __iomem *ioaddr; ioaddr 53 drivers/rtc/rtc-mxc_v2.c static void mxc_rtc_sync_lp_locked(struct device *dev, void __iomem *ioaddr) ioaddr 59 drivers/rtc/rtc-mxc_v2.c const u32 count = readl(ioaddr + SRTC_LPSCLR); ioaddr 62 drivers/rtc/rtc-mxc_v2.c while ((readl(ioaddr + SRTC_LPSCLR)) == count) { ioaddr 76 drivers/rtc/rtc-mxc_v2.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 87 drivers/rtc/rtc-mxc_v2.c lp_status = readl(ioaddr + SRTC_LPSR); ioaddr 88 drivers/rtc/rtc-mxc_v2.c lp_cr = readl(ioaddr + SRTC_LPCR); ioaddr 100 drivers/rtc/rtc-mxc_v2.c writel(lp_cr, ioaddr + SRTC_LPCR); ioaddr 103 drivers/rtc/rtc-mxc_v2.c writel(lp_status, ioaddr + SRTC_LPSR); ioaddr 105 drivers/rtc/rtc-mxc_v2.c mxc_rtc_sync_lp_locked(dev, ioaddr); ioaddr 148 drivers/rtc/rtc-mxc_v2.c const time64_t now = readl(pdata->ioaddr + SRTC_LPSCMR); ioaddr 174 drivers/rtc/rtc-mxc_v2.c writel(time, pdata->ioaddr + SRTC_LPSCMR); ioaddr 175 drivers/rtc/rtc-mxc_v2.c mxc_rtc_sync_lp_locked(dev, pdata->ioaddr); ioaddr 191 drivers/rtc/rtc-mxc_v2.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 198 drivers/rtc/rtc-mxc_v2.c rtc_time64_to_tm(readl(ioaddr + SRTC_LPSAR), &alrm->time); ioaddr 199 drivers/rtc/rtc-mxc_v2.c alrm->pending = !!(readl(ioaddr + SRTC_LPSR) & SRTC_LPSR_ALP); ioaddr 210 drivers/rtc/rtc-mxc_v2.c u32 lp_cr = readl(pdata->ioaddr + SRTC_LPCR); ioaddr 217 drivers/rtc/rtc-mxc_v2.c writel(lp_cr, pdata->ioaddr + SRTC_LPCR); ioaddr 248 drivers/rtc/rtc-mxc_v2.c writel((u32)time, pdata->ioaddr + SRTC_LPSAR); ioaddr 251 drivers/rtc/rtc-mxc_v2.c writel(SRTC_LPSR_ALP, pdata->ioaddr + SRTC_LPSR); ioaddr 252 drivers/rtc/rtc-mxc_v2.c mxc_rtc_sync_lp_locked(dev, pdata->ioaddr); ioaddr 255 drivers/rtc/rtc-mxc_v2.c mxc_rtc_sync_lp_locked(dev, pdata->ioaddr); ioaddr 268 drivers/rtc/rtc-mxc_v2.c static int mxc_rtc_wait_for_flag(void __iomem *ioaddr, int flag) ioaddr 272 drivers/rtc/rtc-mxc_v2.c while (!(readl(ioaddr) & flag)) { ioaddr 282 drivers/rtc/rtc-mxc_v2.c void __iomem *ioaddr; ioaddr 289 drivers/rtc/rtc-mxc_v2.c pdata->ioaddr = devm_platform_ioremap_resource(pdev, 0); ioaddr 290 drivers/rtc/rtc-mxc_v2.c if (IS_ERR(pdata->ioaddr)) ioaddr 291 drivers/rtc/rtc-mxc_v2.c return PTR_ERR(pdata->ioaddr); ioaddr 293 drivers/rtc/rtc-mxc_v2.c ioaddr = pdata->ioaddr; ioaddr 315 drivers/rtc/rtc-mxc_v2.c writel(SRTC_LPPDR_INIT, ioaddr + SRTC_LPPDR); ioaddr 318 drivers/rtc/rtc-mxc_v2.c writel(0xFFFFFFFF, ioaddr + SRTC_LPSR); ioaddr 321 drivers/rtc/rtc-mxc_v2.c writel((SRTC_LPCR_IE | SRTC_LPCR_NSA), ioaddr + SRTC_LPCR); ioaddr 322 drivers/rtc/rtc-mxc_v2.c ret = mxc_rtc_wait_for_flag(ioaddr + SRTC_LPSR, SRTC_LPSR_IES); ioaddr 331 drivers/rtc/rtc-mxc_v2.c SRTC_LPCR_EN_LP), ioaddr + SRTC_LPCR); ioaddr 332 drivers/rtc/rtc-mxc_v2.c ret = mxc_rtc_wait_for_flag(ioaddr + SRTC_LPSR, SRTC_LPSR_NVES); ioaddr 84 drivers/rtc/rtc-spear.c void __iomem *ioaddr; ioaddr 94 drivers/rtc/rtc-spear.c val = readl(config->ioaddr + STATUS_REG); ioaddr 96 drivers/rtc/rtc-spear.c writel(val, config->ioaddr + STATUS_REG); ioaddr 104 drivers/rtc/rtc-spear.c val = readl(config->ioaddr + CTRL_REG); ioaddr 108 drivers/rtc/rtc-spear.c writel(val, config->ioaddr + CTRL_REG); ioaddr 116 drivers/rtc/rtc-spear.c val = readl(config->ioaddr + CTRL_REG); ioaddr 119 drivers/rtc/rtc-spear.c writel(val, config->ioaddr + CTRL_REG); ioaddr 129 drivers/rtc/rtc-spear.c if ((readl(config->ioaddr + STATUS_REG)) & STATUS_FAIL) ioaddr 144 drivers/rtc/rtc-spear.c status = readl(config->ioaddr + STATUS_REG); ioaddr 160 drivers/rtc/rtc-spear.c irq_data = readl(config->ioaddr + STATUS_REG); ioaddr 210 drivers/rtc/rtc-spear.c time = readl(config->ioaddr + TIME_REG); ioaddr 211 drivers/rtc/rtc-spear.c date = readl(config->ioaddr + DATE_REG); ioaddr 243 drivers/rtc/rtc-spear.c writel(time, config->ioaddr + TIME_REG); ioaddr 244 drivers/rtc/rtc-spear.c writel(date, config->ioaddr + DATE_REG); ioaddr 264 drivers/rtc/rtc-spear.c time = readl(config->ioaddr + ALARM_TIME_REG); ioaddr 265 drivers/rtc/rtc-spear.c date = readl(config->ioaddr + ALARM_DATE_REG); ioaddr 274 drivers/rtc/rtc-spear.c alm->enabled = readl(config->ioaddr + CTRL_REG) & INT_ENABLE; ioaddr 302 drivers/rtc/rtc-spear.c writel(time, config->ioaddr + ALARM_TIME_REG); ioaddr 303 drivers/rtc/rtc-spear.c writel(date, config->ioaddr + ALARM_DATE_REG); ioaddr 373 drivers/rtc/rtc-spear.c config->ioaddr = devm_ioremap_resource(&pdev->dev, res); ioaddr 374 drivers/rtc/rtc-spear.c if (IS_ERR(config->ioaddr)) ioaddr 375 drivers/rtc/rtc-spear.c return PTR_ERR(config->ioaddr); ioaddr 47 drivers/rtc/rtc-st-lpc.c void __iomem *ioaddr; ioaddr 60 drivers/rtc/rtc-st-lpc.c writel_relaxed(1, rtc->ioaddr + LPC_WDT_OFF); ioaddr 62 drivers/rtc/rtc-st-lpc.c writel_relaxed(msb, rtc->ioaddr + LPC_LPA_MSB_OFF); ioaddr 63 drivers/rtc/rtc-st-lpc.c writel_relaxed(lsb, rtc->ioaddr + LPC_LPA_LSB_OFF); ioaddr 64 drivers/rtc/rtc-st-lpc.c writel_relaxed(1, rtc->ioaddr + LPC_LPA_START_OFF); ioaddr 66 drivers/rtc/rtc-st-lpc.c writel_relaxed(0, rtc->ioaddr + LPC_WDT_OFF); ioaddr 90 drivers/rtc/rtc-st-lpc.c lpt_msb = readl_relaxed(rtc->ioaddr + LPC_LPT_MSB_OFF); ioaddr 91 drivers/rtc/rtc-st-lpc.c lpt_lsb = readl_relaxed(rtc->ioaddr + LPC_LPT_LSB_OFF); ioaddr 92 drivers/rtc/rtc-st-lpc.c } while (readl_relaxed(rtc->ioaddr + LPC_LPT_MSB_OFF) != lpt_msb); ioaddr 115 drivers/rtc/rtc-st-lpc.c writel_relaxed(lpt >> 32, rtc->ioaddr + LPC_LPT_MSB_OFF); ioaddr 116 drivers/rtc/rtc-st-lpc.c writel_relaxed(lpt, rtc->ioaddr + LPC_LPT_LSB_OFF); ioaddr 117 drivers/rtc/rtc-st-lpc.c writel_relaxed(1, rtc->ioaddr + LPC_LPT_START_OFF); ioaddr 214 drivers/rtc/rtc-st-lpc.c rtc->ioaddr = devm_ioremap_resource(&pdev->dev, res); ioaddr 215 drivers/rtc/rtc-st-lpc.c if (IS_ERR(rtc->ioaddr)) ioaddr 216 drivers/rtc/rtc-st-lpc.c return PTR_ERR(rtc->ioaddr); ioaddr 273 drivers/rtc/rtc-st-lpc.c writel_relaxed(1, rtc->ioaddr + LPC_WDT_OFF); ioaddr 274 drivers/rtc/rtc-st-lpc.c writel_relaxed(0, rtc->ioaddr + LPC_LPA_START_OFF); ioaddr 275 drivers/rtc/rtc-st-lpc.c writel_relaxed(0, rtc->ioaddr + LPC_WDT_OFF); ioaddr 292 drivers/rtc/rtc-st-lpc.c writel_relaxed(0, rtc->ioaddr + LPC_LPA_MSB_OFF); ioaddr 293 drivers/rtc/rtc-st-lpc.c writel_relaxed(0, rtc->ioaddr + LPC_LPA_LSB_OFF); ioaddr 294 drivers/rtc/rtc-st-lpc.c writel_relaxed(1, rtc->ioaddr + LPC_WDT_OFF); ioaddr 295 drivers/rtc/rtc-st-lpc.c writel_relaxed(1, rtc->ioaddr + LPC_LPA_START_OFF); ioaddr 296 drivers/rtc/rtc-st-lpc.c writel_relaxed(0, rtc->ioaddr + LPC_WDT_OFF); ioaddr 61 drivers/rtc/rtc-stk17ta8.c void __iomem *ioaddr; ioaddr 75 drivers/rtc/rtc-stk17ta8.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 78 drivers/rtc/rtc-stk17ta8.c flags = readb(pdata->ioaddr + RTC_FLAGS); ioaddr 79 drivers/rtc/rtc-stk17ta8.c writeb(flags | RTC_WRITE, pdata->ioaddr + RTC_FLAGS); ioaddr 81 drivers/rtc/rtc-stk17ta8.c writeb(bin2bcd(tm->tm_year % 100), ioaddr + RTC_YEAR); ioaddr 82 drivers/rtc/rtc-stk17ta8.c writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); ioaddr 83 drivers/rtc/rtc-stk17ta8.c writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); ioaddr 84 drivers/rtc/rtc-stk17ta8.c writeb(bin2bcd(tm->tm_mday), ioaddr + RTC_DATE); ioaddr 85 drivers/rtc/rtc-stk17ta8.c writeb(bin2bcd(tm->tm_hour), ioaddr + RTC_HOURS); ioaddr 86 drivers/rtc/rtc-stk17ta8.c writeb(bin2bcd(tm->tm_min), ioaddr + RTC_MINUTES); ioaddr 87 drivers/rtc/rtc-stk17ta8.c writeb(bin2bcd(tm->tm_sec) & RTC_SECONDS_MASK, ioaddr + RTC_SECONDS); ioaddr 88 drivers/rtc/rtc-stk17ta8.c writeb(bin2bcd((tm->tm_year + 1900) / 100), ioaddr + RTC_CENTURY); ioaddr 90 drivers/rtc/rtc-stk17ta8.c writeb(flags & ~RTC_WRITE, pdata->ioaddr + RTC_FLAGS); ioaddr 97 drivers/rtc/rtc-stk17ta8.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 107 drivers/rtc/rtc-stk17ta8.c flags = readb(pdata->ioaddr + RTC_FLAGS); ioaddr 108 drivers/rtc/rtc-stk17ta8.c writeb(flags | RTC_READ, ioaddr + RTC_FLAGS); ioaddr 109 drivers/rtc/rtc-stk17ta8.c second = readb(ioaddr + RTC_SECONDS) & RTC_SECONDS_MASK; ioaddr 110 drivers/rtc/rtc-stk17ta8.c minute = readb(ioaddr + RTC_MINUTES); ioaddr 111 drivers/rtc/rtc-stk17ta8.c hour = readb(ioaddr + RTC_HOURS); ioaddr 112 drivers/rtc/rtc-stk17ta8.c day = readb(ioaddr + RTC_DATE); ioaddr 113 drivers/rtc/rtc-stk17ta8.c week = readb(ioaddr + RTC_DAY) & RTC_DAY_MASK; ioaddr 114 drivers/rtc/rtc-stk17ta8.c month = readb(ioaddr + RTC_MONTH); ioaddr 115 drivers/rtc/rtc-stk17ta8.c year = readb(ioaddr + RTC_YEAR); ioaddr 116 drivers/rtc/rtc-stk17ta8.c century = readb(ioaddr + RTC_CENTURY); ioaddr 117 drivers/rtc/rtc-stk17ta8.c writeb(flags & ~RTC_READ, ioaddr + RTC_FLAGS); ioaddr 132 drivers/rtc/rtc-stk17ta8.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 138 drivers/rtc/rtc-stk17ta8.c flags = readb(ioaddr + RTC_FLAGS); ioaddr 139 drivers/rtc/rtc-stk17ta8.c writeb(flags | RTC_WRITE, ioaddr + RTC_FLAGS); ioaddr 143 drivers/rtc/rtc-stk17ta8.c ioaddr + RTC_DATE_ALARM); ioaddr 146 drivers/rtc/rtc-stk17ta8.c ioaddr + RTC_HOURS_ALARM); ioaddr 149 drivers/rtc/rtc-stk17ta8.c ioaddr + RTC_MINUTES_ALARM); ioaddr 152 drivers/rtc/rtc-stk17ta8.c ioaddr + RTC_SECONDS_ALARM); ioaddr 153 drivers/rtc/rtc-stk17ta8.c writeb(pdata->irqen ? RTC_INTS_AIE : 0, ioaddr + RTC_INTERRUPTS); ioaddr 154 drivers/rtc/rtc-stk17ta8.c readb(ioaddr + RTC_FLAGS); /* clear interrupts */ ioaddr 155 drivers/rtc/rtc-stk17ta8.c writeb(flags & ~RTC_WRITE, ioaddr + RTC_FLAGS); ioaddr 193 drivers/rtc/rtc-stk17ta8.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 198 drivers/rtc/rtc-stk17ta8.c if (readb(ioaddr + RTC_FLAGS) & RTC_FLAGS_AF) { ioaddr 200 drivers/rtc/rtc-stk17ta8.c if (readb(ioaddr + RTC_SECONDS_ALARM) & 0x80) ioaddr 237 drivers/rtc/rtc-stk17ta8.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 241 drivers/rtc/rtc-stk17ta8.c *buf++ = readb(ioaddr + pos++); ioaddr 249 drivers/rtc/rtc-stk17ta8.c void __iomem *ioaddr = pdata->ioaddr; ioaddr 253 drivers/rtc/rtc-stk17ta8.c writeb(*buf++, ioaddr + pos++); ioaddr 263 drivers/rtc/rtc-stk17ta8.c void __iomem *ioaddr; ioaddr 279 drivers/rtc/rtc-stk17ta8.c ioaddr = devm_ioremap_resource(&pdev->dev, res); ioaddr 280 drivers/rtc/rtc-stk17ta8.c if (IS_ERR(ioaddr)) ioaddr 281 drivers/rtc/rtc-stk17ta8.c return PTR_ERR(ioaddr); ioaddr 282 drivers/rtc/rtc-stk17ta8.c pdata->ioaddr = ioaddr; ioaddr 286 drivers/rtc/rtc-stk17ta8.c cal = readb(ioaddr + RTC_CALIBRATION); ioaddr 289 drivers/rtc/rtc-stk17ta8.c flags = readb(ioaddr + RTC_FLAGS); ioaddr 290 drivers/rtc/rtc-stk17ta8.c writeb(flags | RTC_WRITE, ioaddr + RTC_FLAGS); ioaddr 291 drivers/rtc/rtc-stk17ta8.c writeb(cal, ioaddr + RTC_CALIBRATION); ioaddr 292 drivers/rtc/rtc-stk17ta8.c writeb(flags & ~RTC_WRITE, ioaddr + RTC_FLAGS); ioaddr 294 drivers/rtc/rtc-stk17ta8.c if (readb(ioaddr + RTC_FLAGS) & RTC_FLAGS_PF) ioaddr 301 drivers/rtc/rtc-stk17ta8.c writeb(0, ioaddr + RTC_INTERRUPTS); ioaddr 516 drivers/scsi/sun3_scsi.c void __iomem *ioaddr; ioaddr 532 drivers/scsi/sun3_scsi.c ioaddr = NULL; ioaddr 541 drivers/scsi/sun3_scsi.c ioaddr = sun3_ioremap(mem->start, resource_size(mem), ioaddr 543 drivers/scsi/sun3_scsi.c dregs = (struct sun3_dma_regs *)(ioaddr + 8); ioaddr 557 drivers/scsi/sun3_scsi.c iounmap(ioaddr); ioaddr 558 drivers/scsi/sun3_scsi.c ioaddr = NULL; ioaddr 560 drivers/scsi/sun3_scsi.c if (!ioaddr) ioaddr 568 drivers/scsi/sun3_scsi.c ioaddr = ioremap(mem->start, resource_size(mem)); ioaddr 569 drivers/scsi/sun3_scsi.c dregs = (struct sun3_dma_regs *)(ioaddr + 8); ioaddr 574 drivers/scsi/sun3_scsi.c iounmap(ioaddr); ioaddr 590 drivers/scsi/sun3_scsi.c hostdata->io = ioaddr; ioaddr 639 drivers/scsi/sun3_scsi.c iounmap(ioaddr); ioaddr 647 drivers/scsi/sun3_scsi.c void __iomem *ioaddr = hostdata->io; ioaddr 655 drivers/scsi/sun3_scsi.c iounmap(ioaddr); ioaddr 1198 drivers/scsi/sym53c8xx_2/sym_glue.c if (device->s.ioaddr) ioaddr 1199 drivers/scsi/sym53c8xx_2/sym_glue.c pci_iounmap(device->pdev, device->s.ioaddr); ioaddr 1215 drivers/scsi/sym53c8xx_2/sym_glue.c if (np->s.ioaddr) ioaddr 1216 drivers/scsi/sym53c8xx_2/sym_glue.c pci_iounmap(pdev, np->s.ioaddr); ioaddr 1292 drivers/scsi/sym53c8xx_2/sym_glue.c np->s.ioaddr = dev->s.ioaddr; ioaddr 1534 drivers/scsi/sym53c8xx_2/sym_glue.c device->s.ioaddr = pci_iomap(pdev, 1, ioaddr 1537 drivers/scsi/sym53c8xx_2/sym_glue.c if (!device->s.ioaddr) ioaddr 1538 drivers/scsi/sym53c8xx_2/sym_glue.c device->s.ioaddr = pci_iomap(pdev, 0, ioaddr 1540 drivers/scsi/sym53c8xx_2/sym_glue.c if (!device->s.ioaddr) { ioaddr 172 drivers/scsi/sym53c8xx_2/sym_glue.h void __iomem * ioaddr; /* MMIO kernel io address */ ioaddr 196 drivers/scsi/sym53c8xx_2/sym_glue.h void __iomem *ioaddr; ioaddr 184 drivers/scsi/sym53c8xx_2/sym_hipd.h #define INB_OFF(np, o) ioread8(np->s.ioaddr + (o)) ioaddr 185 drivers/scsi/sym53c8xx_2/sym_hipd.h #define INW_OFF(np, o) ioread16(np->s.ioaddr + (o)) ioaddr 186 drivers/scsi/sym53c8xx_2/sym_hipd.h #define INL_OFF(np, o) ioread32(np->s.ioaddr + (o)) ioaddr 188 drivers/scsi/sym53c8xx_2/sym_hipd.h #define OUTB_OFF(np, o, val) iowrite8((val), np->s.ioaddr + (o)) ioaddr 189 drivers/scsi/sym53c8xx_2/sym_hipd.h #define OUTW_OFF(np, o, val) iowrite16((val), np->s.ioaddr + (o)) ioaddr 190 drivers/scsi/sym53c8xx_2/sym_hipd.h #define OUTL_OFF(np, o, val) iowrite32((val), np->s.ioaddr + (o)) ioaddr 81 drivers/scsi/zorro7xx.c unsigned long board, ioaddr; ioaddr 87 drivers/scsi/zorro7xx.c ioaddr = zdd->offset; ioaddr 89 drivers/scsi/zorro7xx.c ioaddr = board + zdd->offset; ioaddr 105 drivers/scsi/zorro7xx.c if (ioaddr > 0x01000000) ioaddr 106 drivers/scsi/zorro7xx.c hostdata->base = ioremap(ioaddr, zorro_resource_len(z)); ioaddr 108 drivers/scsi/zorro7xx.c hostdata->base = ZTWO_VADDR(ioaddr); ioaddr 128 drivers/scsi/zorro7xx.c host->base = ioaddr; ioaddr 145 drivers/scsi/zorro7xx.c if (ioaddr > 0x01000000) ioaddr 721 drivers/scsi/zorro_esp.c unsigned long board, ioaddr, dmaaddr; ioaddr 763 drivers/scsi/zorro_esp.c ioaddr = zdd->offset; ioaddr 766 drivers/scsi/zorro_esp.c ioaddr = board + zdd->offset; ioaddr 785 drivers/scsi/zorro_esp.c host->base = ioaddr; ioaddr 818 drivers/scsi/zorro_esp.c if (ioaddr > 0xffffff) ioaddr 819 drivers/scsi/zorro_esp.c esp->regs = ioremap_nocache(ioaddr, 0x20); ioaddr 822 drivers/scsi/zorro_esp.c esp->regs = ZTWO_VADDR(ioaddr); ioaddr 896 drivers/scsi/zorro_esp.c if (ioaddr > 0xffffff) ioaddr 320 drivers/spi/spi-pxa2xx.c drv_data->lpss_base = drv_data->ioaddr + config->offset; ioaddr 1711 drivers/spi/spi-pxa2xx.c drv_data->ioaddr = ssp->mmio_base; ioaddr 37 drivers/spi/spi-pxa2xx.h void __iomem *ioaddr; ioaddr 93 drivers/spi/spi-pxa2xx.h return __raw_readl(drv_data->ioaddr + reg); ioaddr 99 drivers/spi/spi-pxa2xx.h __raw_writel(val, drv_data->ioaddr + reg); ioaddr 2407 drivers/staging/rtl8192e/rtl8192e/rtl_core.c unsigned long ioaddr = 0; ioaddr 2466 drivers/staging/rtl8192e/rtl8192e/rtl_core.c ioaddr = (unsigned long)ioremap_nocache(pmem_start, pmem_len); ioaddr 2467 drivers/staging/rtl8192e/rtl8192e/rtl_core.c if (ioaddr == (unsigned long)NULL) { ioaddr 2472 drivers/staging/rtl8192e/rtl8192e/rtl_core.c dev->mem_start = ioaddr; ioaddr 2473 drivers/staging/rtl8192e/rtl8192e/rtl_core.c dev->mem_end = ioaddr + pci_resource_len(pdev, 0); ioaddr 2525 drivers/staging/rtl8192e/rtl8192e/rtl_core.c iounmap((void __iomem *)ioaddr); ioaddr 131 drivers/staging/vt6655/device.h u32 ioaddr; ioaddr 416 drivers/staging/vt6655/device_main.c priv->abyCurrentNetAddr, (unsigned long)priv->ioaddr, ioaddr 1693 drivers/staging/vt6655/device_main.c priv->ioaddr = pci_resource_start(pcid, 1); ioaddr 175 drivers/tty/mxser.c static unsigned long ioaddr[MXSER_BOARDS]; ioaddr 182 drivers/tty/mxser.c module_param_hw_array(ioaddr, ulong, ioport, NULL, 0); ioaddr 183 drivers/tty/mxser.c MODULE_PARM_DESC(ioaddr, "ISA io addresses to look for a moxa board"); ioaddr 224 drivers/tty/mxser.c unsigned long ioaddr; ioaddr 359 drivers/tty/mxser.c oldlcr = inb(info->ioaddr + UART_LCR); ioaddr 360 drivers/tty/mxser.c outb(MOXA_MUST_ENTER_ENCHANCE, info->ioaddr + UART_LCR); ioaddr 362 drivers/tty/mxser.c efr = inb(info->ioaddr + MOXA_MUST_EFR_REGISTER); ioaddr 366 drivers/tty/mxser.c outb(efr, info->ioaddr + MOXA_MUST_EFR_REGISTER); ioaddr 367 drivers/tty/mxser.c outb((u8)info->rx_high_water, info->ioaddr + MOXA_MUST_RBRTH_REGISTER); ioaddr 368 drivers/tty/mxser.c outb((u8)info->rx_trigger, info->ioaddr + MOXA_MUST_RBRTI_REGISTER); ioaddr 369 drivers/tty/mxser.c outb((u8)info->rx_low_water, info->ioaddr + MOXA_MUST_RBRTL_REGISTER); ioaddr 370 drivers/tty/mxser.c outb(oldlcr, info->ioaddr + UART_LCR); ioaddr 550 drivers/tty/mxser.c return (inb(mp->ioaddr + UART_MSR) & UART_MSR_DCD)?1:0; ioaddr 560 drivers/tty/mxser.c outb(inb(mp->ioaddr + UART_MCR) | ioaddr 561 drivers/tty/mxser.c UART_MCR_DTR | UART_MCR_RTS, mp->ioaddr + UART_MCR); ioaddr 563 drivers/tty/mxser.c outb(inb(mp->ioaddr + UART_MCR)&~(UART_MCR_DTR | UART_MCR_RTS), ioaddr 564 drivers/tty/mxser.c mp->ioaddr + UART_MCR); ioaddr 575 drivers/tty/mxser.c if (!info->ioaddr) ioaddr 604 drivers/tty/mxser.c outb(info->MCR, info->ioaddr + UART_MCR); ioaddr 607 drivers/tty/mxser.c outb(info->MCR, info->ioaddr + UART_MCR); ioaddr 611 drivers/tty/mxser.c cval = inb(info->ioaddr + UART_LCR); ioaddr 613 drivers/tty/mxser.c outb(cval | UART_LCR_DLAB, info->ioaddr + UART_LCR); /* set DLAB */ ioaddr 615 drivers/tty/mxser.c outb(quot & 0xff, info->ioaddr + UART_DLL); /* LS of divisor */ ioaddr 616 drivers/tty/mxser.c outb(quot >> 8, info->ioaddr + UART_DLM); /* MS of divisor */ ioaddr 617 drivers/tty/mxser.c outb(cval, info->ioaddr + UART_LCR); /* reset DLAB */ ioaddr 629 drivers/tty/mxser.c mxser_set_must_enum_value(info->ioaddr, quot); ioaddr 632 drivers/tty/mxser.c mxser_set_must_enum_value(info->ioaddr, 0); ioaddr 649 drivers/tty/mxser.c if (!info->ioaddr) ioaddr 721 drivers/tty/mxser.c status = inb(info->ioaddr + UART_MSR); ioaddr 728 drivers/tty/mxser.c info->ioaddr + ioaddr 731 drivers/tty/mxser.c outb(info->IER, info->ioaddr + ioaddr 742 drivers/tty/mxser.c outb(info->IER, info->ioaddr + ioaddr 749 drivers/tty/mxser.c outb(info->MCR, info->ioaddr + UART_MCR); ioaddr 753 drivers/tty/mxser.c outb(info->IER, info->ioaddr + UART_IER); ioaddr 785 drivers/tty/mxser.c mxser_set_must_xon1_value(info->ioaddr, START_CHAR(tty)); ioaddr 786 drivers/tty/mxser.c mxser_set_must_xoff1_value(info->ioaddr, STOP_CHAR(tty)); ioaddr 789 drivers/tty/mxser.c info->ioaddr); ioaddr 792 drivers/tty/mxser.c info->ioaddr); ioaddr 796 drivers/tty/mxser.c info->ioaddr); ioaddr 799 drivers/tty/mxser.c info->ioaddr); ioaddr 804 drivers/tty/mxser.c outb(fcr, info->ioaddr + UART_FCR); /* set fcr */ ioaddr 805 drivers/tty/mxser.c outb(cval, info->ioaddr + UART_LCR); ioaddr 838 drivers/tty/mxser.c port->ioaddr + UART_IER); ioaddr 840 drivers/tty/mxser.c outb(port->IER, port->ioaddr + ioaddr 851 drivers/tty/mxser.c outb(port->IER, port->ioaddr + ioaddr 871 drivers/tty/mxser.c if (!info->ioaddr || !info->type) { ioaddr 886 drivers/tty/mxser.c MOXA_MUST_FCR_GDA_MODE_ENABLE), info->ioaddr + UART_FCR); ioaddr 889 drivers/tty/mxser.c info->ioaddr + UART_FCR); ioaddr 896 drivers/tty/mxser.c if (inb(info->ioaddr + UART_LSR) == 0xff) { ioaddr 908 drivers/tty/mxser.c (void) inb(info->ioaddr + UART_LSR); ioaddr 909 drivers/tty/mxser.c (void) inb(info->ioaddr + UART_RX); ioaddr 910 drivers/tty/mxser.c (void) inb(info->ioaddr + UART_IIR); ioaddr 911 drivers/tty/mxser.c (void) inb(info->ioaddr + UART_MSR); ioaddr 916 drivers/tty/mxser.c outb(UART_LCR_WLEN8, info->ioaddr + UART_LCR); /* reset DLAB */ ioaddr 918 drivers/tty/mxser.c outb(info->MCR, info->ioaddr + UART_MCR); ioaddr 927 drivers/tty/mxser.c outb(info->IER, info->ioaddr + UART_IER); /* enable interrupts */ ioaddr 932 drivers/tty/mxser.c (void) inb(info->ioaddr + UART_LSR); ioaddr 933 drivers/tty/mxser.c (void) inb(info->ioaddr + UART_RX); ioaddr 934 drivers/tty/mxser.c (void) inb(info->ioaddr + UART_IIR); ioaddr 935 drivers/tty/mxser.c (void) inb(info->ioaddr + UART_MSR); ioaddr 974 drivers/tty/mxser.c outb(0x00, info->ioaddr + UART_IER); ioaddr 980 drivers/tty/mxser.c info->ioaddr + UART_FCR); ioaddr 983 drivers/tty/mxser.c info->ioaddr + UART_FCR); ioaddr 986 drivers/tty/mxser.c (void) inb(info->ioaddr + UART_RX); ioaddr 990 drivers/tty/mxser.c SET_MOXA_MUST_NO_SOFTWARE_FLOW_CONTROL(info->ioaddr); ioaddr 1010 drivers/tty/mxser.c if (!info->ioaddr) ioaddr 1027 drivers/tty/mxser.c fcr = inb(info->ioaddr + UART_FCR); ioaddr 1029 drivers/tty/mxser.c info->ioaddr + UART_FCR); ioaddr 1030 drivers/tty/mxser.c outb(fcr, info->ioaddr + UART_FCR); ioaddr 1052 drivers/tty/mxser.c outb(info->IER, info->ioaddr + UART_IER); ioaddr 1059 drivers/tty/mxser.c while (!(inb(info->ioaddr + UART_LSR) & UART_LSR_TEMT)) { ioaddr 1129 drivers/tty/mxser.c outb(info->IER & ~UART_IER_THRI, info->ioaddr + ioaddr 1132 drivers/tty/mxser.c outb(info->IER, info->ioaddr + UART_IER); ioaddr 1160 drivers/tty/mxser.c outb(info->IER & ~UART_IER_THRI, info->ioaddr + UART_IER); ioaddr 1162 drivers/tty/mxser.c outb(info->IER, info->ioaddr + UART_IER); ioaddr 1182 drivers/tty/mxser.c outb(info->IER & ~UART_IER_THRI, info->ioaddr + UART_IER); ioaddr 1184 drivers/tty/mxser.c outb(info->IER, info->ioaddr + UART_IER); ioaddr 1221 drivers/tty/mxser.c ss->port = info->ioaddr, ioaddr 1248 drivers/tty/mxser.c if (!info->ioaddr) { ioaddr 1254 drivers/tty/mxser.c ss->port != info->ioaddr) { ioaddr 1330 drivers/tty/mxser.c status = inb(info->ioaddr + UART_LSR); ioaddr 1351 drivers/tty/mxser.c status = inb(info->ioaddr + UART_MSR); ioaddr 1387 drivers/tty/mxser.c outb(info->MCR, info->ioaddr + UART_MCR); ioaddr 1515 drivers/tty/mxser.c if (mxser_boards[i].ports[j].ioaddr) ioaddr 1533 drivers/tty/mxser.c if (!ip->ioaddr) ioaddr 1544 drivers/tty/mxser.c status = inb(ip->ioaddr + UART_MSR); ioaddr 1579 drivers/tty/mxser.c if (!ip->ioaddr) { ioaddr 1585 drivers/tty/mxser.c status = mxser_get_msr(ip->ioaddr, 0, p); ioaddr 1757 drivers/tty/mxser.c lsr = inb(info->ioaddr + UART_LSR) & UART_LSR_THRE; ioaddr 1767 drivers/tty/mxser.c status = mxser_get_msr(info->ioaddr, 1, tty->index); ioaddr 1770 drivers/tty/mxser.c mcr = inb(info->ioaddr + UART_MCR); ioaddr 1856 drivers/tty/mxser.c outb(info->IER, info->ioaddr + UART_IER); ioaddr 1859 drivers/tty/mxser.c outb(0, info->ioaddr + UART_IER); ioaddr 1861 drivers/tty/mxser.c outb(info->IER, info->ioaddr + UART_IER); ioaddr 1867 drivers/tty/mxser.c outb(info->MCR, info->ioaddr + UART_MCR); ioaddr 1892 drivers/tty/mxser.c outb(info->IER, info->ioaddr + UART_IER); ioaddr 1895 drivers/tty/mxser.c outb(0, info->ioaddr + UART_IER); ioaddr 1897 drivers/tty/mxser.c outb(info->IER, info->ioaddr + UART_IER); ioaddr 1904 drivers/tty/mxser.c outb(info->MCR, info->ioaddr + UART_MCR); ioaddr 1922 drivers/tty/mxser.c outb(info->IER, info->ioaddr + UART_IER); ioaddr 1934 drivers/tty/mxser.c outb(info->IER & ~UART_IER_THRI, info->ioaddr + UART_IER); ioaddr 1936 drivers/tty/mxser.c outb(info->IER, info->ioaddr + UART_IER); ioaddr 1962 drivers/tty/mxser.c info->ioaddr); ioaddr 2014 drivers/tty/mxser.c while (!((lsr = inb(info->ioaddr + UART_LSR)) & UART_LSR_TEMT)) { ioaddr 2048 drivers/tty/mxser.c outb(inb(info->ioaddr + UART_LCR) | UART_LCR_SBC, ioaddr 2049 drivers/tty/mxser.c info->ioaddr + UART_LCR); ioaddr 2051 drivers/tty/mxser.c outb(inb(info->ioaddr + UART_LCR) & ~UART_LCR_SBC, ioaddr 2052 drivers/tty/mxser.c info->ioaddr + UART_LCR); ioaddr 2079 drivers/tty/mxser.c gdl = inb(port->ioaddr + MOXA_MUST_GDL_REGISTER); ioaddr 2088 drivers/tty/mxser.c ch = inb(port->ioaddr + UART_RX); ioaddr 2100 drivers/tty/mxser.c ch = inb(port->ioaddr + UART_RX); ioaddr 2102 drivers/tty/mxser.c outb(0x23, port->ioaddr + UART_FCR); ioaddr 2141 drivers/tty/mxser.c *status = inb(port->ioaddr + UART_LSR); ioaddr 2164 drivers/tty/mxser.c outb(port->x_char, port->ioaddr + UART_TX); ioaddr 2181 drivers/tty/mxser.c outb(port->IER, port->ioaddr + UART_IER); ioaddr 2189 drivers/tty/mxser.c port->ioaddr + UART_TX); ioaddr 2205 drivers/tty/mxser.c outb(port->IER, port->ioaddr + UART_IER); ioaddr 2249 drivers/tty/mxser.c iir = inb(port->ioaddr + UART_IIR); ioaddr 2256 drivers/tty/mxser.c status = inb(port->ioaddr + UART_LSR); ioaddr 2257 drivers/tty/mxser.c outb(0x27, port->ioaddr + UART_FCR); ioaddr 2258 drivers/tty/mxser.c inb(port->ioaddr + UART_MSR); ioaddr 2263 drivers/tty/mxser.c status = inb(port->ioaddr + UART_LSR); ioaddr 2289 drivers/tty/mxser.c msr = inb(port->ioaddr + UART_MSR); ioaddr 2354 drivers/tty/mxser.c brd->vector >= brd->ports[0].ioaddr && ioaddr 2355 drivers/tty/mxser.c brd->vector < brd->ports[0].ioaddr + 8 * brd->info->nports; ioaddr 2374 drivers/tty/mxser.c release_region(brd->ports[0].ioaddr, 8 * brd->info->nports); ioaddr 2397 drivers/tty/mxser.c mxser_enable_must_enchance_mode(info->ioaddr); ioaddr 2412 drivers/tty/mxser.c outb(inb(info->ioaddr + UART_IER) & 0xf0, ioaddr 2413 drivers/tty/mxser.c info->ioaddr + UART_IER); ioaddr 2500 drivers/tty/mxser.c brd->ports[i].ioaddr = (int) regs[i + 1] & 0xFFF8; ioaddr 2530 drivers/tty/mxser.c if (!request_region(brd->ports[0].ioaddr, 8 * brd->info->nports, ioaddr 2534 drivers/tty/mxser.c brd->ports[0].ioaddr, brd->ports[0].ioaddr + ioaddr 2541 drivers/tty/mxser.c release_region(brd->ports[0].ioaddr, 8 * brd->info->nports); ioaddr 2544 drivers/tty/mxser.c brd->ports[0].ioaddr, brd->ports[0].ioaddr + ioaddr 2595 drivers/tty/mxser.c brd->ports[i].ioaddr = ioaddress + 8 * i; ioaddr 2607 drivers/tty/mxser.c brd->chip_flag = CheckIsMoxaMust(brd->ports[0].ioaddr); ioaddr 2734 drivers/tty/mxser.c if (!ioaddr[b]) ioaddr 2738 drivers/tty/mxser.c retval = mxser_get_ISA_conf(ioaddr[b], brd); ioaddr 2745 drivers/tty/mxser.c brd->info->name, ioaddr[b]); ioaddr 2641 drivers/tty/serial/serial_core.c unsigned long ioaddr; ioaddr 2644 drivers/tty/serial/serial_core.c ioaddr = tmp.port; ioaddr 2646 drivers/tty/serial/serial_core.c ioaddr |= (unsigned long)tmp.port_high << HIGH_BITS_OFFSET; ioaddr 2647 drivers/tty/serial/serial_core.c return snprintf(buf, PAGE_SIZE, "0x%lX\n", ioaddr); ioaddr 1617 drivers/usb/host/sl811-hcd.c u8 tmp, ioaddr = 0; ioaddr 1644 drivers/usb/host/sl811-hcd.c ioaddr = 1; ioaddr 1724 drivers/usb/host/sl811-hcd.c if (!ioaddr) ioaddr 1727 drivers/usb/host/sl811-hcd.c if (!ioaddr) ioaddr 27 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c static unsigned int xmdio_read(void *ioaddr, unsigned int mmd, ioaddr 33 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c iowrite32(mmd_address >> 8, ioaddr + (PCS_MMD_SELECT << 2)); ioaddr 34 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c value = ioread32(ioaddr + ((mmd_address & 0xff) << 2)); ioaddr 38 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c static void xmdio_write(void *ioaddr, unsigned int mmd, ioaddr 44 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c iowrite32(mmd_address >> 8, ioaddr + (PCS_MMD_SELECT << 2)); ioaddr 45 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c iowrite32(value, ioaddr + ((mmd_address & 0xff) << 2)); ioaddr 55 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c if (!xgmac_regs->ioaddr) { ioaddr 56 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c xgmac_regs->ioaddr = ioaddr 58 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c if (!xgmac_regs->ioaddr) ioaddr 61 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c if (!xpcs_regs->ioaddr) { ioaddr 62 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c xpcs_regs->ioaddr = ioaddr 64 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c if (!xpcs_regs->ioaddr) ioaddr 69 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c pcs_value = xmdio_read(xpcs_regs->ioaddr, MDIO_MMD_PCS, MDIO_CTRL1); ioaddr 71 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c xmdio_write(xpcs_regs->ioaddr, MDIO_MMD_PCS, MDIO_CTRL1, pcs_value); ioaddr 76 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c pcs_value = xmdio_read(xpcs_regs->ioaddr, MDIO_MMD_PCS, ioaddr 85 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c value = xmdio_read(xpcs_regs->ioaddr, MDIO_MMD_AN, MDIO_CTRL1); ioaddr 87 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c xmdio_write(xpcs_regs->ioaddr, MDIO_MMD_AN, MDIO_CTRL1, value); ioaddr 90 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c xmdio_write(xpcs_regs->ioaddr, MDIO_MMD_AN, MDIO_AN_INTMASK, 0); ioaddr 93 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c xmdio_write(xpcs_regs->ioaddr, MDIO_MMD_AN, MDIO_AN_INT, 0); ioaddr 96 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c dma_mr_value = ioread32(xgmac_regs->ioaddr + DMA_MR); ioaddr 98 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c iowrite32(dma_mr_value, xgmac_regs->ioaddr + DMA_MR); ioaddr 103 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c while (--count && (ioread32(xgmac_regs->ioaddr + DMA_MR) & 1)) ioaddr 84 drivers/vfio/platform/reset/vfio_platform_bcmflexrm.c if (!reg->ioaddr) { ioaddr 85 drivers/vfio/platform/reset/vfio_platform_bcmflexrm.c reg->ioaddr = ioremap_nocache(reg->addr, reg->size); ioaddr 86 drivers/vfio/platform/reset/vfio_platform_bcmflexrm.c if (!reg->ioaddr) ioaddr 91 drivers/vfio/platform/reset/vfio_platform_bcmflexrm.c for (ring = reg->ioaddr; ioaddr 92 drivers/vfio/platform/reset/vfio_platform_bcmflexrm.c ring < (reg->ioaddr + reg->size); ring += RING_REGS_SIZE) { ioaddr 37 drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c static inline void xgmac_mac_disable(void __iomem *ioaddr) ioaddr 39 drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c u32 value = readl(ioaddr + XGMAC_DMA_CONTROL); ioaddr 42 drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c writel(value, ioaddr + XGMAC_DMA_CONTROL); ioaddr 44 drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c value = readl(ioaddr + XGMAC_CONTROL); ioaddr 46 drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c writel(value, ioaddr + XGMAC_CONTROL); ioaddr 53 drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c if (!reg->ioaddr) { ioaddr 54 drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c reg->ioaddr = ioaddr 56 drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c if (!reg->ioaddr) ioaddr 61 drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c writel(0, reg->ioaddr + XGMAC_DMA_INTR_ENA); ioaddr 64 drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c xgmac_mac_disable(reg->ioaddr); ioaddr 200 drivers/vfio/platform/vfio_platform_common.c iounmap(vdev->regions[i].ioaddr); ioaddr 410 drivers/vfio/platform/vfio_platform_common.c if (!reg->ioaddr) { ioaddr 411 drivers/vfio/platform/vfio_platform_common.c reg->ioaddr = ioaddr 414 drivers/vfio/platform/vfio_platform_common.c if (!reg->ioaddr) ioaddr 424 drivers/vfio/platform/vfio_platform_common.c val = ioread32(reg->ioaddr + off); ioaddr 432 drivers/vfio/platform/vfio_platform_common.c val = ioread16(reg->ioaddr + off); ioaddr 440 drivers/vfio/platform/vfio_platform_common.c val = ioread8(reg->ioaddr + off); ioaddr 487 drivers/vfio/platform/vfio_platform_common.c if (!reg->ioaddr) { ioaddr 488 drivers/vfio/platform/vfio_platform_common.c reg->ioaddr = ioaddr 491 drivers/vfio/platform/vfio_platform_common.c if (!reg->ioaddr) ioaddr 503 drivers/vfio/platform/vfio_platform_common.c iowrite32(val, reg->ioaddr + off); ioaddr 511 drivers/vfio/platform/vfio_platform_common.c iowrite16(val, reg->ioaddr + off); ioaddr 519 drivers/vfio/platform/vfio_platform_common.c iowrite8(val, reg->ioaddr + off); ioaddr 41 drivers/vfio/platform/vfio_platform_private.h void __iomem *ioaddr; ioaddr 50 drivers/video/fbdev/savage/savagefb-i2c.c r = readl(chan->ioaddr + chan->reg); ioaddr 55 drivers/video/fbdev/savage/savagefb-i2c.c writel(r, chan->ioaddr + chan->reg); ioaddr 56 drivers/video/fbdev/savage/savagefb-i2c.c readl(chan->ioaddr + chan->reg); /* flush posted write */ ioaddr 64 drivers/video/fbdev/savage/savagefb-i2c.c r = readl(chan->ioaddr + chan->reg); ioaddr 69 drivers/video/fbdev/savage/savagefb-i2c.c writel(r, chan->ioaddr + chan->reg); ioaddr 70 drivers/video/fbdev/savage/savagefb-i2c.c readl(chan->ioaddr + chan->reg); /* flush posted write */ ioaddr 77 drivers/video/fbdev/savage/savagefb-i2c.c return (0 != (readl(chan->ioaddr + chan->reg) & SAVAGE4_I2C_SCL_IN)); ioaddr 84 drivers/video/fbdev/savage/savagefb-i2c.c return (0 != (readl(chan->ioaddr + chan->reg) & SAVAGE4_I2C_SDA_IN)); ioaddr 177 drivers/video/fbdev/savage/savagefb-i2c.c par->chan.ioaddr = par->mmio.vbase; ioaddr 187 drivers/video/fbdev/savage/savagefb-i2c.c par->chan.ioaddr = par->mmio.vbase; ioaddr 195 drivers/video/fbdev/savage/savagefb-i2c.c par->chan.ioaddr = par->mmio.vbase; ioaddr 185 drivers/video/fbdev/savage/savagefb.h volatile u8 __iomem *ioaddr; ioaddr 560 drivers/virtio/virtio_pci_common.c if (vp_dev->ioaddr) ioaddr 583 drivers/virtio/virtio_pci_common.c if (vp_dev->ioaddr) ioaddr 73 drivers/virtio/virtio_pci_common.h void __iomem *ioaddr; ioaddr 26 drivers/virtio/virtio_pci_legacy.c return ioread32(vp_dev->ioaddr + VIRTIO_PCI_HOST_FEATURES); ioaddr 41 drivers/virtio/virtio_pci_legacy.c iowrite32(vdev->features, vp_dev->ioaddr + VIRTIO_PCI_GUEST_FEATURES); ioaddr 51 drivers/virtio/virtio_pci_legacy.c void __iomem *ioaddr = vp_dev->ioaddr + ioaddr 58 drivers/virtio/virtio_pci_legacy.c ptr[i] = ioread8(ioaddr + i); ioaddr 67 drivers/virtio/virtio_pci_legacy.c void __iomem *ioaddr = vp_dev->ioaddr + ioaddr 74 drivers/virtio/virtio_pci_legacy.c iowrite8(ptr[i], ioaddr + i); ioaddr 81 drivers/virtio/virtio_pci_legacy.c return ioread8(vp_dev->ioaddr + VIRTIO_PCI_STATUS); ioaddr 89 drivers/virtio/virtio_pci_legacy.c iowrite8(status, vp_dev->ioaddr + VIRTIO_PCI_STATUS); ioaddr 96 drivers/virtio/virtio_pci_legacy.c iowrite8(0, vp_dev->ioaddr + VIRTIO_PCI_STATUS); ioaddr 99 drivers/virtio/virtio_pci_legacy.c ioread8(vp_dev->ioaddr + VIRTIO_PCI_STATUS); ioaddr 107 drivers/virtio/virtio_pci_legacy.c iowrite16(vector, vp_dev->ioaddr + VIRTIO_MSI_CONFIG_VECTOR); ioaddr 110 drivers/virtio/virtio_pci_legacy.c return ioread16(vp_dev->ioaddr + VIRTIO_MSI_CONFIG_VECTOR); ioaddr 127 drivers/virtio/virtio_pci_legacy.c iowrite16(index, vp_dev->ioaddr + VIRTIO_PCI_QUEUE_SEL); ioaddr 130 drivers/virtio/virtio_pci_legacy.c num = ioread16(vp_dev->ioaddr + VIRTIO_PCI_QUEUE_NUM); ioaddr 131 drivers/virtio/virtio_pci_legacy.c if (!num || ioread32(vp_dev->ioaddr + VIRTIO_PCI_QUEUE_PFN)) ioaddr 154 drivers/virtio/virtio_pci_legacy.c iowrite32(q_pfn, vp_dev->ioaddr + VIRTIO_PCI_QUEUE_PFN); ioaddr 156 drivers/virtio/virtio_pci_legacy.c vq->priv = (void __force *)vp_dev->ioaddr + VIRTIO_PCI_QUEUE_NOTIFY; ioaddr 159 drivers/virtio/virtio_pci_legacy.c iowrite16(msix_vec, vp_dev->ioaddr + VIRTIO_MSI_QUEUE_VECTOR); ioaddr 160 drivers/virtio/virtio_pci_legacy.c msix_vec = ioread16(vp_dev->ioaddr + VIRTIO_MSI_QUEUE_VECTOR); ioaddr 170 drivers/virtio/virtio_pci_legacy.c iowrite32(0, vp_dev->ioaddr + VIRTIO_PCI_QUEUE_PFN); ioaddr 181 drivers/virtio/virtio_pci_legacy.c iowrite16(vq->index, vp_dev->ioaddr + VIRTIO_PCI_QUEUE_SEL); ioaddr 185 drivers/virtio/virtio_pci_legacy.c vp_dev->ioaddr + VIRTIO_MSI_QUEUE_VECTOR); ioaddr 187 drivers/virtio/virtio_pci_legacy.c ioread8(vp_dev->ioaddr + VIRTIO_PCI_ISR); ioaddr 191 drivers/virtio/virtio_pci_legacy.c iowrite32(0, vp_dev->ioaddr + VIRTIO_PCI_QUEUE_PFN); ioaddr 247 drivers/virtio/virtio_pci_legacy.c vp_dev->ioaddr = pci_iomap(pci_dev, 0, 0); ioaddr 248 drivers/virtio/virtio_pci_legacy.c if (!vp_dev->ioaddr) ioaddr 251 drivers/virtio/virtio_pci_legacy.c vp_dev->isr = vp_dev->ioaddr + VIRTIO_PCI_ISR; ioaddr 277 drivers/virtio/virtio_pci_legacy.c pci_iounmap(pci_dev, vp_dev->ioaddr); ioaddr 309 drivers/watchdog/f71808e_wdt.c static int f71862fg_pin_configure(unsigned short ioaddr) ioaddr 315 drivers/watchdog/f71808e_wdt.c if (ioaddr) { ioaddr 317 drivers/watchdog/f71808e_wdt.c superio_clear_bit(ioaddr, SIO_REG_ROM_ADDR_SEL, 6); ioaddr 318 drivers/watchdog/f71808e_wdt.c superio_set_bit(ioaddr, SIO_REG_MFUNCT3, 4); ioaddr 321 drivers/watchdog/f71808e_wdt.c if (ioaddr) ioaddr 322 drivers/watchdog/f71808e_wdt.c superio_set_bit(ioaddr, SIO_REG_MFUNCT1, 1); ioaddr 96 drivers/xen/platform-pci.c long ioaddr; ioaddr 108 drivers/xen/platform-pci.c ioaddr = pci_resource_start(pdev, 0); ioaddr 113 drivers/xen/platform-pci.c if (mmio_addr == 0 || ioaddr == 0) { ioaddr 821 include/linux/libata.h struct ata_ioports ioaddr; /* ATA cmd/ctl/dma register blocks */ ioaddr 1875 include/linux/libata.h extern void ata_sff_std_ports(struct ata_ioports *ioaddr); ioaddr 56 include/linux/rtc/m48t59.h void __iomem *ioaddr; ioaddr 12 include/linux/scx200_gpio.h #define __SCx200_GPIO_IOADDR unsigned short ioaddr = scx200_gpio_base+0x10*bank ioaddr 16 include/linux/scx200_gpio.h #define __SCx200_GPIO_OUT __asm__ __volatile__("outsl":"=mS" (shadow):"d" (ioaddr), "0" (shadow)) ioaddr 25 include/linux/scx200_gpio.h return (inl(ioaddr) & (1<<index)) ? 1 : 0; ioaddr 2049 sound/pci/es1968.c unsigned long ioaddr = chip->io_port; ioaddr 2057 sound/pci/es1968.c save_ringbus_a = inw(ioaddr + 0x36); ioaddr 2061 sound/pci/es1968.c outw(inw(ioaddr + 0x3a) & 0xfffc, ioaddr + 0x3a); ioaddr 2062 sound/pci/es1968.c outw(inw(ioaddr + 0x3c) & 0xfffc, ioaddr + 0x3c); ioaddr 2065 sound/pci/es1968.c outw(0x0000, ioaddr + 0x36); ioaddr 2066 sound/pci/es1968.c save_68 = inw(ioaddr + 0x68); ioaddr 2071 sound/pci/es1968.c outw(0xfffe, ioaddr + 0x64); /* unmask gpio 0 */ ioaddr 2072 sound/pci/es1968.c outw(0x0001, ioaddr + 0x68); /* gpio write */ ioaddr 2073 sound/pci/es1968.c outw(0x0000, ioaddr + 0x60); /* write 0 to gpio 0 */ ioaddr 2075 sound/pci/es1968.c outw(0x0001, ioaddr + 0x60); /* write 1 to gpio 1 */ ioaddr 2078 sound/pci/es1968.c outw(save_68 | 0x1, ioaddr + 0x68); /* now restore .. */ ioaddr 2079 sound/pci/es1968.c outw((inw(ioaddr + 0x38) & 0xfffc) | 0x1, ioaddr + 0x38); ioaddr 2080 sound/pci/es1968.c outw((inw(ioaddr + 0x3a) & 0xfffc) | 0x1, ioaddr + 0x3a); ioaddr 2081 sound/pci/es1968.c outw((inw(ioaddr + 0x3c) & 0xfffc) | 0x1, ioaddr + 0x3c); ioaddr 2085 sound/pci/es1968.c outw(0x0000, ioaddr + 0x36); ioaddr 2086 sound/pci/es1968.c outw(0xfff7, ioaddr + 0x64); /* unmask gpio 3 */ ioaddr 2087 sound/pci/es1968.c save_68 = inw(ioaddr + 0x68); ioaddr 2088 sound/pci/es1968.c outw(0x0009, ioaddr + 0x68); /* gpio write 0 & 3 ?? */ ioaddr 2089 sound/pci/es1968.c outw(0x0001, ioaddr + 0x60); /* write 1 to gpio */ ioaddr 2091 sound/pci/es1968.c outw(0x0009, ioaddr + 0x60); /* write 9 to gpio */ ioaddr 2094 sound/pci/es1968.c outw(inw(ioaddr + 0x3a) & 0xfffc, ioaddr + 0x3a); ioaddr 2095 sound/pci/es1968.c outw(inw(ioaddr + 0x3c) & 0xfffc, ioaddr + 0x3c); ioaddr 2100 sound/pci/es1968.c outb(0x80 | 0x7c, ioaddr + 0x30); ioaddr 2102 sound/pci/es1968.c if ((inw(ioaddr + 0x30) & 1) == 0) { ioaddr 2103 sound/pci/es1968.c if (inb(ioaddr + 0x32) != 0) ioaddr 2106 sound/pci/es1968.c outb(0x80 | 0x7d, ioaddr + 0x30); ioaddr 2107 sound/pci/es1968.c if (((inw(ioaddr + 0x30) & 1) == 0) ioaddr 2108 sound/pci/es1968.c && (inb(ioaddr + 0x32) != 0)) ioaddr 2110 sound/pci/es1968.c outb(0x80 | 0x7f, ioaddr + 0x30); ioaddr 2111 sound/pci/es1968.c if (((inw(ioaddr + 0x30) & 1) == 0) ioaddr 2112 sound/pci/es1968.c && (inb(ioaddr + 0x32) != 0)) ioaddr 2117 sound/pci/es1968.c outb(inb(ioaddr + 0x37) | 0x08, ioaddr + 0x37); /* do a software reset */ ioaddr 2119 sound/pci/es1968.c outb(inb(ioaddr + 0x37) & ~0x08, ioaddr 2120 sound/pci/es1968.c ioaddr + 0x37); ioaddr 2122 sound/pci/es1968.c outw(0x80, ioaddr + 0x30); ioaddr 2124 sound/pci/es1968.c if ((inw(ioaddr + 0x30) & 1) == 0) ioaddr 2132 sound/pci/es1968.c outw(0xf9ff, ioaddr + 0x64); ioaddr 2133 sound/pci/es1968.c outw(inw(ioaddr + 0x68) | 0x600, ioaddr + 0x68); ioaddr 2134 sound/pci/es1968.c outw(0x0209, ioaddr + 0x60); ioaddr 2138 sound/pci/es1968.c outw(save_ringbus_a, ioaddr + 0x36); ioaddr 2143 sound/pci/es1968.c outb(inb(ioaddr+0xc0)|(1<<5), ioaddr+0xc0); ioaddr 2144 sound/pci/es1968.c outb(0xff, ioaddr+0xc3); ioaddr 2145 sound/pci/es1968.c outb(0xff, ioaddr+0xc4); ioaddr 2146 sound/pci/es1968.c outb(0xff, ioaddr+0xc6); ioaddr 2147 sound/pci/es1968.c outb(0xff, ioaddr+0xc8); ioaddr 2148 sound/pci/es1968.c outb(0x3f, ioaddr+0xcf); ioaddr 2149 sound/pci/es1968.c outb(0x3f, ioaddr+0xd0); ioaddr 102 sound/pci/sis7019.c void __iomem *ioaddr; ioaddr 1055 sound/pci/sis7019.c iounmap(sis->ioaddr); ioaddr 1071 sound/pci/sis7019.c void __iomem *ioaddr = sis->ioaddr; ioaddr 1171 sound/pci/sis7019.c writel(i, SIS_MIXER_START_ADDR(ioaddr, i)); ioaddr 1173 sound/pci/sis7019.c SIS_MIXER_DEST_0, SIS_MIXER_ADDR(ioaddr, i)); ioaddr 1201 sound/pci/sis7019.c void __iomem *ioaddr = sis->ioaddr; ioaddr 1222 sound/pci/sis7019.c memcpy_fromio(sis->suspend_state[i], ioaddr, 4096); ioaddr 1223 sound/pci/sis7019.c ioaddr += 4096; ioaddr 1234 sound/pci/sis7019.c void __iomem *ioaddr = sis->ioaddr; ioaddr 1252 sound/pci/sis7019.c memcpy_toio(ioaddr, sis->suspend_state[i], 4096); ioaddr 1253 sound/pci/sis7019.c ioaddr += 4096; ioaddr 1336 sound/pci/sis7019.c sis->ioaddr = ioremap_nocache(pci_resource_start(pci, 1), 0x4000); ioaddr 1337 sound/pci/sis7019.c if (!sis->ioaddr) { ioaddr 1365 sound/pci/sis7019.c voice->ctrl_base = SIS_PLAY_DMA_ADDR(sis->ioaddr, i); ioaddr 1366 sound/pci/sis7019.c voice->wave_base = SIS_WAVE_ADDR(sis->ioaddr, i); ioaddr 1372 sound/pci/sis7019.c voice->ctrl_base = SIS_CAPTURE_DMA_ADDR(sis->ioaddr, voice->num); ioaddr 17 virt/kvm/arm/vgic/vgic-kvm-device.c int vgic_check_ioaddr(struct kvm *kvm, phys_addr_t *ioaddr, ioaddr 26 virt/kvm/arm/vgic/vgic-kvm-device.c if (!IS_VGIC_ADDR_UNDEF(*ioaddr)) ioaddr 173 virt/kvm/arm/vgic/vgic.h int vgic_check_ioaddr(struct kvm *kvm, phys_addr_t *ioaddr,