/linux-6.1.9/drivers/edac/ |
D | mpc85xx_edac.c | 56 err_detect = in_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_DR); in mpc85xx_pci_check() 68 in_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_ATTRIB)); in mpc85xx_pci_check() 70 in_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_ADDR)); in mpc85xx_pci_check() 72 in_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_EXT_ADDR)); in mpc85xx_pci_check() 74 in_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_DL)); in mpc85xx_pci_check() 76 in_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_DH)); in mpc85xx_pci_check() 93 err_detect = in_be32(pdata->pci_vbase + MPC85XX_PCI_ERR_DR); in mpc85xx_pcie_check() 94 err_cap_stat = in_be32(pdata->pci_vbase + MPC85XX_PCI_GAS_TIMR); in mpc85xx_pcie_check() 100 in_be32(pdata->pci_vbase + MPC85XX_PCIE_ERR_CAP_R0)); in mpc85xx_pcie_check() 102 in_be32(pdata->pci_vbase + MPC85XX_PCIE_ERR_CAP_R1)); in mpc85xx_pcie_check() [all …]
|
/linux-6.1.9/drivers/net/ethernet/freescale/ |
D | ucc_geth.c | 251 (R_E | R_I | (in_be32((u32 __iomem*)bd) & R_W))); in get_new_skb() 267 bd_status = in_be32((u32 __iomem *)bd); in rx_bd_buffer_set() 369 u32 val = in_be32(p_start); in dump_init_enet_entries() 381 (in_be32(p_start) & in dump_init_enet_entries() 476 in_be32(&p_tx_fw_statistics_pram->sicoltx); in get_statistics() 478 in_be32(&p_tx_fw_statistics_pram->mulcoltx); in get_statistics() 480 in_be32(&p_tx_fw_statistics_pram->latecoltxfr); in get_statistics() 482 in_be32(&p_tx_fw_statistics_pram->frabortduecol); in get_statistics() 484 in_be32(&p_tx_fw_statistics_pram->frlostinmactxer); in get_statistics() 486 in_be32(&p_tx_fw_statistics_pram->carriersenseertx); in get_statistics() [all …]
|
D | fec_mpc52xx.c | 181 rcntrl = in_be32(&fec->r_cntrl); in mpc52xx_fec_adjust_link() 182 tcntrl = in_be32(&fec->x_cntrl); in mpc52xx_fec_adjust_link() 450 ievent = in_be32(&fec->ievent); in mpc52xx_fec_interrupt() 489 stats->rx_bytes = in_be32(&fec->rmon_r_octets); in mpc52xx_fec_get_stats() 490 stats->rx_packets = in_be32(&fec->rmon_r_packets); in mpc52xx_fec_get_stats() 491 stats->rx_errors = in_be32(&fec->rmon_r_crc_align) + in mpc52xx_fec_get_stats() 492 in_be32(&fec->rmon_r_undersize) + in mpc52xx_fec_get_stats() 493 in_be32(&fec->rmon_r_oversize) + in mpc52xx_fec_get_stats() 494 in_be32(&fec->rmon_r_frag) + in mpc52xx_fec_get_stats() 495 in_be32(&fec->rmon_r_jab); in mpc52xx_fec_get_stats() [all …]
|
/linux-6.1.9/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-6.1.9/arch/powerpc/platforms/83xx/ |
D | suspend.c | 123 u32 reg_cfg1 = in_be32(&pmc_regs->config1); in mpc83xx_change_state() 145 u32 event = in_be32(&pmc_regs->event); in pmc_irq_handler() 168 saved_regs.sicrl = in_be32(&syscr_regs->sicrl); in mpc83xx_suspend_save_regs() 169 saved_regs.sicrh = in_be32(&syscr_regs->sicrh); in mpc83xx_suspend_save_regs() 170 saved_regs.sccr = in_be32(&clock_regs->sccr); in mpc83xx_suspend_save_regs() 186 in_be32(&pmc_regs->config1) | PMCCR1_PME_EN); in mpc83xx_suspend_enter() 207 in_be32(&pmc_regs->config1) | PMCCR1_POWER_OFF); in mpc83xx_suspend_enter() 214 in_be32(&pmc_regs->config1) & ~PMCCR1_POWER_OFF); in mpc83xx_suspend_enter() 229 in_be32(&pmc_regs->config1) & ~PMCCR1_PME_EN); in mpc83xx_suspend_enter() 308 ret = !(in_be32(&rcw_regs->rcwhr) & RCW_PCI_HOST); in mpc83xx_is_pci_agent()
|
/linux-6.1.9/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-6.1.9/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()
|
D | zmii.c | 140 out_be32(&p->fer, in_be32(&p->fer) | zmii_mode_mask(dev->mode, input)); in zmii_attach() 157 fer = in_be32(&dev->base->fer) & ~ZMII_FER_MDI_ALL; in zmii_get_mdio() 177 ssr = in_be32(&dev->base->ssr); in zmii_set_speed() 203 in_be32(&dev->base->fer) & ~zmii_mode_mask(dev->mode, input)); in zmii_detach() 262 dev->fer_save = in_be32(&dev->base->fer); in zmii_probe()
|
/linux-6.1.9/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() 77 (in_be32(&cpm_udbg_txdesc[1]) - PHYS_IMMR_BASE + in udbg_init_cpm() 82 cpm_udbg_txbuf = (u8 __iomem __force *)in_be32(&cpm_udbg_txdesc[1]); in udbg_init_cpm() 115 cpm2_gc->cpdata = in_be32(&iop->dat); in cpm2_gpio32_save_regs() 126 return !!(in_be32(&iop->dat) & pin_mask); in cpm2_gpio32_get()
|
D | fsl_rio.c | 110 reason = in_be32((u32 *)(rio_regs_win + RIO_LTLEDCSR)); in fsl_rio_mcheck_exception() 147 *data = in_be32(priv->regs_win + offset); in fsl_local_config_read() 330 riwar = in_be32(&priv->inb_atmu_regs[i].riwar); in fsl_map_inb_mem() 333 win_start = ((u64)(in_be32(&priv->inb_atmu_regs[i].riwbar) & RIWBAR_BADD_MASK)) in fsl_map_inb_mem() 342 riwar = in_be32(&priv->inb_atmu_regs[i].riwar); in fsl_map_inb_mem() 367 riwar = in_be32(&priv->inb_atmu_regs[i].riwar); in fsl_unmap_inb_mem() 371 riwtar = in_be32(&priv->inb_atmu_regs[i].riwtar); in fsl_unmap_inb_mem() 667 ccsr = in_be32(priv->regs_win + RIO_CCSR + i*0x20); in fsl_rio_setup() 670 if (in_be32((priv->regs_win + RIO_ESCSR + i*0x20)) & 1) { in fsl_rio_setup() 683 if (in_be32((priv->regs_win in fsl_rio_setup() [all …]
|
/linux-6.1.9/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-6.1.9/arch/powerpc/platforms/cell/ |
D | spider-pic.c | 75 out_be32(cfg, in_be32(cfg) | 0x30000000u); in spider_unmask_irq() 83 out_be32(cfg, in_be32(cfg) & ~0x30000000u); in spider_mask_irq() 143 old_mask = in_be32(cfg) & 0x30000000u; in spider_set_irq_type() 196 cs = in_be32(pic->regs + TIR_CS) >> 24; in spider_irq_cascade() 293 out_be32(cfg, in_be32(cfg) & ~0x30000000u); in spider_init_one() 300 out_be32(pic->regs + TIR_PIEN, in_be32(pic->regs + TIR_PIEN) | 0x1); in spider_init_one() 313 out_be32(pic->regs + TIR_DEN, in_be32(pic->regs + TIR_DEN) | 0x1); in spider_init_one()
|
/linux-6.1.9/arch/powerpc/platforms/52xx/ |
D | lite5200.c | 70 if (in_be32(&cdm->rstcfg) & 0x40) /* Assumes 33Mhz clock */ in lite5200_fix_clock_config() 103 port_config = in_be32(&gpio->port_config); in lite5200_fix_port_config() 114 in_be32(&gpio->port_config), port_config); in lite5200_fix_port_config() 135 out_be32(mbar + 0x1048, in_be32(mbar + 0x1048) & ~0x300); in lite5200_suspend_prepare()
|
D | mpc52xx_pic.c | 148 out_be32(addr, in_be32(addr) | (1 << bitno)); in io_be_setbit() 153 out_be32(addr, in_be32(addr) & ~(1 << bitno)); in io_be_clrbit() 195 ctrl_reg = in_be32(&intr->ctrl); in mpc52xx_extirq_set_type() 357 reg = in_be32(&intr->ctrl); in mpc52xx_irqhost_map() 430 intr_ctrl = in_be32(&intr->ctrl); in mpc52xx_init_irq() 493 status = in_be32(&intr->enc_status); in mpc52xx_get_irq() 508 status = in_be32(&sdma->IntPend); in mpc52xx_get_irq()
|
D | media5200.c | 54 val = in_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE); in media5200_irq_unmask() 66 val = in_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE); in media5200_irq_mask() 92 status = in_be32(media5200_irq.regs + MEDIA5200_IRQ_ENABLE); in media5200_irq_cascade() 93 enable = in_be32(media5200_irq.regs + MEDIA5200_IRQ_STATUS); in media5200_irq_cascade() 218 port_config = in_be32(&gpio->port_config); in media5200_setup_arch()
|
/linux-6.1.9/arch/powerpc/platforms/85xx/ |
D | p1022_ds.c | 149 u64 lawbar = in_be32(&law[i].lawbar); in lbc_br_to_phys() 150 u32 lawar = in_be32(&law[i].lawar); in lbc_br_to_phys() 234 br0 = in_be32(&lbc->bank[0].br); in p1022ds_set_monitor_port() 235 br1 = in_be32(&lbc->bank[1].br); in p1022ds_set_monitor_port() 236 or0 = in_be32(&lbc->bank[0].or); in p1022ds_set_monitor_port() 237 or1 = in_be32(&lbc->bank[1].or); in p1022ds_set_monitor_port() 290 if ((in_be32(&guts->pmuxcr) & PMUXCR_ELBCDIU_MASK) != in p1022ds_set_monitor_port() 322 in_be32(&guts->pmuxcr); in p1022ds_set_monitor_port()
|
/linux-6.1.9/drivers/spi/ |
D | spi-mpc512x-psc.c | 100 sicr = in_be32(psc_addr(mps, sicr)); in mpc512x_psc_spi_activate_cs() 119 ccr = in_be32(psc_addr(mps, ccr)); in mpc512x_psc_spi_activate_cs() 183 fifosz = MPC512x_PSC_FIFO_SZ(in_be32(&fifo->txsz)); in mpc512x_psc_spi_transfer_rxtx() 185 fifosz = MPC512x_PSC_FIFO_SZ(in_be32(&fifo->rxsz)); in mpc512x_psc_spi_transfer_rxtx() 186 fifosz -= in_be32(&fifo->rxcnt) + 1; in mpc512x_psc_spi_transfer_rxtx() 226 fifosz = in_be32(&fifo->rxcnt); in mpc512x_psc_spi_transfer_rxtx() 279 rxcount = in_be32(&fifo->rxcnt); in mpc512x_psc_spi_transfer_rxtx() 291 while (in_be32(&fifo->rxcnt)) in mpc512x_psc_spi_transfer_rxtx() 432 ccr = in_be32(psc_addr(mps, ccr)); in mpc512x_psc_spi_port_config() 464 if (in_be32(&fifo->txisr) & in mpc512x_psc_spi_isr() [all …]
|
/linux-6.1.9/drivers/iommu/ |
D | fsl_pamu.c | 407 pc_val = in_be32((u32 *)(pamu_reg_base + PAMU_PC3)); in get_pamu_cap_values() 506 u32 pics = in_be32(p + PAMU_PICS); in pamu_av_isr() 509 u32 avs1 = in_be32(p + PAMU_AVS1); in pamu_av_isr() 512 pr_emerg("POES1=%08x\n", in_be32(p + PAMU_POES1)); in pamu_av_isr() 513 pr_emerg("POES2=%08x\n", in_be32(p + PAMU_POES2)); in pamu_av_isr() 515 pr_emerg("AVS2=%08x\n", in_be32(p + PAMU_AVS2)); in pamu_av_isr() 517 make64(in_be32(p + PAMU_AVAH), in pamu_av_isr() 518 in_be32(p + PAMU_AVAL))); in pamu_av_isr() 519 pr_emerg("UDAD=%08x\n", in_be32(p + PAMU_UDAD)); in pamu_av_isr() 521 make64(in_be32(p + PAMU_POEAH), in pamu_av_isr() [all …]
|
/linux-6.1.9/drivers/tty/serial/ |
D | mpc52xx_uart.c | 443 return !(in_be32(&FIFO_512x(port)->rxsr) & MPC512x_PSC_FIFO_EMPTY); in mpc512x_psc_raw_rx_rdy() 448 return !(in_be32(&FIFO_512x(port)->txsr) & MPC512x_PSC_FIFO_FULL); in mpc512x_psc_raw_tx_rdy() 453 return in_be32(&FIFO_512x(port)->rxsr) in mpc512x_psc_rx_rdy() 454 & in_be32(&FIFO_512x(port)->rximr) in mpc512x_psc_rx_rdy() 460 return in_be32(&FIFO_512x(port)->txsr) in mpc512x_psc_tx_rdy() 461 & in_be32(&FIFO_512x(port)->tximr) in mpc512x_psc_tx_rdy() 467 return in_be32(&FIFO_512x(port)->txsr) in mpc512x_psc_tx_empty() 475 rx_fifo_imr = in_be32(&FIFO_512x(port)->rximr); in mpc512x_psc_stop_rx() 484 tx_fifo_imr = in_be32(&FIFO_512x(port)->tximr); in mpc512x_psc_start_tx() 493 tx_fifo_imr = in_be32(&FIFO_512x(port)->tximr); in mpc512x_psc_stop_tx() [all …]
|
/linux-6.1.9/arch/powerpc/sysdev/ge/ |
D | ge_pic.c | 120 mask = in_be32(gef_pic_irq_reg_base + GEF_PIC_INTR_MASK(0)); in gef_pic_mask() 141 mask = in_be32(gef_pic_irq_reg_base + GEF_PIC_INTR_MASK(0)); in gef_pic_unmask() 236 cause = in_be32(gef_pic_irq_reg_base + GEF_PIC_INTR_STATUS); in gef_pic_get_irq() 238 mask = in_be32(gef_pic_irq_reg_base + GEF_PIC_INTR_MASK(0)); in gef_pic_get_irq()
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | fsl_elbc_nand.c | 217 in_be32(&lbc->fmr), in_be32(&lbc->fir), in_be32(&lbc->fcr)); in fsl_elbc_run_command() 221 in_be32(&lbc->fbar), in_be32(&lbc->fpar), in fsl_elbc_run_command() 222 in_be32(&lbc->fbcr), priv->bank); in fsl_elbc_run_command() 234 elbc_fcm_ctrl->mdr = in_be32(&lbc->mdr); in fsl_elbc_run_command() 241 in_be32(&lbc->fir), in_be32(&lbc->fcr), in fsl_elbc_run_command() 252 uint32_t lteccr = in_be32(&lbc->lteccr); in fsl_elbc_run_command() 695 if (in_be32(&lbc->bank[priv->bank].or) & OR_FCM_PGS) in fsl_elbc_chip_init() 735 if ((in_be32(&lbc->bank[priv->bank].br) & BR_DECC) == in fsl_elbc_attach_chip() 877 if ((in_be32(&lbc->bank[bank].br) & BR_V) && in fsl_elbc_nand_probe() 878 (in_be32(&lbc->bank[bank].br) & BR_MSEL) == BR_MS_FCM && in fsl_elbc_nand_probe() [all …]
|
D | ndfc.c | 46 ccr = in_be32(ndfc->ndfcbase + NDFC_CCR); in ndfc_select_chip() 72 return in_be32(ndfc->ndfcbase + NDFC_STAT) & NDFC_STAT_IS_READY; in ndfc_ready() 80 ccr = in_be32(ndfc->ndfcbase + NDFC_CCR); in ndfc_enable_hwecc() 94 ecc = in_be32(ndfc->ndfcbase + NDFC_ECC); in ndfc_calculate_ecc() 116 *p++ = in_be32(ndfc->ndfcbase + NDFC_DATA); in ndfc_read_buf()
|