Searched refs:io_regs (Results 1 – 7 of 7) sorted by relevance
/drivers/crypto/ccp/ |
D | ccp-dev-v3.c | 101 cr_addr = ccp->io_regs + CMD_REQ0 + CMD_REQ_INCR; in ccp_do_cmd() 111 iowrite32(cr0, ccp->io_regs + CMD_REQ0); in ccp_do_cmd() 127 iowrite32(cmd, ccp->io_regs + DEL_CMD_Q_JOB); in ccp_do_cmd() 137 iowrite32(cmd, ccp->io_regs + DEL_CMD_Q_JOB); in ccp_do_cmd() 316 iowrite32(0x00, ccp->io_regs + IRQ_MASK_REG); in ccp_disable_queue_interrupts() 321 iowrite32(ccp->qim, ccp->io_regs + IRQ_MASK_REG); in ccp_enable_queue_interrupts() 331 status = ioread32(ccp->io_regs + IRQ_STATUS_REG); in ccp_irq_bh() 349 iowrite32(q_int, ccp->io_regs + IRQ_STATUS_REG); in ccp_irq_bh() 380 qmr = ioread32(ccp->io_regs + Q_MASK_REG); in ccp_init() 412 cmd_q->reg_status = ccp->io_regs + CMD_Q_STATUS_BASE + in ccp_init() [all …]
|
D | ccp-dev-v5.c | 791 qmr = ioread32(ccp->io_regs + Q_MASK_REG); in ccp5_init() 832 cmd_q->reg_control = ccp->io_regs + in ccp5_init() 890 status_lo = ioread32(ccp->io_regs + LSB_PRIVATE_MASK_LO_OFFSET); in ccp5_init() 891 status_hi = ioread32(ccp->io_regs + LSB_PRIVATE_MASK_HI_OFFSET); in ccp5_init() 892 iowrite32(status_lo, ccp->io_regs + LSB_PUBLIC_MASK_LO_OFFSET); in ccp5_init() 893 iowrite32(status_hi, ccp->io_regs + LSB_PUBLIC_MASK_HI_OFFSET); in ccp5_init() 1057 iowrite32(0x0, ccp->io_regs + CMD5_REQID_CONFIG_OFFSET); in ccp5_config() 1067 iowrite32(0x00012D57, ccp->io_regs + CMD5_TRNG_CTL_OFFSET); in ccp5other_config() 1068 iowrite32(0x00000003, ccp->io_regs + CMD5_CONFIG_0_OFFSET); in ccp5other_config() 1070 rnd = ioread32(ccp->io_regs + TRNG_OUT_REG); in ccp5other_config() [all …]
|
D | psp-dev.c | 79 status = ioread32(psp->io_regs + psp->vdata->intsts_reg); in psp_irq_handler() 86 reg = ioread32(psp->io_regs + psp->vdata->cmdresp_reg); in psp_irq_handler() 94 iowrite32(status, psp->io_regs + psp->vdata->intsts_reg); in psp_irq_handler() 109 *reg = ioread32(psp->io_regs + psp->vdata->cmdresp_reg); in sev_wait_cmd_ioc() 172 iowrite32(phys_lsb, psp->io_regs + psp->vdata->cmdbuff_addr_lo_reg); in __sev_do_cmd_locked() 173 iowrite32(phys_msb, psp->io_regs + psp->vdata->cmdbuff_addr_hi_reg); in __sev_do_cmd_locked() 180 iowrite32(reg, psp->io_regs + psp->vdata->cmdresp_reg); in __sev_do_cmd_locked() 933 if (!(ioread32(psp->io_regs + psp->vdata->feature_reg) & 1)) { in psp_check_sev_support() 961 psp->io_regs = sp->io_map; in psp_dev_init() 968 iowrite32(0, psp->io_regs + psp->vdata->inten_reg); in psp_dev_init() [all …]
|
D | psp-dev.h | 52 void __iomem *io_regs; member
|
D | ccp-dev.c | 515 trng_value = ioread32(ccp->io_regs + TRNG_OUT_REG); in ccp_trng_read() 639 ccp->io_regs = sp->io_map + ccp->vdata->offset; in ccp_dev_init()
|
D | ccp-debugfs.c | 63 regval = ioread32(ccp->io_regs + CMD5_PSP_CCP_VERSION); in ccp5_debugfs_info_read()
|
D | ccp-dev.h | 365 void __iomem *io_regs; member
|