Searched refs:adata (Results 1 – 1 of 1) sorted by relevance
44 u32 anatop_get_bits(struct anatop *adata, u32 addr, int bit_shift, in anatop_get_bits() argument54 val = readl(adata->ioreg + addr); in anatop_get_bits()61 void anatop_set_bits(struct anatop *adata, u32 addr, int bit_shift, in anatop_set_bits() argument71 spin_lock(&adata->reglock); in anatop_set_bits()72 val = readl(adata->ioreg + addr) & ~(mask << bit_shift); in anatop_set_bits()73 writel((data << bit_shift) | val, adata->ioreg + addr); in anatop_set_bits()74 spin_unlock(&adata->reglock); in anatop_set_bits()