Searched refs:cal_blob (Results 1 – 4 of 4) sorted by relevance
22 struct cirrus_amp_efi_data *cal_blob; member46 priv->cal_blob = kunit_kzalloc(test, blob_size, GFP_KERNEL); in cs_amp_lib_test_init_dummy_cal_blob()47 KUNIT_ASSERT_NOT_NULL(test, priv->cal_blob); in cs_amp_lib_test_init_dummy_cal_blob()49 priv->cal_blob->size = blob_size; in cs_amp_lib_test_init_dummy_cal_blob()50 priv->cal_blob->count = num_amps; in cs_amp_lib_test_init_dummy_cal_blob()52 get_random_bytes(priv->cal_blob->data, sizeof(struct cirrus_amp_cal_data) * num_amps); in cs_amp_lib_test_init_dummy_cal_blob()56 priv->cal_blob->data[i].calTime[0] |= 1; in cs_amp_lib_test_init_dummy_cal_blob()60 *(u8 *)&priv->cal_blob->data[i].calTarget[0] = i + 1; in cs_amp_lib_test_init_dummy_cal_blob()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()[all …]
57 const void *cal_blob; member
95 settings->cal_blob = prop; in brcmf_of_probe()
257 if (!settings->cal_blob || !settings->cal_size) in brcmf_c_process_cal_blob()261 err = brcmf_c_download_blob(ifp, settings->cal_blob, settings->cal_size, in brcmf_c_process_cal_blob()