Lines Matching refs:pidx
488 unsigned int pidx = jh7110_sysclk_data[idx].parents[i]; in jh7110_syscrg_probe() local
490 if (pidx < JH7110_SYSCLK_END) in jh7110_syscrg_probe()
491 parents[i].hw = &priv->reg[pidx].hw; in jh7110_syscrg_probe()
492 else if (pidx == JH7110_SYSCLK_OSC) in jh7110_syscrg_probe()
494 else if (pidx == JH7110_SYSCLK_GMAC1_RMII_REFIN) in jh7110_syscrg_probe()
496 else if (pidx == JH7110_SYSCLK_GMAC1_RGMII_RXIN) in jh7110_syscrg_probe()
498 else if (pidx == JH7110_SYSCLK_I2STX_BCLK_EXT) in jh7110_syscrg_probe()
500 else if (pidx == JH7110_SYSCLK_I2STX_LRCK_EXT) in jh7110_syscrg_probe()
502 else if (pidx == JH7110_SYSCLK_I2SRX_BCLK_EXT) in jh7110_syscrg_probe()
504 else if (pidx == JH7110_SYSCLK_I2SRX_LRCK_EXT) in jh7110_syscrg_probe()
506 else if (pidx == JH7110_SYSCLK_TDM_EXT) in jh7110_syscrg_probe()
508 else if (pidx == JH7110_SYSCLK_MCLK_EXT) in jh7110_syscrg_probe()
510 else if (pidx == JH7110_SYSCLK_PLL0_OUT && !priv->pll[0]) in jh7110_syscrg_probe()
512 else if (pidx == JH7110_SYSCLK_PLL1_OUT && !priv->pll[1]) in jh7110_syscrg_probe()
514 else if (pidx == JH7110_SYSCLK_PLL2_OUT && !priv->pll[2]) in jh7110_syscrg_probe()
517 parents[i].hw = priv->pll[pidx - JH7110_SYSCLK_PLL0_OUT]; in jh7110_syscrg_probe()