if(rp_b>prev_p)nz--;// rolled through zero - make sure we'll not stuck in this loop forever
}
dev_dbg(g_dev_ptr,"[chn %u] LSEEK_CIRC_FIRST or LSEEK_CIRC_SCND: finish stepping back through frames, number of frames = %d, rp = 0x%x, fvld = %d, len32 = 0x%x",
if((orig!=SEEK_END)&&(file->f_pos==circbuf_priv[chn].buf_size))file->f_pos=0;// only for lseek(fd,0,SEEK_END) the result will be file size, others will roll to 0
if((orig!=SEEK_END)&&(file->f_pos==circbuf_priv_ptr[chn].buf_size))file->f_pos=0;//!only for lseek (fd,0,SEEK_END) the result will be file size, others will roll to 0
#define CCAM_DMA_SIZE 0x4000000 ///< Each channel buffer size TODO NC393: use only for initial allocation, move to DT
#define CCAM_DMA_SIZE 0x4000000 ///< Each channel buffer size in BYTES (was in DWORDS in NC353) TODO NC393: use only for initial allocation, move to DT
#define CIRCBUF_START_OFFSET 0x100000 ///< Offset for the first bufer TODO NC393: use only for initial allocation, move to DT