static inline void vp_write_mask(struct mxr_device *mdev, u32 reg_id, u32 val, u32 mask) { u32 old = vp_read(mdev, reg_id); val = (val & mask) | (old & ~mask); writel(val, mdev->res.vp_regs + reg_id); }
static inline void vp_write_mask(struct mxr_device *mdev, u32 reg_id, u32 val, u32 mask) { #if defined(CONFIG_ARCH_EXYNOS4) u32 old = vp_read(mdev, reg_id); val = (val & mask) | (old & ~mask); writel(val, mdev->res.vp_regs + reg_id); #endif }