Home
last modified time | relevance | path

Searched refs:nfreqs (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/media/platform/qcom/camss/
H A Dcamss-csiphy.c151 for (j = 0; j < clock->nfreqs; j++) in csiphy_set_clock_rates()
155 if (j == clock->nfreqs) { in csiphy_set_clock_rates()
164 j = clock->nfreqs - 1; in csiphy_set_clock_rates()
640 clock->nfreqs = 0; in msm_csiphy_subdev_init()
641 while (res->clock_rate[i][clock->nfreqs]) in msm_csiphy_subdev_init()
642 clock->nfreqs++; in msm_csiphy_subdev_init()
644 if (!clock->nfreqs) { in msm_csiphy_subdev_init()
650 clock->nfreqs, in msm_csiphy_subdev_init()
656 for (j = 0; j < clock->nfreqs; j++) in msm_csiphy_subdev_init()
H A Dcamss-csid.c114 for (j = 0; j < clock->nfreqs; j++) in csid_set_clock_rates()
118 if (j == clock->nfreqs) { in csid_set_clock_rates()
127 j = clock->nfreqs - 1; in csid_set_clock_rates()
141 } else if (clock->nfreqs) { in csid_set_clock_rates()
646 clock->nfreqs = 0; in msm_csid_subdev_init()
647 while (res->clock_rate[i][clock->nfreqs]) in msm_csid_subdev_init()
648 clock->nfreqs++; in msm_csid_subdev_init()
650 if (!clock->nfreqs) { in msm_csid_subdev_init()
656 clock->nfreqs, in msm_csid_subdev_init()
662 for (j = 0; j < clock->nfreqs; j++) in msm_csid_subdev_init()
H A Dcamss-vfe.c481 for (j = 0; j < clock->nfreqs; j++) in vfe_set_clock_rates()
485 if (j == clock->nfreqs) { in vfe_set_clock_rates()
494 j = clock->nfreqs - 1; in vfe_set_clock_rates()
1354 clock->nfreqs = 0; in msm_vfe_subdev_init()
1355 while (res->clock_rate[i][clock->nfreqs]) in msm_vfe_subdev_init()
1356 clock->nfreqs++; in msm_vfe_subdev_init()
1358 if (!clock->nfreqs) { in msm_vfe_subdev_init()
1364 clock->nfreqs, in msm_vfe_subdev_init()
1370 for (j = 0; j < clock->nfreqs; j++) in msm_vfe_subdev_init()
H A Dcamss.h124 u32 nfreqs; member
H A Dcamss-ispif.c1197 clock->nfreqs = 0; in msm_ispif_subdev_init()
1219 clock->nfreqs = 0; in msm_ispif_subdev_init()
/openbmc/linux/drivers/mfd/
H A Ddb8500-prcmu.c1642 int nfreqs; in round_armss_rate() local
1647 nfreqs = ARRAY_SIZE(db8520_armss_freqs); in round_armss_rate()
1650 nfreqs = ARRAY_SIZE(db8500_armss_freqs); in round_armss_rate()
1654 for (i = 0; i < nfreqs; i++) { in round_armss_rate()
1801 int nfreqs; in set_armss_rate() local
1806 nfreqs = ARRAY_SIZE(db8520_armss_freqs); in set_armss_rate()
1809 nfreqs = ARRAY_SIZE(db8500_armss_freqs); in set_armss_rate()
1813 for (i = 0; i < nfreqs; i++) { in set_armss_rate()
/openbmc/linux/drivers/net/wireless/ath/carl9170/
H A Dphy.c1055 static int carl9170_find_freq_idx(int nfreqs, u8 *freqs, u8 f) in carl9170_find_freq_idx() argument
1057 int idx = nfreqs - 2; in carl9170_find_freq_idx()