Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/platform/qcom/camss/
Dcamss-csiphy.c128 for (j = 0; j < clock->nfreqs; j++) in csiphy_set_clock_rates()
132 if (j == clock->nfreqs) { in csiphy_set_clock_rates()
141 j = clock->nfreqs - 1; in csiphy_set_clock_rates()
622 clock->nfreqs = 0; in msm_csiphy_subdev_init()
623 while (res->clock_rate[i][clock->nfreqs]) in msm_csiphy_subdev_init()
624 clock->nfreqs++; in msm_csiphy_subdev_init()
626 if (!clock->nfreqs) { in msm_csiphy_subdev_init()
632 clock->nfreqs, in msm_csiphy_subdev_init()
638 for (j = 0; j < clock->nfreqs; j++) in msm_csiphy_subdev_init()
Dcamss-csid.c490 for (j = 0; j < clock->nfreqs; j++) in csid_set_clock_rates()
494 if (j == clock->nfreqs) { in csid_set_clock_rates()
503 j = clock->nfreqs - 1; in csid_set_clock_rates()
1157 clock->nfreqs = 0; in msm_csid_subdev_init()
1158 while (res->clock_rate[i][clock->nfreqs]) in msm_csid_subdev_init()
1159 clock->nfreqs++; in msm_csid_subdev_init()
1161 if (!clock->nfreqs) { in msm_csid_subdev_init()
1167 clock->nfreqs, in msm_csid_subdev_init()
1173 for (j = 0; j < clock->nfreqs; j++) in msm_csid_subdev_init()
Dcamss.h102 u32 nfreqs; member
Dcamss-vfe.c1154 for (j = 0; j < clock->nfreqs; j++) in vfe_set_clock_rates()
1158 if (j == clock->nfreqs) { in vfe_set_clock_rates()
1167 j = clock->nfreqs - 1; in vfe_set_clock_rates()
2051 clock->nfreqs = 0; in msm_vfe_subdev_init()
2052 while (res->clock_rate[i][clock->nfreqs]) in msm_vfe_subdev_init()
2053 clock->nfreqs++; in msm_vfe_subdev_init()
2055 if (!clock->nfreqs) { in msm_vfe_subdev_init()
2061 clock->nfreqs, in msm_vfe_subdev_init()
2067 for (j = 0; j < clock->nfreqs; j++) in msm_vfe_subdev_init()
Dcamss-ispif.c1163 clock->nfreqs = 0; in msm_ispif_subdev_init()
1185 clock->nfreqs = 0; in msm_ispif_subdev_init()
/Linux-v5.4/drivers/mfd/
Ddb8500-prcmu.c1718 int nfreqs; in round_armss_rate() local
1723 nfreqs = ARRAY_SIZE(db8520_armss_freqs); in round_armss_rate()
1726 nfreqs = ARRAY_SIZE(db8500_armss_freqs); in round_armss_rate()
1730 for (i = 0; i < nfreqs; i++) { in round_armss_rate()
1877 int nfreqs; in set_armss_rate() local
1882 nfreqs = ARRAY_SIZE(db8520_armss_freqs); in set_armss_rate()
1885 nfreqs = ARRAY_SIZE(db8500_armss_freqs); in set_armss_rate()
1889 for (i = 0; i < nfreqs; i++) { in set_armss_rate()
/Linux-v5.4/drivers/net/wireless/ath/carl9170/
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()