Home
last modified time | relevance | path

Searched refs:regv (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/accel/ivpu/
Divpu_hw_reg_io.h24 #define REGV_RD32(reg) ivpu_hw_reg_rd32(vdev, vdev->regv, (reg), #reg, __func__)
25 #define REGV_RD32_SILENT(reg) readl(vdev->regv + (reg))
26 #define REGV_RD64(reg) ivpu_hw_reg_rd64(vdev, vdev->regv, (reg), #reg, __func__)
27 #define REGV_WR32(reg, val) ivpu_hw_reg_wr32(vdev, vdev->regv, (reg), (val), #reg, __func__)
28 #define REGV_WR64(reg, val) ivpu_hw_reg_wr64(vdev, vdev->regv, (reg), (val), #reg, __func__)
31 ivpu_hw_reg_wr32_index(vdev, vdev->regv, (reg), (stride), (index), (val), #reg, __func__)
Divpu_drv.c447 vdev->regv = devm_ioremap_resource(vdev->drm.dev, bar0); in ivpu_pci_init()
448 if (IS_ERR(vdev->regv)) { in ivpu_pci_init()
449 ivpu_err(vdev, "Failed to map bar 0: %pe\n", vdev->regv); in ivpu_pci_init()
450 return PTR_ERR(vdev->regv); in ivpu_pci_init()
Divpu_drv.h101 void __iomem *regv; member
/linux-6.6.21/drivers/spi/
Dspi-amlogic-spifc-a1.c303 u32 regv; in amlogic_spifc_a1_hw_init() local
305 regv = readl(spifc->base + SPIFC_A1_AHB_REQ_CTRL_REG); in amlogic_spifc_a1_hw_init()
306 regv &= ~(SPIFC_A1_AHB_REQ_ENABLE); in amlogic_spifc_a1_hw_init()
307 writel(regv, spifc->base + SPIFC_A1_AHB_REQ_CTRL_REG); in amlogic_spifc_a1_hw_init()
309 regv = readl(spifc->base + SPIFC_A1_AHB_CTRL_REG); in amlogic_spifc_a1_hw_init()
310 regv &= ~(SPIFC_A1_AHB_BUS_EN); in amlogic_spifc_a1_hw_init()
311 writel(regv, spifc->base + SPIFC_A1_AHB_CTRL_REG); in amlogic_spifc_a1_hw_init()