Lines Matching +full:0 +full:x61
53 outb(chip->val61, 0x61); in pcsp_timer_update()
54 chip->thalf = 0; in pcsp_timer_update()
60 return 0; in pcsp_timer_update()
66 val ^= 0x80; in pcsp_timer_update()
72 outb_p(chip->val61, 0x61); in pcsp_timer_update()
73 outb_p(timer_cnt, 0x42); in pcsp_timer_update()
74 outb(chip->val61 ^ 1, 0x61); in pcsp_timer_update()
76 outb(chip->val61 ^ 2, 0x61); in pcsp_timer_update()
106 if (periods_elapsed < 0) { in pcsp_pointer_update()
108 printk(KERN_INFO "PCSP: buffer_bytes mod period_bytes != 0 ? " in pcsp_pointer_update()
162 chip->val61 = inb(0x61) | 0x03; in pcsp_start_playing()
163 outb_p(0x92, 0x43); /* binary, mode 1, LSB only, ch 2 */ in pcsp_start_playing()
166 chip->thalf = 0; in pcsp_start_playing()
168 hrtimer_start(&pcsp_chip.timer, 0, HRTIMER_MODE_REL); in pcsp_start_playing()
169 return 0; in pcsp_start_playing()
180 atomic_set(&chip->timer_active, 0); in pcsp_stop_playing()
183 outb_p(0xb6, 0x43); /* binary, mode 3, LSB/MSB, ch 2 */ in pcsp_stop_playing()
184 outb(chip->val61 & 0xFC, 0x61); in pcsp_stop_playing()
208 return 0; in snd_pcsp_playback_close()
216 return 0; in snd_pcsp_playback_hw_params()
226 return 0; in snd_pcsp_playback_hw_free()
233 chip->playback_ptr = 0; in snd_pcsp_playback_prepare()
234 chip->period_ptr = 0; in snd_pcsp_playback_prepare()
248 return 0; in snd_pcsp_playback_prepare()
268 return 0; in snd_pcsp_trigger()
301 .fifo_size = 0,
317 return 0; in snd_pcsp_playback_open()
334 err = snd_pcm_new(chip->card, "pcspeaker", 0, 1, 0, &chip->pcm); in snd_pcsp_new_pcm()
335 if (err < 0) in snd_pcsp_new_pcm()
351 return 0; in snd_pcsp_new_pcm()