/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
D | grackle.c | 31 val = in_le32(bp->cfg_data); in grackle_set_stg() 36 (void)in_le32(bp->cfg_data); in grackle_set_stg() 44 val = in_le32(bp->cfg_data); in grackle_set_loop_snoop() 49 (void)in_le32(bp->cfg_data); in grackle_set_loop_snoop()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/ |
D | pic.c | 91 } while((in_le32(&pmac_irq_hw[i]->enable) & bit) in pmac_mask_and_ack_irq() 107 (void)in_le32(&pmac_irq_hw[i]->ack); in pmac_ack_irq() 126 } while((in_le32(&pmac_irq_hw[i]->enable) & bit) in __pmac_set_irq_mask() 134 if (bit & ppc_cached_irq_mask[i] & in_le32(&pmac_irq_hw[i]->level)) in __pmac_set_irq_mask() 209 bits = in_le32(&pmac_irq_hw[i]->event) | ppc_lost_interrupts[i]; in gatwick_action() 210 bits |= in_le32(&pmac_irq_hw[i]->level); in gatwick_action() 239 bits = in_le32(&pmac_irq_hw[i]->event) | ppc_lost_interrupts[i]; in pmac_pic_get_irq() 240 bits |= in_le32(&pmac_irq_hw[i]->level); in pmac_pic_get_irq() 616 (void)in_le32(&pmac_irq_hw[0]->event); in pmacpic_suspend() 619 (void)in_le32(&pmac_irq_hw[0]->enable); in pmacpic_suspend()
|
D | pci.c | 155 } while (in_le32(hose->cfg_addr) != caddr); in macrisc_cfg_map_bus() 327 *val = swap ? in_le32(addr) : in_be32(addr); in u3_ht_read_config() 417 } while (in_le32(hose->cfg_addr) != caddr); in u4_pcie_cfg_map_bus() 459 vendev = in_le32(bp->cfg_data); in init_bandit() 478 magic = in_le32(bp->cfg_data); in init_bandit()
|
/kernel/linux/linux-5.10/drivers/char/hw_random/ |
D | pasemi-rng.c | 40 data = (in_le32(rng_regs + SDCRNG_CTL_REG) in pasemi_rng_data_present() 52 *data = in_le32(rng_regs + SDCRNG_VAL_REG); in pasemi_rng_data_read() 75 in_le32(rng_regs + SDCRNG_CTL_REG) & ~ctl); in pasemi_rng_cleanup()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pasemi/ |
D | pci.c | 79 tmp = in_le32(addr); 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() 187 *val = in_le32(addr); in pa_pxp_read_config()
|
D | iommu.c | 229 regword = in_le32(iob+IOB_AD_REG); in iob_init() 235 regword = in_le32(iob+IOBCOM_REG); in iob_init()
|
D | dma_lib.c | 46 return in_le32(iob_regs+reg); in pasemi_read_iob_reg() 66 return in_le32(mac_regs[intf]+reg); in pasemi_read_mac_reg() 86 return in_le32(dma_regs+reg); in pasemi_read_dma_reg()
|
/kernel/linux/linux-5.10/sound/ppc/ |
D | burgundy.c | 22 while ((in_le32(&chip->awacs->codec_ctrl) & MASK_NEWECMD) && timeout--) in snd_pmac_burgundy_busy_wait() 33 while (!(in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--) in snd_pmac_burgundy_extend_wait() 38 while ((in_le32(&chip->awacs->codec_stat) & MASK_EXTEND) && timeout--) in snd_pmac_burgundy_extend_wait() 68 val += (in_le32(&chip->awacs->codec_stat) >> 4) & 0xff; in snd_pmac_burgundy_rcw() 73 val += ((in_le32(&chip->awacs->codec_stat)>>4) & 0xff) <<8; in snd_pmac_burgundy_rcw() 78 val += ((in_le32(&chip->awacs->codec_stat)>>4) & 0xff) <<16; in snd_pmac_burgundy_rcw() 83 val += ((in_le32(&chip->awacs->codec_stat)>>4) & 0xff) <<24; in snd_pmac_burgundy_rcw() 109 val += (in_le32(&chip->awacs->codec_stat) >> 4) & 0xff; in snd_pmac_burgundy_rcb() 565 return (in_le32(&chip->awacs->codec_stat) & chip->hp_stat_mask) ? 1 : 0; in snd_pmac_burgundy_detect_headphone() 613 if ((in_le32(&chip->awacs->codec_ctrl) & MASK_ERRCODE) == 0xf0000) { in snd_pmac_burgundy_init()
|
D | pmac.c | 133 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() 391 (void)in_le32(&rec->dma->status); in snd_pmac_pcm_dead_xfer() 423 (void)in_le32(&rec->dma->status); in snd_pmac_pcm_dead_xfer() 731 (in_le32(&chip->awacs->control) & ~0x1f00) in snd_pmac_beep_dma_start() 771 int ctrl = in_le32(&chip->awacs->control); in snd_pmac_ctrl_intr() 780 int err = (in_le32(&chip->awacs->codec_stat) & MASK_ERRCODE) >> 16; in snd_pmac_ctrl_intr() 809 out_le32(&chip->awacs->control, in_le32(&chip->awacs->control) & 0xfff); in snd_pmac_free()
|
D | awacs.c | 38 while (!(in_le32(&chip->awacs->codec_stat) & MASK_VALID)) { in snd_pmac_screamer_wait() 58 while (in_le32(&chip->awacs->codec_ctrl) & MASK_NEWECMD) { in snd_pmac_awacs_write() 789 return (in_le32(&chip->awacs->codec_stat) & chip->hp_stat_mask) ? 1 : 0; in snd_pmac_awacs_detect_headphone() 904 chip->manufacturer = (in_le32(&chip->awacs->codec_stat) >> 8) & 0xf; in snd_pmac_awacs_init() 907 chip->revision = (in_le32(&chip->awacs->codec_stat) >> 12) & 0xf; in snd_pmac_awacs_init()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | dbdma.h | 98 while(in_le32(&((regs)->status)) & (ACTIVE|FLUSH)) \ 104 while(in_le32(&((regs)->status)) & (RUN)) \
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | pasemi-cpufreq.c | 66 ret = in_le32(sdcpwr_mapbase + SDCPWR_CFGA0_REG + (astate * 0x10)); in get_astate_freq() 75 ret = in_le32(sdcpwr_mapbase + SDCPWR_PWST0_REG); in get_cur_astate() 85 giztime = in_le32(sdcpwr_mapbase + SDCPWR_GIZTIME_REG); in get_gizmo_latency()
|
/kernel/linux/linux-5.10/sound/aoa/soundbus/i2sbus/ |
D | pcm.c | 274 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()
|
/kernel/linux/linux-5.10/drivers/crypto/amcc/ |
D | crypto4xx_trng.c | 34 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()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/maple/ |
D | pci.c | 111 } while (in_le32(hose->cfg_addr) != caddr); in u3_agp_cfg_access() 142 *val = in_le32(addr); in u3_agp_read_config() 286 *val = in_le32(addr); in u3_ht_read_config() 365 } while (in_le32(hose->cfg_addr) != caddr); in u4_pcie_cfg_access() 397 *val = in_le32(addr); in u4_pcie_read_config()
|
/kernel/linux/linux-5.10/drivers/dma/ |
D | fsldma.h | 195 #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()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | controlfb.c | 64 #undef in_le32 68 #define in_le32(addr) 0 macro 364 sense = (in_le32(CNTRL_REG(p,mon_sense)) & 0x1c0) << 2; in read_control_sense() 369 sense |= (in_le32(CNTRL_REG(p,mon_sense)) & 0xc0) >> 2; in read_control_sense() 372 sense |= ((in_le32(CNTRL_REG(p,mon_sense)) & 0x100) >> 5) in read_control_sense() 373 | ((in_le32(CNTRL_REG(p,mon_sense)) & 0x40) >> 4); in read_control_sense() 376 sense |= (in_le32(CNTRL_REG(p,mon_sense)) & 0x180) >> 7; in read_control_sense() 709 ctrl = in_le32(CNTRL_REG(p, ctrl)); in controlfb_blank()
|
D | offb.c | 143 in_le32(par->cmap_adr + 0x58) & ~0x20); in offb_setcolreg() 154 in_le32(par->cmap_adr + 0x58) | 0x20); in offb_setcolreg() 213 in_le32(par->cmap_adr + 0x58) & ~0x20); in offb_blank() 223 in_le32(par->cmap_adr + 0x58) | 0x20); in offb_blank()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/chrp/ |
D | pci.c | 55 *val = in_le32(cfg_data); in gg2_read_config() 149 in_le32(&Hydra->Feature_Control)); in hydra_init() 158 printk(", now %x\n", in_le32(&Hydra->Feature_Control)); in hydra_init()
|
D | setup.c | 112 sdramen = (in_le32(gg2_pci_config_base + GG2_PCI_DRAM_CTRL) in chrp_show_cpuinfo() 115 t = in_le32(gg2_pci_config_base+ in chrp_show_cpuinfo() 147 t = in_le32(gg2_pci_config_base+GG2_PCI_CC_CTRL); in chrp_show_cpuinfo()
|
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
D | cuboot-pq2.c | 212 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()
|
D | io.h | 58 static inline unsigned in_le32(const volatile unsigned *addr) in in_le32() function
|
/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
D | io.h | 56 #define in_le32(a) __le32_to_cpu(__raw_readl(a)) macro
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/512x/ |
D | mpc512x_shared.c | 257 pix_fmt = in_le32(vaddr); in mpc512x_init_diu() 259 diu_shared_fb.fb_phys = in_le32(vaddr + 4); in mpc512x_init_diu()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/ |
D | mpc52xx_pci.c | 147 value = in_le32(hose->cfg_data); in mpc52xx_pci_read_config() 207 value = in_le32(hose->cfg_data); in mpc52xx_pci_write_config()
|