Home
last modified time | relevance | path

Searched refs:ext_clk (Results 1 – 16 of 16) sorted by relevance

/linux-5.19.10/drivers/mmc/core/
Dpwrseq_simple.c30 struct clk *ext_clk; member
65 if (!IS_ERR(pwrseq->ext_clk) && !pwrseq->clk_enabled) { in mmc_pwrseq_simple_pre_power_on()
66 clk_prepare_enable(pwrseq->ext_clk); in mmc_pwrseq_simple_pre_power_on()
93 if (!IS_ERR(pwrseq->ext_clk) && pwrseq->clk_enabled) { in mmc_pwrseq_simple_power_off()
94 clk_disable_unprepare(pwrseq->ext_clk); in mmc_pwrseq_simple_power_off()
120 pwrseq->ext_clk = devm_clk_get(dev, "ext_clock"); in mmc_pwrseq_simple_probe()
121 if (IS_ERR(pwrseq->ext_clk) && PTR_ERR(pwrseq->ext_clk) != -ENOENT) in mmc_pwrseq_simple_probe()
122 return PTR_ERR(pwrseq->ext_clk); in mmc_pwrseq_simple_probe()
/linux-5.19.10/Documentation/devicetree/bindings/clock/
Dartpec6.txt29 ext_clk: ext_clk {
39 clocks = <&ext_clk>;
/linux-5.19.10/drivers/bluetooth/
Dhci_ll.c69 struct clk *ext_clk; member
132 if (!IS_ERR(lldev->ext_clk)) in ll_open()
133 clk_prepare_enable(lldev->ext_clk); in ll_open()
169 clk_disable_unprepare(lldev->ext_clk); in ll_close()
706 lldev->ext_clk = devm_clk_get(&serdev->dev, "ext_clock"); in hci_ti_probe()
707 if (IS_ERR(lldev->ext_clk) && PTR_ERR(lldev->ext_clk) != -ENOENT) in hci_ti_probe()
708 return PTR_ERR(lldev->ext_clk); in hci_ti_probe()
/linux-5.19.10/drivers/iio/imu/
Dadis16480.c170 struct clk *ext_clk; member
1358 return clk_prepare_enable(st->ext_clk); in adis16480_ext_clk_config()
1365 st->ext_clk = devm_clk_get_optional(dev, "sync"); in adis16480_get_ext_clocks()
1366 if (IS_ERR(st->ext_clk)) in adis16480_get_ext_clocks()
1367 return dev_err_probe(dev, PTR_ERR(st->ext_clk), "failed to get ext clk\n"); in adis16480_get_ext_clocks()
1368 if (st->ext_clk) { in adis16480_get_ext_clocks()
1374 st->ext_clk = devm_clk_get_optional(dev, "pps"); in adis16480_get_ext_clocks()
1375 if (IS_ERR(st->ext_clk)) in adis16480_get_ext_clocks()
1376 return dev_err_probe(dev, PTR_ERR(st->ext_clk), "failed to get ext clk\n"); in adis16480_get_ext_clocks()
1377 if (st->ext_clk) { in adis16480_get_ext_clocks()
[all …]
/linux-5.19.10/drivers/media/i2c/ccs/
Dccs-quirk.c155 switch (sensor->hwcfg.ext_clk) { in jt8ev1_post_poweron()
161 sensor->hwcfg.ext_clk); in jt8ev1_post_poweron()
Dccs-core.c1375 unsigned int ext_freq = sensor->hwcfg.ext_clk; in ccs_setup_flash_strobe()
1555 if (sensor->reset || sensor->xshutdown || sensor->ext_clk) { in ccs_power_on()
1558 rval = clk_prepare_enable(sensor->ext_clk); in ccs_power_on()
1568 sleep = SMIAPP_RESET_DELAY(sensor->hwcfg.ext_clk); in ccs_power_on()
1628 sensor->hwcfg.ext_clk / (1000000 / (1 << 8))); in ccs_power_on()
1673 clk_disable_unprepare(sensor->ext_clk); in ccs_power_on()
1701 clk_disable_unprepare(sensor->ext_clk); in ccs_power_off()
3244 &hwcfg->ext_clk); in ccs_get_hwconfig()
3248 dev_dbg(dev, "clk %u, mode %u\n", hwcfg->ext_clk, in ccs_get_hwconfig()
3320 sensor->ext_clk = devm_clk_get(&client->dev, NULL); in ccs_probe()
[all …]
Dccs.h87 u32 ext_clk; /* sensor external clk */ member
227 struct clk *ext_clk; member
/linux-5.19.10/include/media/i2c/
Dmt9t001.h7 unsigned int ext_clk; member
/linux-5.19.10/drivers/video/fbdev/omap/
Dhwa742.c763 static void calc_hwa742_clk_rates(unsigned long ext_clk, in calc_hwa742_clk_rates() argument
776 *sys_clk = ext_clk * sys_mul / sys_div; in calc_hwa742_clk_rates()
778 *sys_clk = ext_clk; in calc_hwa742_clk_rates()
783 ext_clk, pix_clk_src & (0x3 << 1), pix_div, sys_div, sys_mul); in calc_hwa742_clk_rates()
940 unsigned long ext_clk; in hwa742_init() local
963 ext_clk = clk_get_rate(hwa742.sys_ck); in hwa742_init()
964 if ((r = calc_extif_timings(ext_clk, &extif_mem_div)) < 0) in hwa742_init()
969 calc_hwa742_clk_rates(ext_clk, &sys_clk, &pix_clk); in hwa742_init()
/linux-5.19.10/drivers/media/i2c/et8ek8/
Det8ek8_driver.c46 struct clk *ext_clk; member
810 clk_disable_unprepare(sensor->ext_clk); in et8ek8_power_off()
833 rval = clk_set_rate(sensor->ext_clk, xclk_freq); in et8ek8_power_on()
839 rval = clk_prepare_enable(sensor->ext_clk); in et8ek8_power_on()
1421 sensor->ext_clk = devm_clk_get(dev, NULL); in et8ek8_probe()
1422 if (IS_ERR(sensor->ext_clk)) { in et8ek8_probe()
1424 return PTR_ERR(sensor->ext_clk); in et8ek8_probe()
/linux-5.19.10/drivers/media/i2c/
Dimx319.c109 u32 ext_clk; /* sensor external clk */ member
2390 &cfg->ext_clk); in imx319_get_hwcfg()
2396 dev_dbg(dev, "ext clk: %d", cfg->ext_clk); in imx319_get_hwcfg()
2397 if (cfg->ext_clk != IMX319_EXT_CLK) { in imx319_get_hwcfg()
2399 cfg->ext_clk); in imx319_get_hwcfg()
Dimx355.c95 u32 ext_clk; /* sensor external clk */ member
1679 &cfg->ext_clk); in imx355_get_hwcfg()
1685 dev_dbg(dev, "ext clk: %d", cfg->ext_clk); in imx355_get_hwcfg()
1686 if (cfg->ext_clk != IMX355_EXT_CLK) { in imx355_get_hwcfg()
1688 cfg->ext_clk); in imx355_get_hwcfg()
Dov13b10.c1318 u32 ext_clk; in ov13b10_check_hwcfg() local
1324 &ext_clk); in ov13b10_check_hwcfg()
1330 if (ext_clk != OV13B10_EXT_CLK) { in ov13b10_check_hwcfg()
1332 ext_clk); in ov13b10_check_hwcfg()
Dmt9t001.c911 V4L2_CID_PIXEL_RATE, pdata->ext_clk, pdata->ext_clk, in mt9t001_probe()
912 1, pdata->ext_clk); in mt9t001_probe()
/linux-5.19.10/arch/arm/boot/dts/
Dartpec6.dtsi91 ext_clk: ext_clk { label
107 clocks = <&ext_clk>;
/linux-5.19.10/drivers/media/dvb-frontends/
Dstv0900_core.c271 static u32 stv0900_get_mclk_freq(struct stv0900_internal *intp, u32 ext_clk) in stv0900_get_mclk_freq() argument
278 mclk = (div + 1) * ext_clk / ad_div; in stv0900_get_mclk_freq()