Searched refs:reg_csdev (Results 1 – 3 of 3) sorted by relevance
21 static void cscfg_set_reg(struct cscfg_regval_csdev *reg_csdev) in cscfg_set_reg() argument23 u32 *p_val32 = (u32 *)reg_csdev->driver_regval; in cscfg_set_reg()24 u32 tmp32 = reg_csdev->reg_desc.val32; in cscfg_set_reg()26 if (reg_csdev->reg_desc.type & CS_CFG_REG_TYPE_VAL_64BIT) { in cscfg_set_reg()27 *((u64 *)reg_csdev->driver_regval) = reg_csdev->reg_desc.val64; in cscfg_set_reg()31 if (reg_csdev->reg_desc.type & CS_CFG_REG_TYPE_VAL_MASK) { in cscfg_set_reg()33 tmp32 &= ~reg_csdev->reg_desc.mask32; in cscfg_set_reg()34 tmp32 |= reg_csdev->reg_desc.val32 & reg_csdev->reg_desc.mask32; in cscfg_set_reg()42 static void cscfg_save_reg(struct cscfg_regval_csdev *reg_csdev) in cscfg_save_reg() argument44 if (!(reg_csdev->reg_desc.type & CS_CFG_REG_TYPE_VAL_SAVE)) in cscfg_save_reg()[all …]
16 reg_csdev->driver_regval = &drvcfg->elem; \25 reg_csdev->driver_regval = &drvcfg->elem[off_idx]; \47 struct cscfg_regval_csdev *reg_csdev, u32 offset) in etm4_cfg_map_reg_offset() argument80 reg_csdev->driver_regval = &drvcfg->seq_ctrl[idx]; in etm4_cfg_map_reg_offset()105 reg_csdev->driver_regval = &drvcfg->res_ctrl[idx]; in etm4_cfg_map_reg_offset()
180 struct cscfg_regval_csdev *reg_csdev; member