Searched refs:ASPEED_ADC_L_MASK (Results 1 – 1 of 1) sorted by relevance
34 #define ASPEED_ADC_L_MASK ((1 << 10) - 1) macro35 #define ASPEED_ADC_L(x) ((x) & ASPEED_ADC_L_MASK)36 #define ASPEED_ADC_H(x) (((x) >> 16) & ASPEED_ADC_L_MASK)37 #define ASPEED_ADC_LH_MASK (ASPEED_ADC_L_MASK << 16 | ASPEED_ADC_L_MASK)65 return ((((current >> 16) & ASPEED_ADC_L_MASK) + 7) << 16) | in update_channels()66 ((current + 5) & ASPEED_ADC_L_MASK); in update_channels()