Searched refs:cont (Results 1 – 2 of 2) sorted by relevance
| /hal_nxp-latest/mcux/mcux-sdk/components/codec/tfa9xxx/vas_tfa_drv/ |
| D | tfa2_container.h | 26 int tfa2_cnt_crc_check_container(nxpTfaContainer_t *cont); 36 nxpTfaDeviceList_t *tfa2_cnt_get_dev_list(nxpTfaContainer_t *cont, int dev_idx); 37 nxpTfaProfileList_t *tfa2_cnt_get_dev_prof_list(nxpTfaContainer_t *cont, int devIdx, int profIdx); 243 nxpTfaDeviceList_t *tfa2_cnt_get_dev_list(nxpTfaContainer_t *cont, int dev_idx); 252 nxpTfaProfileList_t *tfa2_cnt_get_dev_prof_list(nxpTfaContainer_t *cont, int dev_idx, int prof_idx); 285 nxpTfaLiveDataList_t *tfa2_cnt_get_dev_live_data_list(nxpTfaContainer_t *cont, int dev_idx, int liv… 292 int tfa2_cnt_crc_check_container(nxpTfaContainer_t *cont); 307 nxpTfaProfileList_t *tfa2_cnt_get1st_prof_list(nxpTfaContainer_t *cont); 321 nxpTfaLiveDataList_t *tfa2_cnt_get1st_live_data_list(nxpTfaContainer_t *cont);
|
| D | tfa2_container.c | 95 int tfa2_cnt_crc_check_container(nxpTfaContainer_t *cont) in tfa2_cnt_crc_check_container() argument 101 …base = (uint8_t *)cont + offsetof(nxpTfaContainer_t, CRC) + 4; // ptr to bytes following the CRC f… in tfa2_cnt_crc_check_container() 102 …size = (size_t)(cont->size - (base - (uint8_t *)cont)); // nr of bytes following the CRC fi… in tfa2_cnt_crc_check_container() 105 return crc != cont->CRC; in tfa2_cnt_crc_check_container() 311 nxpTfaDeviceList_t *tfa2_cnt_get_dev_list(nxpTfaContainer_t *cont, int dev_idx) in tfa2_cnt_get_dev_list() argument 313 uint8_t *base = (uint8_t *)cont; in tfa2_cnt_get_dev_list() 316 if (cont == NULL) in tfa2_cnt_get_dev_list() 319 if ((dev_idx < 0) || (dev_idx >= cont->ndev)) in tfa2_cnt_get_dev_list() 322 if (cont->index[dev_idx].type != dscDevice) in tfa2_cnt_get_dev_list() 325 base += cont->index[dev_idx].offset; in tfa2_cnt_get_dev_list() [all …]
|