Home
last modified time | relevance | path

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

123

/linux-5.19.10/arch/powerpc/boot/
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 …]
Dio.h76 static inline void out_le32(volatile unsigned *addr, int val) in out_le32() function
/linux-5.19.10/drivers/video/fbdev/
Dcontrolfb.c62 #undef out_le32
66 #define out_le32(addr, val) (void)(val) macro
219 out_le32(CNTRL_REG(p,start_addr), in set_screen_start()
252 out_le32(CNTRL_REG(p,ctrl), 0x400 | par->ctrl); in control_set_hardware()
263 out_le32(&rp->r, r->regs[i]); in control_set_hardware()
265 out_le32(CNTRL_REG(p,pitch), par->pitch); in control_set_hardware()
266 out_le32(CNTRL_REG(p,mode), r->mode); in control_set_hardware()
267 out_le32(CNTRL_REG(p,vram_attr), p->vram_attr); in control_set_hardware()
268 out_le32(CNTRL_REG(p,start_addr), par->yoffset * par->pitch in control_set_hardware()
270 out_le32(CNTRL_REG(p,rfrcnt), 0x1e5); in control_set_hardware()
[all …]
Doffb.c143 out_le32(par->cmap_adr + 0x58, in offb_setcolreg()
149 out_le32(par->cmap_adr + 0xb4, in offb_setcolreg()
154 out_le32(par->cmap_adr + 0x58, in offb_setcolreg()
158 out_le32(par->cmap_adr + 0xb4, (red << 16 | green << 8 | blue)); in offb_setcolreg()
163 out_le32(par->cmap_adr + 0xb4, (red << 16 | green << 8 | blue)); in offb_setcolreg()
166 out_le32(((unsigned __iomem *) par->cmap_adr) + regno, in offb_setcolreg()
213 out_le32(par->cmap_adr + 0x58, in offb_blank()
219 out_le32(par->cmap_adr + 0xb4, 0); in offb_blank()
223 out_le32(par->cmap_adr + 0x58, in offb_blank()
227 out_le32(par->cmap_adr + 0xb4, 0); in offb_blank()
[all …]
/linux-5.19.10/arch/powerpc/platforms/pasemi/
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()
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()
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()
Ddma_lib.c58 out_le32(iob_regs+reg, val); in pasemi_write_iob_reg()
79 out_le32(mac_regs[intf]+reg, val); in pasemi_write_mac_reg()
98 out_le32(dma_regs+reg, val); in pasemi_write_dma_reg()
/linux-5.19.10/arch/powerpc/platforms/powermac/
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()
613 out_le32(&pmac_irq_hw[0]->enable, ppc_cached_irq_mask[0]); in pmacpic_suspend()
615 out_le32(&pmac_irq_hw[1]->enable, ppc_cached_irq_mask[1]); in pmacpic_suspend()
628 out_le32(&pmac_irq_hw[0]->enable, 0); in pmacpic_resume()
630 out_le32(&pmac_irq_hw[1]->enable, 0); in pmacpic_resume()
Dpci.c155 out_le32(hose->cfg_addr, caddr); in macrisc_cfg_map_bus()
371 swap ? out_le32(addr, val) : out_be32(addr, val); in u3_ht_write_config()
417 out_le32(hose->cfg_addr, caddr); in u4_pcie_cfg_map_bus()
458 out_le32(bp->cfg_addr, (1UL << BANDIT_DEVNUM) + PCI_VENDOR_ID); in init_bandit()
464 out_le32(bp->cfg_addr, in init_bandit()
477 out_le32(bp->cfg_addr, (1UL << BANDIT_DEVNUM) + BANDIT_MAGIC); in init_bandit()
484 out_le32(bp->cfg_data, magic); in init_bandit()
/linux-5.19.10/arch/powerpc/platforms/4xx/
Dpci.c1694 out_le32((u32 *)(addr + offset), val); in ppc4xx_pciex_write_config()
1738 out_le32(mbase + PECFG_POM0LAH, pciah); in ppc4xx_setup_one_pciex_POM()
1739 out_le32(mbase + PECFG_POM0LAL, pcial); in ppc4xx_setup_one_pciex_POM()
1761 out_le32(mbase + PECFG_POM1LAH, pciah); in ppc4xx_setup_one_pciex_POM()
1762 out_le32(mbase + PECFG_POM1LAL, pcial); in ppc4xx_setup_one_pciex_POM()
1770 out_le32(mbase + PECFG_POM2LAH, pciah); in ppc4xx_setup_one_pciex_POM()
1771 out_le32(mbase + PECFG_POM2LAL, pcial); in ppc4xx_setup_one_pciex_POM()
1860 out_le32(mbase + PECFG_BAR0HMPA, RES_TO_U32_HIGH(sa)); in ppc4xx_configure_pciex_PIMs()
1861 out_le32(mbase + PECFG_BAR0LMPA, RES_TO_U32_LOW(sa) | in ppc4xx_configure_pciex_PIMs()
1865 out_le32(mbase + PECFG_BAR1MPA, 0); in ppc4xx_configure_pciex_PIMs()
[all …]
/linux-5.19.10/drivers/char/hw_random/
Dpasemi-rng.c62 out_le32(rng_regs + SDCRNG_CTL_REG, ctl); in pasemi_rng_init()
63 out_le32(rng_regs + SDCRNG_CTL_REG, ctl & ~SDCRNG_CTL_DR); in pasemi_rng_init()
74 out_le32(rng_regs + SDCRNG_CTL_REG, in pasemi_rng_cleanup()
/linux-5.19.10/drivers/net/ethernet/apple/
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 …]
Dbmac.c202 out_le32(&cp->phy_addr, addr); in dbdma_setcmd()
203 out_le32(&cp->cmd_dep, cmd_dep); in dbdma_setcmd()
596 out_le32(&td->wait_sel, 0x00200020); in bmac_init_tx_ring()
597 out_le32(&td->cmdptr, virt_to_bus(bp->tx_cmds)); in bmac_init_tx_ring()
629 out_le32(&rd->cmdptr, virt_to_bus(bp->rx_cmds)); in bmac_init_rx_ring()
1496 out_le32(&td->control, DBDMA_CLEAR(RUN|PAUSE|FLUSH|WAKE|ACTIVE|DEAD)); in bmac_tx_timeout()
1502 out_le32(&rd->control, DBDMA_CLEAR(RUN|PAUSE|FLUSH|WAKE|ACTIVE|DEAD)); in bmac_tx_timeout()
1504 out_le32(&rd->cmdptr, virt_to_bus(cp)); in bmac_tx_timeout()
1505 out_le32(&rd->control, DBDMA_SET(RUN|WAKE)); in bmac_tx_timeout()
1524 out_le32(&td->cmdptr, virt_to_bus(cp)); in bmac_tx_timeout()
[all …]
/linux-5.19.10/sound/aoa/soundbus/i2sbus/
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 …]
/linux-5.19.10/arch/powerpc/sysdev/
Dgrackle.c35 out_le32(bp->cfg_data, val); in grackle_set_stg()
48 out_le32(bp->cfg_data, val); in grackle_set_loop_snoop()
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()
/linux-5.19.10/arch/microblaze/pci/
Dindirect_pci.c49 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()
/linux-5.19.10/sound/ppc/
Dburgundy.c47 out_le32(&chip->awacs->codec_ctrl, addr + 0x200c00 + (val & 0xff)); in snd_pmac_burgundy_wcw()
49 out_le32(&chip->awacs->codec_ctrl, addr + 0x200d00 +((val>>8) & 0xff)); in snd_pmac_burgundy_wcw()
51 out_le32(&chip->awacs->codec_ctrl, addr + 0x200e00 +((val>>16) & 0xff)); in snd_pmac_burgundy_wcw()
53 out_le32(&chip->awacs->codec_ctrl, addr + 0x200f00 +((val>>24) & 0xff)); in snd_pmac_burgundy_wcw()
65 out_le32(&chip->awacs->codec_ctrl, addr + 0x100000); in snd_pmac_burgundy_rcw()
70 out_le32(&chip->awacs->codec_ctrl, addr + 0x100100); in snd_pmac_burgundy_rcw()
75 out_le32(&chip->awacs->codec_ctrl, addr + 0x100200); in snd_pmac_burgundy_rcw()
80 out_le32(&chip->awacs->codec_ctrl, addr + 0x100300); in snd_pmac_burgundy_rcw()
94 out_le32(&chip->awacs->codec_ctrl, addr + 0x300000 + (val & 0xff)); in snd_pmac_burgundy_wcb()
106 out_le32(&chip->awacs->codec_ctrl, addr + 0x100000); in snd_pmac_burgundy_rcb()
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 …]
/linux-5.19.10/arch/powerpc/include/asm/
Ddbdma.h97 out_le32(&((regs)->control), (RUN|FLUSH)<<16); \
103 out_le32(&((regs)->control), (ACTIVE|DEAD|WAKE|FLUSH|PAUSE|RUN)<<16);\
/linux-5.19.10/arch/powerpc/platforms/maple/
Dpci.c110 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()
/linux-5.19.10/drivers/dma/
Dfsldma.h197 #define fsl_iowrite32(v, p) out_le32(p, v)
216 out_le32((u32 __iomem *)addr + 1, val >> 32); in fsl_iowrite64()
217 out_le32((u32 __iomem *)addr, (u32)val); in fsl_iowrite64()
/linux-5.19.10/drivers/macintosh/
Drack-meter.c121 out_le32(rm->i2s_regs + 0x10, 0x01fa0000); in rackmeter_setup_i2s()
161 out_le32(&rm->dma_regs->cmdptr_hi, 0); in rackmeter_do_pause()
162 out_le32(&rm->dma_regs->cmdptr, rm->dma_buf_p); in rackmeter_do_pause()
163 out_le32(&rm->dma_regs->control, (RUN << 16) | RUN); in rackmeter_do_pause()
/linux-5.19.10/arch/microblaze/include/asm/
Dio.h50 #define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a)) macro

123