D | uniperif.h | 19 #define GET_UNIPERIF_REG(ip, offset, shift, mask) \ argument 20 ((readl_relaxed(ip->base + offset) >> shift) & mask) 21 #define SET_UNIPERIF_REG(ip, offset, shift, mask, value) \ argument 22 writel_relaxed(((readl_relaxed(ip->base + offset) & \ 23 ~(mask << shift)) | (((value) & mask) << shift)), ip->base + offset) 24 #define SET_UNIPERIF_BIT_REG(ip, offset, shift, mask, value) \ argument 25 writel_relaxed((((value) & mask) << shift), ip->base + offset) 31 #define UNIPERIF_SOFT_RST_OFFSET(ip) 0x0000 argument 32 #define GET_UNIPERIF_SOFT_RST(ip) \ argument 33 ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \ [all …]
|