Lines Matching full:clkout

63 	struct si5351_hw_data	*clkout;  member
805 * Si5351 clkout divider
932 __func__, clk_hw_get_name(&drvdata->clkout[num].hw), in _si5351_clkout_reset_pll()
950 if (pdata->clkout[hwdata->num].pll_reset) in si5351_clkout_prepare()
1055 /* clkout freqency is 8kHz - 160MHz */ in si5351_clkout_determine_rate()
1137 /* powerup clkout */ in si5351_clkout_set_rate()
1275 /* per clkout properties */ in si5351_dt_parse()
1285 dev_err(&client->dev, "invalid clkout %d\n", num); in si5351_dt_parse()
1293 pdata->clkout[num].multisynth_src = in si5351_dt_parse()
1297 pdata->clkout[num].multisynth_src = in si5351_dt_parse()
1311 pdata->clkout[num].clkout_src = in si5351_dt_parse()
1315 pdata->clkout[num].clkout_src = in si5351_dt_parse()
1319 pdata->clkout[num].clkout_src = in si5351_dt_parse()
1325 "invalid parent %d for clkout %d\n", in si5351_dt_parse()
1329 pdata->clkout[num].clkout_src = in si5351_dt_parse()
1334 "invalid parent %d for clkout %d\n", in si5351_dt_parse()
1347 pdata->clkout[num].drive = val; in si5351_dt_parse()
1351 "invalid drive strength %d for clkout %d\n", in si5351_dt_parse()
1361 pdata->clkout[num].disable_state = in si5351_dt_parse()
1365 pdata->clkout[num].disable_state = in si5351_dt_parse()
1369 pdata->clkout[num].disable_state = in si5351_dt_parse()
1373 pdata->clkout[num].disable_state = in si5351_dt_parse()
1378 "invalid disable state %d for clkout %d\n", in si5351_dt_parse()
1385 pdata->clkout[num].rate = val; in si5351_dt_parse()
1387 pdata->clkout[num].pll_master = in si5351_dt_parse()
1390 pdata->clkout[num].pll_reset = in si5351_dt_parse()
1412 return &drvdata->clkout[idx].hw; in si53351_of_clk_get()
1505 pdata->clkout[n].multisynth_src); in si5351_i2c_probe()
1509 n, pdata->clkout[n].multisynth_src); in si5351_i2c_probe()
1514 pdata->clkout[n].clkout_src); in si5351_i2c_probe()
1517 "failed to reparent clkout %d to %d\n", in si5351_i2c_probe()
1518 n, pdata->clkout[n].clkout_src); in si5351_i2c_probe()
1523 pdata->clkout[n].drive); in si5351_i2c_probe()
1526 "failed set drive strength of clkout%d to %d\n", in si5351_i2c_probe()
1527 n, pdata->clkout[n].drive); in si5351_i2c_probe()
1532 pdata->clkout[n].disable_state); in si5351_i2c_probe()
1535 "failed set disable state of clkout%d to %d\n", in si5351_i2c_probe()
1536 n, pdata->clkout[n].disable_state); in si5351_i2c_probe()
1632 drvdata->clkout = devm_kcalloc(&client->dev, num_clocks, in si5351_i2c_probe()
1633 sizeof(*drvdata->clkout), GFP_KERNEL); in si5351_i2c_probe()
1636 if (WARN_ON(!drvdata->msynth || !drvdata->clkout)) { in si5351_i2c_probe()
1649 if (pdata->clkout[n].pll_master) in si5351_i2c_probe()
1670 drvdata->clkout[n].num = n; in si5351_i2c_probe()
1671 drvdata->clkout[n].drvdata = drvdata; in si5351_i2c_probe()
1672 drvdata->clkout[n].hw.init = &init; in si5351_i2c_probe()
1677 if (pdata->clkout[n].clkout_src == SI5351_CLKOUT_SRC_MSYNTH_N) in si5351_i2c_probe()
1682 &drvdata->clkout[n].hw); in si5351_i2c_probe()
1689 /* set initial clkout rate */ in si5351_i2c_probe()
1690 if (pdata->clkout[n].rate != 0) { in si5351_i2c_probe()
1692 ret = clk_set_rate(drvdata->clkout[n].hw.clk, in si5351_i2c_probe()
1693 pdata->clkout[n].rate); in si5351_i2c_probe()