Lines Matching refs:offs
541 int err, per, rest, page, edge, offs; in init_engine() local
575 for (offs = page = per = 0; offs < params_buffer_bytes(hw_params); in init_engine()
578 if (offs + rest > params_buffer_bytes(hw_params)) in init_engine()
579 rest = params_buffer_bytes(hw_params) - offs; in init_engine()
582 addr = snd_pcm_sgbuf_get_addr(substream, offs); in init_engine()
583 if (rest <= edge - offs) { in init_engine()
586 offs += rest; in init_engine()
590 edge - offs); in init_engine()
591 rest -= edge - offs; in init_engine()
592 offs = edge; in init_engine()
594 if (offs == edge) { in init_engine()