Lines Matching +full:clear +full:- +full:bit
1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2006-2007,2010 Freescale Semiconductor, Inc. All Rights Reserved.
22 * Clear the bit and poll it cleared. This is usually called with
23 * a reset address and mask being either SFTRST(bit 31) or CLKGATE
24 * (bit 30).
32 while ((readl(addr) & mask) && --timeout) in stmp_clear_poll_bit()
43 /* clear and poll SFTRST */ in stmp_reset_block()
48 /* clear CLKGATE */ in stmp_reset_block()
56 while ((!(readl(reset_addr) & STMP_MODULE_CLKGATE)) && --timeout) in stmp_reset_block()
61 /* clear and poll SFTRST */ in stmp_reset_block()
66 /* clear and poll CLKGATE */ in stmp_reset_block()
75 return -ETIMEDOUT; in stmp_reset_block()