Lines Matching defs:index
207 u8 index;
217 if (ch->index == 7)
221 reg &= VCO_POWERUP_CH1 << ch->index;
232 reg |= VCO_POWERUP_CH1 << ch->index;
244 reg &= ~(VCO_POWERUP_CH1 << ch->index);
259 if ((reg & (VCO_DPLL_CH1_ENABLE << ch->index)) == 0)
267 reg = readl_relaxed(ch->base + VCO_SYNC1n(ch->index));
269 if (ch->flags & BERLIN2_AVPLL_BIT_QUIRK && ch->index == 0)
273 reg = readl_relaxed(ch->base + VCO_SYNC2n(ch->index));
277 if (ch->index == 7)
285 reg = (reg >> (ch->index * 3));
293 if (ch->index == 0) {
298 reg >>= (ch->index-1) * 3;
307 if (ch->index < 2) {
309 reg >>= 18 + (ch->index * 7);
310 } else if (ch->index < 7) {
312 reg >>= (ch->index - 2) * 7;
325 if (ch->index < 6) {
327 reg >>= 7 + (ch->index * 4);
352 * and a translation table for the index.
357 const char *name, u8 index, const char *parent_name,
369 ch->index = quirk_index[index];
371 ch->index = index;