Lines Matching refs:len
100 u16 len; in DSPi_FileIOProc() local
104 DSP_ReadPipe(in, &len, sizeof(len)); in DSPi_FileIOProc()
105 len = DSP_WORD_TO_ARM(len); in DSPi_FileIOProc()
106 DSP_ReadPipe(in, path, len); in DSPi_FileIOProc()
107 path[len] = '\0'; in DSPi_FileIOProc()
542 u16 len = (u16)((length < end - pos) ? length : (end - pos)); in DSP_ReadPipe() local
543 len = (u16)(len & ~(DSP_WORD_UNIT - 1)); in DSP_ReadPipe()
544 DSP_LoadData(DSP_ADDR_TO_ARM(pipe->address) + pos, dst, len); in DSP_ReadPipe()
545 length -= len; in DSP_ReadPipe()
546 dst += DSP_BYTE_TO_UNIT(len); in DSP_ReadPipe()
547 pipe->rpos = (u16)((pos + len < pipe->length) ? (rpos + len) : (~rpos & 0x8000)); in DSP_ReadPipe()
599 u16 len = (u16)((length < end - pos) ? length : (end - pos)); in DSP_WritePipe() local
600 len = (u16)(len & ~(DSP_WORD_UNIT - 1)); in DSP_WritePipe()
601 DSP_StoreData(DSP_ADDR_TO_ARM(pipe->address) + pos, src, len); in DSP_WritePipe()
602 length -= len; in DSP_WritePipe()
603 src += DSP_BYTE_TO_UNIT(len); in DSP_WritePipe()
604 pipe->wpos = (u16)((pos + len < pipe->length) ? (wpos + len) : (~wpos & 0x8000)); in DSP_WritePipe()