Searched refs:remaining_bytes (Results 1 – 3 of 3) sorted by relevance
752 … uint32_t xmem_offset = 2, remaining_bytes = cmd_len - 3; /* write all except the opcode/cmd_id */ in TFA9XXX_DspExecuteCommand() local755 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() local784 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()
324 int remaining_bytes = num_bytes; in writeParameter() local326 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() local1172 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()
760 int32_t remaining_bytes; in MEM_BufferAllocateFromArea() local768 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()