Home
last modified time | relevance | path

Searched refs:in_le32 (Results 1 – 25 of 46) sorted by relevance

12

/linux/arch/powerpc/platforms/powermac/
H A Dpic.c94 } while((in_le32(&pmac_irq_hw[i]->enable) & bit) in pmac_mask_and_ack_irq()
110 (void)in_le32(&pmac_irq_hw[i]->ack); in pmac_ack_irq()
129 } while((in_le32(&pmac_irq_hw[i]->enable) & bit) in __pmac_set_irq_mask()
137 if (bit & ppc_cached_irq_mask[i] & in_le32(&pmac_irq_hw[i]->level)) in __pmac_set_irq_mask()
212 bits = in_le32(&pmac_irq_hw[i]->event) | ppc_lost_interrupts[i]; in gatwick_action()
213 bits |= in_le32(&pmac_irq_hw[i]->level); in gatwick_action()
242 bits = in_le32(&pmac_irq_hw[i]->event) | ppc_lost_interrupts[i]; in pmac_pic_get_irq()
243 bits |= in_le32(&pmac_irq_hw[i]->level); in pmac_pic_get_irq()
615 (void)in_le32(&pmac_irq_hw[0]->event); in pmacpic_suspend()
618 (void)in_le32(&pmac_irq_hw[0]->enable); in pmacpic_suspend()
H A Dpci.c156 } while (in_le32(hose->cfg_addr) != caddr); in macrisc_cfg_map_bus()
328 *val = swap ? in_le32(addr) : in_be32(addr); in u3_ht_read_config()
418 } while (in_le32(hose->cfg_addr) != caddr); in u4_pcie_cfg_map_bus()
460 vendev = in_le32(bp->cfg_data); in init_bandit()
479 magic = in_le32(bp->cfg_data); in init_bandit()
/linux/drivers/char/hw_random/
H A Dpasemi-rng.c39 data = (in_le32(rng_regs + SDCRNG_CTL_REG) in pasemi_rng_data_present()
51 *data = in_le32(rng_regs + SDCRNG_VAL_REG); in pasemi_rng_data_read()
74 in_le32(rng_regs + SDCRNG_CTL_REG) & ~ctl); in pasemi_rng_cleanup()
/linux/arch/powerpc/platforms/pasemi/
H A Dpci.c80 tmp = in_le32(addr); in workaround_5945()
139 …out_le32(iob_mapbase + PXP_ERR_CFG_REG, in_le32(iob_mapbase + PXP_ERR_CFG_REG) | PXP_IGNORE_PCIE_E… in sb600_set_flag()
144 …out_le32(iob_mapbase + PXP_ERR_CFG_REG, in_le32(iob_mapbase + PXP_ERR_CFG_REG) & ~PXP_IGNORE_PCIE_… in sb600_set_flag()
188 *val = in_le32(addr); in pa_pxp_read_config()
H A Diommu.c232 regword = in_le32(iob+IOB_AD_REG); in iob_init()
238 regword = in_le32(iob+IOBCOM_REG); in iob_init()
H A Ddma_lib.c48 return in_le32(iob_regs+reg); in pasemi_read_iob_reg()
68 return in_le32(mac_regs[intf]+reg); in pasemi_read_mac_reg()
88 return in_le32(dma_regs+reg); in pasemi_read_dma_reg()
/linux/sound/ppc/
H A Dburgundy.c23 while ((in_le32(&chip->awacs->codec_ctrl) & MASK_NEWECMD) && timeout--) in snd_pmac_burgundy_busy_wait()
34 while (!(in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--) in snd_pmac_burgundy_extend_wait()
39 while ((in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--) in snd_pmac_burgundy_extend_wait()
69 val += (in_le32(&chip->awacs->codec_stat) >> 4) & 0xff; in snd_pmac_burgundy_rcw()
74 val += ((in_le32(&chip->awacs->codec_stat)>>4) & 0xff) <<8; in snd_pmac_burgundy_rcw()
79 val += ((in_le32(&chip->awacs->codec_stat)>>4) & 0xff) <<16; in snd_pmac_burgundy_rcw()
84 val += ((in_le32(&chip->awacs->codec_stat)>>4) & 0xff) <<24; in snd_pmac_burgundy_rcw()
110 val += (in_le32(&chip->awacs->codec_stat) >> 4) & 0xff; in snd_pmac_burgundy_rcb()
566 return (in_le32(&chip->awacs->codec_stat) & chip->hp_stat_mask) ? 1 : 0; in snd_pmac_burgundy_detect_headphone()
614 if ((in_le32(&chip->awacs->codec_ctrl) & MASK_ERRCODE) == 0xf0000) { in snd_pmac_burgundy_init()
H A Dpmac.c133 while ((in_le32(&rec->dma->status) & RUN) && timeout-- > 0) in snd_pmac_wait_ack()
262 (void)in_le32(&rec->dma->status); in snd_pmac_pcm_trigger()
387 (void)in_le32(&rec->dma->status); in snd_pmac_pcm_dead_xfer()
419 (void)in_le32(&rec->dma->status); in snd_pmac_pcm_dead_xfer()
726 (in_le32(&chip->awacs->control) & ~0x1f00) in snd_pmac_beep_dma_start()
766 int ctrl = in_le32(&chip->awacs->control); in snd_pmac_ctrl_intr()
774 int err = (in_le32(&chip->awacs->codec_stat) & MASK_ERRCODE) >> 16; in snd_pmac_ctrl_intr()
803 out_le32(&chip->awacs->control, in_le32(&chip->awacs->control) & 0xfff); in snd_pmac_free()
H A Dawacs.c39 while (!(in_le32(&chip->awacs->codec_stat) & MASK_VALID)) { in snd_pmac_screamer_wait()
59 while (in_le32(&chip->awacs->codec_ctrl) & MASK_NEWECMD) { in snd_pmac_awacs_write()
790 return (in_le32(&chip->awacs->codec_stat) & chip->hp_stat_mask) ? 1 : 0; in snd_pmac_awacs_detect_headphone()
905 chip->manufacturer = (in_le32(&chip->awacs->codec_stat) >> 8) & 0xf; in snd_pmac_awacs_init()
908 chip->revision = (in_le32(&chip->awacs->codec_stat) >> 12) & 0xf; in snd_pmac_awacs_init()
/linux/arch/powerpc/sysdev/
H A Dgrackle.c28 val = in_le32(bp->cfg_data); in grackle_set_loop_snoop()
33 (void)in_le32(bp->cfg_data); in grackle_set_loop_snoop()
H A Dfsl_pci.c778 cfg_bar = in_le32(pcie->cfg_type0 + PEX_OUTWIN0_BAR); in mpc83xx_pcie_setup()
913 if (!(in_le32(&in[i].ar) & PEX_RCIWARn_EN)) in fsl_pci_immrbar_base()
916 if (get_immrbase() == in_le32(&in[i].tar)) in fsl_pci_immrbar_base()
917 return (u64)in_le32(&in[i].barh) << 32 | in fsl_pci_immrbar_base()
918 in_le32(&in[i].barl); in fsl_pci_immrbar_base()
/linux/arch/powerpc/include/asm/
H A Ddbdma.h98 while(in_le32(&((regs)->status)) & (ACTIVE|FLUSH)) \
104 while(in_le32(&((regs)->status)) & (RUN)) \
/linux/drivers/cpufreq/
H A Dpasemi-cpufreq.c65 ret = in_le32(sdcpwr_mapbase + SDCPWR_CFGA0_REG + (astate * 0x10)); in get_astate_freq()
74 ret = in_le32(sdcpwr_mapbase + SDCPWR_PWST0_REG); in get_cur_astate()
84 giztime = in_le32(sdcpwr_mapbase + SDCPWR_GIZTIME_REG); in get_gizmo_latency()
/linux/sound/aoa/soundbus/i2sbus/
H A Dpcm.c274 while (in_le32(&pi->dbdma->status) & ACTIVE) { in i2sbus_wait_for_stop()
477 if (in_le32(&i2sdev->intfregs->serial_format) == sfr in i2sbus_pcm_prepare()
478 && in_le32(&i2sdev->intfregs->data_word_sizes) == dws) in i2sbus_pcm_prepare()
499 !(in_le32(&i2sdev->intfregs->intr_ctl) & I2S_PENDING_CLOCKS_STOPPED)) { in i2sbus_pcm_prepare()
556 if (in_le32(&pi->dbdma->status) & ACTIVE) { in i2sbus_pcm_trigger()
559 if (in_le32(&pi->dbdma->status) & ACTIVE) { in i2sbus_pcm_trigger()
577 pi->frame_count = in_le32(&i2sdev->intfregs->frame_count); in i2sbus_pcm_trigger()
618 fc = in_le32(&i2sdev->intfregs->frame_count); in i2sbus_pcm_pointer()
662 fc = in_le32(&i2sdev->intfregs->frame_count); in handle_interrupt()
671 status = in_le32(&pi->dbdma->status); in handle_interrupt()
/linux/drivers/crypto/amcc/
H A Dcrypto4xx_trng.c34 busy = (in_le32(dev->trng_base + PPC4XX_TRNG_STAT) & in ppc4xx_trng_data_present()
48 *data = in_le32(dev->trng_base + PPC4XX_TRNG_DATA); in ppc4xx_trng_data_read()
/linux/drivers/dma/
H A Dfsldma.h195 #define fsl_ioread32(p) in_le32(p)
208 u32 val_lo = in_le32((u32 __iomem *)addr); in fsl_ioread64()
209 u32 val_hi = in_le32((u32 __iomem *)addr + 1); in fsl_ioread64()
/linux/drivers/video/fbdev/
H A Dcontrolfb.c61 #undef in_le32
65 #define in_le32(addr) 0 macro
354 sense = (in_le32(CNTRL_REG(p,mon_sense)) & 0x1c0) << 2; in read_control_sense()
359 sense |= (in_le32(CNTRL_REG(p,mon_sense)) & 0xc0) >> 2; in read_control_sense()
362 sense |= ((in_le32(CNTRL_REG(p,mon_sense)) & 0x100) >> 5) in read_control_sense()
363 | ((in_le32(CNTRL_REG(p,mon_sense)) & 0x40) >> 4); in read_control_sense()
366 sense |= (in_le32(CNTRL_REG(p,mon_sense)) & 0x180) >> 7; in read_control_sense()
699 ctrl = in_le32(CNTRL_REG(p, ctrl)); in controlfb_blank()
H A Doffb.c146 in_le32(par->cmap_adr + 0x58) & ~0x20); in offb_setcolreg()
157 in_le32(par->cmap_adr + 0x58) | 0x20); in offb_setcolreg()
216 in_le32(par->cmap_adr + 0x58) & ~0x20); in offb_blank()
226 in_le32(par->cmap_adr + 0x58) | 0x20); in offb_blank()
/linux/arch/powerpc/platforms/chrp/
H A Dpci.c55 *val = in_le32(cfg_data); in gg2_read_config()
148 in_le32(&Hydra->Feature_Control)); in hydra_init()
157 printk(", now %x\n", in_le32(&Hydra->Feature_Control)); in hydra_init()
H A Dsetup.c114 sdramen = (in_le32(gg2_pci_config_base + GG2_PCI_DRAM_CTRL) in chrp_show_cpuinfo()
117 t = in_le32(gg2_pci_config_base+ in chrp_show_cpuinfo()
149 t = in_le32(gg2_pci_config_base+GG2_PCI_CC_CTRL); in chrp_show_cpuinfo()
/linux/arch/powerpc/boot/
H A Dcuboot-pq2.c212 if (!(in_le32(&pci_regs[0][32]) & 1)) { in fixup_pci()
224 out_le32(&pci_regs[0][65], in_le32(&pci_regs[0][65]) | 6); in fixup_pci()
H A Dio.h58 static inline unsigned in_le32(const volatile unsigned *addr) in in_le32() function
/linux/arch/microblaze/include/asm/
H A Dio.h51 #define in_le32(a) __le32_to_cpu(__raw_readl(a)) macro
/linux/arch/powerpc/platforms/512x/
H A Dmpc512x_shared.c243 pix_fmt = in_le32(vaddr); in mpc512x_init_diu()
245 diu_shared_fb.fb_phys = in_le32(vaddr + 4); in mpc512x_init_diu()
/linux/arch/powerpc/platforms/52xx/
H A Dmpc52xx_pci.c148 value = in_le32(hose->cfg_data); in mpc52xx_pci_read_config()
208 value = in_le32(hose->cfg_data); in mpc52xx_pci_write_config()

12