mace 363 arch/mips/include/asm/ip32/mace.h extern struct sgi_mace __iomem *mace; mace 43 arch/mips/pci/ops-mace.c u32 control = mace->pci.control; mace 46 arch/mips/pci/ops-mace.c mace->pci.control = control & ~MACEPCI_CONTROL_MAR_INT; mace 47 arch/mips/pci/ops-mace.c mace->pci.config_addr = mkaddr(bus, devfn, reg); mace 50 arch/mips/pci/ops-mace.c *val = mace->pci.config_data.b[(reg & 3) ^ 3]; mace 53 arch/mips/pci/ops-mace.c *val = mace->pci.config_data.w[((reg >> 1) & 1) ^ 1]; mace 56 arch/mips/pci/ops-mace.c *val = mace->pci.config_data.l; mace 60 arch/mips/pci/ops-mace.c mace->pci.error &= ~MACEPCI_ERROR_MASTER_ABORT; mace 61 arch/mips/pci/ops-mace.c mace->pci.control = control; mace 79 arch/mips/pci/ops-mace.c mace->pci.config_addr = mkaddr(bus, devfn, reg); mace 82 arch/mips/pci/ops-mace.c mace->pci.config_data.b[(reg & 3) ^ 3] = val; mace 85 arch/mips/pci/ops-mace.c mace->pci.config_data.w[((reg >> 1) & 1) ^ 1] = val; mace 88 arch/mips/pci/ops-mace.c mace->pci.config_data.l = val; mace 28 arch/mips/pci/pci-ip32.c unsigned int flags = mace->pci.error; mace 29 arch/mips/pci/pci-ip32.c unsigned int addr = mace->pci.error_addr; mace 79 arch/mips/pci/pci-ip32.c mace->pci.error = flags; mace 129 arch/mips/pci/pci-ip32.c mace->pci.error_addr = 0; mace 130 arch/mips/pci/pci-ip32.c mace->pci.error = 0; mace 131 arch/mips/pci/pci-ip32.c mace->pci.control = 0xff008500; mace 133 arch/mips/pci/pci-ip32.c printk("MACE PCI rev %d\n", mace->pci.rev); mace 22 arch/mips/sgi-ip32/crime.c struct sgi_mace __iomem *mace; mace 24 arch/mips/sgi-ip32/crime.c EXPORT_SYMBOL_GPL(mace); mace 33 arch/mips/sgi-ip32/crime.c mace = ioremap(MACE_BASE, sizeof(struct sgi_mace)); mace 39 arch/mips/sgi-ip32/ip32-irq.c mace->perif.ctrl.misc; mace 186 arch/mips/sgi-ip32/ip32-irq.c mace->pci.control = macepci_mask; mace 197 arch/mips/sgi-ip32/ip32-irq.c mace->pci.control = macepci_mask; mace 267 arch/mips/sgi-ip32/ip32-irq.c mace->perif.ctrl.imask = maceisa_mask; mace 284 arch/mips/sgi-ip32/ip32-irq.c mace->perif.ctrl.imask = maceisa_mask; mace 293 arch/mips/sgi-ip32/ip32-irq.c mace_int = mace->perif.ctrl.istat; mace 295 arch/mips/sgi-ip32/ip32-irq.c mace->perif.ctrl.istat = mace_int; mace 349 arch/mips/sgi-ip32/ip32-irq.c printk("MACE ISA intr mask: %08lx\n", mace->perif.ctrl.imask); mace 350 arch/mips/sgi-ip32/ip32-irq.c printk("MACE ISA intr status: %08lx\n", mace->perif.ctrl.istat); mace 351 arch/mips/sgi-ip32/ip32-irq.c printk("MACE PCI control register: %08x\n", mace->pci.control); mace 385 arch/mips/sgi-ip32/ip32-irq.c unsigned long mace_int = mace->perif.ctrl.istat; mace 445 arch/mips/sgi-ip32/ip32-irq.c mace->perif.ctrl.istat = 0; mace 446 arch/mips/sgi-ip32/ip32-irq.c mace->perif.ctrl.imask = 0; mace 77 arch/mips/sgi-ip32/ip32-reset.c unsigned long led = mace->perif.ctrl.misc ^ MACEISA_LED_RED; mace 78 arch/mips/sgi-ip32/ip32-reset.c mace->perif.ctrl.misc = led; mace 121 arch/mips/sgi-ip32/ip32-reset.c led = mace->perif.ctrl.misc | MACEISA_LED_GREEN; mace 122 arch/mips/sgi-ip32/ip32-reset.c mace->perif.ctrl.misc = led; mace 137 arch/mips/sgi-ip32/ip32-reset.c unsigned long led = mace->perif.ctrl.misc; mace 140 arch/mips/sgi-ip32/ip32-reset.c mace->perif.ctrl.misc = led; mace 32 drivers/input/misc/sgi_btns.c status = readq(&mace->perif.audio.control); mace 33 drivers/input/misc/sgi_btns.c writeq(status & ~(3U << 23), &mace->perif.audio.control); mace 181 drivers/input/serio/maceps2.c port_data[0].port = &mace->perif.ps2.keyb; mace 183 drivers/input/serio/maceps2.c port_data[1].port = &mace->perif.ps2.mouse; mace 46 drivers/net/ethernet/apple/mace.c volatile struct mace __iomem *mace; mace 111 drivers/net/ethernet/apple/mace.c struct device_node *mace = macio_get_of_node(mdev); mace 119 drivers/net/ethernet/apple/mace.c mace); mace 123 drivers/net/ethernet/apple/mace.c addr = of_get_property(mace, "mac-address", NULL); mace 125 drivers/net/ethernet/apple/mace.c addr = of_get_property(mace, "local-mac-address", NULL); mace 128 drivers/net/ethernet/apple/mace.c mace); mace 160 drivers/net/ethernet/apple/mace.c mp->mace = ioremap(dev->base_addr, 0x1000); mace 161 drivers/net/ethernet/apple/mace.c if (mp->mace == NULL) { mace 172 drivers/net/ethernet/apple/mace.c mp->chipid = (in_8(&mp->mace->chipid_hi) << 8) | mace 173 drivers/net/ethernet/apple/mace.c in_8(&mp->mace->chipid_lo); mace 265 drivers/net/ethernet/apple/mace.c iounmap(mp->mace); mace 293 drivers/net/ethernet/apple/mace.c iounmap(mp->mace); mace 320 drivers/net/ethernet/apple/mace.c volatile struct mace __iomem *mb = mp->mace; mace 375 drivers/net/ethernet/apple/mace.c volatile struct mace __iomem *mb = mp->mace; mace 396 drivers/net/ethernet/apple/mace.c volatile struct mace __iomem *mb = mp->mace; mace 431 drivers/net/ethernet/apple/mace.c volatile struct mace __iomem *mb = mp->mace; mace 501 drivers/net/ethernet/apple/mace.c volatile struct mace __iomem *mb = mp->mace; mace 587 drivers/net/ethernet/apple/mace.c volatile struct mace __iomem *mb = mp->mace; mace 638 drivers/net/ethernet/apple/mace.c volatile struct mace __iomem *mb = mp->mace; mace 661 drivers/net/ethernet/apple/mace.c volatile struct mace __iomem *mb = mp->mace; mace 807 drivers/net/ethernet/apple/mace.c volatile struct mace __iomem *mb = mp->mace; mace 57 drivers/net/ethernet/apple/macmace.c volatile struct mace *mace; mace 119 drivers/net/ethernet/apple/macmace.c volatile struct mace *mace = mp->mace; mace 120 drivers/net/ethernet/apple/macmace.c u8 maccc = mace->maccc; mace 122 drivers/net/ethernet/apple/macmace.c mace->maccc = maccc & ~ENRCV; mace 132 drivers/net/ethernet/apple/macmace.c mace->maccc = maccc; mace 146 drivers/net/ethernet/apple/macmace.c volatile struct mace *mace = mp->mace; mace 151 drivers/net/ethernet/apple/macmace.c maccc = mace->maccc; mace 152 drivers/net/ethernet/apple/macmace.c mace->maccc = maccc & ~ENXMT; mace 158 drivers/net/ethernet/apple/macmace.c mace->maccc = maccc; mace 213 drivers/net/ethernet/apple/macmace.c mp->mace = MACE_BASE; mace 218 drivers/net/ethernet/apple/macmace.c mp->chipid = mp->mace->chipid_hi << 8 | mp->mace->chipid_lo; mace 264 drivers/net/ethernet/apple/macmace.c volatile struct mace *mb = mp->mace; mace 321 drivers/net/ethernet/apple/macmace.c volatile struct mace *mb = mp->mace; mace 342 drivers/net/ethernet/apple/macmace.c volatile struct mace *mb = mp->mace; mace 367 drivers/net/ethernet/apple/macmace.c volatile struct mace *mb = mp->mace; mace 430 drivers/net/ethernet/apple/macmace.c volatile struct mace *mb = mp->mace; mace 482 drivers/net/ethernet/apple/macmace.c volatile struct mace *mb = mp->mace; mace 533 drivers/net/ethernet/apple/macmace.c volatile struct mace *mb = mp->mace; mace 556 drivers/net/ethernet/apple/macmace.c volatile struct mace *mb = mp->mace; mace 606 drivers/net/ethernet/apple/macmace.c volatile struct mace *mb = mp->mace; mace 109 drivers/net/ethernet/sgi/meth.c mace->eth.mac_addr = macaddr; mace 116 drivers/net/ethernet/sgi/meth.c while ((___rval = mace->eth.phy_data) & MDIO_BUSY) { \ mace 124 drivers/net/ethernet/sgi/meth.c mace->eth.phy_regs = (priv->phy_addr << 5) | (phyreg & 0x1f); mace 126 drivers/net/ethernet/sgi/meth.c mace->eth.phy_trans_go = 1; mace 195 drivers/net/ethernet/sgi/meth.c mace->eth.mac_ctrl = priv->mac_ctrl; mace 204 drivers/net/ethernet/sgi/meth.c mace->eth.mac_ctrl = priv->mac_ctrl; mace 218 drivers/net/ethernet/sgi/meth.c mace->eth.tx_ring_base = priv->tx_ring_dma; mace 239 drivers/net/ethernet/sgi/meth.c mace->eth.rx_fifo = priv->rx_ring_dmas[i]; mace 276 drivers/net/ethernet/sgi/meth.c mace->eth.mac_ctrl = SGI_MAC_RESET; mace 278 drivers/net/ethernet/sgi/meth.c mace->eth.mac_ctrl = 0; mace 295 drivers/net/ethernet/sgi/meth.c mace->eth.mac_ctrl = priv->mac_ctrl; mace 303 drivers/net/ethernet/sgi/meth.c mace->eth.dma_ctrl = priv->dma_ctrl; mace 342 drivers/net/ethernet/sgi/meth.c mace->eth.dma_ctrl = priv->dma_ctrl; mace 366 drivers/net/ethernet/sgi/meth.c mace->eth.dma_ctrl = priv->dma_ctrl; mace 386 drivers/net/ethernet/sgi/meth.c mace->eth.dma_ctrl = priv->dma_ctrl; mace 458 drivers/net/ethernet/sgi/meth.c mace->eth.rx_fifo = priv->rx_ring_dmas[priv->rx_write]; mace 464 drivers/net/ethernet/sgi/meth.c mace->eth.dma_ctrl = priv->dma_ctrl; mace 465 drivers/net/ethernet/sgi/meth.c mace->eth.int_stat = METH_INT_RX_THRESHOLD; mace 487 drivers/net/ethernet/sgi/meth.c mace->eth.dma_ctrl = priv->dma_ctrl; mace 535 drivers/net/ethernet/sgi/meth.c mace->eth.int_stat = METH_INT_TX_EMPTY | METH_INT_TX_PKT; mace 558 drivers/net/ethernet/sgi/meth.c mace->eth.int_stat = METH_INT_RX_UNDERFLOW; mace 563 drivers/net/ethernet/sgi/meth.c mace->eth.dma_ctrl = priv->dma_ctrl; mace 567 drivers/net/ethernet/sgi/meth.c mace->eth.int_stat = METH_INT_ERROR; mace 579 drivers/net/ethernet/sgi/meth.c status = mace->eth.int_stat; mace 598 drivers/net/ethernet/sgi/meth.c status = mace->eth.int_stat; mace 692 drivers/net/ethernet/sgi/meth.c mace->eth.tx_info = priv->tx_write; mace 707 drivers/net/ethernet/sgi/meth.c mace->eth.dma_ctrl = priv->dma_ctrl; mace 720 drivers/net/ethernet/sgi/meth.c mace->eth.dma_ctrl = priv->dma_ctrl; mace 753 drivers/net/ethernet/sgi/meth.c mace->eth.dma_ctrl = priv->dma_ctrl; mace 803 drivers/net/ethernet/sgi/meth.c mace->eth.mac_ctrl = priv->mac_ctrl; mace 804 drivers/net/ethernet/sgi/meth.c mace->eth.mcast_filter = priv->mcast_filter; mace 838 drivers/net/ethernet/sgi/meth.c dev->base_addr = (unsigned long)&mace->eth; mace 853 drivers/net/ethernet/sgi/meth.c dev->name, (unsigned int)(mace->eth.mac_ctrl >> 29)); mace 494 drivers/parport/parport_ip32.c &mace->perif.ctrl.parport.context_a : mace 495 drivers/parport/parport_ip32.c &mace->perif.ctrl.parport.context_b; mace 580 drivers/parport/parport_ip32.c writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); mace 600 drivers/parport/parport_ip32.c writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); mace 609 drivers/parport/parport_ip32.c writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); mace 646 drivers/parport/parport_ip32.c ctrl = readq(&mace->perif.ctrl.parport.cntlstat); mace 648 drivers/parport/parport_ip32.c writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); mace 651 drivers/parport/parport_ip32.c ctx_a = readq(&mace->perif.ctrl.parport.context_a); mace 652 drivers/parport/parport_ip32.c ctx_b = readq(&mace->perif.ctrl.parport.context_b); mace 653 drivers/parport/parport_ip32.c ctrl = readq(&mace->perif.ctrl.parport.cntlstat); mace 654 drivers/parport/parport_ip32.c diag = readq(&mace->perif.ctrl.parport.diagnostic); mace 671 drivers/parport/parport_ip32.c writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); mace 704 drivers/parport/parport_ip32.c writeq(MACEPAR_CTLSTAT_RESET, &mace->perif.ctrl.parport.cntlstat); mace 2031 drivers/parport/parport_ip32.c parport_ip32_make_isa_registers(®s, &mace->isa.parallel, mace 2032 drivers/parport/parport_ip32.c &mace->isa.ecp1284, 8 /* regshift */); mace 111 sound/mips/sgio2audio.c CODEC_CONTROL_READ, &mace->perif.audio.codec_control); mace 113 sound/mips/sgio2audio.c val = readq(&mace->perif.audio.codec_control); /* flush bus */ mace 116 sound/mips/sgio2audio.c val = readq(&mace->perif.audio.codec_read); mace 135 sound/mips/sgio2audio.c &mace->perif.audio.codec_control); mace 137 sound/mips/sgio2audio.c val = readq(&mace->perif.audio.codec_control); /* flush bus */ mace 360 sound/mips/sgio2audio.c src_pos = readq(&mace->perif.audio.chan[ch].read_ptr); mace 383 sound/mips/sgio2audio.c writeq(src_pos, &mace->perif.audio.chan[ch].read_ptr); /* in bytes */ mace 408 sound/mips/sgio2audio.c dst_pos = readq(&mace->perif.audio.chan[ch].write_ptr); mace 433 sound/mips/sgio2audio.c writeq(dst_pos, &mace->perif.audio.chan[ch].write_ptr); /* in bytes */ mace 447 sound/mips/sgio2audio.c writeq(CHANNEL_CONTROL_RESET, &mace->perif.audio.chan[ch].control); mace 449 sound/mips/sgio2audio.c writeq(0, &mace->perif.audio.chan[ch].control); mace 457 sound/mips/sgio2audio.c &mace->perif.audio.chan[ch].control); mace 465 sound/mips/sgio2audio.c writeq(0, &mace->perif.audio.chan[chan->idx].control); mace 482 sound/mips/sgio2audio.c readq(&mace->perif.audio.chan[ch].depth) - 32; mace 501 sound/mips/sgio2audio.c readq(&mace->perif.audio.chan[ch].depth) - 32; mace 785 sound/mips/sgio2audio.c writeq(AUDIO_CONTROL_RESET, &mace->perif.audio.control); mace 787 sound/mips/sgio2audio.c writeq(0, &mace->perif.audio.control); mace 823 sound/mips/sgio2audio.c if (!(readq(&mace->perif.audio.control) & AUDIO_CONTROL_CODEC_PRESENT)) mace 865 sound/mips/sgio2audio.c writeq(AUDIO_CONTROL_RESET, &mace->perif.audio.control); mace 867 sound/mips/sgio2audio.c writeq(0, &mace->perif.audio.control); mace 871 sound/mips/sgio2audio.c writeq(chip->ring_base_dma, &mace->perif.ctrl.ringbase);