Lines Matching +full:16 +full:- +full:bits
1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright (C) ST-Ericsson SA 2010
15 #define BITS(_start, _end) ((BIT(_end) - BIT(_start)) + BIT(_end)) macro
60 #define PRCM_ARM_CHGCLKREQ_PRCM_ARM_DIVSEL BIT(16)
83 #define PRCM_HOSTACCESS_REQ_WAKE_REQ BIT(16)
120 #define PRCM_PLL_FREQ_D_MASK BITS(0, 7)
122 #define PRCM_PLL_FREQ_N_MASK BITS(8, 13)
123 #define PRCM_PLL_FREQ_R_SHIFT 16
124 #define PRCM_PLL_FREQ_R_MASK BITS(16, 18)
143 #define PRCM_DSI_PLLOUT_SEL_DSI0_PLLOUT_DIVSEL_MASK BITS(0, 2)
145 #define PRCM_DSI_PLLOUT_SEL_DSI1_PLLOUT_DIVSEL_MASK BITS(8, 10)
153 #define PRCM_DSITVCLK_DIV_DSI0_ESC_CLK_DIV_MASK BITS(0, 7)
155 #define PRCM_DSITVCLK_DIV_DSI1_ESC_CLK_DIV_MASK BITS(8, 15)
156 #define PRCM_DSITVCLK_DIV_DSI2_ESC_CLK_DIV_SHIFT 16
157 #define PRCM_DSITVCLK_DIV_DSI2_ESC_CLK_DIV_MASK BITS(16, 23)
166 #define PRCM_CLKOCR_CLKOUT0_MASK BITS(0, 13)
167 #define PRCM_CLKOCR_CLKOUT1_REF_CLK (1 << 16)
168 #define PRCM_CLKOCR_CLKOUT1_MASK BITS(16, 29)
188 #define PRCM_TCR_TENSEL_MASK BITS(0, 7)
189 #define PRCM_TCR_STOP_TIMERS BIT(16)
193 #define PRCM_CLKOCR_CLKODIV0_MASK BITS(0, 5)
195 #define PRCM_CLKOCR_CLKOSEL0_MASK BITS(6, 8)
196 #define PRCM_CLKOCR_CLKODIV1_SHIFT 16
197 #define PRCM_CLKOCR_CLKODIV1_MASK BITS(16, 21)
199 #define PRCM_CLKOCR_CLKOSEL1_MASK BITS(22, 24)
202 #define PRCM_CLK_MGT_CLKPLLDIV_MASK BITS(0, 4)
206 #define PRCM_CLK_MGT_CLKPLLSW_MASK BITS(5, 7)