Lines Matching refs:ARRAY_SIZE
62 #define RT5640_INIT_REG_LEN ARRAY_SIZE(init_list)
179 for (i = 0; i < ARRAY_SIZE(rt5640_ranges); i++) in rt5640_volatile_register()
214 for (i = 0; i < ARRAY_SIZE(rt5640_ranges); i++) in rt5640_readable_register()
1092 rt5640_rec_l_mix, ARRAY_SIZE(rt5640_rec_l_mix)),
1094 rt5640_rec_r_mix, ARRAY_SIZE(rt5640_rec_r_mix)),
1121 rt5640_sto_adc_l_mix, ARRAY_SIZE(rt5640_sto_adc_l_mix)),
1123 rt5640_sto_adc_r_mix, ARRAY_SIZE(rt5640_sto_adc_r_mix)),
1127 rt5640_mono_adc_l_mix, ARRAY_SIZE(rt5640_mono_adc_l_mix)),
1131 rt5640_mono_adc_r_mix, ARRAY_SIZE(rt5640_mono_adc_r_mix)),
1170 rt5640_dac_l_mix, ARRAY_SIZE(rt5640_dac_l_mix)),
1172 rt5640_dac_r_mix, ARRAY_SIZE(rt5640_dac_r_mix)),
1176 rt5640_mono_dac_l_mix, ARRAY_SIZE(rt5640_mono_dac_l_mix)),
1178 rt5640_mono_dac_r_mix, ARRAY_SIZE(rt5640_mono_dac_r_mix)),
1180 rt5640_dig_l_mix, ARRAY_SIZE(rt5640_dig_l_mix)),
1182 rt5640_dig_r_mix, ARRAY_SIZE(rt5640_dig_r_mix)),
1191 0, rt5640_spk_l_mix, ARRAY_SIZE(rt5640_spk_l_mix)),
1193 0, rt5640_spk_r_mix, ARRAY_SIZE(rt5640_spk_r_mix)),
1209 0, rt5640_spo_l_mix, ARRAY_SIZE(rt5640_spo_l_mix)),
1211 0, rt5640_spo_r_mix, ARRAY_SIZE(rt5640_spo_r_mix)),
1213 rt5640_lout_mix, ARRAY_SIZE(rt5640_lout_mix)),
1261 rt5640_sto_dac_l_mix, ARRAY_SIZE(rt5640_sto_dac_l_mix)),
1263 rt5640_sto_dac_r_mix, ARRAY_SIZE(rt5640_sto_dac_r_mix)),
1271 0, rt5640_out_l_mix, ARRAY_SIZE(rt5640_out_l_mix)),
1273 0, rt5640_out_r_mix, ARRAY_SIZE(rt5640_out_r_mix)),
1276 rt5640_hpo_mix, ARRAY_SIZE(rt5640_hpo_mix)),
1278 rt5640_hpo_mix, ARRAY_SIZE(rt5640_hpo_mix)),
1281 rt5640_mono_mix, ARRAY_SIZE(rt5640_mono_mix)),
1291 rt5639_sto_dac_l_mix, ARRAY_SIZE(rt5639_sto_dac_l_mix)),
1293 rt5639_sto_dac_r_mix, ARRAY_SIZE(rt5639_sto_dac_r_mix)),
1301 0, rt5639_out_l_mix, ARRAY_SIZE(rt5639_out_l_mix)),
1303 0, rt5639_out_r_mix, ARRAY_SIZE(rt5639_out_r_mix)),
1306 rt5639_hpo_mix, ARRAY_SIZE(rt5639_hpo_mix)),
1308 rt5639_hpo_mix, ARRAY_SIZE(rt5639_hpo_mix)),
1987 ARRAY_SIZE(rt5640_specific_snd_controls)); in rt5640_probe()
1990 ARRAY_SIZE(rt5640_specific_dapm_widgets)); in rt5640_probe()
1993 ARRAY_SIZE(rt5640_specific_dapm_routes)); in rt5640_probe()
1998 ARRAY_SIZE(rt5639_specific_dapm_widgets)); in rt5640_probe()
2001 ARRAY_SIZE(rt5639_specific_dapm_routes)); in rt5640_probe()
2117 .num_controls = ARRAY_SIZE(rt5640_snd_controls),
2119 .num_dapm_widgets = ARRAY_SIZE(rt5640_dapm_widgets),
2121 .num_dapm_routes = ARRAY_SIZE(rt5640_dapm_routes),
2129 .max_register = RT5640_VENDOR_ID2 + 1 + (ARRAY_SIZE(rt5640_ranges) *
2136 .num_reg_defaults = ARRAY_SIZE(rt5640_reg),
2138 .num_ranges = ARRAY_SIZE(rt5640_ranges),
2252 ARRAY_SIZE(init_list)); in rt5640_i2c_probe()
2267 rt5640_dai, ARRAY_SIZE(rt5640_dai)); in rt5640_i2c_probe()