/Linux-v5.4/drivers/edac/ |
D | mpc85xx_edac.c | 54 err_detect = in_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_DR); in mpc85xx_pci_check() 66 in_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_ATTRIB)); in mpc85xx_pci_check() 68 in_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_ADDR)); in mpc85xx_pci_check() 70 in_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_EXT_ADDR)); in mpc85xx_pci_check() 72 in_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_DL)); in mpc85xx_pci_check() 74 in_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_DH)); in mpc85xx_pci_check() 91 err_detect = in_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_DR); in mpc85xx_pcie_check() 92 err_cap_stat = in_be32(pdata->pci_vbase + MPC85XX_PCI_GAS_TIMR); in mpc85xx_pcie_check() 98 in_be32(pdata->pci_vbase + MPC85XX_PCIE_ERR_CAP_R0)); in mpc85xx_pcie_check() 100 in_be32(pdata->pci_vbase + MPC85XX_PCIE_ERR_CAP_R1)); in mpc85xx_pcie_check() [all …]
|
/Linux-v5.4/drivers/net/ethernet/freescale/ |
D | fec_mpc52xx.c | 179 rcntrl = in_be32(&fec->r_cntrl); in mpc52xx_fec_adjust_link() 180 tcntrl = in_be32(&fec->x_cntrl); in mpc52xx_fec_adjust_link() 448 ievent = in_be32(&fec->ievent); in mpc52xx_fec_interrupt() 487 stats->rx_bytes = in_be32(&fec->rmon_r_octets); in mpc52xx_fec_get_stats() 488 stats->rx_packets = in_be32(&fec->rmon_r_packets); in mpc52xx_fec_get_stats() 489 stats->rx_errors = in_be32(&fec->rmon_r_crc_align) + in mpc52xx_fec_get_stats() 490 in_be32(&fec->rmon_r_undersize) + in mpc52xx_fec_get_stats() 491 in_be32(&fec->rmon_r_oversize) + in mpc52xx_fec_get_stats() 492 in_be32(&fec->rmon_r_frag) + in mpc52xx_fec_get_stats() 493 in_be32(&fec->rmon_r_jab); in mpc52xx_fec_get_stats() [all …]
|
D | ucc_geth.c | 232 (R_E | R_I | (in_be32((u32 __iomem*)bd) & R_W))); in get_new_skb() 248 bd_status = in_be32((u32 __iomem *)bd); in rx_bd_buffer_set() 350 u32 val = in_be32(p_start); in dump_init_enet_entries() 362 (in_be32(p_start) & in dump_init_enet_entries() 457 in_be32(&p_tx_fw_statistics_pram->sicoltx); in get_statistics() 459 in_be32(&p_tx_fw_statistics_pram->mulcoltx); in get_statistics() 461 in_be32(&p_tx_fw_statistics_pram->latecoltxfr); in get_statistics() 463 in_be32(&p_tx_fw_statistics_pram->frabortduecol); in get_statistics() 465 in_be32(&p_tx_fw_statistics_pram->frlostinmactxer); in get_statistics() 467 in_be32(&p_tx_fw_statistics_pram->carriersenseertx); in get_statistics() [all …]
|
/Linux-v5.4/arch/powerpc/platforms/cell/spufs/ |
D | hw_ops.c | 32 mbox_stat = in_be32(&prob->mb_stat_R); in spu_hw_mbox_read() 34 *data = in_be32(&prob->pu_mb_R); in spu_hw_mbox_read() 43 return in_be32(&ctx->spu->problem->mb_stat_R); in spu_hw_mbox_stat_read() 53 stat = in_be32(&spu->problem->mb_stat_R); in spu_hw_mbox_stat_poll() 90 if (in_be32(&prob->mb_stat_R) & 0xff0000) { in spu_hw_ibox_read() 110 if (in_be32(&prob->mb_stat_R) & 0x00ff00) { in spu_hw_wbox_write() 178 return in_be32(&ctx->spu->problem->spu_npc_RW); in spu_hw_npc_read() 188 return in_be32(&ctx->spu->problem->spu_status_R); in spu_hw_status_read() 203 return in_be32(&ctx->spu->problem->spu_runcntl_RW); in spu_hw_runcntl_read() 220 while (in_be32(&ctx->spu->problem->spu_status_R) & SPU_STATUS_RUNNING) in spu_hw_runcntl_stop() [all …]
|
D | switch.c | 94 return (in_be32(&prob->spu_status_R) & isolate_state) ? 1 : 0; in check_spu_isolate() 209 csa->prob.spu_runcntl_RW = in_be32(&prob->spu_runcntl_RW); in save_spu_runcntl() 227 if ((in_be32(&prob->spu_status_R) & SPU_STATUS_RUNNING) == 0) { in save_spu_status() 228 csa->prob.spu_status_R = in_be32(&prob->spu_status_R); in save_spu_status() 234 POLL_WHILE_TRUE(in_be32(&prob->spu_status_R) & in save_spu_status() 239 if ((in_be32(&prob->spu_status_R) & stopped) == 0) in save_spu_status() 242 csa->prob.spu_status_R = in_be32(&prob->spu_status_R); in save_spu_status() 374 csa->prob.dma_querymask_RW = in_be32(&prob->dma_querymask_RW); in save_ppu_querymask() 385 csa->prob.dma_querytype_RW = in_be32(&prob->dma_querytype_RW); in save_ppu_querytype() 398 csa->prob.dma_tagstatus_R = in_be32(&prob->dma_tagstatus_R); in save_ppu_tagstatus() [all …]
|
/Linux-v5.4/arch/powerpc/platforms/83xx/ |
D | suspend.c | 124 u32 reg_cfg1 = in_be32(&pmc_regs->config1); in mpc83xx_change_state() 146 u32 event = in_be32(&pmc_regs->event); in pmc_irq_handler() 169 saved_regs.sicrl = in_be32(&syscr_regs->sicrl); in mpc83xx_suspend_save_regs() 170 saved_regs.sicrh = in_be32(&syscr_regs->sicrh); in mpc83xx_suspend_save_regs() 171 saved_regs.sccr = in_be32(&clock_regs->sccr); in mpc83xx_suspend_save_regs() 187 in_be32(&pmc_regs->config1) | PMCCR1_PME_EN); in mpc83xx_suspend_enter() 208 in_be32(&pmc_regs->config1) | PMCCR1_POWER_OFF); in mpc83xx_suspend_enter() 215 in_be32(&pmc_regs->config1) & ~PMCCR1_POWER_OFF); in mpc83xx_suspend_enter() 230 in_be32(&pmc_regs->config1) & ~PMCCR1_PME_EN); in mpc83xx_suspend_enter() 309 ret = !(in_be32(&rcw_regs->rcwhr) & RCW_PCI_HOST); in mpc83xx_is_pci_agent()
|
/Linux-v5.4/drivers/char/xilinx_hwicap/ |
D | fifo_icap.c | 108 u32 data = in_be32(drvdata->base_address + XHI_RF_OFFSET); in fifo_icap_fifo_read() 162 u32 status = in_be32(drvdata->base_address + XHI_SR_OFFSET); in fifo_icap_get_status() 173 u32 status = in_be32(drvdata->base_address + XHI_SR_OFFSET); in fifo_icap_busy() 186 return in_be32(drvdata->base_address + XHI_WFV_OFFSET); in fifo_icap_write_fifo_vacancy() 198 return in_be32(drvdata->base_address + XHI_RFO_OFFSET); in fifo_icap_read_fifo_occupancy() 364 reg_data = in_be32(drvdata->base_address + XHI_CR_OFFSET); in fifo_icap_reset() 385 reg_data = in_be32(drvdata->base_address + XHI_CR_OFFSET); in fifo_icap_flush_fifo()
|
/Linux-v5.4/drivers/net/ethernet/ibm/emac/ |
D | rgmii.c | 95 out_be32(&p->fer, in_be32(&p->fer) | rgmii_mode_mask(mode, input)); in rgmii_attach() 115 ssr = in_be32(&p->ssr) & ~RGMII_SSR_MASK(input); in rgmii_set_speed() 144 fer = in_be32(&p->fer); in rgmii_get_mdio() 147 (void)in_be32(&p->fer); in rgmii_get_mdio() 163 fer = in_be32(&p->fer); in rgmii_put_mdio() 166 (void)in_be32(&p->fer); in rgmii_put_mdio() 186 out_be32(&p->fer, in_be32(&p->fer) & ~RGMII_FER_MASK(input)); in rgmii_detach() 253 in_be32(&dev->base->fer), in_be32(&dev->base->ssr)); in rgmii_probe()
|
/Linux-v5.4/arch/powerpc/boot/ |
D | uartlite.c | 42 reg = in_be32(reg_base + ULITE_STATUS); in uartlite_putc() 50 reg = in_be32(reg_base + ULITE_STATUS); in uartlite_getc() 51 return in_be32(reg_base + ULITE_RX); in uartlite_getc() 56 u32 reg = in_be32(reg_base + ULITE_STATUS); in uartlite_tstc()
|
/Linux-v5.4/drivers/soc/fsl/qe/ |
D | qe_io.c | 60 tmp_val = in_be32(&par_io->cpodr); in __par_io_config_pin() 68 in_be32(&par_io->cpdir2) : in __par_io_config_pin() 69 in_be32(&par_io->cpdir1); in __par_io_config_pin() 93 in_be32(&par_io->cppar2) : in __par_io_config_pin() 94 in_be32(&par_io->cppar1); in __par_io_config_pin() 136 tmp_val = in_be32(&par_io[port].cpdata); in par_io_data_set()
|
D | ucc_fast.c | 32 &uccf->uf_regs->gumr, in_be32(&uccf->uf_regs->gumr)); in ucc_fast_dump_regs() 34 &uccf->uf_regs->upsmr, in_be32(&uccf->uf_regs->upsmr)); in ucc_fast_dump_regs() 40 &uccf->uf_regs->ucce, in_be32(&uccf->uf_regs->ucce)); in ucc_fast_dump_regs() 42 &uccf->uf_regs->uccm, in_be32(&uccf->uf_regs->uccm)); in ucc_fast_dump_regs() 46 &uccf->uf_regs->urfb, in_be32(&uccf->uf_regs->urfb)); in ucc_fast_dump_regs() 54 &uccf->uf_regs->utfb, in_be32(&uccf->uf_regs->utfb)); in ucc_fast_dump_regs() 64 &uccf->uf_regs->urtry, in_be32(&uccf->uf_regs->urtry)); in ucc_fast_dump_regs() 100 gumr = in_be32(&uf_regs->gumr); in ucc_fast_enable() 121 gumr = in_be32(&uf_regs->gumr); in ucc_fast_disable()
|
D | gpio.c | 44 qe_gc->cpdata = in_be32(®s->cpdata); in qe_gpio_save_regs() 46 qe_gc->saved_regs.cpdir1 = in_be32(®s->cpdir1); in qe_gpio_save_regs() 47 qe_gc->saved_regs.cpdir2 = in_be32(®s->cpdir2); in qe_gpio_save_regs() 48 qe_gc->saved_regs.cppar1 = in_be32(®s->cppar1); in qe_gpio_save_regs() 49 qe_gc->saved_regs.cppar2 = in_be32(®s->cppar2); in qe_gpio_save_regs() 50 qe_gc->saved_regs.cpodr = in_be32(®s->cpodr); in qe_gpio_save_regs() 59 return !!(in_be32(®s->cpdata) & pin_mask); in qe_gpio_get()
|
/Linux-v5.4/arch/powerpc/sysdev/ |
D | fsl_rmu.c | 211 osr = in_be32(&rmu->msg_regs->osr); in fsl_rio_tx_handler() 226 u32 dqp = in_be32(&rmu->msg_regs->odqdpar); in fsl_rio_tx_handler() 256 isr = in_be32(&rmu->msg_regs->isr); in fsl_rio_rx_handler() 299 dsr = in_be32(&fsl_dbell->dbell_regs->dsr); in fsl_rio_dbell_handler() 316 (in_be32(&fsl_dbell->dbell_regs->dqdpar) & 0xfff); in fsl_rio_dbell_handler() 394 epwisr = in_be32(rio_regs_win + RIO_EPWISR); in fsl_rio_port_write_handler() 398 ipwmr = in_be32(&pw->pw_regs->pwmr); in fsl_rio_port_write_handler() 399 ipwsr = in_be32(&pw->pw_regs->pwsr); in fsl_rio_port_write_handler() 459 tmp = in_be32(rio_regs_win + RIO_LTLEDCSR); in fsl_rio_port_write_handler() 465 tmp = in_be32(rio_regs_win + RIO_LTLEDCSR); in fsl_rio_port_write_handler() [all …]
|
D | cpm_common.c | 61 while (in_be32(&cpm_udbg_txdesc[0]) & 0x80000000) in udbg_putc_cpm() 75 (in_be32(&cpm_udbg_txdesc[1]) - PHYS_IMMR_BASE + in udbg_init_cpm() 80 cpm_udbg_txbuf = (u8 __iomem __force *)in_be32(&cpm_udbg_txdesc[1]); in udbg_init_cpm() 113 cpm2_gc->cpdata = in_be32(&iop->dat); in cpm2_gpio32_save_regs() 124 return !!(in_be32(&iop->dat) & pin_mask); in cpm2_gpio32_get()
|
/Linux-v5.4/drivers/net/ethernet/freescale/fs_enet/ |
D | mii-bitbang.c | 45 out_be32(p, in_be32(p) | m); in bb_set() 50 out_be32(p, in_be32(p) & ~m); in bb_clr() 55 return (in_be32(p) & m) != 0; in bb_read() 68 in_be32(bitbang->dir); in mdio_dir() 87 in_be32(bitbang->dat); in mdio() 100 in_be32(bitbang->dat); in mdc()
|
D | mii-fec.c | 58 BUG_ON((in_be32(&fecp->fec_r_cntrl) & FEC_RCNTRL_MII_MODE) == 0); in fs_enet_fec_mii_read() 64 if ((in_be32(&fecp->fec_ievent) & FEC_ENET_MII) != 0) in fs_enet_fec_mii_read() 69 ret = in_be32(&fecp->fec_mii_data) & 0xffff; in fs_enet_fec_mii_read() 82 BUG_ON((in_be32(&fecp->fec_r_cntrl) & FEC_RCNTRL_MII_MODE) == 0); in fs_enet_fec_mii_write() 88 if ((in_be32(&fecp->fec_ievent) & FEC_ENET_MII) != 0) in fs_enet_fec_mii_write()
|
/Linux-v5.4/arch/powerpc/platforms/cell/ |
D | spider-pic.c | 74 out_be32(cfg, in_be32(cfg) | 0x30000000u); in spider_unmask_irq() 82 out_be32(cfg, in_be32(cfg) & ~0x30000000u); in spider_mask_irq() 142 old_mask = in_be32(cfg) & 0x30000000u; in spider_set_irq_type() 195 cs = in_be32(pic->regs + TIR_CS) >> 24; in spider_irq_cascade() 297 out_be32(cfg, in_be32(cfg) & ~0x30000000u); in spider_init_one() 304 out_be32(pic->regs + TIR_PIEN, in_be32(pic->regs + TIR_PIEN) | 0x1); in spider_init_one() 317 out_be32(pic->regs + TIR_DEN, in_be32(pic->regs + TIR_DEN) | 0x1); in spider_init_one()
|
/Linux-v5.4/arch/powerpc/platforms/52xx/ |
D | lite5200.c | 71 if (in_be32(&cdm->rstcfg) & 0x40) /* Assumes 33Mhz clock */ in lite5200_fix_clock_config() 104 port_config = in_be32(&gpio->port_config); in lite5200_fix_port_config() 115 in_be32(&gpio->port_config), port_config); in lite5200_fix_port_config() 136 out_be32(mbar + 0x1048, in_be32(mbar + 0x1048) & ~0x300); in lite5200_suspend_prepare()
|
D | mpc52xx_pic.c | 147 out_be32(addr, in_be32(addr) | (1 << bitno)); in io_be_setbit() 152 out_be32(addr, in_be32(addr) & ~(1 << bitno)); in io_be_clrbit() 194 ctrl_reg = in_be32(&intr->ctrl); in mpc52xx_extirq_set_type() 356 reg = in_be32(&intr->ctrl); in mpc52xx_irqhost_map() 429 intr_ctrl = in_be32(&intr->ctrl); in mpc52xx_init_irq() 492 status = in_be32(&intr->enc_status); in mpc52xx_get_irq() 507 status = in_be32(&sdma->IntPend); in mpc52xx_get_irq()
|
D | media5200.c | 53 val = in_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE); in media5200_irq_unmask() 65 val = in_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE); in media5200_irq_mask() 91 status = in_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE); in media5200_irq_cascade() 92 enable = in_be32(media5200_irq.regs + MEDIA5200_IRQ_STATUS); in media5200_irq_cascade() 217 port_config = in_be32(&gpio->port_config); in media5200_setup_arch()
|
/Linux-v5.4/arch/powerpc/platforms/85xx/ |
D | p1022_ds.c | 148 u64 lawbar = in_be32(&law[i].lawbar); in lbc_br_to_phys() 149 u32 lawar = in_be32(&law[i].lawar); in lbc_br_to_phys() 233 br0 = in_be32(&lbc->bank[0].br); in p1022ds_set_monitor_port() 234 br1 = in_be32(&lbc->bank[1].br); in p1022ds_set_monitor_port() 235 or0 = in_be32(&lbc->bank[0].or); in p1022ds_set_monitor_port() 236 or1 = in_be32(&lbc->bank[1].or); in p1022ds_set_monitor_port() 289 if ((in_be32(&guts->pmuxcr) & PMUXCR_ELBCDIU_MASK) != in p1022ds_set_monitor_port() 321 in_be32(&guts->pmuxcr); in p1022ds_set_monitor_port()
|
/Linux-v5.4/drivers/spi/ |
D | spi-mpc512x-psc.c | 101 sicr = in_be32(psc_addr(mps, sicr)); in mpc512x_psc_spi_activate_cs() 120 ccr = in_be32(psc_addr(mps, ccr)); in mpc512x_psc_spi_activate_cs() 173 fifosz = MPC512x_PSC_FIFO_SZ(in_be32(&fifo->txsz)); in mpc512x_psc_spi_transfer_rxtx() 175 fifosz = MPC512x_PSC_FIFO_SZ(in_be32(&fifo->rxsz)); in mpc512x_psc_spi_transfer_rxtx() 176 fifosz -= in_be32(&fifo->rxcnt) + 1; in mpc512x_psc_spi_transfer_rxtx() 216 fifosz = in_be32(&fifo->rxcnt); in mpc512x_psc_spi_transfer_rxtx() 269 rxcount = in_be32(&fifo->rxcnt); in mpc512x_psc_spi_transfer_rxtx() 281 while (in_be32(&fifo->rxcnt)) in mpc512x_psc_spi_transfer_rxtx() 438 ccr = in_be32(psc_addr(mps, ccr)); in mpc512x_psc_spi_port_config() 470 if (in_be32(&fifo->txisr) & in mpc512x_psc_spi_isr() [all …]
|
/Linux-v5.4/drivers/tty/serial/ |
D | mpc52xx_uart.c | 445 return !(in_be32(&FIFO_512x(port)->rxsr) & MPC512x_PSC_FIFO_EMPTY); in mpc512x_psc_raw_rx_rdy() 450 return !(in_be32(&FIFO_512x(port)->txsr) & MPC512x_PSC_FIFO_FULL); in mpc512x_psc_raw_tx_rdy() 455 return in_be32(&FIFO_512x(port)->rxsr) in mpc512x_psc_rx_rdy() 456 & in_be32(&FIFO_512x(port)->rximr) in mpc512x_psc_rx_rdy() 462 return in_be32(&FIFO_512x(port)->txsr) in mpc512x_psc_tx_rdy() 463 & in_be32(&FIFO_512x(port)->tximr) in mpc512x_psc_tx_rdy() 469 return in_be32(&FIFO_512x(port)->txsr) in mpc512x_psc_tx_empty() 477 rx_fifo_imr = in_be32(&FIFO_512x(port)->rximr); in mpc512x_psc_stop_rx() 486 tx_fifo_imr = in_be32(&FIFO_512x(port)->tximr); in mpc512x_psc_start_tx() 495 tx_fifo_imr = in_be32(&FIFO_512x(port)->tximr); in mpc512x_psc_stop_tx() [all …]
|
/Linux-v5.4/arch/powerpc/sysdev/ge/ |
D | ge_pic.c | 118 mask = in_be32(gef_pic_irq_reg_base + GEF_PIC_INTR_MASK(0)); in gef_pic_mask() 139 mask = in_be32(gef_pic_irq_reg_base + GEF_PIC_INTR_MASK(0)); in gef_pic_unmask() 234 cause = in_be32(gef_pic_irq_reg_base + GEF_PIC_INTR_STATUS); in gef_pic_get_irq() 236 mask = in_be32(gef_pic_irq_reg_base + GEF_PIC_INTR_MASK(0)); in gef_pic_get_irq()
|
/Linux-v5.4/drivers/mtd/nand/raw/ |
D | fsl_elbc_nand.c | 218 in_be32(&lbc->fmr), in_be32(&lbc->fir), in_be32(&lbc->fcr)); in fsl_elbc_run_command() 222 in_be32(&lbc->fbar), in_be32(&lbc->fpar), in fsl_elbc_run_command() 223 in_be32(&lbc->fbcr), priv->bank); in fsl_elbc_run_command() 235 elbc_fcm_ctrl->mdr = in_be32(&lbc->mdr); in fsl_elbc_run_command() 242 in_be32(&lbc->fir), in_be32(&lbc->fcr), in fsl_elbc_run_command() 253 uint32_t lteccr = in_be32(&lbc->lteccr); in fsl_elbc_run_command() 697 if (in_be32(&lbc->bank[priv->bank].or) & OR_FCM_PGS) in fsl_elbc_chip_init() 738 if ((in_be32(&lbc->bank[priv->bank].br) & BR_DECC) == in fsl_elbc_attach_chip() 875 if ((in_be32(&lbc->bank[bank].br) & BR_V) && in fsl_elbc_nand_probe() 876 (in_be32(&lbc->bank[bank].br) & BR_MSEL) == BR_MS_FCM && in fsl_elbc_nand_probe() [all …]
|