/arch/powerpc/boot/ |
D | cuboot-pq2.c | 191 out_le32(&pci_regs[0][0], mem->pci_addr[1] >> 12); in fixup_pci() 192 out_le32(&pci_regs[0][2], mem->phys_addr >> 12); in fixup_pci() 193 out_le32(&pci_regs[0][4], (~(mem->size[1] - 1) >> 12) | 0xa0000000); in fixup_pci() 195 out_le32(&pci_regs[0][6], mmio->pci_addr[1] >> 12); in fixup_pci() 196 out_le32(&pci_regs[0][8], mmio->phys_addr >> 12); in fixup_pci() 197 out_le32(&pci_regs[0][10], (~(mmio->size[1] - 1) >> 12) | 0x80000000); in fixup_pci() 199 out_le32(&pci_regs[0][12], io->pci_addr[1] >> 12); in fixup_pci() 200 out_le32(&pci_regs[0][14], io->phys_addr >> 12); in fixup_pci() 201 out_le32(&pci_regs[0][16], (~(io->size[1] - 1) >> 12) | 0xc0000000); in fixup_pci() 204 out_le32(&pci_regs[0][58], 0); in fixup_pci() [all …]
|
D | io.h | 76 static inline void out_le32(volatile unsigned *addr, int val) in out_le32() function
|
/arch/powerpc/platforms/pasemi/ |
D | iommu.c | 96 out_le32(iob+IOB_AT_INVAL_TLB_REG, bus_addr >> 14); in iobmap_build() 120 out_le32(iob+IOB_AT_INVAL_TLB_REG, bus_addr >> 14); in iobmap_free() 225 out_le32(iob+IOB_XLT_L1_REGBASE+i*4, regword); in iob_init() 232 out_le32(iob+IOB_AD_REG, regword); in iob_init() 237 out_le32(iob+IOBCOM_REG, regword); in iob_init()
|
D | gpio_mdio.c | 39 out_le32(gpio_regs+0x10, 1 << MDIO_PIN(bus)); in mdio_lo() 44 out_le32(gpio_regs, 1 << MDIO_PIN(bus)); in mdio_hi() 49 out_le32(gpio_regs+0x10, 1 << MDC_PIN(bus)); in mdc_lo() 54 out_le32(gpio_regs, 1 << MDC_PIN(bus)); in mdc_hi() 59 out_le32(gpio_regs+0x20, (1 << MDC_PIN(bus)) | (1 << MDIO_PIN(bus))); in mdio_active() 64 out_le32(gpio_regs+0x30, (1 << MDIO_PIN(bus))); in mdio_tristate()
|
D | pci.c | 78 out_le32(dummy, 0); in workaround_5945() 80 out_le32(addr, tmp); in workaround_5945() 138 …out_le32(iob_mapbase + PXP_ERR_CFG_REG, in_le32(iob_mapbase + PXP_ERR_CFG_REG) | PXP_IGNORE_PCIE_E… in sb600_set_flag() 143 …out_le32(iob_mapbase + PXP_ERR_CFG_REG, in_le32(iob_mapbase + PXP_ERR_CFG_REG) & ~PXP_IGNORE_PCIE_… in sb600_set_flag() 223 out_le32(addr, val); in pa_pxp_write_config()
|
D | dma_lib.c | 56 out_le32(iob_regs+reg, val); in pasemi_write_iob_reg() 77 out_le32(mac_regs[intf]+reg, val); in pasemi_write_mac_reg() 96 out_le32(dma_regs+reg, val); in pasemi_write_dma_reg()
|
D | setup.c | 61 out_le32(reset_reg, 0x6000000); in pas_restart()
|
/arch/powerpc/platforms/powermac/ |
D | pic.c | 85 out_le32(&pmac_irq_hw[i]->enable, ppc_cached_irq_mask[i]); in pmac_mask_and_ack_irq() 86 out_le32(&pmac_irq_hw[i]->ack, bit); in pmac_mask_and_ack_irq() 106 out_le32(&pmac_irq_hw[i]->ack, bit); in pmac_ack_irq() 120 out_le32(&pmac_irq_hw[i]->enable, ppc_cached_irq_mask[i]); in __pmac_set_irq_mask() 150 out_le32(&pmac_irq_hw[i]->ack, bit); in pmac_startup_irq() 384 out_le32(&pmac_irq_hw[i]->enable, 0); in pmac_pic_probe_oldstyle() 620 out_le32(&pmac_irq_hw[0]->enable, ppc_cached_irq_mask[0]); in pmacpic_suspend() 622 out_le32(&pmac_irq_hw[1]->enable, ppc_cached_irq_mask[1]); in pmacpic_suspend() 635 out_le32(&pmac_irq_hw[0]->enable, 0); in pmacpic_resume() 637 out_le32(&pmac_irq_hw[1]->enable, 0); in pmacpic_resume()
|
D | pci.c | 154 out_le32(hose->cfg_addr, caddr); in macrisc_cfg_map_bus() 370 swap ? out_le32(addr, val) : out_be32(addr, val); in u3_ht_write_config() 416 out_le32(hose->cfg_addr, caddr); in u4_pcie_cfg_map_bus() 457 out_le32(bp->cfg_addr, (1UL << BANDIT_DEVNUM) + PCI_VENDOR_ID); in init_bandit() 463 out_le32(bp->cfg_addr, in init_bandit() 476 out_le32(bp->cfg_addr, (1UL << BANDIT_DEVNUM) + BANDIT_MAGIC); in init_bandit() 483 out_le32(bp->cfg_data, magic); in init_bandit()
|
D | feature.c | 514 out_le32(&chan->control, (ACTIVE|DEAD|WAKE|FLUSH|PAUSE|RUN)<<16); in dbdma_restore() 517 out_le32(&chan->cmdptr_hi, save[i].cmdptr_hi); in dbdma_restore() 518 out_le32(&chan->cmdptr, save[i].cmdptr); in dbdma_restore() 519 out_le32(&chan->intr_sel, save[i].intr_sel); in dbdma_restore() 520 out_le32(&chan->br_sel, save[i].br_sel); in dbdma_restore() 521 out_le32(&chan->wait_sel, save[i].wait_sel); in dbdma_restore()
|
/arch/powerpc/sysdev/ |
D | grackle.c | 35 out_le32(bp->cfg_data, val); in grackle_set_stg() 48 out_le32(bp->cfg_data, val); in grackle_set_loop_snoop()
|
D | indirect_pci.c | 54 out_le32(hose->cfg_addr, (0x80000000 | (bus_no << 16) | in __indirect_read_config() 120 out_le32(hose->cfg_addr, (0x80000000 | (bus_no << 16) | in indirect_write_config() 148 out_le32(cfg_data, val); in indirect_write_config()
|
D | tsi108_pci.c | 77 out_le32((u32 *) cfg_addr, val); in tsi108_direct_write_config()
|
D | fsl_pci.c | 724 out_le32(pcie->cfg_type0 + PEX_OUTWIN0_TAL, dev_base); in mpc83xx_pcie_remap_cfg() 780 out_le32(pcie->cfg_type0 + PEX_OUTWIN0_TAH, 0); in mpc83xx_pcie_setup() 781 out_le32(pcie->cfg_type0 + PEX_OUTWIN0_TAL, 0); in mpc83xx_pcie_setup()
|
/arch/powerpc/platforms/4xx/ |
D | pci.c | 1695 out_le32((u32 *)(addr + offset), val); in ppc4xx_pciex_write_config() 1739 out_le32(mbase + PECFG_POM0LAH, pciah); in ppc4xx_setup_one_pciex_POM() 1740 out_le32(mbase + PECFG_POM0LAL, pcial); in ppc4xx_setup_one_pciex_POM() 1762 out_le32(mbase + PECFG_POM1LAH, pciah); in ppc4xx_setup_one_pciex_POM() 1763 out_le32(mbase + PECFG_POM1LAL, pcial); in ppc4xx_setup_one_pciex_POM() 1771 out_le32(mbase + PECFG_POM2LAH, pciah); in ppc4xx_setup_one_pciex_POM() 1772 out_le32(mbase + PECFG_POM2LAL, pcial); in ppc4xx_setup_one_pciex_POM() 1861 out_le32(mbase + PECFG_BAR0HMPA, RES_TO_U32_HIGH(sa)); in ppc4xx_configure_pciex_PIMs() 1862 out_le32(mbase + PECFG_BAR0LMPA, RES_TO_U32_LOW(sa) | in ppc4xx_configure_pciex_PIMs() 1866 out_le32(mbase + PECFG_BAR1MPA, 0); in ppc4xx_configure_pciex_PIMs() [all …]
|
/arch/powerpc/include/asm/ |
D | dbdma.h | 97 out_le32(&((regs)->control), (RUN|FLUSH)<<16); \ 103 out_le32(&((regs)->control), (ACTIVE|DEAD|WAKE|FLUSH|PAUSE|RUN)<<16);\
|
D | pmac_feature.h | 371 #define MACIO_OUT32(r,v) (out_le32(MACIO_FCR32(macio,r), (v)))
|
D | io.h | 150 DEF_MMIO_OUT_X(out_le32, 32, stwbrx); 160 DEF_MMIO_OUT_D(out_le32, 32, stw); 489 #define __do_writel(val, addr) out_le32(PCI_FIX_ADDR(addr), val)
|
/arch/microblaze/pci/ |
D | indirect_pci.c | 49 out_le32(hose->cfg_addr, (0x80000000 | (bus_no << 16) | in indirect_read_config() 103 out_le32(hose->cfg_addr, (0x80000000 | (bus_no << 16) | in indirect_write_config() 131 out_le32(cfg_data, val); in indirect_write_config()
|
/arch/powerpc/platforms/maple/ |
D | pci.c | 110 out_le32(hose->cfg_addr, caddr); in u3_agp_cfg_access() 173 out_le32(addr, val); in u3_agp_write_config() 323 out_le32(addr, val); in u3_ht_write_config() 364 out_le32(hose->cfg_addr, caddr); in u4_pcie_cfg_access() 428 out_le32(addr, val); in u4_pcie_write_config()
|
/arch/microblaze/include/asm/ |
D | io.h | 59 #define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a)) macro
|
/arch/powerpc/platforms/chrp/ |
D | pci.c | 82 out_le32(cfg_data, val); in gg2_write_config() 150 out_le32(&Hydra->Feature_Control, (HYDRA_FC_SCC_CELL_EN | in hydra_init()
|
/arch/m68k/include/asm/ |
D | io_mm.h | 208 #define isa_outl(val,port) (ISA_SEX ? out_be32(isa_itl(port),(val)) : out_le32(isa_itl(port),(val))) 375 #define writel(val,addr) out_le32((addr),(val))
|
D | raw_io.h | 34 #define out_le32(addr,l) (void)((*(__force volatile __le32 *) (addr)) = cpu_to_le32(l)) macro
|
/arch/powerpc/platforms/52xx/ |
D | mpc52xx_pci.c | 217 out_le32(hose->cfg_data, val); in mpc52xx_pci_write_config()
|