plan 9 kernel history: overview | file list | diff list

2001/0502/bitsy/devuda1341.c (diff list | history)

2001/0502/sys/src/9/bitsy/devuda1341.c:947,9572001/0503/sys/src/9/bitsy/devuda1341.c:947,956 (short | long | prev | next)
2001/0502    
				if ((audio.amode & Awrite) == 0) { 
					s = &audio.o; 
					qlock(s); 
					while(waserror()) { 
						dmawait(s->dma); 
						if (dmaidle(s->dma)) 
							break; 
					} 
2001/0503    
					while(waserror()) 
						; 
					dmawait(s->dma); 
					poperror(); 
2001/0502    
					outdisable(); 
					setempty(s); 
					dmafree(s->dma); 
2001/0502/sys/src/9/bitsy/devuda1341.c:970,9802001/0503/sys/src/9/bitsy/devuda1341.c:969,978
2000/1117    
						s->filling = &s->buf[0]; 
					sendaudio(s); 
2000/1110    
				} 
2001/0502    
				while(waserror()) { 
					dmawait(s->dma); 
					if (dmaidle(s->dma)) 
						break; 
				} 
2001/0503    
				while(waserror()) 
					; 
				dmawait(s->dma); 
				poperror(); 
2000/1117    
				outdisable(); 
				setempty(s); 
2001/0502    
				if ((audio.amode & Aread) == 0) 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)