Lines Matching refs:byte_counter

171 	dmap->byte_counter = 0;  in dma_init_buffers()
208 dmap->byte_counter = 0; in open_dmap()
373 dmap->byte_counter = 0; in dma_reset_output()
393 dmap->byte_counter = 0; in dma_reset_input()
740 if (dmap->byte_counter % dmap->fragment_size) /* There is a partial fragment */ in DMAbuf_space_in_queue()
797 active_offs = dmap->byte_counter + dmap->qhead * dmap->fragment_size; in find_output_space()
803 active_offs += dmap->byte_counter; in find_output_space()
879 if (dmap->byte_counter >= dmap->max_byte_counter) { in DMAbuf_move_wrpointer()
881 long decr = dmap->byte_counter; in DMAbuf_move_wrpointer()
882 dmap->byte_counter = (dmap->byte_counter % dmap->bytes_in_use); in DMAbuf_move_wrpointer()
883 decr -= dmap->byte_counter; in DMAbuf_move_wrpointer()
975 dmap->byte_counter += dmap->bytes_in_use; in do_outputintr()
976 if (dmap->byte_counter >= dmap->max_byte_counter) { /* Overflow */ in do_outputintr()
977 long decr = dmap->byte_counter; in do_outputintr()
978 dmap->byte_counter = (dmap->byte_counter % dmap->bytes_in_use); in do_outputintr()
979 decr -= dmap->byte_counter; in do_outputintr()
997 dmap->byte_counter += dmap->bytes_in_use; in do_outputintr()
998 if (dmap->byte_counter >= dmap->max_byte_counter) { /* Overflow */ in do_outputintr()
999 long decr = dmap->byte_counter; in do_outputintr()
1000 dmap->byte_counter = (dmap->byte_counter % dmap->bytes_in_use); in do_outputintr()
1001 decr -= dmap->byte_counter; in do_outputintr()
1076 dmap->byte_counter += dmap->bytes_in_use; in do_inputintr()
1077 if (dmap->byte_counter >= dmap->max_byte_counter) { /* Overflow */ in do_inputintr()
1078 long decr = dmap->byte_counter; in do_inputintr()
1079 dmap->byte_counter = (dmap->byte_counter % dmap->bytes_in_use) + dmap->bytes_in_use; in do_inputintr()
1080 decr -= dmap->byte_counter; in do_inputintr()
1107 dmap->byte_counter += dmap->bytes_in_use; in do_inputintr()
1108 if (dmap->byte_counter >= dmap->max_byte_counter) { /* Overflow */ in do_inputintr()
1109 long decr = dmap->byte_counter; in do_inputintr()
1110 dmap->byte_counter = (dmap->byte_counter % dmap->bytes_in_use) + dmap->bytes_in_use; in do_inputintr()
1111 decr -= dmap->byte_counter; in do_inputintr()