Home
last modified time | relevance | path

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

/linux-5.19.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()
147 psp->io_regs = sp->io_map; in psp_dev_init()
154 iowrite32(0, psp->io_regs + psp->vdata->inten_reg); in psp_dev_init()
155 iowrite32(-1, psp->io_regs + psp->vdata->intsts_reg); in psp_dev_init()
172 iowrite32(-1, psp->io_regs + psp->vdata->inten_reg); in psp_dev_init()
Dtee-dev.c71 *reg = ioread32(tee->io_regs + tee->vdata->cmdresp_reg); in tee_wait_cmd_poll()
139 tee->io_regs + tee->vdata->cmdbuff_addr_lo_reg); in tee_init_ring()
141 tee->io_regs + tee->vdata->cmdbuff_addr_hi_reg); in tee_init_ring()
143 tee->io_regs + tee->vdata->cmdresp_reg); in tee_init_ring()
177 tee->io_regs + tee->vdata->cmdresp_reg); in tee_destroy_ring()
207 tee->io_regs = psp->io_regs; in tee_dev_init()
261 rptr = ioread32(tee->io_regs + tee->vdata->ring_rptr_reg); in tee_submit_cmd()
312 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()
1068 iowrite32(0x0, ccp->io_regs + CMD5_REQID_CONFIG_OFFSET); in ccp5_config()
1078 iowrite32(0x00012D57, ccp->io_regs + CMD5_TRNG_CTL_OFFSET); in ccp5other_config()
1079 iowrite32(0x00000003, ccp->io_regs + CMD5_CONFIG_0_OFFSET); in ccp5other_config()
1081 rnd = ioread32(ccp->io_regs + TRNG_OUT_REG); in ccp5other_config()
[all …]
Dsev-dev.h41 void __iomem *io_regs; member
Dsev-dev.c102 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler()
119 *reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_wait_cmd_ioc()
332 iowrite32(phys_lsb, sev->io_regs + sev->vdata->cmdbuff_addr_lo_reg); in __sev_do_cmd_locked()
333 iowrite32(phys_msb, sev->io_regs + sev->vdata->cmdbuff_addr_hi_reg); in __sev_do_cmd_locked()
340 iowrite32(reg, sev->io_regs + sev->vdata->cmdresp_reg); in __sev_do_cmd_locked()
1197 sev->io_regs = psp->io_regs; in sev_dev_init()
Dtee-dev.h67 void __iomem *io_regs; member
Dpsp-dev.h38 void __iomem *io_regs; member
Dccp-dev.c515 trng_value = ioread32(ccp->io_regs + TRNG_OUT_REG); in ccp_trng_read()
633 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-5.19.10/drivers/dma/ptdma/
Dptdma-dev.c194 iowrite32(CMD_CONFIG_VHB_EN, pt->io_regs + CMD_CONFIG_OFFSET); in pt_core_init()
195 iowrite32(CMD_QUEUE_PRIO, pt->io_regs + CMD_QUEUE_PRIO_OFFSET); in pt_core_init()
196 iowrite32(CMD_TIMEOUT_DISABLE, pt->io_regs + CMD_TIMEOUT_OFFSET); in pt_core_init()
197 iowrite32(CMD_CLK_GATE_CONFIG, pt->io_regs + CMD_CLK_GATE_CTL_OFFSET); in pt_core_init()
198 iowrite32(CMD_CONFIG_REQID, pt->io_regs + CMD_REQID_CONFIG_OFFSET); in pt_core_init()
218 cmd_q->reg_control = pt->io_regs + CMD_Q_STATUS_INCR; in pt_core_init()
Dptdma-pci.c166 pt->io_regs = iomap_table[pt->dev_vdata->bar]; in pt_pci_probe()
167 if (!pt->io_regs) { in pt_pci_probe()
Dptdma-debugfs.c32 regval = ioread32(pt->io_regs + CMD_PT_VERSION); in pt_debugfs_info_show()
Dptdma.h241 void __iomem *io_regs; member
/linux-5.19.10/drivers/mtd/nand/raw/
Dpl35x-nand-controller.c141 void __iomem *io_regs; member
353 buf32[i] = readl(nfc->io_regs + data_phase_addr); in pl35x_nand_read_data_op()
358 buf8[i] = readb(nfc->io_regs + PL35X_SMC_DATA_PHASE); in pl35x_nand_read_data_op()
385 writel(buf32[i], nfc->io_regs + data_phase_addr); in pl35x_nand_write_data_op()
390 writeb(buf8[i], nfc->io_regs + PL35X_SMC_DATA_PHASE); in pl35x_nand_write_data_op()
535 writel(addr1, nfc->io_regs + cmd_addr); in pl35x_nand_write_page_hwecc()
537 writel(addr2, nfc->io_regs + cmd_addr); in pl35x_nand_write_page_hwecc()
619 writel(addr1, nfc->io_regs + cmd_addr); in pl35x_nand_read_page_hwecc()
621 writel(addr2, nfc->io_regs + cmd_addr); in pl35x_nand_read_page_hwecc()
715 writel(addr1, nfc->io_regs + cmd_addr); in pl35x_nand_exec_op()
[all …]
/linux-5.19.10/drivers/platform/mellanox/
Dmlxreg-lc.c83 struct platform_device *io_regs; member
757 mlxreg_lc->io_regs = in mlxreg_lc_config_init()
760 if (IS_ERR(mlxreg_lc->io_regs)) { in mlxreg_lc_config_init()
764 err = PTR_ERR(mlxreg_lc->io_regs); in mlxreg_lc_config_init()
788 if (mlxreg_lc->io_regs) in mlxreg_lc_config_init()
789 platform_device_unregister(mlxreg_lc->io_regs); in mlxreg_lc_config_init()
803 if (mlxreg_lc->io_regs) in mlxreg_lc_config_exit()
804 platform_device_unregister(mlxreg_lc->io_regs); in mlxreg_lc_config_exit()
Dnvsw-sn2201.c141 struct platform_device *io_regs; member
985 nvsw_sn2201->io_regs = in nvsw_sn2201_config_init()
989 if (IS_ERR(nvsw_sn2201->io_regs)) { in nvsw_sn2201_config_init()
990 err = PTR_ERR(nvsw_sn2201->io_regs); in nvsw_sn2201_config_init()
1045 if (nvsw_sn2201->io_regs) in nvsw_sn2201_config_init()
1046 platform_device_unregister(nvsw_sn2201->io_regs); in nvsw_sn2201_config_init()
1064 if (nvsw_sn2201->io_regs) in nvsw_sn2201_config_exit()
1065 platform_device_unregister(nvsw_sn2201->io_regs); in nvsw_sn2201_config_exit()
/linux-5.19.10/tools/power/x86/intel-speed-select/
Disst-config.c727 struct isst_if_io_regs io_regs; in isst_send_mmio_command() local
738 io_regs.req_count = 1; in isst_send_mmio_command()
739 io_regs.io_reg[0].logical_cpu = cpu; in isst_send_mmio_command()
740 io_regs.io_reg[0].reg = reg; in isst_send_mmio_command()
743 io_regs.io_reg[0].read_write = 1; in isst_send_mmio_command()
744 io_regs.io_reg[0].value = *value; in isst_send_mmio_command()
746 io_regs.io_reg[0].read_write = 0; in isst_send_mmio_command()
749 if (ioctl(fd, cmd, &io_regs) == -1) { in isst_send_mmio_command()
759 *value = io_regs.io_reg[0].value; in isst_send_mmio_command()