Lines Matching refs:write_sq
470 start = write_sq.buffers[write_sq.front]; in AmiPlayNextFrame()
471 size = (write_sq.count == index ? write_sq.rear_size in AmiPlayNextFrame()
472 : write_sq.block_size)>>1; in AmiPlayNextFrame()
515 write_sq.front = (write_sq.front+1) % write_sq.max_count; in AmiPlayNextFrame()
516 write_sq.active |= AMI_PLAY_LOADED; in AmiPlayNextFrame()
526 if (write_sq.active & AMI_PLAY_LOADED) { in AmiPlay()
532 if (write_sq.active & AMI_PLAY_PLAYING) in AmiPlay()
536 if (write_sq.count < minframes) { in AmiPlay()
542 if (write_sq.count <= minframes && in AmiPlay()
543 write_sq.rear_size < write_sq.block_size && !write_sq.syncing) { in AmiPlay()
563 if (!write_sq.active) { in AmiInterrupt()
567 WAKE_UP(write_sq.sync_queue); in AmiInterrupt()
571 if (write_sq.active & AMI_PLAY_PLAYING) { in AmiInterrupt()
573 write_sq.count--; in AmiInterrupt()
574 WAKE_UP(write_sq.action_queue); in AmiInterrupt()
577 if (write_sq.active & AMI_PLAY_LOADED) in AmiInterrupt()
582 write_sq.active = (write_sq.active<<1) & AMI_PLAY_MASK; in AmiInterrupt()
584 if (!write_sq.active) in AmiInterrupt()
590 if (write_sq.count >= minframes) in AmiInterrupt()
594 if (!write_sq.active) in AmiInterrupt()
597 WAKE_UP(write_sq.sync_queue); in AmiInterrupt()
648 write_sq_block_size_half = write_sq.block_size>>1; in AmiWriteSqSetup()