Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/codecs/
Dcs-amp-lib-test.c34 int amp_index; member
69 uid = priv->cal_blob->data[param->amp_index].calTarget[1]; in cs_amp_lib_test_get_target_uid()
71 uid |= priv->cal_blob->data[param->amp_index].calTarget[0]; in cs_amp_lib_test_get_target_uid()
234 priv->cal_blob->data[param->amp_index].calTime[0]); in cs_amp_lib_test_get_efi_cal_by_uid_test()
236 priv->cal_blob->data[param->amp_index].calTime[1]); in cs_amp_lib_test_get_efi_cal_by_uid_test()
238 priv->cal_blob->data[param->amp_index].calAmbient); in cs_amp_lib_test_get_efi_cal_by_uid_test()
240 priv->cal_blob->data[param->amp_index].calStatus); in cs_amp_lib_test_get_efi_cal_by_uid_test()
242 priv->cal_blob->data[param->amp_index].calR); in cs_amp_lib_test_get_efi_cal_by_uid_test()
261 param->amp_index, &result_data); in cs_amp_lib_test_get_efi_cal_by_index_unchecked_test()
267 priv->cal_blob->data[param->amp_index].calTime[0]); in cs_amp_lib_test_get_efi_cal_by_index_unchecked_test()
[all …]
Dcs-amp-lib.c170 static int _cs_amp_get_efi_calibration_data(struct device *dev, u64 target_uid, int amp_index, in _cs_amp_get_efi_calibration_data() argument
200 if (!cal && (amp_index >= 0) && (amp_index < efi_data->count) && in _cs_amp_get_efi_calibration_data()
201 (efi_data->data[amp_index].calTime[0] || efi_data->data[amp_index].calTime[1])) { in _cs_amp_get_efi_calibration_data()
202 u64 cal_target = cs_amp_cal_target_u64(&efi_data->data[amp_index]); in _cs_amp_get_efi_calibration_data()
211 cal = &efi_data->data[amp_index]; in _cs_amp_get_efi_calibration_data()
213 dev_warn(dev, "Calibration entry %d does not match silicon ID", amp_index); in _cs_amp_get_efi_calibration_data()
265 int cs_amp_get_efi_calibration_data(struct device *dev, u64 target_uid, int amp_index, in cs_amp_get_efi_calibration_data() argument
269 return _cs_amp_get_efi_calibration_data(dev, target_uid, amp_index, out_data); in cs_amp_get_efi_calibration_data()
/linux-6.12.1/sound/pci/hda/
Dcirrus_scodec.c14 int cirrus_scodec_get_speaker_id(struct device *dev, int amp_index, in cirrus_scodec_get_speaker_id() argument
40 base_index = gpios_per_amp * amp_index; in cirrus_scodec_get_speaker_id()
Dcirrus_scodec.h10 int cirrus_scodec_get_speaker_id(struct device *dev, int amp_index,
Dcs35l41_hda.h106 int cs35l41_get_speaker_id(struct device *dev, int amp_index, int num_amps, int fixed_gpio_id);
Dcs35l41_hda.c1689 int cs35l41_get_speaker_id(struct device *dev, int amp_index, int num_amps, int fixed_gpio_id) in cs35l41_get_speaker_id() argument
1715 base_index = gpios_per_amp * amp_index; in cs35l41_get_speaker_id()
/linux-6.12.1/include/sound/
Dcs-amp-lib.h50 int cs_amp_get_efi_calibration_data(struct device *dev, u64 target_uid, int amp_index,