Lines Matching refs:val
150 int val;
152 val = readl(ost_clk->ost->base + info->ostccr_reg);
153 val &= ~OSTCCR_PRESCALE1_MASK;
154 val |= FIELD_PREP(OSTCCR_PRESCALE1_MASK, prescale);
155 writel(val, ost_clk->ost->base + info->ostccr_reg);
166 int val;
168 val = readl(ost_clk->ost->base + info->ostccr_reg);
169 val &= ~OSTCCR_PRESCALE2_MASK;
170 val |= FIELD_PREP(OSTCCR_PRESCALE2_MASK, prescale);
171 writel(val, ost_clk->ost->base + info->ostccr_reg);
275 int val, err;
287 val = readl(ost->base + info->ostccr_reg);
288 val &= ~(OSTCCR_PRESCALE1_MASK | OSTCCR_PRESCALE2_MASK);
289 writel(val, ost->base + info->ostccr_reg);