Home
last modified time | relevance | path

Searched refs:out_le32 (Results 1 – 25 of 115) sorted by relevance

12345

/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dpcie.c71 out_le32(&out_win->tarl, dev_base); in mpc83xx_pcie_remap_cfg()
104 PCIE_OP(write, dword, u32, out_le32) in PCIE_OP()
191 out_le32(&pex->bridge.pex_csb_ctrl, in mpc83xx_pcie_init_bus()
196 out_le32(&pex->bridge.pex_csb_obctrl, PEX_CSB_OBCTRL_PIOE | in mpc83xx_pcie_init_bus()
201 out_le32(&out_win->ar, PEX_OWAR_EN | PEX_OWAR_TYPE_CFG | in mpc83xx_pcie_init_bus()
203 out_le32(&out_win->bar, mpc83xx_pcie_cfg_space[bus].base); in mpc83xx_pcie_init_bus()
204 out_le32(&out_win->tarl, 0); in mpc83xx_pcie_init_bus()
205 out_le32(&out_win->tarh, 0); in mpc83xx_pcie_init_bus()
214 out_le32(&out_win->bar, reg[i].phys_start); in mpc83xx_pcie_init_bus()
215 out_le32(&out_win->tarl, reg[i].bus_start); in mpc83xx_pcie_init_bus()
[all …]
/openbmc/linux/arch/powerpc/boot/
H A Dcuboot-pq2.c191 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 …]
/openbmc/u-boot/drivers/ata/
H A Dsata_mv.c287 out_le32(priv->regbase + EDMA_CMD, EDMA_CMD_DISEDMA); in mv_stop_edma_engine()
321 out_le32(priv->regbase + EDMA_IECR, 0x0); in mv_start_edma_engine()
325 out_le32(SATAHC_BASE + SATAHC_ICR, tmp); in mv_start_edma_engine()
331 out_le32(priv->regbase + EDMA_CFG, tmp); in mv_start_edma_engine()
333 out_le32(priv->regbase + SIR_FIS_IRQ_CAUSE, 0x0); in mv_start_edma_engine()
336 out_le32(priv->regbase + SIR_FIS_CFG, 0x0); in mv_start_edma_engine()
339 out_le32(priv->regbase + EDMA_RQBA_HI, 0x0); in mv_start_edma_engine()
340 out_le32(priv->regbase + EDMA_RQIPR, priv->request); in mv_start_edma_engine()
341 out_le32(priv->regbase + EDMA_RQOPR, 0x0); in mv_start_edma_engine()
344 out_le32(priv->regbase + EDMA_RSBA_HI, 0x0); in mv_start_edma_engine()
[all …]
H A Dfsl_sata.c162 out_le32(&reg->hcontrol, val32); in init_sata()
168 out_le32(&reg->chba, (u32)cmd_hdr & ~0x3); in init_sata()
173 out_le32(&reg->hcontrol, val32); in init_sata()
178 out_le32(&reg->hcontrol, val32); in init_sata()
182 out_le32(&reg->hstatus, val32); in init_sata()
185 out_le32(&reg->icc, 0x01000000); in init_sata()
188 out_le32(&reg->cqpmp, 0); in init_sata()
192 out_le32(&reg->serror, val32); in init_sata()
196 out_le32(&reg->cer, val32); in init_sata()
200 out_le32(&reg->der, val32); in init_sata()
[all …]
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dsoc.c116 out_le32(&cci->ctrl_ord, CCI400_CTRLORD_TERM_BARRIER); in erratum_a008850_early()
133 out_le32(&cci->ctrl_ord, CCI400_CTRLORD_EN_BARRIER); in erratum_a008850_post()
185 out_le32(&cci->slave[0].snoop_ctrl, in arch_soc_init()
187 out_le32(&cci->slave[1].snoop_ctrl, in arch_soc_init()
189 out_le32(&cci->slave[2].snoop_ctrl, in arch_soc_init()
191 out_le32(&cci->slave[4].snoop_ctrl, in arch_soc_init()
200 out_le32(&cci->slave[1].sha_ord, CCI400_SHAORD_NON_SHAREABLE); in arch_soc_init()
201 out_le32(&cci->slave[2].sha_ord, CCI400_SHAORD_NON_SHAREABLE); in arch_soc_init()
/openbmc/u-boot/drivers/net/
H A Dvsc9953.c76 out_le32(&phyregs->miimcmd, (0x1 << 31) | ((port_addr & 0x1f) << 25) | in vsc9953_mdio_write()
104 out_le32(&phyregs->miimcmd, (0x1 << 31) | ((port_addr & 0x1f) << 25) | in vsc9953_mdio_read()
215 out_le32(&l2ana_reg->ana_tables.vlan_tidx, val); in vsc9953_vlan_table_membership_set()
227 out_le32(&l2ana_reg->ana_tables.vlan_tidx, val); in vsc9953_vlan_table_membership_set()
242 out_le32(&l2ana_reg->ana_tables.vlan_access, val); in vsc9953_vlan_table_membership_set()
272 out_le32(&l2ana_reg->ana_tables.vlan_tidx, val); in vsc9953_vlan_membership_show()
308 out_le32(&l2ana_reg->ana_tables.vlan_tidx, in vsc9953_vlan_table_membership_all_set()
320 out_le32(&l2ana_reg->ana_tables.vlan_tidx, in vsc9953_vlan_table_membership_all_set()
374 out_le32(&l2ana_reg->port[port_no].vlan_cfg, val); in vsc9953_port_vlan_pvid_set()
380 out_le32(&l2rew_reg->port[port_no].port_vlan_cfg, val); in vsc9953_port_vlan_pvid_set()
[all …]
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dsoc.c187 out_le32(eddrtqcr1, 0x63b30002); in erratum_a008336()
192 out_le32(eddrtqcr1, 0x63b30002); in erratum_a008336()
208 out_le32(eddrtqcr1, 0x63b20002); in erratum_a008514()
264 out_le32(dcfg_dcsr + DCFG_DCSR_PORCR1 / 4, val); in erratum_rcw_src()
307 out_le32(SMMU_SCR0, val); in bypass_smmu()
309 out_le32(SMMU_NSCR0, val); in bypass_smmu()
422 out_le32(&cci->ctrl_ord, CCI400_CTRLORD_TERM_BARRIER); in erratum_a008850_early()
443 out_le32(&cci->ctrl_ord, CCI400_CTRLORD_EN_BARRIER); in erratum_a008850_post()
619 out_le32(&cci->slave[4].snoop_ctrl, in fsl_lsch2_early_init_f()
671 out_le32(qspi_key, 0x5af05af0); in qspi_ahb_init()
[all …]
H A Dspl.c45 out_le32(SMMU_SCR0, val); in spl_board_init()
47 out_le32(SMMU_NSCR0, val); in spl_board_init()
/openbmc/linux/drivers/video/fbdev/
H A Dcontrolfb.c62 #undef out_le32
66 #define out_le32(addr, val) (void)(val) macro
212 out_le32(CNTRL_REG(p,start_addr), in set_screen_start()
245 out_le32(CNTRL_REG(p,ctrl), 0x400 | par->ctrl); in control_set_hardware()
256 out_le32(&rp->r, r->regs[i]); in control_set_hardware()
258 out_le32(CNTRL_REG(p,pitch), par->pitch); in control_set_hardware()
259 out_le32(CNTRL_REG(p,mode), r->mode); in control_set_hardware()
260 out_le32(CNTRL_REG(p,vram_attr), p->vram_attr); in control_set_hardware()
261 out_le32(CNTRL_REG(p,start_addr), par->yoffset * par->pitch in control_set_hardware()
263 out_le32(CNTRL_REG(p,rfrcnt), 0x1e5); in control_set_hardware()
[all …]
H A Doffb.c145 out_le32(par->cmap_adr + 0x58, in offb_setcolreg()
151 out_le32(par->cmap_adr + 0xb4, in offb_setcolreg()
156 out_le32(par->cmap_adr + 0x58, in offb_setcolreg()
160 out_le32(par->cmap_adr + 0xb4, (red << 16 | green << 8 | blue)); in offb_setcolreg()
165 out_le32(par->cmap_adr + 0xb4, (red << 16 | green << 8 | blue)); in offb_setcolreg()
168 out_le32(((unsigned __iomem *) par->cmap_adr) + regno, in offb_setcolreg()
215 out_le32(par->cmap_adr + 0x58, in offb_blank()
221 out_le32(par->cmap_adr + 0xb4, 0); in offb_blank()
225 out_le32(par->cmap_adr + 0x58, in offb_blank()
229 out_le32(par->cmap_adr + 0xb4, 0); in offb_blank()
[all …]
/openbmc/linux/arch/powerpc/platforms/powermac/
H A Dpic.c88 out_le32(&pmac_irq_hw[i]->enable, ppc_cached_irq_mask[i]); in pmac_mask_and_ack_irq()
89 out_le32(&pmac_irq_hw[i]->ack, bit); in pmac_mask_and_ack_irq()
109 out_le32(&pmac_irq_hw[i]->ack, bit); in pmac_ack_irq()
123 out_le32(&pmac_irq_hw[i]->enable, ppc_cached_irq_mask[i]); in __pmac_set_irq_mask()
153 out_le32(&pmac_irq_hw[i]->ack, bit); in pmac_startup_irq()
370 out_le32(&pmac_irq_hw[i]->enable, 0); in pmac_pic_probe_oldstyle()
612 out_le32(&pmac_irq_hw[0]->enable, ppc_cached_irq_mask[0]); in pmacpic_suspend()
614 out_le32(&pmac_irq_hw[1]->enable, ppc_cached_irq_mask[1]); in pmacpic_suspend()
627 out_le32(&pmac_irq_hw[0]->enable, 0); in pmacpic_resume()
629 out_le32(&pmac_irq_hw[1]->enable, 0); in pmacpic_resume()
/openbmc/linux/arch/powerpc/platforms/pasemi/
H A Diommu.c97 out_le32(iob+IOB_AT_INVAL_TLB_REG, bus_addr >> 14); in iobmap_build()
121 out_le32(iob+IOB_AT_INVAL_TLB_REG, bus_addr >> 14); in iobmap_free()
228 out_le32(iob+IOB_XLT_L1_REGBASE+i*4, regword); in iob_init()
235 out_le32(iob+IOB_AD_REG, regword); in iob_init()
240 out_le32(iob+IOBCOM_REG, regword); in iob_init()
H A Dgpio_mdio.c39 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()
H A Dpci.c79 out_le32(dummy, 0); in workaround_5945()
81 out_le32(addr, tmp); in workaround_5945()
139out_le32(iob_mapbase + PXP_ERR_CFG_REG, in_le32(iob_mapbase + PXP_ERR_CFG_REG) | PXP_IGNORE_PCIE_E… in sb600_set_flag()
144out_le32(iob_mapbase + PXP_ERR_CFG_REG, in_le32(iob_mapbase + PXP_ERR_CFG_REG) & ~PXP_IGNORE_PCIE_… in sb600_set_flag()
224 out_le32(addr, val); in pa_pxp_write_config()
/openbmc/linux/arch/powerpc/platforms/4xx/
H A Dpci.c1691 out_le32((u32 *)(addr + offset), val); in ppc4xx_pciex_write_config()
1735 out_le32(mbase + PECFG_POM0LAH, pciah); in ppc4xx_setup_one_pciex_POM()
1736 out_le32(mbase + PECFG_POM0LAL, pcial); in ppc4xx_setup_one_pciex_POM()
1758 out_le32(mbase + PECFG_POM1LAH, pciah); in ppc4xx_setup_one_pciex_POM()
1759 out_le32(mbase + PECFG_POM1LAL, pcial); in ppc4xx_setup_one_pciex_POM()
1767 out_le32(mbase + PECFG_POM2LAH, pciah); in ppc4xx_setup_one_pciex_POM()
1768 out_le32(mbase + PECFG_POM2LAL, pcial); in ppc4xx_setup_one_pciex_POM()
1857 out_le32(mbase + PECFG_BAR0HMPA, RES_TO_U32_HIGH(sa)); in ppc4xx_configure_pciex_PIMs()
1858 out_le32(mbase + PECFG_BAR0LMPA, RES_TO_U32_LOW(sa) | in ppc4xx_configure_pciex_PIMs()
1862 out_le32(mbase + PECFG_BAR1MPA, 0); in ppc4xx_configure_pciex_PIMs()
[all …]
/openbmc/linux/drivers/char/hw_random/
H A Dpasemi-rng.c61 out_le32(rng_regs + SDCRNG_CTL_REG, ctl); in pasemi_rng_init()
62 out_le32(rng_regs + SDCRNG_CTL_REG, ctl & ~SDCRNG_CTL_DR); in pasemi_rng_init()
73 out_le32(rng_regs + SDCRNG_CTL_REG, in pasemi_rng_cleanup()
/openbmc/u-boot/arch/arm/mach-omap2/omap3/
H A Dclock.c783 out_le32(&prcm_base->fclken_iva2, FCK_IVA2_ON); in per_clocks_enable()
785 out_le32(&prcm_base->fclken1_core, FCK_CORE1_ON); in per_clocks_enable()
786 out_le32(&prcm_base->iclken1_core, ICK_CORE1_ON); in per_clocks_enable()
787 out_le32(&prcm_base->iclken2_core, ICK_CORE2_ON); in per_clocks_enable()
788 out_le32(&prcm_base->fclken_wkup, FCK_WKUP_ON); in per_clocks_enable()
789 out_le32(&prcm_base->iclken_wkup, ICK_WKUP_ON); in per_clocks_enable()
790 out_le32(&prcm_base->fclken_dss, FCK_DSS_ON); in per_clocks_enable()
791 out_le32(&prcm_base->iclken_dss, ICK_DSS_ON); in per_clocks_enable()
793 out_le32(&prcm_base->fclken_cam, FCK_CAM_ON); in per_clocks_enable()
794 out_le32(&prcm_base->iclken_cam, ICK_CAM_ON); in per_clocks_enable()
/openbmc/linux/drivers/net/ethernet/apple/
H A Dmace.c307 out_le32(&dma->control, (WAKE|FLUSH|PAUSE|RUN) << 16); in dbdma_reset()
477 out_le32(&rd->control, (RUN|PAUSE|FLUSH|WAKE) << 16); /* clear run bit */ in mace_open()
478 out_le32(&rd->cmdptr, virt_to_bus(mp->rx_cmds)); in mace_open()
479 out_le32(&rd->control, (RUN << 16) | RUN); in mace_open()
487 out_le32(&td->control, (RUN|PAUSE|FLUSH|WAKE) << 16); in mace_open()
488 out_le32(&td->cmdptr, virt_to_bus(mp->tx_cmds)); in mace_open()
576 out_le32(&td->control, ((RUN|WAKE) << 16) + (RUN|WAKE)); in mace_xmit_start()
699 out_le32(&td->control, RUN << 16); in mace_interrupt()
801 out_le32(&td->control, ((RUN|WAKE) << 16) + (RUN|WAKE)); in mace_interrupt()
839 out_le32(&rd->cmdptr, virt_to_bus(cp)); in mace_tx_timeout()
[all …]
/openbmc/linux/sound/aoa/soundbus/i2sbus/
H A Dpcm.c271 out_le32(&pi->dbdma->control, (RUN | PAUSE | 1) << 16); in i2sbus_wait_for_stop()
490 out_le32(&i2sdev->intfregs->intr_ctl, I2S_PENDING_CLOCKS_STOPPED); in i2sbus_pcm_prepare()
502 out_le32(&i2sdev->intfregs->intr_ctl, I2S_PENDING_CLOCKS_STOPPED); in i2sbus_pcm_prepare()
505 out_le32(&i2sdev->intfregs->serial_format, sfr); in i2sbus_pcm_prepare()
506 out_le32(&i2sdev->intfregs->data_word_sizes, dws); in i2sbus_pcm_prepare()
555 out_le32(&pi->dbdma->control, 1 << 16); in i2sbus_pcm_trigger()
567 out_le32(&pi->dbdma->control, (RUN | PAUSE | 1) << 16); in i2sbus_pcm_trigger()
570 out_le32(&pi->dbdma->br_sel, (1 << 16) | 1); in i2sbus_pcm_trigger()
573 out_le32(&pi->dbdma->cmdptr, pi->dbdma_ring.bus_cmd_start); in i2sbus_pcm_trigger()
580 out_le32(&pi->dbdma->control, (RUN << 16) | RUN); in i2sbus_pcm_trigger()
[all …]
/openbmc/u-boot/arch/arm/include/asm/arch-fsl-layerscape/
H A Dsoc.h22 #define gur_out32(a, v) out_le32(a, v)
30 #define scfg_out32(a, v) out_le32(a, v)
42 #define pex_lut_out32(a, v) out_le32(a, v)
/openbmc/linux/sound/ppc/
H A Dpmac.c144 out_le32(&chip->awacs->control, chip->control_mask | (chip->rate_index << 8)); in snd_pmac_pcm_set_format()
145 out_le32(&chip->awacs->byteswap, chip->format == SNDRV_PCM_FORMAT_S16_LE ? 1 : 0); in snd_pmac_pcm_set_format()
155 out_le32(&rec->dma->control, (RUN|WAKE|FLUSH|PAUSE) << 16); in snd_pmac_dma_stop()
164 out_le32(&rec->dma->cmdptr, cmd->addr); in snd_pmac_dma_set_command()
172 out_le32(&rec->dma->control, status | (status << 16)); in snd_pmac_dma_run()
392 out_le32(&rec->dma->control, (RUN|PAUSE|FLUSH|WAKE) << 16); in snd_pmac_pcm_dead_xfer()
420 out_le32(&rec->dma->cmdptr, emergency_dbdma.addr); in snd_pmac_pcm_dead_xfer()
425 out_le32(&rec->dma->control, ((RUN|WAKE) << 16) + (RUN|WAKE)); in snd_pmac_pcm_dead_xfer()
710 out_le32(&chip->playback.dma->control, (RUN|PAUSE|FLUSH|WAKE|DEAD) << 16); in snd_pmac_dbdma_reset()
712 out_le32(&chip->capture.dma->control, (RUN|PAUSE|FLUSH|WAKE|DEAD) << 16); in snd_pmac_dbdma_reset()
[all …]
H A Dburgundy.c48 out_le32(&chip->awacs->codec_ctrl, addr + 0x200c00 + (val & 0xff)); in snd_pmac_burgundy_wcw()
50 out_le32(&chip->awacs->codec_ctrl, addr + 0x200d00 +((val>>8) & 0xff)); in snd_pmac_burgundy_wcw()
52 out_le32(&chip->awacs->codec_ctrl, addr + 0x200e00 +((val>>16) & 0xff)); in snd_pmac_burgundy_wcw()
54 out_le32(&chip->awacs->codec_ctrl, addr + 0x200f00 +((val>>24) & 0xff)); in snd_pmac_burgundy_wcw()
66 out_le32(&chip->awacs->codec_ctrl, addr + 0x100000); in snd_pmac_burgundy_rcw()
71 out_le32(&chip->awacs->codec_ctrl, addr + 0x100100); in snd_pmac_burgundy_rcw()
76 out_le32(&chip->awacs->codec_ctrl, addr + 0x100200); in snd_pmac_burgundy_rcw()
81 out_le32(&chip->awacs->codec_ctrl, addr + 0x100300); in snd_pmac_burgundy_rcw()
95 out_le32(&chip->awacs->codec_ctrl, addr + 0x300000 + (val & 0xff)); in snd_pmac_burgundy_wcb()
107 out_le32(&chip->awacs->codec_ctrl, addr + 0x100000); in snd_pmac_burgundy_rcb()
/openbmc/linux/arch/powerpc/sysdev/
H A Dgrackle.c35 out_le32(bp->cfg_data, val); in grackle_set_stg()
48 out_le32(bp->cfg_data, val); in grackle_set_loop_snoop()
H A Dindirect_pci.c53 out_le32(hose->cfg_addr, (0x80000000 | (bus_no << 16) | in __indirect_read_config()
119 out_le32(hose->cfg_addr, (0x80000000 | (bus_no << 16) | in indirect_write_config()
147 out_le32(cfg_data, val); in indirect_write_config()
/openbmc/linux/arch/powerpc/include/asm/
H A Ddbdma.h97 out_le32(&((regs)->control), (RUN|FLUSH)<<16); \
103 out_le32(&((regs)->control), (ACTIVE|DEAD|WAKE|FLUSH|PAUSE|RUN)<<16);\

12345