Home
last modified time | relevance | path

Searched refs:clkout_hw (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/clk/
H A Dclk-tps68470.c29 container_of(clkd, struct tps68470_clkdata, clkout_hw)
70 struct clk_hw clkout_hw; member
215 tps68470_clkdata->clkout_hw.init = &tps68470_clk_initdata; in tps68470_clk_probe()
218 tps68470_clk_set_rate(&tps68470_clkdata->clkout_hw, clk_freqs[0].freq, 0); in tps68470_clk_probe()
220 ret = devm_clk_hw_register(&pdev->dev, &tps68470_clkdata->clkout_hw); in tps68470_clk_probe()
224 ret = devm_clk_hw_register_clkdev(&pdev->dev, &tps68470_clkdata->clkout_hw, in tps68470_clk_probe()
233 &tps68470_clkdata->clkout_hw, in tps68470_clk_probe()
H A Dclk-wm831x.c21 struct clk_hw clkout_hw; member
236 clkout_hw); in wm831x_clkout_is_prepared()
253 clkout_hw); in wm831x_clkout_prepare()
276 clkout_hw); in wm831x_clkout_unprepare()
302 clkout_hw); in wm831x_clkout_get_parent()
322 clkout_hw); in wm831x_clkout_set_parent()
378 clkdata->clkout_hw.init = &wm831x_clkout_init; in wm831x_clk_probe()
379 ret = devm_clk_hw_register(&pdev->dev, &clkdata->clkout_hw); in wm831x_clk_probe()
H A Dclk-versaclock3.c990 struct clk_hw **clkout_hw = data; in vc3_of_clk_get() local
997 return clkout_hw[idx]; in vc3_of_clk_get()
/linux/drivers/rtc/
H A Drtc-hym8563.c82 struct clk_hw clkout_hw; member
265 #define clkout_hw_to_hym8563(_hw) container_of(_hw, struct hym8563, clkout_hw)
393 hym8563->clkout_hw.init = &init; in hym8563_clkout_register_clk()
399 clk = clk_register(&client->dev, &hym8563->clkout_hw); in hym8563_clkout_register_clk()
H A Drtc-pcf8563.c83 struct clk_hw clkout_hw; member
309 #define clkout_hw_to_pcf8563(_hw) container_of(_hw, struct pcf8563, clkout_hw)
443 pcf8563->clkout_hw.init = &init; in pcf8563_clkout_register_clk()
449 clk = devm_clk_register(&pcf8563->rtc->dev, &pcf8563->clkout_hw); in pcf8563_clkout_register_clk()
H A Drtc-nct3018y.c48 struct clk_hw clkout_hw; member
346 #define clkout_hw_to_nct3018y(_hw) container_of(_hw, struct nct3018y, clkout_hw)
470 nct3018y->clkout_hw.init = &init; in nct3018y_clkout_register_clk()
476 clk = devm_clk_register(&client->dev, &nct3018y->clkout_hw); in nct3018y_clkout_register_clk()
H A Drtc-pcf85063.c76 struct clk_hw clkout_hw; member
381 #define clkout_hw_to_pcf85063(_hw) container_of(_hw, struct pcf85063, clkout_hw)
521 pcf85063->clkout_hw.init = &init; in pcf85063_clkout_register_clk()
527 clk = devm_clk_register(&pcf85063->rtc->dev, &pcf85063->clkout_hw); in pcf85063_clkout_register_clk()
H A Drtc-rv3028.c100 struct clk_hw clkout_hw; member
709 #define clkout_hw_to_rv3028(hw) container_of(hw, struct rv3028_data, clkout_hw)
832 rv3028->clkout_hw.init = &init; in rv3028_clkout_register_clk()
838 clk = devm_clk_register(&client->dev, &rv3028->clkout_hw); in rv3028_clkout_register_clk()
H A Drtc-rv3032.c110 struct clk_hw clkout_hw; member
613 #define clkout_hw_to_rv3032(hw) container_of(hw, struct rv3032_data, clkout_hw)
775 rv3032->clkout_hw.init = &init; in rv3032_clkout_register_clk()
779 clk = devm_clk_register(&client->dev, &rv3032->clkout_hw); in rv3032_clkout_register_clk()
/linux/drivers/iio/adc/
H A Dade9000.c1640 struct clk_hw *clkout_hw; in ade9000_setup_clkout() local
1655 clkout_hw = devm_clk_hw_register_divider(dev, "clkout", __clk_get_name(st->clkin), in ade9000_setup_clkout()
1657 if (IS_ERR(clkout_hw)) in ade9000_setup_clkout()
1658 return dev_err_probe(dev, PTR_ERR(clkout_hw), "Failed to register clkout"); in ade9000_setup_clkout()
1660 ret = devm_of_clk_add_hw_provider(dev, of_clk_hw_simple_get, clkout_hw); in ade9000_setup_clkout()