Lines Matching refs:write_sq
1176 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()
1219 !write_sq.syncing) { in AtaPlay()
1227 if (write_sq.count == 1) { in AtaPlay()
1232 if (write_sq.count == 2 && in AtaPlay()
1233 write_sq.rear_size < write_sq.block_size && in AtaPlay()
1234 !write_sq.syncing) { in AtaPlay()
1247 if (write_sq.count == 2 && in AtaPlay()
1248 write_sq.rear_size < write_sq.block_size && in AtaPlay()
1249 !write_sq.syncing) { in AtaPlay()
1267 if (write_sq.active == 2) in AtaInterrupt()
1284 if (!write_sq.active) { in AtaInterrupt()
1288 WAKE_UP(write_sq.sync_queue); in AtaInterrupt()
1299 write_sq.count--; in AtaInterrupt()
1300 write_sq.active--; in AtaInterrupt()
1302 if (!write_sq.active) { in AtaInterrupt()
1307 WAKE_UP(write_sq.action_queue); in AtaInterrupt()
1312 if ((write_sq.active != 1) || (write_sq.count != 1)) in AtaInterrupt()
1322 if (!write_sq.active) WAKE_UP(write_sq.sync_queue); in AtaInterrupt()