/linux-5.19.10/drivers/mmc/core/ |
D | pwrseq_simple.c | 30 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/ |
D | artpec6.txt | 29 ext_clk: ext_clk { 39 clocks = <&ext_clk>;
|
/linux-5.19.10/drivers/bluetooth/ |
D | hci_ll.c | 69 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/ |
D | adis16480.c | 170 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/ |
D | ccs-quirk.c | 155 switch (sensor->hwcfg.ext_clk) { in jt8ev1_post_poweron() 161 sensor->hwcfg.ext_clk); in jt8ev1_post_poweron()
|
D | ccs-core.c | 1375 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 …]
|
D | ccs.h | 87 u32 ext_clk; /* sensor external clk */ member 227 struct clk *ext_clk; member
|
/linux-5.19.10/include/media/i2c/ |
D | mt9t001.h | 7 unsigned int ext_clk; member
|
/linux-5.19.10/drivers/video/fbdev/omap/ |
D | hwa742.c | 763 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/ |
D | et8ek8_driver.c | 46 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/ |
D | imx319.c | 109 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()
|
D | imx355.c | 95 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()
|
D | ov13b10.c | 1318 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()
|
D | mt9t001.c | 911 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/ |
D | artpec6.dtsi | 91 ext_clk: ext_clk { label 107 clocks = <&ext_clk>;
|
/linux-5.19.10/drivers/media/dvb-frontends/ |
D | stv0900_core.c | 271 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()
|