Searched refs:nfreqs (Results 1 – 7 of 7) sorted by relevance
161 for (j = 0; j < clock->nfreqs; j++) in csiphy_set_clock_rates()165 if (j == clock->nfreqs) { in csiphy_set_clock_rates()174 j = clock->nfreqs - 1; in csiphy_set_clock_rates()641 clock->nfreqs = 0; in msm_csiphy_subdev_init()642 while (res->clock_rate[i][clock->nfreqs]) in msm_csiphy_subdev_init()643 clock->nfreqs++; in msm_csiphy_subdev_init()645 if (!clock->nfreqs) { in msm_csiphy_subdev_init()651 clock->nfreqs, in msm_csiphy_subdev_init()657 for (j = 0; j < clock->nfreqs; j++) in msm_csiphy_subdev_init()
558 for (j = 0; j < clock->nfreqs; j++) in csid_set_clock_rates()562 if (j == clock->nfreqs) { in csid_set_clock_rates()571 j = clock->nfreqs - 1; in csid_set_clock_rates()585 } else if (clock->nfreqs) { in csid_set_clock_rates()1086 clock->nfreqs = 0; in msm_csid_subdev_init()1087 while (res->clock_rate[i][clock->nfreqs]) in msm_csid_subdev_init()1088 clock->nfreqs++; in msm_csid_subdev_init()1090 if (!clock->nfreqs) { in msm_csid_subdev_init()1096 clock->nfreqs, in msm_csid_subdev_init()1102 for (j = 0; j < clock->nfreqs; j++) in msm_csid_subdev_init()
687 for (j = 0; j < clock->nfreqs; j++) in vfe_set_clock_rates()691 if (j == clock->nfreqs) { in vfe_set_clock_rates()700 j = clock->nfreqs - 1; in vfe_set_clock_rates()1569 clock->nfreqs = 0; in msm_vfe_subdev_init()1570 while (res->clock_rate[i][clock->nfreqs]) in msm_vfe_subdev_init()1571 clock->nfreqs++; in msm_vfe_subdev_init()1573 if (!clock->nfreqs) { in msm_vfe_subdev_init()1579 clock->nfreqs, in msm_vfe_subdev_init()1585 for (j = 0; j < clock->nfreqs; j++) in msm_vfe_subdev_init()
135 u32 nfreqs; member
1196 clock->nfreqs = 0; in msm_ispif_subdev_init()1218 clock->nfreqs = 0; in msm_ispif_subdev_init()
1642 int nfreqs; in round_armss_rate() local1647 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() local1806 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()
1055 static int carl9170_find_freq_idx(int nfreqs, u8 *freqs, u8 f) in carl9170_find_freq_idx() argument1057 int idx = nfreqs - 2; in carl9170_find_freq_idx()