Searched refs:pow (Results 1 – 4 of 4) sorted by relevance
14 #ifndef pow15 static inline unsigned int pow(int a, int b) in pow() function20 return a * pow(a, b - 1); in pow()
244 unsigned pow = ((stat & QUADSPI_SR_BP2_0) >> shift0) | in altera_qspi_get_locked_range() local249 if (pow) { in altera_qspi_get_locked_range()250 *len = mtd->erasesize << (pow - 1); in altera_qspi_get_locked_range()
627 int pow; in stm_get_locked_range() local634 pow = ((sr & mask) ^ mask) >> shift; in stm_get_locked_range()635 *len = mtd->size >> pow; in stm_get_locked_range()715 u8 shift = ffs(mask) - 1, pow, val; in stm_lock() local758 pow = ilog2(mtd->size) - ilog2(lock_len); in stm_lock()759 val = mask - (pow << shift); in stm_lock()795 u8 shift = ffs(mask) - 1, pow, val; in stm_unlock() local838 pow = ilog2(mtd->size) - order_base_2(lock_len); in stm_unlock()842 val = mask - (pow << shift); in stm_unlock()
127 usb1_pow: regulator-usb1-pow {
Completed in 11 milliseconds