Home
last modified time | relevance | path

Searched refs:remaining_bytes (Results 1 – 3 of 3) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/components/codec/tfa9xxx/
Dfsl_tfa9xxx.c752 … uint32_t xmem_offset = 2, remaining_bytes = cmd_len - 3; /* write all except the opcode/cmd_id */ in TFA9XXX_DspExecuteCommand() local
755 while ((rc == 0) && (remaining_bytes > 0)) in TFA9XXX_DspExecuteCommand()
757 if (remaining_bytes < chunk_size) in TFA9XXX_DspExecuteCommand()
758 chunk_size = remaining_bytes; in TFA9XXX_DspExecuteCommand()
762 remaining_bytes -= chunk_size; in TFA9XXX_DspExecuteCommand()
781 … uint32_t xmem_offset = 0, remaining_bytes = res_len; /* write all except the opcode/cmd_id */ in TFA9XXX_DspExecuteCommand() local
784 while ((rc == 0) && (remaining_bytes > 0)) in TFA9XXX_DspExecuteCommand()
786 if (remaining_bytes < chunk_size) in TFA9XXX_DspExecuteCommand()
787 chunk_size = remaining_bytes; in TFA9XXX_DspExecuteCommand()
791 remaining_bytes -= chunk_size; in TFA9XXX_DspExecuteCommand()
/hal_nxp-latest/mcux/mcux-sdk/components/codec/tfa9896/
Dfsl_hal_registers.c324 int remaining_bytes = num_bytes; in writeParameter() local
326 while ((error == kStatus_TFA9896_Ok) && (remaining_bytes > 0)) in writeParameter()
328 if (remaining_bytes < chunk_size) in writeParameter()
330 chunk_size = remaining_bytes; in writeParameter()
338 remaining_bytes -= chunk_size; in writeParameter()
1170 int remaining_bytes = num_bytes; in TFA9896_DspGetParam() local
1172 while ((error == kStatus_TFA9896_Ok) && (remaining_bytes > 0)) in TFA9896_DspGetParam()
1174 if (remaining_bytes < 252) in TFA9896_DspGetParam()
1176 chunk_size = remaining_bytes; in TFA9896_DspGetParam()
1180 remaining_bytes -= chunk_size; in TFA9896_DspGetParam()
/hal_nxp-latest/mcux/mcux-sdk/components/mem_manager/
Dfsl_component_mem_manager_light.c760 int32_t remaining_bytes; in MEM_BufferAllocateFromArea() local
768 remaining_bytes = available_size - (int32_t)total_size; in MEM_BufferAllocateFromArea()
769 if (remaining_bytes >= 0) /* need to keep the room for the next BlockHeader */ in MEM_BufferAllocateFromArea()
771 if (p_area->low_watermark > (uint32_t)remaining_bytes) in MEM_BufferAllocateFromArea()
773 p_area->low_watermark = (uint32_t)remaining_bytes; in MEM_BufferAllocateFromArea()