| /hal_nxp-latest/mcux/mcux-sdk/components/codec/tfa9xxx/vas_tfa_drv/ |
| D | tfa2_dev.c | 100 int rc; in tfa2_i2c_get_revid() local 102 rc = tfa2_i2c_read_bf(i2c, TFA9XXX_BF_REV); in tfa2_i2c_get_revid() 103 if (rc < 0) in tfa2_i2c_get_revid() 104 return rc; in tfa2_i2c_get_revid() 106 dev_dbg(&i2c->dev, "HW rev: 0x%04x\n", (uint16_t)rc); in tfa2_i2c_get_revid() 108 return rc; in tfa2_i2c_get_revid() 114 int rc = 0; in tfa2_dev_probe() local 121 rc = tfa2_i2c_get_revid(tfa->i2c); in tfa2_dev_probe() 122 if (rc < 0) in tfa2_dev_probe() 125 return rc; in tfa2_dev_probe() [all …]
|
| D | tfa2_haptic.c | 83 int rc = -EINVAL; //, virtual_object = index - FW_HB_SEQ_OBJ; in tfa2_haptic_start() local 89 rc = tfa2_haptic_start_object(tfa->i2c, data, index); in tfa2_haptic_start() 93 rc = tfa2_hap_sequencer_object(tfa, index + 1); in tfa2_haptic_start() 96 return rc; in tfa2_haptic_start() 100 int rc; in tfa2_haptic_start_object() local 154 …rc = tfa2_i2c_write_cf_mem32(client, address, (int32_t *)obj, FW_XMEM_OBJECTSIZE, TFA2_CF_MEM_XMEM… in tfa2_haptic_start_object() 155 if (rc < 0) in tfa2_haptic_start_object() 156 return rc; in tfa2_haptic_start_object() 160 … rc = tfa2_i2c_write_cf_mem32(client, cmdobjsel, (int32_t *)&cmdobjsel_index, 1, TFA2_CF_MEM_XMEM); in tfa2_haptic_start_object() 168 return rc; in tfa2_haptic_start_object() [all …]
|
| D | tfa2_init.c | 16 int rc = 0; in tfa9894_init() local 69 rc = -EINVAL; in tfa9894_init() 75 return rc; in tfa9894_init() 82 int rc; in tfa9894_tfa_mtp_write_wrapper() local 106 rc = (*mtp_write)(tfa, addr, mtp_new); in tfa9894_tfa_mtp_write_wrapper() 107 if (rc < 0) in tfa9894_tfa_mtp_write_wrapper() 117 return rc; in tfa9894_tfa_mtp_write_wrapper() 123 int rc = 0; in tfa9872_init() local 180 rc = -EINVAL; in tfa9872_init() 184 if (rc == 0) in tfa9872_init() [all …]
|
| D | tfa2_container.c | 26 int rc = 0, i; in tfa2_cnt_write_dspmem() local 32 …rc = tfa2_i2c_write_cf_mem32(tfa->i2c, address++, (int32_t *)cfmem + offsetof(nxpTfaDspMem_t, word… in tfa2_cnt_write_dspmem() 34 if (rc < 0) in tfa2_cnt_write_dspmem() 35 return rc; in tfa2_cnt_write_dspmem() 38 return rc; in tfa2_cnt_write_dspmem() 500 int rc; in tfa2_dev_cnt_write_register() local 506 rc = tfa2_i2c_read_reg(tfa->i2c, reg->address); /* will report error */ in tfa2_dev_cnt_write_register() 507 if (rc < 0) in tfa2_dev_cnt_write_register() 508 return rc; in tfa2_dev_cnt_write_register() 509 value = (uint16_t)rc; in tfa2_dev_cnt_write_register() [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/components/codec/tfa9xxx/ |
| D | fsl_tfa9xxx.c | 54 status_t rc; in TFA9XXX_Init() local 71 rc = TFA9XXX_CreatePlatform(handle, config->tfaContainer); in TFA9XXX_Init() 72 if (rc != kStatus_Success) in TFA9XXX_Init() 75 return rc; in TFA9XXX_Init() 79 rc = TFA9XXX_Reset(handle); in TFA9XXX_Init() 80 if (rc != kStatus_Success) in TFA9XXX_Init() 83 return rc; in TFA9XXX_Init() 87 rc = TFA9XXX_PreStartConfigure(handle); in TFA9XXX_Init() 88 if (rc != kStatus_Success) in TFA9XXX_Init() 91 return rc; in TFA9XXX_Init() [all …]
|
| D | README.md | 34 status_t rc; 35 rc = CODEC_Init(&codecHandle, &boardCodecConfig); 36 if(rc != kStatus_Success) 59 status_t rc; 60 rc = CODEC_SetMute(&codecHandle, kCODEC_PlayChannelLeft0 | kCODEC_PlayChannelRight0, mute); 61 if(rc != kStatus_Success)
|
| D | fsl_tfa9xxx_IMX.c | 205 status_t TFA9XXX_ConvertErrorCode(int32_t rc) in TFA9XXX_ConvertErrorCode() argument 207 switch (rc) in TFA9XXX_ConvertErrorCode() 215 return rc; /* if input is already the predefined error code, return rc directly */ in TFA9XXX_ConvertErrorCode() 255 TFA9XXX_Printf("Error code unknown: %d\n", rc); in TFA9XXX_ConvertErrorCode()
|
| D | fsl_tfa9xxx.h | 270 status_t TFA9XXX_ConvertErrorCode(int32_t rc);
|
| /hal_nxp-latest/mcux/mcux-sdk/components/sdu/ |
| D | fsl_adapter_sdu.c | 471 status_t rc; in SDU_InnerInit() local 476 rc = SDU_InitData(SDU_USED_FUN_NUM, SDU_INT_CPU_NUM); in SDU_InnerInit() 477 if (rc != kStatus_Success) in SDU_InnerInit() 479 sdu_e("Fail to initialize SDU: %d\r\n", (uint32_t)rc); in SDU_InnerInit() 480 return rc; in SDU_InnerInit() 524 rc = kStatus_Fail; in SDU_InnerInit() 541 rc = kStatus_Fail; in SDU_InnerInit() 559 rc = kStatus_Fail; in SDU_InnerInit() 574 rc = kStatus_Fail; in SDU_InnerInit() 589 if (rc != kStatus_Success) in SDU_InnerInit() [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/drivers/enet_qos/ |
| D | fsl_enet_qos.c | 3512 status_t rc; in ENET_QOS_EstProgramGcl() local 3559 rc = ENET_QOS_EstProgramWord(base, i, &data, 0); in ENET_QOS_EstProgramGcl() 3560 if (rc != kStatus_Success) in ENET_QOS_EstProgramGcl() 3562 return rc; in ENET_QOS_EstProgramGcl() 3570 rc = ENET_QOS_EstProgramWord(base, (uint32_t)kENET_QOS_Ets_btr_high, &data, 1U); in ENET_QOS_EstProgramGcl() 3571 if (rc != kStatus_Success) in ENET_QOS_EstProgramGcl() 3573 return rc; in ENET_QOS_EstProgramGcl() 3578 rc = ENET_QOS_EstProgramWord(base, (uint32_t)kENET_QOS_Ets_btr_low, &data, 1); in ENET_QOS_EstProgramGcl() 3579 if (rc != kStatus_Success) in ENET_QOS_EstProgramGcl() 3581 return rc; in ENET_QOS_EstProgramGcl() [all …]
|
| /hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/ |
| D | mlan_cfp.c | 1240 region_chan_t *rc; local 1250 rc = ®ion_channel[j]; 1252 if (rc->valid == (t_u8)MFALSE || rc->pcfp == MNULL) 1257 switch (rc->band) 1305 cfp = &rc->pcfp[0]; 1309 for (i = 0; i < rc->num_cfp; i++) 1311 if (rc->pcfp[i].channel == channel) 1313 cfp = &rc->pcfp[i]; 1374 region_chan_t *rc; local 1383 rc = &pmadapter->region_channel[j]; [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8UD7/drivers/upower/ |
| D | upower_api.c | 390 int rc; in upwr_srv_req() local 396 rc = upwr_tx(msg, size, upwr_next_req); in upwr_srv_req() 397 if (rc < 0) { in upwr_srv_req()
|
| /hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8UD5/drivers/upower/ |
| D | upower_api.c | 390 int rc; in upwr_srv_req() local 396 rc = upwr_tx(msg, size, upwr_next_req); in upwr_srv_req() 397 if (rc < 0) { in upwr_srv_req()
|
| /hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8US5/drivers/upower/ |
| D | upower_api.c | 390 int rc; in upwr_srv_req() local 396 rc = upwr_tx(msg, size, upwr_next_req); in upwr_srv_req() 397 if (rc < 0) { in upwr_srv_req()
|
| /hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8US3/drivers/upower/ |
| D | upower_api.c | 390 int rc; in upwr_srv_req() local 396 rc = upwr_tx(msg, size, upwr_next_req); in upwr_srv_req() 397 if (rc < 0) { in upwr_srv_req()
|
| /hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8UD3/drivers/upower/ |
| D | upower_api.c | 390 int rc; in upwr_srv_req() local 396 rc = upwr_tx(msg, size, upwr_next_req); in upwr_srv_req() 397 if (rc < 0) { in upwr_srv_req()
|