Home
last modified time | relevance | path

Searched refs:io_regs (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/drivers/crypto/ccp/
Dpsp-dev.c43 status = ioread32(psp->io_regs + psp->vdata->intsts_reg); in psp_irq_handler()
55 iowrite32(status, psp->io_regs + psp->vdata->intsts_reg); in psp_irq_handler()
62 unsigned int val = ioread32(psp->io_regs + psp->vdata->feature_reg); in psp_get_capability()
156 psp->io_regs = sp->io_map; in psp_dev_init()
167 iowrite32(0, psp->io_regs + psp->vdata->inten_reg); in psp_dev_init()
168 iowrite32(-1, psp->io_regs + psp->vdata->intsts_reg); in psp_dev_init()
185 iowrite32(-1, psp->io_regs + psp->vdata->inten_reg); in psp_dev_init()
Dtee-dev.c70 *reg = ioread32(tee->io_regs + tee->vdata->cmdresp_reg); in tee_wait_cmd_poll()
138 tee->io_regs + tee->vdata->cmdbuff_addr_lo_reg); in tee_init_ring()
140 tee->io_regs + tee->vdata->cmdbuff_addr_hi_reg); in tee_init_ring()
142 tee->io_regs + tee->vdata->cmdresp_reg); in tee_init_ring()
176 tee->io_regs + tee->vdata->cmdresp_reg); in tee_destroy_ring()
206 tee->io_regs = psp->io_regs; in tee_dev_init()
258 rptr = ioread32(tee->io_regs + tee->vdata->ring_rptr_reg); in tee_submit_cmd()
295 iowrite32(tee->rb_mgr.wptr, tee->io_regs + tee->vdata->ring_wptr_reg); in tee_submit_cmd()
Dccp-dev-v3.c101 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 …]
Dccp-dev-v5.c791 qmr = ioread32(ccp->io_regs + Q_MASK_REG); in ccp5_init()
844 cmd_q->reg_control = ccp->io_regs + in ccp5_init()
902 status_lo = ioread32(ccp->io_regs + LSB_PRIVATE_MASK_LO_OFFSET); in ccp5_init()
903 status_hi = ioread32(ccp->io_regs + LSB_PRIVATE_MASK_HI_OFFSET); in ccp5_init()
904 iowrite32(status_lo, ccp->io_regs + LSB_PUBLIC_MASK_LO_OFFSET); in ccp5_init()
905 iowrite32(status_hi, ccp->io_regs + LSB_PUBLIC_MASK_HI_OFFSET); in ccp5_init()
1069 iowrite32(0x0, ccp->io_regs + CMD5_REQID_CONFIG_OFFSET); in ccp5_config()
1079 iowrite32(0x00012D57, ccp->io_regs + CMD5_TRNG_CTL_OFFSET); in ccp5other_config()
1080 iowrite32(0x00000003, ccp->io_regs + CMD5_CONFIG_0_OFFSET); in ccp5other_config()
1082 rnd = ioread32(ccp->io_regs + TRNG_OUT_REG); in ccp5other_config()
[all …]
Dsev-dev.c79 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler()
96 *reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_wait_cmd_ioc()
162 iowrite32(phys_lsb, sev->io_regs + sev->vdata->cmdbuff_addr_lo_reg); in __sev_do_cmd_locked()
163 iowrite32(phys_msb, sev->io_regs + sev->vdata->cmdbuff_addr_hi_reg); in __sev_do_cmd_locked()
170 iowrite32(reg, sev->io_regs + sev->vdata->cmdresp_reg); in __sev_do_cmd_locked()
983 sev->io_regs = psp->io_regs; in sev_dev_init()
Dsev-dev.h41 void __iomem *io_regs; member
Dpsp-dev.h38 void __iomem *io_regs; member
Dtee-dev.h67 void __iomem *io_regs; member
Dccp-dev.c515 trng_value = ioread32(ccp->io_regs + TRNG_OUT_REG); in ccp_trng_read()
637 ccp->io_regs = sp->io_map + ccp->vdata->offset; in ccp_dev_init()
Dccp-debugfs.c63 regval = ioread32(ccp->io_regs + CMD5_PSP_CCP_VERSION); in ccp5_debugfs_info_read()
Dccp-dev.h365 void __iomem *io_regs; member
/Linux-v5.10/tools/power/x86/intel-speed-select/
Disst-config.c696 struct isst_if_io_regs io_regs; in isst_send_mmio_command() local
707 io_regs.req_count = 1; in isst_send_mmio_command()
708 io_regs.io_reg[0].logical_cpu = cpu; in isst_send_mmio_command()
709 io_regs.io_reg[0].reg = reg; in isst_send_mmio_command()
712 io_regs.io_reg[0].read_write = 1; in isst_send_mmio_command()
713 io_regs.io_reg[0].value = *value; in isst_send_mmio_command()
715 io_regs.io_reg[0].read_write = 0; in isst_send_mmio_command()
718 if (ioctl(fd, cmd, &io_regs) == -1) { in isst_send_mmio_command()
728 *value = io_regs.io_reg[0].value; in isst_send_mmio_command()