Lines Matching refs:audio_state

722 	u_char audio_state;  member
2110 if (D_S[d].audio_state==audio_playing) return (-EINVAL); in cc_PlayAudio()
3243 if (D_S[d].audio_state!=audio_playing) return (-ENODATA); in cc_SubChanInfo()
3790 static int obey_audio_state(u_char audio_state, u_char func,u_char subfunc) in obey_audio_state() argument
3792 switch (audio_state) /* audio status from controller */ in obey_audio_state()
4099 D_S[d].audio_state=0; in prepare()
4120 D_S[d].audio_state=0; in prepare()
4128 if (D_S[d].audio_state!=audio_pausing) in prepare()
4136 if (D_S[d].audio_state==audio_playing) seek_pos_audio_end(); in prepare()
4137 D_S[d].audio_state=0; in prepare()
4145 D_S[d].audio_state=0; in prepare()
4245 D_S[d].audio_state=0; in sbpcd_dev_ioctl()
4571 switch (D_S[d].audio_state) in sbpcd_audio_ioctl()
4581 D_S[d].audio_state=audio_pausing; in sbpcd_audio_ioctl()
4596 if (D_S[d].audio_state!=audio_pausing) RETURN_UP(-EINVAL); in sbpcd_audio_ioctl()
4602 D_S[d].audio_state=audio_playing; in sbpcd_audio_ioctl()
4610 if (D_S[d].audio_state==audio_playing) in sbpcd_audio_ioctl()
4634 D_S[d].audio_state=0; in sbpcd_audio_ioctl()
4637 D_S[d].audio_state=audio_playing; in sbpcd_audio_ioctl()
4645 if (D_S[d].audio_state==audio_playing) in sbpcd_audio_ioctl()
4668 D_S[d].audio_state=0; in sbpcd_audio_ioctl()
4671 D_S[d].audio_state=audio_playing; in sbpcd_audio_ioctl()
4709 D_S[d].audio_state=0; in sbpcd_audio_ioctl()
4718 D_S[d].audio_state=0; in sbpcd_audio_ioctl()
4753 D_S[d].audio_state=CDROM_AUDIO_NO_STATUS; in sbpcd_audio_ioctl()
4789 switch (D_S[d].audio_state) in sbpcd_audio_ioctl()
4794 D_S[d].audio_state=audio_completed; in sbpcd_audio_ioctl()
4952 if (D_S[i].audio_state==audio_playing) goto err_done; in DO_SBPCD_REQUEST()
5495 if (D_S[d].audio_state!=audio_playing) in sbpcd_release()