Searched refs:active_offs (Results 1 – 1 of 1) sorted by relevance
779 unsigned long active_offs; in find_output_space() local791 active_offs = dmap->byte_counter + dmap->qhead * dmap->fragment_size; in find_output_space()793 active_offs = DMAbuf_get_buffer_pointer(dev, dmap, DMODE_OUTPUT); in find_output_space()795 if (active_offs < 0 || active_offs >= dmap->bytes_in_use) in find_output_space()796 active_offs = 0; in find_output_space()797 active_offs += dmap->byte_counter; in find_output_space()809 len = active_offs + dmap->bytes_in_use - dmap->user_counter; /* Number of unused bytes in buffer */ in find_output_space()