Searched refs:regv (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/accel/ivpu/ |
H A D | ivpu_hw_reg_io.h | 24 #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__)
|
/linux/drivers/spi/ |
H A D | spi-amlogic-spifc-a1.c | 303 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()
|
/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_gen4_vf_mig.c | 463 u32 regv; in adf_gen4_vfmig_load_misc() local 465 info.addr = ®v; in adf_gen4_vfmig_load_misc() 466 info.size = sizeof(regv); in adf_gen4_vfmig_load_misc() 476 ADF_CSR_WR(csr, misc_states[i].ofs, regv); in adf_gen4_vfmig_load_misc() 706 u32 regv; in adf_gen4_vfmig_save_misc() local 708 info.addr = ®v; in adf_gen4_vfmig_save_misc() 709 info.size = sizeof(regv); in adf_gen4_vfmig_save_misc() 710 regv = ADF_CSR_RD(csr, misc_states[i].offset); in adf_gen4_vfmig_save_misc()
|