Lines Matching refs:mask
14 int __maybe_unused mask_pollonvalue(unsigned long add, u32 mask, u32 value) in mask_pollonvalue() argument
18 while ((__raw_readl(add) & mask) != value) { in mask_pollonvalue()
26 __weak int mask_poll(u32 add, u32 mask) in mask_poll() argument
31 while (!(__raw_readl(addr) & mask)) { in mask_poll()
39 __weak u32 mask_read(u32 add, u32 mask) in mask_read() argument
43 return __raw_readl(addr) & mask; in mask_read()
51 __weak void psu_mask_write(unsigned long offset, unsigned long mask, in psu_mask_write() argument
57 regval &= ~(mask); in psu_mask_write()
58 regval |= (val & mask); in psu_mask_write()
62 __weak void prog_reg(unsigned long addr, unsigned long mask, in prog_reg() argument
68 rdata = rdata & (~mask); in prog_reg()