Home
last modified time | relevance | path

Searched refs:write_sq (Results 1 – 6 of 6) sorted by relevance

/linux/sound/oss/dmasound/
H A Ddmasound_core.c529 if (sq == &write_sq) { in sq_setup()
575 if (write_sq.locked == 0) { in sq_write()
576 if ((uWritten = sq_setup(&write_sq)) < 0) return uWritten ; in sq_write()
587 * also that write_sq.rear isn't affected by the interrupt.) in sq_write()
601 write_sq.syncing &= ~2 ; /* take out POST status */ in sq_write()
604 if (write_sq.count > 0 && in sq_write()
605 (bLeft = write_sq.block_size-write_sq.rear_size) > 0) { in sq_write()
606 dest = write_sq.buffers[write_sq in sq_write()
[all...]
H A Ddmasound_paula.c470 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()
[all …]
H A Ddmasound_q40.c411 start = write_sq.buffers[write_sq.front]; in Q40PlayNextFrame()
412 size = (write_sq.count == index ? write_sq.rear_size : write_sq.block_size); in Q40PlayNextFrame()
417 write_sq.front = (write_sq.front+1) % write_sq.max_count; in Q40PlayNextFrame()
418 write_sq.active++; in Q40PlayNextFrame()
442 if (write_sq.active || write_sq.count<=0 ) { in Q40Play()
448 if (write_sq.count <= 1 && write_sq.rear_size < write_sq.block_size && !write_sq.syncing) { in Q40Play()
485 if (!write_sq.active) { in Q40Interrupt()
489 WAKE_UP(write_sq.sync_queue); in Q40Interrupt()
492 } else write_sq.active=0; in Q40Interrupt()
493 write_sq.count--; in Q40Interrupt()
[all …]
H A Ddmasound_atari.c1176 start = write_sq.buffers[write_sq.front]; in AtaPlayNextFrame()
1177 end = start+((write_sq.count == index) ? write_sq.rear_size in AtaPlayNextFrame()
1178 : write_sq.block_size); in AtaPlayNextFrame()
1184 write_sq.front = (write_sq.front+1) % write_sq.max_count; in AtaPlayNextFrame()
1185 write_sq.active++; in AtaPlayNextFrame()
1207 if (write_sq.active == 2 || /* DMA is 'full' */ in AtaPlay()
1208 write_sq.count <= 0) { /* nothing to do */ in AtaPlay()
1213 if (write_sq.active == 0) { in AtaPlay()
1217 if (write_sq.count == 1 && in AtaPlay()
1218 write_sq.rear_size < write_sq.block_size && in AtaPlay()
[all …]
H A Ddmasound.h240 #define write_sq dmasound_write_sq macro
/linux/drivers/nvme/host/
H A Dpci.c471 static inline void nvme_write_sq_db(struct nvme_queue *nvmeq, bool write_sq) in nvme_write_sq_db() argument
473 if (!write_sq) { in nvme_write_sq_db()