Lines Matching refs:write_sq
469 start = write_sq.buffers[write_sq.front]; in AmiPlayNextFrame()
470 size = (write_sq.count == index ? write_sq.rear_size in AmiPlayNextFrame()
471 : write_sq.block_size)>>1; in AmiPlayNextFrame()
514 write_sq.front = (write_sq.front+1) % write_sq.max_count; in AmiPlayNextFrame()
515 write_sq.active |= AMI_PLAY_LOADED; in AmiPlayNextFrame()
525 if (write_sq.active & AMI_PLAY_LOADED) { in AmiPlay()
531 if (write_sq.active & AMI_PLAY_PLAYING) in AmiPlay()
535 if (write_sq.count < minframes) { in AmiPlay()
541 if (write_sq.count <= minframes && in AmiPlay()
542 write_sq.rear_size < write_sq.block_size && !write_sq.syncing) { in AmiPlay()
562 if (!write_sq.active) { in AmiInterrupt()
566 WAKE_UP(write_sq.sync_queue); in AmiInterrupt()
570 if (write_sq.active & AMI_PLAY_PLAYING) { in AmiInterrupt()
572 write_sq.count--; in AmiInterrupt()
573 WAKE_UP(write_sq.action_queue); in AmiInterrupt()
576 if (write_sq.active & AMI_PLAY_LOADED) in AmiInterrupt()
581 write_sq.active = (write_sq.active<<1) & AMI_PLAY_MASK; in AmiInterrupt()
583 if (!write_sq.active) in AmiInterrupt()
589 if (write_sq.count >= minframes) in AmiInterrupt()
593 if (!write_sq.active) in AmiInterrupt()
596 WAKE_UP(write_sq.sync_queue); in AmiInterrupt()
647 write_sq_block_size_half = write_sq.block_size>>1; in AmiWriteSqSetup()