Home
last modified time | relevance | path

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

/linux/sound/oss/dmasound/
H A Ddmasound_core.c526 if (sq == &write_sq) { in sq_setup()
572 if (write_sq.locked == 0) { in sq_write()
573 if ((uWritten = sq_setup(&write_sq)) < 0) return uWritten ; in sq_write()
579 * also that write_sq.rear isn't affected by the interrupt.) in sq_write()
593 write_sq.syncing &= ~2 ; /* take out POST status */ in sq_write()
601 if (write_sq.count > 0 && in sq_write()
602 (bLeft = write_sq.block_size-write_sq.rear_size) > 0) { in sq_write()
603 dest = write_sq.buffers[write_sq in sq_write()
[all...]
H A Ddmasound_q40.c409 start = write_sq.buffers[write_sq.front]; in Q40PlayNextFrame()
410 size = (write_sq.count == index ? write_sq.rear_size : write_sq.block_size); in Q40PlayNextFrame()
415 write_sq.front = (write_sq.front+1) % write_sq.max_count; in Q40PlayNextFrame()
416 write_sq.active++; in Q40PlayNextFrame()
431 if (write_sq in Q40PlayNextFrame()
[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.c723 static inline void nvme_write_sq_db(struct nvme_queue *nvmeq, bool write_sq) in nvme_write_sq_db()
726 if (!write_sq) { in nvme_write_sq_db()
722 nvme_write_sq_db(struct nvme_queue * nvmeq,bool write_sq) nvme_write_sq_db() argument