Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/platform/qcom/camss/
Dcamss-csiphy.c113 for (i = 0; i < csiphy->nclocks; i++) { in csiphy_set_clock_rates()
188 ret = camss_enable_clocks(csiphy->nclocks, csiphy->clock, dev); in csiphy_set_power()
202 camss_disable_clocks(csiphy->nclocks, csiphy->clock); in csiphy_set_power()
603 csiphy->nclocks = 0; in msm_csiphy_subdev_init()
604 while (res->clock[csiphy->nclocks]) in msm_csiphy_subdev_init()
605 csiphy->nclocks++; in msm_csiphy_subdev_init()
608 csiphy->nclocks, sizeof(*csiphy->clock), in msm_csiphy_subdev_init()
613 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()
581 ret = camss_enable_clocks(csid->nclocks, csid->clock, dev); in csid_set_power()
593 camss_disable_clocks(csid->nclocks, csid->clock); in csid_set_power()
603 camss_disable_clocks(csid->nclocks, csid->clock); in csid_set_power()
1139 csid->nclocks = 0; in msm_csid_subdev_init()
1140 while (res->clock[csid->nclocks]) in msm_csid_subdev_init()
1141 csid->nclocks++; in msm_csid_subdev_init()
1143 csid->clock = devm_kcalloc(dev, csid->nclocks, sizeof(*csid->clock), in msm_csid_subdev_init()
1148 for (i = 0; i < csid->nclocks; i++) { in msm_csid_subdev_init()
Dcamss-ispif.c350 ret = camss_enable_clocks(ispif->nclocks, ispif->clock, dev); in ispif_set_power()
359 camss_disable_clocks(ispif->nclocks, ispif->clock); in ispif_set_power()
372 camss_disable_clocks(ispif->nclocks, ispif->clock); in ispif_set_power()
1145 ispif->nclocks = 0; in msm_ispif_subdev_init()
1146 while (res->clock[ispif->nclocks]) in msm_ispif_subdev_init()
1147 ispif->nclocks++; in msm_ispif_subdev_init()
1150 ispif->nclocks, sizeof(*ispif->clock), in msm_ispif_subdev_init()
1155 for (i = 0; i < ispif->nclocks; i++) { in msm_ispif_subdev_init()
Dcamss-csid.h53 int nclocks; member
Dcamss-ispif.h56 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()
1324 camss_disable_clocks(vfe->nclocks, vfe->clock); in vfe_put()
2033 vfe->nclocks = 0; in msm_vfe_subdev_init()
2034 while (res->clock[vfe->nclocks]) in msm_vfe_subdev_init()
2035 vfe->nclocks++; in msm_vfe_subdev_init()
2037 vfe->clock = devm_kcalloc(dev, vfe->nclocks, sizeof(*vfe->clock), in msm_vfe_subdev_init()
2042 for (i = 0; i < vfe->nclocks; i++) { in msm_vfe_subdev_init()
Dcamss-vfe.h152 int nclocks; member
/Linux-v5.4/drivers/staging/board/
Dboard.h19 unsigned int nclocks; member
Darmadillo800eva.c84 .nclocks = ARRAY_SIZE(lcdc0_clocks),
Dboard.c176 for (i = 0; i < dev->nclocks; i++) in board_staging_register_device()
/Linux-v5.4/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()
/Linux-v5.4/drivers/clk/rockchip/
Dclk.c593 int nclocks) in rockchip_clk_protect_critical() argument
598 for (i = 0; i < nclocks; i++) { in rockchip_clk_protect_critical()
Dclk.h849 void rockchip_clk_protect_critical(const char *const clocks[], int nclocks);