/Linux-v5.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-v5.10/Documentation/devicetree/bindings/clock/ |
D | artpec6.txt | 29 ext_clk: ext_clk { 39 clocks = <&ext_clk>;
|
/Linux-v5.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() 705 lldev->ext_clk = devm_clk_get(&serdev->dev, "ext_clock"); in hci_ti_probe() 706 if (IS_ERR(lldev->ext_clk) && PTR_ERR(lldev->ext_clk) != -ENOENT) in hci_ti_probe() 707 return PTR_ERR(lldev->ext_clk); in hci_ti_probe()
|
/Linux-v5.10/drivers/iio/imu/ |
D | adis16480.c | 161 struct clk *ext_clk; member 1182 return clk_prepare_enable(st->ext_clk); in adis16480_ext_clk_config() 1188 st->ext_clk = devm_clk_get(&st->adis.spi->dev, "sync"); in adis16480_get_ext_clocks() 1189 if (!IS_ERR_OR_NULL(st->ext_clk)) { in adis16480_get_ext_clocks() 1194 if (PTR_ERR(st->ext_clk) != -ENOENT) { in adis16480_get_ext_clocks() 1196 return PTR_ERR(st->ext_clk); in adis16480_get_ext_clocks() 1200 st->ext_clk = devm_clk_get(&st->adis.spi->dev, "pps"); in adis16480_get_ext_clocks() 1201 if (!IS_ERR_OR_NULL(st->ext_clk)) { in adis16480_get_ext_clocks() 1206 if (PTR_ERR(st->ext_clk) != -ENOENT) { in adis16480_get_ext_clocks() 1208 return PTR_ERR(st->ext_clk); in adis16480_get_ext_clocks() [all …]
|
/Linux-v5.10/drivers/media/i2c/smiapp/ |
D | smiapp-core.c | 1059 unsigned int ext_freq = sensor->hwcfg->ext_clk; in smiapp_setup_flash_strobe() 1207 rval = clk_prepare_enable(sensor->ext_clk); in smiapp_power_on() 1216 sleep = SMIAPP_RESET_DELAY(sensor->hwcfg->ext_clk); in smiapp_power_on() 1262 sensor->hwcfg->ext_clk / (1000000 / (1 << 8))); in smiapp_power_on() 1305 clk_disable_unprepare(sensor->ext_clk); in smiapp_power_on() 1334 clk_disable_unprepare(sensor->ext_clk); in smiapp_power_off() 2808 &hwcfg->ext_clk); in smiapp_get_hwconfig() 2812 dev_dbg(dev, "clk %d, mode %d\n", hwcfg->ext_clk, in smiapp_get_hwconfig() 2867 sensor->ext_clk = devm_clk_get(&client->dev, NULL); in smiapp_probe() 2868 if (PTR_ERR(sensor->ext_clk) == -ENOENT) { in smiapp_probe() [all …]
|
D | smiapp-quirk.c | 171 switch (sensor->hwcfg->ext_clk) { in jt8ev1_post_poweron() 177 sensor->hwcfg->ext_clk); in jt8ev1_post_poweron()
|
D | smiapp.h | 76 uint32_t ext_clk; /* sensor external clk */ member 224 struct clk *ext_clk; member
|
/Linux-v5.10/include/media/i2c/ |
D | mt9t001.h | 7 unsigned int ext_clk; member
|
/Linux-v5.10/drivers/video/fbdev/omap/ |
D | hwa742.c | 749 static void calc_hwa742_clk_rates(unsigned long ext_clk, in calc_hwa742_clk_rates() argument 762 *sys_clk = ext_clk * sys_mul / sys_div; in calc_hwa742_clk_rates() 764 *sys_clk = ext_clk; in calc_hwa742_clk_rates() 769 ext_clk, pix_clk_src & (0x3 << 1), pix_div, sys_div, sys_mul); in calc_hwa742_clk_rates() 926 unsigned long ext_clk; in hwa742_init() local 949 ext_clk = clk_get_rate(hwa742.sys_ck); in hwa742_init() 950 if ((r = calc_extif_timings(ext_clk, &extif_mem_div)) < 0) in hwa742_init() 955 calc_hwa742_clk_rates(ext_clk, &sys_clk, &pix_clk); in hwa742_init()
|
/Linux-v5.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-v5.10/drivers/media/i2c/ |
D | imx319.c | 109 u32 ext_clk; /* sensor external clk */ member 2383 &cfg->ext_clk); in imx319_get_hwcfg() 2389 dev_dbg(dev, "ext clk: %d", cfg->ext_clk); in imx319_get_hwcfg() 2390 if (cfg->ext_clk != IMX319_EXT_CLK) { in imx319_get_hwcfg() 2392 cfg->ext_clk); in imx319_get_hwcfg()
|
D | imx355.c | 95 u32 ext_clk; /* sensor external clk */ member 1683 &cfg->ext_clk); in imx355_get_hwcfg() 1689 dev_dbg(dev, "ext clk: %d", cfg->ext_clk); in imx355_get_hwcfg() 1690 if (cfg->ext_clk != IMX355_EXT_CLK) { in imx355_get_hwcfg() 1692 cfg->ext_clk); in imx355_get_hwcfg()
|
D | mt9t001.c | 903 V4L2_CID_PIXEL_RATE, pdata->ext_clk, pdata->ext_clk, in mt9t001_probe() 904 1, pdata->ext_clk); in mt9t001_probe()
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | artpec6.dtsi | 91 ext_clk: ext_clk { label 107 clocks = <&ext_clk>;
|
/Linux-v5.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()
|