Searched refs:div_mask (Results 1 - 2 of 2) sorted by relevance

/drivers/clk/
H A Dclk-divider.c32 #define div_mask(d) ((1 << (d->width)) - 1) macro
41 div &= div_mask(divider);
134 if (div > div_mask(divider))
135 div = div_mask(divider);
141 val &= ~(div_mask(divider) << divider->shift);
/drivers/mfd/
H A Ddb8500-prcmu.c497 u32 div_mask; member in struct:dsiescclk
504 .div_mask = PRCM_DSITVCLK_DIV_DSI0_ESC_CLK_DIV_MASK,
509 .div_mask = PRCM_DSITVCLK_DIV_DSI1_ESC_CLK_DIV_MASK,
514 .div_mask = PRCM_DSITVCLK_DIV_DSI2_ESC_CLK_DIV_MASK,
716 u32 div_mask; local
727 div_mask = PRCM_CLKOCR_CLKODIV0_MASK;
733 div_mask = PRCM_CLKOCR_CLKODIV1_MASK;
745 if (val & div_mask) {
752 if ((val & mask & ~div_mask) != bits) {
1693 div = ((div & dsiescclk[n].div_mask) >> (dsiesccl
[all...]

Completed in 65 milliseconds