/Linux-v4.19/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-v4.19/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() 447 ievent = in_be32(&fec->ievent); in mpc52xx_fec_interrupt() 486 stats->rx_bytes = in_be32(&fec->rmon_r_octets); in mpc52xx_fec_get_stats() 487 stats->rx_packets = in_be32(&fec->rmon_r_packets); in mpc52xx_fec_get_stats() 488 stats->rx_errors = in_be32(&fec->rmon_r_crc_align) + in mpc52xx_fec_get_stats() 489 in_be32(&fec->rmon_r_undersize) + in mpc52xx_fec_get_stats() 490 in_be32(&fec->rmon_r_oversize) + in mpc52xx_fec_get_stats() 491 in_be32(&fec->rmon_r_frag) + in mpc52xx_fec_get_stats() 492 in_be32(&fec->rmon_r_jab); in mpc52xx_fec_get_stats() [all …]
|
D | ucc_geth.c | 235 (R_E | R_I | (in_be32((u32 __iomem*)bd) & R_W))); in get_new_skb() 251 bd_status = in_be32((u32 __iomem *)bd); in rx_bd_buffer_set() 353 u32 val = in_be32(p_start); in dump_init_enet_entries() 365 (in_be32(p_start) & in dump_init_enet_entries() 460 in_be32(&p_tx_fw_statistics_pram->sicoltx); in get_statistics() 462 in_be32(&p_tx_fw_statistics_pram->mulcoltx); in get_statistics() 464 in_be32(&p_tx_fw_statistics_pram->latecoltxfr); in get_statistics() 466 in_be32(&p_tx_fw_statistics_pram->frabortduecol); in get_statistics() 468 in_be32(&p_tx_fw_statistics_pram->frlostinmactxer); in get_statistics() 470 in_be32(&p_tx_fw_statistics_pram->carriersenseertx); in get_statistics() [all …]
|
/Linux-v4.19/arch/powerpc/platforms/cell/spufs/ |
D | hw_ops.c | 45 mbox_stat = in_be32(&prob->mb_stat_R); in spu_hw_mbox_read() 47 *data = in_be32(&prob->pu_mb_R); in spu_hw_mbox_read() 56 return in_be32(&ctx->spu->problem->mb_stat_R); in spu_hw_mbox_stat_read() 66 stat = in_be32(&spu->problem->mb_stat_R); in spu_hw_mbox_stat_poll() 103 if (in_be32(&prob->mb_stat_R) & 0xff0000) { in spu_hw_ibox_read() 123 if (in_be32(&prob->mb_stat_R) & 0x00ff00) { in spu_hw_wbox_write() 191 return in_be32(&ctx->spu->problem->spu_npc_RW); in spu_hw_npc_read() 201 return in_be32(&ctx->spu->problem->spu_status_R); in spu_hw_status_read() 216 return in_be32(&ctx->spu->problem->spu_runcntl_RW); in spu_hw_runcntl_read() 233 while (in_be32(&ctx->spu->problem->spu_status_R) & SPU_STATUS_RUNNING) in spu_hw_runcntl_stop() [all …]
|
D | switch.c | 108 return (in_be32(&prob->spu_status_R) & isolate_state) ? 1 : 0; in check_spu_isolate() 223 csa->prob.spu_runcntl_RW = in_be32(&prob->spu_runcntl_RW); in save_spu_runcntl() 241 if ((in_be32(&prob->spu_status_R) & SPU_STATUS_RUNNING) == 0) { in save_spu_status() 242 csa->prob.spu_status_R = in_be32(&prob->spu_status_R); in save_spu_status() 248 POLL_WHILE_TRUE(in_be32(&prob->spu_status_R) & in save_spu_status() 253 if ((in_be32(&prob->spu_status_R) & stopped) == 0) in save_spu_status() 256 csa->prob.spu_status_R = in_be32(&prob->spu_status_R); in save_spu_status() 388 csa->prob.dma_querymask_RW = in_be32(&prob->dma_querymask_RW); in save_ppu_querymask() 399 csa->prob.dma_querytype_RW = in_be32(&prob->dma_querytype_RW); in save_ppu_querytype() 412 csa->prob.dma_tagstatus_R = in_be32(&prob->dma_tagstatus_R); in save_ppu_tagstatus() [all …]
|
/Linux-v4.19/arch/powerpc/platforms/83xx/ |
D | suspend.c | 127 u32 reg_cfg1 = in_be32(&pmc_regs->config1); in mpc83xx_change_state() 149 u32 event = in_be32(&pmc_regs->event); in pmc_irq_handler() 172 saved_regs.sicrl = in_be32(&syscr_regs->sicrl); in mpc83xx_suspend_save_regs() 173 saved_regs.sicrh = in_be32(&syscr_regs->sicrh); in mpc83xx_suspend_save_regs() 174 saved_regs.sccr = in_be32(&clock_regs->sccr); in mpc83xx_suspend_save_regs() 190 in_be32(&pmc_regs->config1) | PMCCR1_PME_EN); in mpc83xx_suspend_enter() 211 in_be32(&pmc_regs->config1) | PMCCR1_POWER_OFF); in mpc83xx_suspend_enter() 218 in_be32(&pmc_regs->config1) & ~PMCCR1_POWER_OFF); in mpc83xx_suspend_enter() 233 in_be32(&pmc_regs->config1) & ~PMCCR1_PME_EN); in mpc83xx_suspend_enter() 312 ret = !(in_be32(&rcw_regs->rcwhr) & RCW_PCI_HOST); in mpc83xx_is_pci_agent()
|
/Linux-v4.19/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-v4.19/drivers/net/ethernet/ibm/emac/ |
D | rgmii.c | 100 out_be32(&p->fer, in_be32(&p->fer) | rgmii_mode_mask(mode, input)); in rgmii_attach() 120 ssr = in_be32(&p->ssr) & ~RGMII_SSR_MASK(input); in rgmii_set_speed() 149 fer = in_be32(&p->fer); in rgmii_get_mdio() 152 (void)in_be32(&p->fer); in rgmii_get_mdio() 168 fer = in_be32(&p->fer); in rgmii_put_mdio() 171 (void)in_be32(&p->fer); in rgmii_put_mdio() 191 out_be32(&p->fer, in_be32(&p->fer) & ~RGMII_FER_MASK(input)); in rgmii_detach() 258 in_be32(&dev->base->fer), in_be32(&dev->base->ssr)); in rgmii_probe()
|
/Linux-v4.19/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-v4.19/drivers/soc/fsl/qe/ |
D | qe_io.c | 64 tmp_val = in_be32(&par_io->cpodr); in __par_io_config_pin() 72 in_be32(&par_io->cpdir2) : in __par_io_config_pin() 73 in_be32(&par_io->cpdir1); in __par_io_config_pin() 97 in_be32(&par_io->cppar2) : in __par_io_config_pin() 98 in_be32(&par_io->cppar1); in __par_io_config_pin() 140 tmp_val = in_be32(&par_io[port].cpdata); in par_io_data_set()
|
D | ucc_fast.c | 36 &uccf->uf_regs->gumr, in_be32(&uccf->uf_regs->gumr)); in ucc_fast_dump_regs() 38 &uccf->uf_regs->upsmr, in_be32(&uccf->uf_regs->upsmr)); in ucc_fast_dump_regs() 44 &uccf->uf_regs->ucce, in_be32(&uccf->uf_regs->ucce)); in ucc_fast_dump_regs() 46 &uccf->uf_regs->uccm, in_be32(&uccf->uf_regs->uccm)); in ucc_fast_dump_regs() 50 &uccf->uf_regs->urfb, in_be32(&uccf->uf_regs->urfb)); in ucc_fast_dump_regs() 58 &uccf->uf_regs->utfb, in_be32(&uccf->uf_regs->utfb)); in ucc_fast_dump_regs() 68 &uccf->uf_regs->urtry, in_be32(&uccf->uf_regs->urtry)); in ucc_fast_dump_regs() 104 gumr = in_be32(&uf_regs->gumr); in ucc_fast_enable() 125 gumr = in_be32(&uf_regs->gumr); in ucc_fast_disable()
|
D | gpio.c | 48 qe_gc->cpdata = in_be32(®s->cpdata); in qe_gpio_save_regs() 50 qe_gc->saved_regs.cpdir1 = in_be32(®s->cpdir1); in qe_gpio_save_regs() 51 qe_gc->saved_regs.cpdir2 = in_be32(®s->cpdir2); in qe_gpio_save_regs() 52 qe_gc->saved_regs.cppar1 = in_be32(®s->cppar1); in qe_gpio_save_regs() 53 qe_gc->saved_regs.cppar2 = in_be32(®s->cppar2); in qe_gpio_save_regs() 54 qe_gc->saved_regs.cpodr = in_be32(®s->cpodr); in qe_gpio_save_regs() 63 return !!(in_be32(®s->cpdata) & pin_mask); in qe_gpio_get()
|
/Linux-v4.19/arch/powerpc/sysdev/ |
D | fsl_rmu.c | 215 osr = in_be32(&rmu->msg_regs->osr); in fsl_rio_tx_handler() 230 u32 dqp = in_be32(&rmu->msg_regs->odqdpar); in fsl_rio_tx_handler() 260 isr = in_be32(&rmu->msg_regs->isr); in fsl_rio_rx_handler() 303 dsr = in_be32(&fsl_dbell->dbell_regs->dsr); in fsl_rio_dbell_handler() 320 (in_be32(&fsl_dbell->dbell_regs->dqdpar) & 0xfff); in fsl_rio_dbell_handler() 398 epwisr = in_be32(rio_regs_win + RIO_EPWISR); in fsl_rio_port_write_handler() 402 ipwmr = in_be32(&pw->pw_regs->pwmr); in fsl_rio_port_write_handler() 403 ipwsr = in_be32(&pw->pw_regs->pwsr); in fsl_rio_port_write_handler() 463 tmp = in_be32(rio_regs_win + RIO_LTLEDCSR); in fsl_rio_port_write_handler() 469 tmp = in_be32(rio_regs_win + RIO_LTLEDCSR); in fsl_rio_port_write_handler() [all …]
|
D | cpm_common.c | 64 while (in_be32(&cpm_udbg_txdesc[0]) & 0x80000000) in udbg_putc_cpm() 78 (in_be32(&cpm_udbg_txdesc[1]) - PHYS_IMMR_BASE + in udbg_init_cpm() 83 cpm_udbg_txbuf = (u8 __iomem __force *)in_be32(&cpm_udbg_txdesc[1]); in udbg_init_cpm() 116 cpm2_gc->cpdata = in_be32(&iop->dat); in cpm2_gpio32_save_regs() 127 return !!(in_be32(&iop->dat) & pin_mask); in cpm2_gpio32_get()
|
/Linux-v4.19/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-v4.19/arch/powerpc/platforms/cell/ |
D | spider-pic.c | 87 out_be32(cfg, in_be32(cfg) | 0x30000000u); in spider_unmask_irq() 95 out_be32(cfg, in_be32(cfg) & ~0x30000000u); in spider_mask_irq() 155 old_mask = in_be32(cfg) & 0x30000000u; in spider_set_irq_type() 208 cs = in_be32(pic->regs + TIR_CS) >> 24; in spider_irq_cascade() 310 out_be32(cfg, in_be32(cfg) & ~0x30000000u); in spider_init_one() 317 out_be32(pic->regs + TIR_PIEN, in_be32(pic->regs + TIR_PIEN) | 0x1); in spider_init_one() 330 out_be32(pic->regs + TIR_DEN, in_be32(pic->regs + TIR_DEN) | 0x1); in spider_init_one()
|
/Linux-v4.19/arch/powerpc/platforms/52xx/ |
D | lite5200.c | 74 if (in_be32(&cdm->rstcfg) & 0x40) /* Assumes 33Mhz clock */ in lite5200_fix_clock_config() 107 port_config = in_be32(&gpio->port_config); in lite5200_fix_port_config() 118 in_be32(&gpio->port_config), port_config); in lite5200_fix_port_config() 139 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 | 58 val = in_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE); in media5200_irq_unmask() 70 val = in_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE); in media5200_irq_mask() 96 status = in_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE); in media5200_irq_cascade() 97 enable = in_be32(media5200_irq.regs + MEDIA5200_IRQ_STATUS); in media5200_irq_cascade() 222 port_config = in_be32(&gpio->port_config); in media5200_setup_arch()
|
/Linux-v4.19/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-v4.19/drivers/spi/ |
D | spi-mpc512x-psc.c | 105 sicr = in_be32(psc_addr(mps, sicr)); in mpc512x_psc_spi_activate_cs() 124 ccr = in_be32(psc_addr(mps, ccr)); in mpc512x_psc_spi_activate_cs() 177 fifosz = MPC512x_PSC_FIFO_SZ(in_be32(&fifo->txsz)); in mpc512x_psc_spi_transfer_rxtx() 179 fifosz = MPC512x_PSC_FIFO_SZ(in_be32(&fifo->rxsz)); in mpc512x_psc_spi_transfer_rxtx() 180 fifosz -= in_be32(&fifo->rxcnt) + 1; in mpc512x_psc_spi_transfer_rxtx() 220 fifosz = in_be32(&fifo->rxcnt); in mpc512x_psc_spi_transfer_rxtx() 273 rxcount = in_be32(&fifo->rxcnt); in mpc512x_psc_spi_transfer_rxtx() 285 while (in_be32(&fifo->rxcnt)) in mpc512x_psc_spi_transfer_rxtx() 442 ccr = in_be32(psc_addr(mps, ccr)); in mpc512x_psc_spi_port_config() 474 if (in_be32(&fifo->txisr) & in mpc512x_psc_spi_isr() [all …]
|
/Linux-v4.19/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-v4.19/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-v4.19/drivers/mtd/nand/raw/ |
D | fsl_elbc_nand.c | 231 in_be32(&lbc->fmr), in_be32(&lbc->fir), in_be32(&lbc->fcr)); in fsl_elbc_run_command() 235 in_be32(&lbc->fbar), in_be32(&lbc->fpar), in fsl_elbc_run_command() 236 in_be32(&lbc->fbcr), priv->bank); in fsl_elbc_run_command() 248 elbc_fcm_ctrl->mdr = in_be32(&lbc->mdr); in fsl_elbc_run_command() 255 in_be32(&lbc->fir), in_be32(&lbc->fcr), in fsl_elbc_run_command() 266 uint32_t lteccr = in_be32(&lbc->lteccr); in fsl_elbc_run_command() 771 if (in_be32(&lbc->bank[priv->bank].or) & OR_FCM_PGS) in fsl_elbc_chip_init() 799 if ((in_be32(&lbc->bank[priv->bank].br) & BR_DECC) == in fsl_elbc_chip_init() 860 if ((in_be32(&lbc->bank[bank].br) & BR_V) && in fsl_elbc_nand_probe() 861 (in_be32(&lbc->bank[bank].br) & BR_MSEL) == BR_MS_FCM && in fsl_elbc_nand_probe() [all …]
|