/Linux-v6.6/drivers/crypto/ccp/ |
D | psp-dev.c | 45 status = ioread32(psp->io_regs + psp->vdata->intsts_reg); in psp_irq_handler() 48 iowrite32(status, psp->io_regs + psp->vdata->intsts_reg); in psp_irq_handler() 61 unsigned int val = ioread32(psp->io_regs + psp->vdata->feature_reg); in psp_get_capability() 166 psp->io_regs = sp->io_map; in psp_dev_init() 173 iowrite32(0, psp->io_regs + psp->vdata->inten_reg); in psp_dev_init() 174 iowrite32(-1, psp->io_regs + psp->vdata->intsts_reg); in psp_dev_init() 192 iowrite32(-1, psp->io_regs + psp->vdata->inten_reg); in psp_dev_init()
|
D | tee-dev.c | 72 *reg = ioread32(tee->io_regs + tee->vdata->cmdresp_reg); in tee_wait_cmd_poll() 140 tee->io_regs + tee->vdata->cmdbuff_addr_lo_reg); in tee_init_ring() 142 tee->io_regs + tee->vdata->cmdbuff_addr_hi_reg); in tee_init_ring() 144 tee->io_regs + tee->vdata->cmdresp_reg); in tee_init_ring() 178 tee->io_regs + tee->vdata->cmdresp_reg); in tee_destroy_ring() 208 tee->io_regs = psp->io_regs; in tee_dev_init() 262 rptr = ioread32(tee->io_regs + tee->vdata->ring_rptr_reg); in tee_submit_cmd() 313 iowrite32(tee->rb_mgr.wptr, tee->io_regs + tee->vdata->ring_wptr_reg); in tee_submit_cmd()
|
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 | platform-access.c | 75 cmd = psp->io_regs + pa_dev->vdata->cmdresp_reg; in psp_send_platform_access_msg() 76 lo = psp->io_regs + pa_dev->vdata->cmdbuff_addr_lo_reg; in psp_send_platform_access_msg() 77 hi = psp->io_regs + pa_dev->vdata->cmdbuff_addr_hi_reg; in psp_send_platform_access_msg() 152 button = psp->io_regs + pa_dev->vdata->doorbell_button_reg; in psp_ring_platform_doorbell() 153 cmd = psp->io_regs + pa_dev->vdata->doorbell_cmd_reg; in psp_ring_platform_doorbell()
|
D | ccp-dev-v5.c | 791 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 …]
|
D | sev-dev.h | 41 void __iomem *io_regs; member
|
D | sev-dev.c | 106 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler() 123 *reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_wait_cmd_ioc() 346 iowrite32(phys_lsb, sev->io_regs + sev->vdata->cmdbuff_addr_lo_reg); in __sev_do_cmd_locked() 347 iowrite32(phys_msb, sev->io_regs + sev->vdata->cmdbuff_addr_hi_reg); in __sev_do_cmd_locked() 352 iowrite32(reg, sev->io_regs + sev->vdata->cmdresp_reg); in __sev_do_cmd_locked() 1237 sev->io_regs = psp->io_regs; in sev_dev_init()
|
D | psp-dev.h | 35 void __iomem *io_regs; member
|
D | tee-dev.h | 67 void __iomem *io_regs; member
|
D | sp-pci.c | 104 unsigned int val = ioread32(psp->io_regs + _offset); \ 135 val = ioread32(psp->io_regs + psp->vdata->bootloader_info_reg); in psp_firmware_is_visible() 140 val = ioread32(psp->io_regs + psp->vdata->tee->info_reg); in psp_firmware_is_visible()
|
D | ccp-dev.c | 515 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()
|
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
|
/Linux-v6.6/drivers/dma/ptdma/ |
D | ptdma-dev.c | 195 iowrite32(CMD_CONFIG_VHB_EN, pt->io_regs + CMD_CONFIG_OFFSET); in pt_core_init() 196 iowrite32(CMD_QUEUE_PRIO, pt->io_regs + CMD_QUEUE_PRIO_OFFSET); in pt_core_init() 197 iowrite32(CMD_TIMEOUT_DISABLE, pt->io_regs + CMD_TIMEOUT_OFFSET); in pt_core_init() 198 iowrite32(CMD_CLK_GATE_CONFIG, pt->io_regs + CMD_CLK_GATE_CTL_OFFSET); in pt_core_init() 199 iowrite32(CMD_CONFIG_REQID, pt->io_regs + CMD_REQID_CONFIG_OFFSET); in pt_core_init() 219 cmd_q->reg_control = pt->io_regs + CMD_Q_STATUS_INCR; in pt_core_init()
|
D | ptdma-pci.c | 166 pt->io_regs = iomap_table[pt->dev_vdata->bar]; in pt_pci_probe() 167 if (!pt->io_regs) { in pt_pci_probe()
|
D | ptdma-debugfs.c | 32 regval = ioread32(pt->io_regs + CMD_PT_VERSION); in pt_debugfs_info_show()
|
D | ptdma.h | 241 void __iomem *io_regs; member
|
/Linux-v6.6/drivers/mtd/nand/raw/ |
D | pl35x-nand-controller.c | 139 void __iomem *io_regs; member 351 buf32[i] = readl(nfc->io_regs + data_phase_addr); in pl35x_nand_read_data_op() 356 buf8[i] = readb(nfc->io_regs + PL35X_SMC_DATA_PHASE); in pl35x_nand_read_data_op() 383 writel(buf32[i], nfc->io_regs + data_phase_addr); in pl35x_nand_write_data_op() 388 writeb(buf8[i], nfc->io_regs + PL35X_SMC_DATA_PHASE); in pl35x_nand_write_data_op() 534 writel(addr1, nfc->io_regs + cmd_addr); in pl35x_nand_write_page_hwecc() 536 writel(addr2, nfc->io_regs + cmd_addr); in pl35x_nand_write_page_hwecc() 626 writel(addr1, nfc->io_regs + cmd_addr); in pl35x_nand_read_page_hwecc() 628 writel(addr2, nfc->io_regs + cmd_addr); in pl35x_nand_read_page_hwecc() 722 writel(addr1, nfc->io_regs + cmd_addr); in pl35x_nand_exec_op() [all …]
|
/Linux-v6.6/drivers/platform/mellanox/ |
D | mlxreg-lc.c | 83 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()
|
D | nvsw-sn2201.c | 145 struct platform_device *io_regs; member 989 nvsw_sn2201->io_regs = in nvsw_sn2201_config_init() 993 if (IS_ERR(nvsw_sn2201->io_regs)) { in nvsw_sn2201_config_init() 994 err = PTR_ERR(nvsw_sn2201->io_regs); in nvsw_sn2201_config_init() 1049 if (nvsw_sn2201->io_regs) in nvsw_sn2201_config_init() 1050 platform_device_unregister(nvsw_sn2201->io_regs); in nvsw_sn2201_config_init() 1068 if (nvsw_sn2201->io_regs) in nvsw_sn2201_config_exit() 1069 platform_device_unregister(nvsw_sn2201->io_regs); in nvsw_sn2201_config_exit()
|
/Linux-v6.6/tools/power/x86/intel-speed-select/ |
D | isst-core-mbox.c | 78 struct isst_if_io_regs io_regs; in _send_mmio_command() local 90 io_regs.req_count = 1; in _send_mmio_command() 91 io_regs.io_reg[0].logical_cpu = cpu; in _send_mmio_command() 92 io_regs.io_reg[0].reg = reg; in _send_mmio_command() 95 io_regs.io_reg[0].read_write = 1; in _send_mmio_command() 96 io_regs.io_reg[0].value = *value; in _send_mmio_command() 98 io_regs.io_reg[0].read_write = 0; in _send_mmio_command() 101 if (ioctl(fd, cmd, &io_regs) == -1) { in _send_mmio_command() 111 *value = io_regs.io_reg[0].value; in _send_mmio_command()
|