Home
last modified time | relevance | path

Searched refs:nclocks (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/
Dcamss-csiphy.c113 for (i = 0; i < csiphy->nclocks; i++) { in csiphy_set_clock_rates()
190 ret = camss_enable_clocks(csiphy->nclocks, csiphy->clock, dev); in csiphy_set_power()
204 camss_disable_clocks(csiphy->nclocks, csiphy->clock); in csiphy_set_power()
605 csiphy->nclocks = 0; in msm_csiphy_subdev_init()
606 while (res->clock[csiphy->nclocks]) in msm_csiphy_subdev_init()
607 csiphy->nclocks++; in msm_csiphy_subdev_init()
610 csiphy->nclocks, sizeof(*csiphy->clock), in msm_csiphy_subdev_init()
615 for (i = 0; i < csiphy->nclocks; i++) { in msm_csiphy_subdev_init()
Dcamss.h106 int camss_enable_clocks(int nclocks, struct camss_clock *clock,
108 void camss_disable_clocks(int nclocks, struct camss_clock *clock);
Dcamss-csid.c472 for (i = 0; i < csid->nclocks; i++) { in csid_set_clock_rates()
583 ret = camss_enable_clocks(csid->nclocks, csid->clock, dev); in csid_set_power()
595 camss_disable_clocks(csid->nclocks, csid->clock); in csid_set_power()
605 camss_disable_clocks(csid->nclocks, csid->clock); in csid_set_power()
1141 csid->nclocks = 0; in msm_csid_subdev_init()
1142 while (res->clock[csid->nclocks]) in msm_csid_subdev_init()
1143 csid->nclocks++; in msm_csid_subdev_init()
1145 csid->clock = devm_kcalloc(dev, csid->nclocks, sizeof(*csid->clock), in msm_csid_subdev_init()
1150 for (i = 0; i < csid->nclocks; i++) { in msm_csid_subdev_init()
Dcamss-ispif.c352 ret = camss_enable_clocks(ispif->nclocks, ispif->clock, dev); in ispif_set_power()
361 camss_disable_clocks(ispif->nclocks, ispif->clock); in ispif_set_power()
374 camss_disable_clocks(ispif->nclocks, ispif->clock); in ispif_set_power()
1147 ispif->nclocks = 0; in msm_ispif_subdev_init()
1148 while (res->clock[ispif->nclocks]) in msm_ispif_subdev_init()
1149 ispif->nclocks++; in msm_ispif_subdev_init()
1152 ispif->nclocks, sizeof(*ispif->clock), in msm_ispif_subdev_init()
1157 for (i = 0; i < ispif->nclocks; i++) { in msm_ispif_subdev_init()
Dcamss-ispif.h56 int nclocks; member
Dcamss-csid.h53 int nclocks; member
Dcamss-csiphy.h69 int nclocks; member
Dcamss.c307 int camss_enable_clocks(int nclocks, struct camss_clock *clock, in camss_enable_clocks() argument
313 for (i = 0; i < nclocks; i++) { in camss_enable_clocks()
335 void camss_disable_clocks(int nclocks, struct camss_clock *clock) in camss_disable_clocks() argument
339 for (i = nclocks - 1; i >= 0; i--) in camss_disable_clocks()
Dcamss-vfe.c1125 for (i = 0; i < vfe->nclocks; i++) { in vfe_set_clock_rates()
1207 for (i = 0; i < vfe->nclocks; i++) { in vfe_check_clock_rates()
1270 ret = camss_enable_clocks(vfe->nclocks, vfe->clock, in vfe_get()
1294 camss_disable_clocks(vfe->nclocks, vfe->clock); in vfe_get()
1322 camss_disable_clocks(vfe->nclocks, vfe->clock); in vfe_put()
2031 vfe->nclocks = 0; in msm_vfe_subdev_init()
2032 while (res->clock[vfe->nclocks]) in msm_vfe_subdev_init()
2033 vfe->nclocks++; in msm_vfe_subdev_init()
2035 vfe->clock = devm_kcalloc(dev, vfe->nclocks, sizeof(*vfe->clock), in msm_vfe_subdev_init()
2040 for (i = 0; i < vfe->nclocks; i++) { in msm_vfe_subdev_init()
Dcamss-vfe.h152 int nclocks; member
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-tegra.c272 unsigned int nclocks; member
1649 i2c_dev->clocks[i2c_dev->nclocks++].id = "div-clk"; in tegra_i2c_init_clocks()
1652 i2c_dev->clocks[i2c_dev->nclocks++].id = "fast-clk"; in tegra_i2c_init_clocks()
1655 i2c_dev->clocks[i2c_dev->nclocks++].id = "slow"; in tegra_i2c_init_clocks()
1657 err = devm_clk_bulk_get(i2c_dev->dev, i2c_dev->nclocks, in tegra_i2c_init_clocks()
1662 err = clk_bulk_prepare(i2c_dev->nclocks, i2c_dev->clocks); in tegra_i2c_init_clocks()
1680 clk_bulk_unprepare(i2c_dev->nclocks, i2c_dev->clocks); in tegra_i2c_init_clocks()
1690 clk_bulk_unprepare(i2c_dev->nclocks, i2c_dev->clocks); in tegra_i2c_release_clocks()
1838 err = clk_bulk_enable(i2c_dev->nclocks, i2c_dev->clocks); in tegra_i2c_runtime_resume()
1856 clk_bulk_disable(i2c_dev->nclocks, i2c_dev->clocks); in tegra_i2c_runtime_resume()
[all …]
Di2c-qcom-cci.c133 int nclocks; member
472 return clk_bulk_prepare_enable(cci->nclocks, cci->clocks); in cci_enable_clocks()
477 clk_bulk_disable_unprepare(cci->nclocks, cci->clocks); in cci_disable_clocks()
595 cci->nclocks = ret; in cci_probe()
598 for (i = 0; i < cci->nclocks; i++) { in cci_probe()
/kernel/linux/linux-5.10/drivers/staging/board/
Dboard.h19 unsigned int nclocks; member
Darmadillo800eva.c76 .nclocks = ARRAY_SIZE(lcdc0_clocks),
Dboard.c181 for (i = 0; i < dev->nclocks; i++) in board_staging_register_device()
/kernel/linux/linux-5.10/drivers/clk/zynqmp/
Dclkc.c201 static int zynqmp_pm_clock_get_num_clocks(u32 *nclocks) in zynqmp_pm_clock_get_num_clocks() argument
210 *nclocks = ret_payload[1]; in zynqmp_pm_clock_get_num_clocks()
/kernel/linux/linux-5.10/drivers/clk/rockchip/
Dclk.c598 int nclocks) in rockchip_clk_protect_critical() argument
603 for (i = 0; i < nclocks; i++) { in rockchip_clk_protect_critical()
Dclk.h849 void rockchip_clk_protect_critical(const char *const clocks[], int nclocks);
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch3459 - int nclocks)
3464 - for (i = 0; i < nclocks; i++) {
4010 -void rockchip_clk_protect_critical(const char *const clocks[], int nclocks);