Lines Matching +full:0 +full:x0013

73 	return 0;  in snd_usbtv_pcm_open()
81 atomic_set(&chip->snd_stream, 0); in snd_usbtv_pcm_close()
85 return 0; in snd_usbtv_pcm_close()
92 chip->snd_buffer_pos = 0; in snd_usbtv_prepare()
93 chip->snd_period_pos = 0; in snd_usbtv_prepare()
95 return 0; in snd_usbtv_prepare()
109 case 0: in usbtv_audio_urb_received()
130 period_elapsed = 0; in usbtv_audio_urb_received()
132 for (i = 0; i < urb->actual_length; i += USBTV_CHUNK_SIZE) { in usbtv_audio_urb_received()
177 { USBTV_BASE + 0x0008, 0x0001 }, in usbtv_audio_start()
178 { USBTV_BASE + 0x01d0, 0x00ff }, in usbtv_audio_start()
179 { USBTV_BASE + 0x01d9, 0x0002 }, in usbtv_audio_start()
181 { USBTV_BASE + 0x01da, 0x0013 }, in usbtv_audio_start()
182 { USBTV_BASE + 0x01db, 0x0012 }, in usbtv_audio_start()
183 { USBTV_BASE + 0x01e9, 0x0002 }, in usbtv_audio_start()
184 { USBTV_BASE + 0x01ec, 0x006c }, in usbtv_audio_start()
185 { USBTV_BASE + 0x0294, 0x0020 }, in usbtv_audio_start()
186 { USBTV_BASE + 0x0255, 0x00cf }, in usbtv_audio_start()
187 { USBTV_BASE + 0x0256, 0x0020 }, in usbtv_audio_start()
188 { USBTV_BASE + 0x01eb, 0x0030 }, in usbtv_audio_start()
189 { USBTV_BASE + 0x027d, 0x00a6 }, in usbtv_audio_start()
190 { USBTV_BASE + 0x0280, 0x0011 }, in usbtv_audio_start()
191 { USBTV_BASE + 0x0281, 0x0040 }, in usbtv_audio_start()
192 { USBTV_BASE + 0x0282, 0x0011 }, in usbtv_audio_start()
193 { USBTV_BASE + 0x0283, 0x0040 }, in usbtv_audio_start()
194 { 0xf891, 0x0010 }, in usbtv_audio_start()
197 { USBTV_BASE + 0x0284, 0x00aa }, in usbtv_audio_start()
200 chip->snd_bulk_urb = usb_alloc_urb(0, GFP_KERNEL); in usbtv_audio_start()
221 return 0; in usbtv_audio_start()
235 * { USBTV_BASE + 0x00a2, 0x0013 } in usbtv_audio_stop()
239 { USBTV_BASE + 0x027d, 0x0000 }, in usbtv_audio_stop()
240 { USBTV_BASE + 0x0280, 0x0010 }, in usbtv_audio_stop()
241 { USBTV_BASE + 0x0282, 0x0010 }, in usbtv_audio_stop()
253 return 0; in usbtv_audio_stop()
294 atomic_set(&chip->snd_stream, 0); in snd_usbtv_card_trigger()
302 return 0; in snd_usbtv_card_trigger()
327 atomic_set(&usbtv->snd_stream, 0); in usbtv_audio_init()
330 THIS_MODULE, 0, &card); in usbtv_audio_init()
331 if (rv < 0) in usbtv_audio_init()
344 rv = snd_pcm_new(card, "USBTV Audio", 0, 0, 1, &pcm); in usbtv_audio_init()
345 if (rv < 0) in usbtv_audio_init()
349 pcm->info_flags = 0; in usbtv_audio_init()
360 return 0; in usbtv_audio_init()