/openbmc/qemu/hw/scsi/ |
H A D | esp.c | 48 if (!(s->rregs[ESP_RSTAT] & STAT_INT)) { in esp_raise_irq() 49 s->rregs[ESP_RSTAT] |= STAT_INT; in esp_raise_irq() 57 if (s->rregs[ESP_RSTAT] & STAT_INT) { in esp_lower_irq() 58 s->rregs[ESP_RSTAT] &= ~STAT_INT; in esp_lower_irq() 89 s->rregs[ESP_RSTAT] &= ~7; in esp_set_phase() 90 s->rregs[ESP_RSTAT] |= phase; in esp_set_phase() 97 return s->rregs[ESP_RSTAT] & 7; in esp_get_phase() 212 dmalen = s->rregs[ESP_TCLO]; in esp_get_tc() 213 dmalen |= s->rregs[ESP_TCMID] << 8; in esp_get_tc() 214 dmalen |= s->rregs[ESP_TCHI] << 16; in esp_get_tc() [all …]
|
/openbmc/qemu/hw/char/ |
H A D | escc.c | 265 (s->rregs[R_STATUS] & STATUS_BRK)))) { in escc_update_irq_chn() 314 s->rregs[R_STATUS] &= STATUS_DCD | STATUS_SYNC | STATUS_CTS | STATUS_BRK; in escc_soft_reset_chn() 315 s->rregs[R_STATUS] |= STATUS_TXEMPTY | STATUS_TXUNDRN; in escc_soft_reset_chn() 317 s->rregs[R_STATUS] |= STATUS_DCD | STATUS_SYNC | STATUS_CTS; in escc_soft_reset_chn() 319 s->rregs[R_SPEC] &= SPEC_ALLSENT; in escc_soft_reset_chn() 320 s->rregs[R_SPEC] |= SPEC_BITS8; in escc_soft_reset_chn() 321 s->rregs[R_INTR] = 0; in escc_soft_reset_chn() 322 s->rregs[R_MISC] &= MISC_2CLKMISS; in escc_soft_reset_chn() 358 cs->rregs[j] = 0; in escc_reset() 370 cs->rregs[R_STATUS] |= STATUS_TXEMPTY; in escc_reset() [all …]
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | jr.c | 87 if (rd_reg32(&jrp->rregs->jrintstatus) & JRINT_ERR_HALT_INPROGRESS) in caam_jr_stop_processing() 91 clrsetbits_32(&jrp->rregs->jrintstatus, JRINT_ERR_HALT_MASK, 0); in caam_jr_stop_processing() 94 wr_reg32(&jrp->rregs->jrcommand, jrcr_bits); in caam_jr_stop_processing() 97 while (((rd_reg32(&jrp->rregs->jrintstatus) & JRINT_ERR_HALT_MASK) == in caam_jr_stop_processing() 101 if ((rd_reg32(&jrp->rregs->jrintstatus) & JRINT_ERR_HALT_MASK) != in caam_jr_stop_processing() 125 u32 halt_status = rd_reg32(&jrp->rregs->jrintstatus) & in caam_jr_restart_processing() 133 clrsetbits_32(&jrp->rregs->jrintstatus, 0, JRINT_ERR_HALT_COMPLETE); in caam_jr_restart_processing() 147 clrsetbits_32(&jrp->rregs->rconfig_lo, 0, JRCFG_IMSK); in caam_reset_hw_jr() 153 wr_reg32(&jrp->rregs->jrcommand, JRCR_RESET); in caam_reset_hw_jr() 154 while ((rd_reg32(&jrp->rregs->jrcommand) & JRCR_RESET) && --timeout) in caam_reset_hw_jr() [all …]
|
H A D | intern.h | 65 struct caam_job_ring __iomem *rregs; /* JobR's register space */ member
|
/openbmc/u-boot/arch/mips/mach-ath79/ |
H A D | reset.c | 75 void __iomem *rregs = map_physmem(AR71XX_RESET_BASE, AR71XX_RESET_SIZE, in eth_init_ar933x() local 87 clrbits_be32(rregs + AR933X_RESET_REG_BOOTSTRAP, BIT(17)); in eth_init_ar933x() 95 setbits_be32(rregs + AR933X_RESET_REG_RESET_MODULE, mask); in eth_init_ar933x() 97 clrbits_be32(rregs + AR933X_RESET_REG_RESET_MODULE, mask); in eth_init_ar933x() 110 void __iomem *rregs = map_physmem(AR71XX_RESET_BASE, AR71XX_RESET_SIZE, in eth_init_ar934x() local 121 reg = readl(rregs + AR934X_RESET_REG_BOOTSTRAP); in eth_init_ar934x() 128 setbits_be32(rregs + AR934X_RESET_REG_RESET_MODULE, mask); in eth_init_ar934x() 130 clrbits_be32(rregs + AR934X_RESET_REG_RESET_MODULE, mask); in eth_init_ar934x() 140 void __iomem *rregs = map_physmem(AR71XX_RESET_BASE, AR71XX_RESET_SIZE, in eth_init_qca953x() local 147 setbits_be32(rregs + AR934X_RESET_REG_RESET_MODULE, mask); in eth_init_qca953x() [all …]
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | fsl_ifc_nand.c | 226 struct fsl_ifc_runtime *ifc = ctrl->regs.rregs; in set_addr() 260 struct fsl_ifc_runtime *ifc = ctrl->regs.rregs; in fsl_ifc_run_command() 335 struct fsl_ifc_runtime *ifc = ctrl->regs.rregs; in fsl_ifc_do_read() 373 struct fsl_ifc_runtime *ifc = ctrl->regs.rregs; in fsl_ifc_cmdfunc() 674 struct fsl_ifc_runtime *ifc = ctrl->regs.rregs; in fsl_ifc_wait() 777 ifc_ctrl->regs.rregs = in fsl_ifc_ctrl_init() 780 ifc_ctrl->regs.rregs = in fsl_ifc_ctrl_init() 784 ifc_out32(&ifc_ctrl->regs.rregs->ifc_nand.nand_evter_stat, ~0U); in fsl_ifc_ctrl_init() 785 ifc_out32(&ifc_ctrl->regs.rregs->ifc_nand.pgrdcmpl_evt_stat, ~0U); in fsl_ifc_ctrl_init() 788 ifc_out32(&ifc_ctrl->regs.rregs->ifc_nand.nand_evter_en, in fsl_ifc_ctrl_init() [all …]
|
H A D | fsl_ifc_spl.c | 60 regs.rregs = (void *)CONFIG_SYS_IFC_ADDR + IFC_RREGS_64KOFFSET; in runtime_regs_address() 62 regs.rregs = (void *)CONFIG_SYS_IFC_ADDR + IFC_RREGS_4KOFFSET; in runtime_regs_address() 64 return regs.rregs; in runtime_regs_address()
|
/openbmc/linux/arch/arm/probes/kprobes/ |
H A D | actions-common.c | 83 register void *rregs asm("r1") = regs; in emulate_generic_r0_12_noflags() 102 : [regs] "=r" (rregs), [fn] "=r" (rfn) in emulate_generic_r0_12_noflags() 103 : "0" (rregs), "1" (rfn) in emulate_generic_r0_12_noflags()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | fsl_ifc_nand.c | 144 struct fsl_ifc_runtime __iomem *ifc = ctrl->rregs; in set_addr() 178 struct fsl_ifc_runtime __iomem *ifc = ctrl->rregs; in fsl_ifc_run_command() 256 struct fsl_ifc_runtime __iomem *ifc = ctrl->rregs; in fsl_ifc_do_read() 296 struct fsl_ifc_runtime __iomem *ifc = ctrl->rregs; in fsl_ifc_cmdfunc() 609 struct fsl_ifc_runtime __iomem *ifc = ctrl->rregs; in fsl_ifc_wait() 780 struct fsl_ifc_runtime __iomem *ifc_runtime = ctrl->rregs; in fsl_ifc_sram_init() 858 struct fsl_ifc_runtime __iomem *ifc_runtime = ctrl->rregs; in fsl_ifc_chip_init() 992 if (!fsl_ifc_ctrl_dev || !fsl_ifc_ctrl_dev->rregs) in fsl_ifc_nand_probe() 994 ifc = fsl_ifc_ctrl_dev->rregs; in fsl_ifc_nand_probe()
|
/openbmc/linux/drivers/net/ethernet/seeq/ |
H A D | sgiseeq.h | 28 struct sgiseeq_rregs rregs; member
|
H A D | sgiseeq.c | 791 sp->is_edlc = !(sp->sregs->rw.rregs.collision_tx[0] & 0xff); in sgiseeq_probe()
|
/openbmc/qemu/include/hw/char/ |
H A D | escc.h | 37 uint8_t wregs[ESCC_SERIAL_REGS], rregs[ESCC_SERIAL_REGS]; member
|
/openbmc/linux/drivers/memory/ |
H A D | fsl_ifc.c | 115 struct fsl_ifc_runtime __iomem *ifc = ctrl->rregs; in check_nand_stat() 249 fsl_ifc_ctrl_dev->rregs = addr; in fsl_ifc_ctrl_probe()
|
/openbmc/qemu/include/hw/scsi/ |
H A D | esp.h | 25 uint8_t rregs[ESP_REGS]; member
|
/openbmc/linux/include/linux/ |
H A D | fsl_ifc.h | 838 struct fsl_ifc_runtime __iomem *rregs; member
|
/openbmc/u-boot/include/ |
H A D | fsl_ifc.h | 1031 struct fsl_ifc_runtime *rregs; member
|