Searched refs:cmdresp_reg (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/crypto/ccp/ |
D | psp-dev.c | 28 static int psp_mailbox_poll(const void __iomem *cmdresp_reg, unsigned int *cmdresp, in psp_mailbox_poll() argument 32 *cmdresp = ioread32(cmdresp_reg); in psp_mailbox_poll() 48 void __iomem *cmdresp_reg, *cmdbuff_lo_reg, *cmdbuff_hi_reg; in psp_mailbox_command() local 51 if (!psp || !psp->vdata || !psp->vdata->cmdresp_reg || in psp_mailbox_command() 55 cmdresp_reg = psp->io_regs + psp->vdata->cmdresp_reg; in psp_mailbox_command() 63 if (psp_mailbox_poll(cmdresp_reg, cmdresp, 0)) in psp_mailbox_command() 72 iowrite32(*cmdresp, cmdresp_reg); in psp_mailbox_command() 74 ret = psp_mailbox_poll(cmdresp_reg, cmdresp, timeout_msecs); in psp_mailbox_command()
|
D | sp-dev.h | 48 const unsigned int cmdresp_reg; member 54 const unsigned int cmdresp_reg; member 63 const unsigned int cmdresp_reg; member 75 const unsigned int cmdresp_reg; member
|
D | sp-pci.c | 355 .cmdresp_reg = 0x10580, /* C2PMSG_32 */ 361 .cmdresp_reg = 0x10980, /* C2PMSG_32 */ 378 .cmdresp_reg = 0x10570, /* C2PMSG_28 */ 411 .cmdresp_reg = 0x10544, /* C2PMSG_17 */ 425 .cmdresp_reg = 0x10544, /* C2PMSG_17 */ 437 .cmdresp_reg = 0x10944, /* C2PMSG_17 */ 448 .cmdresp_reg = 0x10944, /* C2PMSG_17 */
|
D | platform-access.c | 71 if (!pa_dev->vdata->cmdresp_reg || !pa_dev->vdata->cmdbuff_addr_lo_reg || in psp_send_platform_access_msg() 75 cmd = psp->io_regs + pa_dev->vdata->cmdresp_reg; in psp_send_platform_access_msg()
|
D | sev-dev.c | 135 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler() 157 *reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_wait_cmd_ioc() 171 *reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_wait_cmd_ioc() 925 iowrite32(reg, sev->io_regs + sev->vdata->cmdresp_reg); in __sev_do_cmd_locked()
|