usX2Y             180 sound/usb/usx2y/usX2Yhwdep.c 	struct usb_device *dev = usX2Y(card)->chip.dev;
usX2Y             187 sound/usb/usx2y/usX2Yhwdep.c 	return snd_usb_create_midi_interface(&usX2Y(card)->chip, iface, quirk);
usX2Y             269 sound/usb/usx2y/usX2Yhwdep.c 	hw->private_data = usX2Y(card);
usX2Y             179 sound/usb/usx2y/usbusx2y.c 		struct usX2Ydev *usX2Y = urb->context;
usX2Y             180 sound/usb/usx2y/usbusx2y.c 		for (i = 0; i < 10 && usX2Y->AS04.urb[i] != urb; i++);
usX2Y             189 sound/usb/usx2y/usbusx2y.c 	struct usX2Ydev		*usX2Y = urb->context;
usX2Y             190 sound/usb/usx2y/usbusx2y.c 	struct us428ctls_sharedmem	*us428ctls = usX2Y->us428ctls_sharedmem;
usX2Y             192 sound/usb/usx2y/usbusx2y.c 	usX2Y->In04IntCalls++;
usX2Y             204 sound/usb/usx2y/usbusx2y.c 			memcpy(usX2Y->In04Last, usX2Y->In04Buf, sizeof(usX2Y->In04Last));
usX2Y             209 sound/usb/usx2y/usbusx2y.c 				if (usX2Y->In04Last[i] != ((char*)usX2Y->In04Buf)[i]) {
usX2Y             212 sound/usb/usx2y/usbusx2y.c 					usX2Y->In04Last[i] = ((char*)usX2Y->In04Buf)[i];
usX2Y             220 sound/usb/usx2y/usbusx2y.c 			memcpy(us428ctls->CtlSnapShot + n, usX2Y->In04Buf, sizeof(us428ctls->CtlSnapShot[0]));
usX2Y             223 sound/usb/usx2y/usbusx2y.c 			wake_up(&usX2Y->us428ctls_wait_queue_head);
usX2Y             228 sound/usb/usx2y/usbusx2y.c 	if (usX2Y->US04) {
usX2Y             229 sound/usb/usx2y/usbusx2y.c 		if (0 == usX2Y->US04->submitted)
usX2Y             231 sound/usb/usx2y/usbusx2y.c 				err = usb_submit_urb(usX2Y->US04->urb[usX2Y->US04->submitted++], GFP_ATOMIC);
usX2Y             232 sound/usb/usx2y/usbusx2y.c 			while (!err && usX2Y->US04->submitted < usX2Y->US04->len);
usX2Y             240 sound/usb/usx2y/usbusx2y.c 					if (0 == usX2Y->AS04.urb[j]->status) {
usX2Y             242 sound/usb/usx2y/usbusx2y.c 						usb_fill_bulk_urb(usX2Y->AS04.urb[j], usX2Y->chip.dev,
usX2Y             243 sound/usb/usx2y/usbusx2y.c 								  usb_sndbulkpipe(usX2Y->chip.dev, 0x04), &p4out->val.vol, 
usX2Y             245 sound/usb/usx2y/usbusx2y.c 								  i_usX2Y_Out04Int, usX2Y);
usX2Y             246 sound/usb/usx2y/usbusx2y.c 						err = usb_submit_urb(usX2Y->AS04.urb[j], GFP_ATOMIC);
usX2Y             256 sound/usb/usx2y/usbusx2y.c 	urb->dev = usX2Y->chip.dev;
usX2Y             268 sound/usb/usx2y/usbusx2y.c 	if (NULL == (usX2Y->AS04.buffer = kmalloc(URB_DataLen_AsyncSeq*URBS_AsyncSeq, GFP_KERNEL))) {
usX2Y             272 sound/usb/usx2y/usbusx2y.c 			if (NULL == (usX2Y->AS04.urb[i] = usb_alloc_urb(0, GFP_KERNEL))) {
usX2Y             276 sound/usb/usx2y/usbusx2y.c 			usb_fill_bulk_urb(	usX2Y->AS04.urb[i], usX2Y->chip.dev,
usX2Y             277 sound/usb/usx2y/usbusx2y.c 						usb_sndbulkpipe(usX2Y->chip.dev, 0x04),
usX2Y             278 sound/usb/usx2y/usbusx2y.c 						usX2Y->AS04.buffer + URB_DataLen_AsyncSeq*i, 0,
usX2Y             279 sound/usb/usx2y/usbusx2y.c 						i_usX2Y_Out04Int, usX2Y
usX2Y             287 sound/usb/usx2y/usbusx2y.c 	if (! (usX2Y->In04urb = usb_alloc_urb(0, GFP_KERNEL)))
usX2Y             290 sound/usb/usx2y/usbusx2y.c 	if (! (usX2Y->In04Buf = kmalloc(21, GFP_KERNEL))) {
usX2Y             291 sound/usb/usx2y/usbusx2y.c 		usb_free_urb(usX2Y->In04urb);
usX2Y             295 sound/usb/usx2y/usbusx2y.c 	init_waitqueue_head(&usX2Y->In04WaitQueue);
usX2Y             296 sound/usb/usx2y/usbusx2y.c 	usb_fill_int_urb(usX2Y->In04urb, usX2Y->chip.dev, usb_rcvintpipe(usX2Y->chip.dev, 0x4),
usX2Y             297 sound/usb/usx2y/usbusx2y.c 			 usX2Y->In04Buf, 21,
usX2Y             298 sound/usb/usx2y/usbusx2y.c 			 i_usX2Y_In04Int, usX2Y,
usX2Y             300 sound/usb/usx2y/usbusx2y.c 	return usb_submit_urb(usX2Y->In04urb, GFP_KERNEL);
usX2Y             348 sound/usb/usx2y/usbusx2y.c 	snd_usX2Y_card_used[usX2Y(card)->chip.index = dev] = 1;
usX2Y             350 sound/usb/usx2y/usbusx2y.c 	usX2Y(card)->chip.dev = device;
usX2Y             351 sound/usb/usx2y/usbusx2y.c 	usX2Y(card)->chip.card = card;
usX2Y             352 sound/usb/usx2y/usbusx2y.c 	init_waitqueue_head(&usX2Y(card)->prepare_wait_queue);
usX2Y             353 sound/usb/usx2y/usbusx2y.c 	mutex_init(&usX2Y(card)->prepare_mutex);
usX2Y             354 sound/usb/usx2y/usbusx2y.c 	INIT_LIST_HEAD(&usX2Y(card)->chip.midi_list);
usX2Y             362 sound/usb/usx2y/usbusx2y.c 		usX2Y(card)->chip.dev->bus->busnum, usX2Y(card)->chip.dev->devnum
usX2Y             417 sound/usb/usx2y/usbusx2y.c 	kfree(usX2Y(card)->In04Buf);
usX2Y             418 sound/usb/usx2y/usbusx2y.c 	usb_free_urb(usX2Y(card)->In04urb);
usX2Y             419 sound/usb/usx2y/usbusx2y.c 	if (usX2Y(card)->us428ctls_sharedmem)
usX2Y             420 sound/usb/usx2y/usbusx2y.c 		snd_free_pages(usX2Y(card)->us428ctls_sharedmem, sizeof(*usX2Y(card)->us428ctls_sharedmem));
usX2Y             421 sound/usb/usx2y/usbusx2y.c 	if (usX2Y(card)->chip.index >= 0  &&  usX2Y(card)->chip.index < SNDRV_CARDS)
usX2Y             422 sound/usb/usx2y/usbusx2y.c 		snd_usX2Y_card_used[usX2Y(card)->chip.index] = 0;
usX2Y             432 sound/usb/usx2y/usbusx2y.c 		struct usX2Ydev *usX2Y = usX2Y(card);
usX2Y             434 sound/usb/usx2y/usbusx2y.c 		usX2Y->chip.shutdown = 1;
usX2Y             435 sound/usb/usx2y/usbusx2y.c 		usX2Y->chip_status = USX2Y_STAT_CHIP_HUP;
usX2Y             436 sound/usb/usx2y/usbusx2y.c 		usX2Y_unlinkSeq(&usX2Y->AS04);
usX2Y             437 sound/usb/usx2y/usbusx2y.c 		usb_kill_urb(usX2Y->In04urb);
usX2Y             440 sound/usb/usx2y/usbusx2y.c 		list_for_each(p, &usX2Y->chip.midi_list) {
usX2Y             443 sound/usb/usx2y/usbusx2y.c 		if (usX2Y->us428ctls_sharedmem) 
usX2Y             444 sound/usb/usx2y/usbusx2y.c 			wake_up(&usX2Y->us428ctls_wait_queue_head);
usX2Y              49 sound/usb/usx2y/usbusx2y.h 	struct usX2Ydev	*usX2Y;
usX2Y              75 sound/usb/usx2y/usbusx2yaudio.c 	struct usX2Ydev	*usX2Y = subs->usX2Y;
usX2Y              85 sound/usb/usx2y/usbusx2yaudio.c 		len = urb->iso_frame_desc[i].actual_length / usX2Y->stride;
usX2Y              94 sound/usb/usx2y/usbusx2yaudio.c 			int blen = cnt * usX2Y->stride;
usX2Y              95 sound/usb/usx2y/usbusx2yaudio.c 			memcpy(runtime->dma_area + hwptr_done * usX2Y->stride, cp, blen);
usX2Y              96 sound/usb/usx2y/usbusx2yaudio.c 			memcpy(runtime->dma_area, cp + blen, len * usX2Y->stride - blen);
usX2Y              98 sound/usb/usx2y/usbusx2yaudio.c 			memcpy(runtime->dma_area + hwptr_done * usX2Y->stride, cp,
usX2Y              99 sound/usb/usx2y/usbusx2yaudio.c 			       len * usX2Y->stride);
usX2Y             130 sound/usb/usx2y/usbusx2yaudio.c 	struct usX2Ydev *usX2Y = subs->usX2Y;
usX2Y             136 sound/usb/usx2y/usbusx2yaudio.c 		counts = cap_urb->iso_frame_desc[pack].actual_length / usX2Y->stride;
usX2Y             158 sound/usb/usx2y/usbusx2yaudio.c 			       subs->hwptr * usX2Y->stride, len * usX2Y->stride);
usX2Y             159 sound/usb/usx2y/usbusx2yaudio.c 			memcpy(subs->tmpbuf + len * usX2Y->stride,
usX2Y             160 sound/usb/usx2y/usbusx2yaudio.c 			       runtime->dma_area, (count - len) * usX2Y->stride);
usX2Y             165 sound/usb/usx2y/usbusx2yaudio.c 			urb->transfer_buffer = runtime->dma_area + subs->hwptr * usX2Y->stride;
usX2Y             171 sound/usb/usx2y/usbusx2yaudio.c 	urb->transfer_buffer_length = count * usX2Y->stride;
usX2Y             183 sound/usb/usx2y/usbusx2yaudio.c 	int		len = urb->actual_length / subs->usX2Y->stride;
usX2Y             202 sound/usb/usx2y/usbusx2yaudio.c 	urb->dev = subs->usX2Y->chip.dev; /* we need to set this at each time */
usX2Y             264 sound/usb/usx2y/usbusx2yaudio.c 		struct snd_usX2Y_substream *subs = usX2Y->subs[s];
usX2Y             271 sound/usb/usx2y/usbusx2yaudio.c 		struct snd_usX2Y_substream *subs = usX2Y->subs[s];
usX2Y             284 sound/usb/usx2y/usbusx2yaudio.c 	usX2Y->prepare_subs = NULL;
usX2Y             285 sound/usb/usx2y/usbusx2yaudio.c 	wake_up(&usX2Y->prepare_wait_queue);
usX2Y             293 sound/usb/usx2y/usbusx2yaudio.c 	usX2Y_clients_stop(usX2Y);
usX2Y             302 sound/usb/usx2y/usbusx2yaudio.c 		   usb_get_current_frame_number(usX2Y->chip.dev),
usX2Y             304 sound/usb/usx2y/usbusx2yaudio.c 		   usX2Y->wait_iso_frame, urb->start_frame, usX2Y->wait_iso_frame);
usX2Y             305 sound/usb/usx2y/usbusx2yaudio.c 	usX2Y_clients_stop(usX2Y);
usX2Y             311 sound/usb/usx2y/usbusx2yaudio.c 	struct usX2Ydev *usX2Y = subs->usX2Y;
usX2Y             315 sound/usb/usx2y/usbusx2yaudio.c 			    usb_get_current_frame_number(usX2Y->chip.dev),
usX2Y             321 sound/usb/usx2y/usbusx2yaudio.c 		usX2Y_error_urb_status(usX2Y, subs, urb);
usX2Y             324 sound/usb/usx2y/usbusx2yaudio.c 	if (likely((urb->start_frame & 0xFFFF) == (usX2Y->wait_iso_frame & 0xFFFF)))
usX2Y             327 sound/usb/usx2y/usbusx2yaudio.c 		usX2Y_error_sequence(usX2Y, subs, urb);
usX2Y             331 sound/usb/usx2y/usbusx2yaudio.c 		struct snd_usX2Y_substream *capsubs = usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE],
usX2Y             332 sound/usb/usx2y/usbusx2yaudio.c 			*playbacksubs = usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK];
usX2Y             338 sound/usb/usx2y/usbusx2yaudio.c 				usX2Y->wait_iso_frame += nr_of_packs();
usX2Y             341 sound/usb/usx2y/usbusx2yaudio.c 				usX2Y_clients_stop(usX2Y);
usX2Y             352 sound/usb/usx2y/usbusx2yaudio.c 		struct snd_usX2Y_substream *subs = usX2Y->subs[s];
usX2Y             364 sound/usb/usx2y/usbusx2yaudio.c 	usX2Y_urbs_set_complete(usX2Y, i_usX2Y_urb_complete);
usX2Y             365 sound/usb/usx2y/usbusx2yaudio.c 	usX2Y->prepare_subs = NULL;
usX2Y             371 sound/usb/usx2y/usbusx2yaudio.c 	struct usX2Ydev *usX2Y = subs->usX2Y;
usX2Y             372 sound/usb/usx2y/usbusx2yaudio.c 	struct snd_usX2Y_substream *prepare_subs = usX2Y->prepare_subs;
usX2Y             375 sound/usb/usx2y/usbusx2yaudio.c 			usX2Y_subs_startup_finish(usX2Y);
usX2Y             377 sound/usb/usx2y/usbusx2yaudio.c 			wake_up(&usX2Y->prepare_wait_queue);
usX2Y             413 sound/usb/usx2y/usbusx2yaudio.c 				  subs != subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK]);
usX2Y             425 sound/usb/usx2y/usbusx2yaudio.c 	int is_playback = subs == subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK];
usX2Y             426 sound/usb/usx2y/usbusx2yaudio.c 	struct usb_device *dev = subs->usX2Y->chip.dev;
usX2Y             473 sound/usb/usx2y/usbusx2yaudio.c 	struct usX2Ydev *usX2Y = subs->usX2Y;
usX2Y             474 sound/usb/usx2y/usbusx2yaudio.c 	usX2Y->prepare_subs = subs;
usX2Y             477 sound/usb/usx2y/usbusx2yaudio.c 	usX2Y_urbs_set_complete(usX2Y, i_usX2Y_subs_startup);
usX2Y             483 sound/usb/usx2y/usbusx2yaudio.c 	struct usX2Ydev *usX2Y = subs->usX2Y;
usX2Y             489 sound/usb/usx2y/usbusx2yaudio.c 		struct snd_usX2Y_substream *subs = usX2Y->subs[i];
usX2Y             502 sound/usb/usx2y/usbusx2yaudio.c 			urb->dev = usX2Y->chip.dev;
usX2Y             515 sound/usb/usx2y/usbusx2yaudio.c 					usX2Y->wait_iso_frame = urb->start_frame;
usX2Y             523 sound/usb/usx2y/usbusx2yaudio.c 	wait_event(usX2Y->prepare_wait_queue, NULL == usX2Y->prepare_subs);
usX2Y             529 sound/usb/usx2y/usbusx2yaudio.c 		usX2Y_subs_startup_finish(usX2Y);
usX2Y             530 sound/usb/usx2y/usbusx2yaudio.c 		usX2Y_clients_stop(usX2Y);		// something is completely wroong > stop evrything
usX2Y             554 sound/usb/usx2y/usbusx2yaudio.c 		    atomic_read(&subs->usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE]->state) >= state_PREPARED) {
usX2Y             661 sound/usb/usx2y/usbusx2yaudio.c 	struct usX2Ydev *usX2Y = urb->context;
usX2Y             665 sound/usb/usx2y/usbusx2yaudio.c 	if (0 == --usX2Y->US04->len)
usX2Y             666 sound/usb/usx2y/usbusx2yaudio.c 		wake_up(&usX2Y->In04WaitQueue);
usX2Y             676 sound/usb/usx2y/usbusx2yaudio.c 	if (usX2Y->rate != rate) {
usX2Y             694 sound/usb/usx2y/usbusx2yaudio.c 			usb_fill_bulk_urb(us->urb[i], usX2Y->chip.dev, usb_sndbulkpipe(usX2Y->chip.dev, 4),
usX2Y             695 sound/usb/usx2y/usbusx2yaudio.c 					  usbdata + i, 2, i_usX2Y_04Int, usX2Y);
usX2Y             702 sound/usb/usx2y/usbusx2yaudio.c 		usX2Y->US04 =	us;
usX2Y             703 sound/usb/usx2y/usbusx2yaudio.c 		wait_event_timeout(usX2Y->In04WaitQueue, 0 == us->len, HZ);
usX2Y             704 sound/usb/usx2y/usbusx2yaudio.c 		usX2Y->US04 =	NULL;
usX2Y             719 sound/usb/usx2y/usbusx2yaudio.c 			usX2Y->US04 = NULL;
usX2Y             723 sound/usb/usx2y/usbusx2yaudio.c 				usX2Y->rate = rate;
usX2Y             737 sound/usb/usx2y/usbusx2yaudio.c 		usX2Y->stride = 6;
usX2Y             740 sound/usb/usx2y/usbusx2yaudio.c 		usX2Y->stride = 4;
usX2Y             742 sound/usb/usx2y/usbusx2yaudio.c 	list_for_each(p, &usX2Y->chip.midi_list) {
usX2Y             745 sound/usb/usx2y/usbusx2yaudio.c 	usb_kill_urb(usX2Y->In04urb);
usX2Y             746 sound/usb/usx2y/usbusx2yaudio.c 	if ((err = usb_set_interface(usX2Y->chip.dev, 0, alternate))) {
usX2Y             750 sound/usb/usx2y/usbusx2yaudio.c 	usX2Y->In04urb->dev = usX2Y->chip.dev;
usX2Y             751 sound/usb/usx2y/usbusx2yaudio.c 	err = usb_submit_urb(usX2Y->In04urb, GFP_KERNEL);
usX2Y             752 sound/usb/usx2y/usbusx2yaudio.c 	list_for_each(p, &usX2Y->chip.midi_list) {
usX2Y             755 sound/usb/usx2y/usbusx2yaudio.c 	usX2Y->format = format;
usX2Y             756 sound/usb/usx2y/usbusx2yaudio.c 	usX2Y->rate = 0;
usX2Y             807 sound/usb/usx2y/usbusx2yaudio.c 	mutex_lock(&subs->usX2Y->prepare_mutex);
usX2Y             811 sound/usb/usx2y/usbusx2yaudio.c 		struct snd_usX2Y_substream *cap_subs = subs->usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE];
usX2Y             822 sound/usb/usx2y/usbusx2yaudio.c 		struct snd_usX2Y_substream *playback_subs = subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK];
usX2Y             828 sound/usb/usx2y/usbusx2yaudio.c 	mutex_unlock(&subs->usX2Y->prepare_mutex);
usX2Y             840 sound/usb/usx2y/usbusx2yaudio.c 	struct usX2Ydev *usX2Y = subs->usX2Y;
usX2Y             841 sound/usb/usx2y/usbusx2yaudio.c 	struct snd_usX2Y_substream *capsubs = subs->usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE];
usX2Y             845 sound/usb/usx2y/usbusx2yaudio.c 	mutex_lock(&usX2Y->prepare_mutex);
usX2Y             850 sound/usb/usx2y/usbusx2yaudio.c 		if (usX2Y->format != runtime->format)
usX2Y             851 sound/usb/usx2y/usbusx2yaudio.c 			if ((err = usX2Y_format_set(usX2Y, runtime->format)) < 0)
usX2Y             853 sound/usb/usx2y/usbusx2yaudio.c 		if (usX2Y->rate != runtime->rate)
usX2Y             854 sound/usb/usx2y/usbusx2yaudio.c 			if ((err = usX2Y_rate_set(usX2Y, runtime->rate)) < 0)
usX2Y             865 sound/usb/usx2y/usbusx2yaudio.c 	mutex_unlock(&usX2Y->prepare_mutex);
usX2Y             896 sound/usb/usx2y/usbusx2yaudio.c 	if (subs->usX2Y->chip_status & USX2Y_STAT_CHIP_MMAP_PCM_URBS)
usX2Y             956 sound/usb/usx2y/usbusx2yaudio.c 		usX2Y(card)->subs + 2 * usX2Y(card)->chip.pcm_devs;
usX2Y             965 sound/usb/usx2y/usbusx2yaudio.c 		usX2Y_substream[i]->usX2Y = usX2Y(card);
usX2Y             972 sound/usb/usx2y/usbusx2yaudio.c 	err = snd_pcm_new(card, NAME_ALLCAPS" Audio", usX2Y(card)->chip.pcm_devs,
usX2Y             988 sound/usb/usx2y/usbusx2yaudio.c 	sprintf(pcm->name, NAME_ALLCAPS" Audio #%d", usX2Y(card)->chip.pcm_devs);
usX2Y            1002 sound/usb/usx2y/usbusx2yaudio.c 	usX2Y(card)->chip.pcm_devs++;
usX2Y            1014 sound/usb/usx2y/usbusx2yaudio.c 	INIT_LIST_HEAD(&usX2Y(card)->chip.pcm_list);
usX2Y            1018 sound/usb/usx2y/usbusx2yaudio.c 	if (le16_to_cpu(usX2Y(card)->chip.dev->descriptor.idProduct) == USB_ID_US428)
usX2Y            1021 sound/usb/usx2y/usbusx2yaudio.c 	if (le16_to_cpu(usX2Y(card)->chip.dev->descriptor.idProduct) != USB_ID_US122)
usX2Y            1022 sound/usb/usx2y/usbusx2yaudio.c 		err = usX2Y_rate_set(usX2Y(card), 44100);	// Lets us428 recognize output-volume settings, disturbs us122.
usX2Y              66 sound/usb/usx2y/usx2yhwdeppcm.c 	struct usX2Ydev	*usX2Y = subs->usX2Y;
usX2Y              67 sound/usb/usx2y/usx2yhwdeppcm.c 	if (0 > usX2Y->hwdep_pcm_shm->capture_iso_start) { //FIXME
usX2Y              68 sound/usb/usx2y/usx2yhwdeppcm.c 		int head = usX2Y->hwdep_pcm_shm->captured_iso_head + 1;
usX2Y              69 sound/usb/usx2y/usx2yhwdeppcm.c 		if (head >= ARRAY_SIZE(usX2Y->hwdep_pcm_shm->captured_iso))
usX2Y              71 sound/usb/usx2y/usx2yhwdeppcm.c 		usX2Y->hwdep_pcm_shm->capture_iso_start = head;
usX2Y              79 sound/usb/usx2y/usx2yhwdeppcm.c 		lens += urb->iso_frame_desc[i].actual_length / usX2Y->stride;
usX2Y              96 sound/usb/usx2y/usx2yhwdeppcm.c 	return (runtime->buffer_size * 1000) / usX2Y->rate + 1;	//FIXME: so far only correct period_size == 2^x ?
usX2Y             113 sound/usb/usx2y/usx2yhwdeppcm.c 	struct usX2Ydev *usX2Y = subs->usX2Y;
usX2Y             114 sound/usb/usx2y/usx2yhwdeppcm.c 	struct snd_usX2Y_hwdep_pcm_shm *shm = usX2Y->hwdep_pcm_shm;
usX2Y             119 sound/usb/usx2y/usx2yhwdeppcm.c 			usX2Y_iso_frames_per_buffer(runtime, usX2Y);
usX2Y             128 sound/usb/usx2y/usx2yhwdeppcm.c 		counts = shm->captured_iso[shm->playback_iso_head].length / usX2Y->stride;
usX2Y             143 sound/usb/usx2y/usx2yhwdeppcm.c 	urb->transfer_buffer_length = count * usX2Y->stride;
usX2Y             155 sound/usb/usx2y/usx2yhwdeppcm.c 			struct snd_usX2Y_hwdep_pcm_shm *shm = subs->usX2Y->hwdep_pcm_shm;
usX2Y             232 sound/usb/usx2y/usx2yhwdeppcm.c 	struct usX2Ydev *usX2Y = subs->usX2Y;
usX2Y             237 sound/usb/usx2y/usx2yhwdeppcm.c 			    usb_get_current_frame_number(usX2Y->chip.dev),
usX2Y             243 sound/usb/usx2y/usx2yhwdeppcm.c 		usX2Y_error_urb_status(usX2Y, subs, urb);
usX2Y             246 sound/usb/usx2y/usx2yhwdeppcm.c 	if (likely((urb->start_frame & 0xFFFF) == (usX2Y->wait_iso_frame & 0xFFFF)))
usX2Y             249 sound/usb/usx2y/usx2yhwdeppcm.c 		usX2Y_error_sequence(usX2Y, subs, urb);
usX2Y             253 sound/usb/usx2y/usx2yhwdeppcm.c 	capsubs = usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE];
usX2Y             254 sound/usb/usx2y/usx2yhwdeppcm.c 	capsubs2 = usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE + 2];
usX2Y             255 sound/usb/usx2y/usx2yhwdeppcm.c 	playbacksubs = usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK];
usX2Y             260 sound/usb/usx2y/usx2yhwdeppcm.c 			usX2Y->wait_iso_frame += nr_of_packs();
usX2Y             263 sound/usb/usx2y/usx2yhwdeppcm.c 			usX2Y_clients_stop(usX2Y);
usX2Y             289 sound/usb/usx2y/usx2yhwdeppcm.c 	usX2Y_urbs_set_complete(usX2Y, i_usX2Y_usbpcm_urb_complete);
usX2Y             290 sound/usb/usx2y/usx2yhwdeppcm.c 	usX2Y->prepare_subs = NULL;
usX2Y             296 sound/usb/usx2y/usx2yhwdeppcm.c 	struct usX2Ydev *usX2Y = subs->usX2Y;
usX2Y             297 sound/usb/usx2y/usx2yhwdeppcm.c 	struct snd_usX2Y_substream *prepare_subs = usX2Y->prepare_subs;
usX2Y             301 sound/usb/usx2y/usx2yhwdeppcm.c 		if (prepare_subs == usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE]) {
usX2Y             302 sound/usb/usx2y/usx2yhwdeppcm.c 			struct snd_usX2Y_substream *cap_subs2 = usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE + 2];
usX2Y             306 sound/usb/usx2y/usx2yhwdeppcm.c 		usX2Y_usbpcm_subs_startup_finish(usX2Y);
usX2Y             307 sound/usb/usx2y/usx2yhwdeppcm.c 		wake_up(&usX2Y->prepare_wait_queue);
usX2Y             320 sound/usb/usx2y/usx2yhwdeppcm.c 	int is_playback = subs == subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK];
usX2Y             321 sound/usb/usx2y/usx2yhwdeppcm.c 	struct usb_device *dev = subs->usX2Y->chip.dev;
usX2Y             342 sound/usb/usx2y/usx2yhwdeppcm.c 			subs->usX2Y->hwdep_pcm_shm->playback : (
usX2Y             344 sound/usb/usx2y/usx2yhwdeppcm.c 				subs->usX2Y->hwdep_pcm_shm->capture0x8 :
usX2Y             345 sound/usb/usx2y/usx2yhwdeppcm.c 				subs->usX2Y->hwdep_pcm_shm->capture0xA);
usX2Y             364 sound/usb/usx2y/usx2yhwdeppcm.c 		*cap_subs2 = subs->usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE + 2];
usX2Y             365 sound/usb/usx2y/usx2yhwdeppcm.c 	mutex_lock(&subs->usX2Y->prepare_mutex);
usX2Y             369 sound/usb/usx2y/usx2yhwdeppcm.c 		struct snd_usX2Y_substream *cap_subs = subs->usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE];
usX2Y             384 sound/usb/usx2y/usx2yhwdeppcm.c 		struct snd_usX2Y_substream *playback_subs = subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK];
usX2Y             394 sound/usb/usx2y/usx2yhwdeppcm.c 	mutex_unlock(&subs->usX2Y->prepare_mutex);
usX2Y             400 sound/usb/usx2y/usx2yhwdeppcm.c 	struct usX2Ydev * usX2Y = subs->usX2Y;
usX2Y             401 sound/usb/usx2y/usx2yhwdeppcm.c 	usX2Y->prepare_subs = subs;
usX2Y             404 sound/usb/usx2y/usx2yhwdeppcm.c 	usX2Y_urbs_set_complete(usX2Y, i_usX2Y_usbpcm_subs_startup);
usX2Y             411 sound/usb/usx2y/usx2yhwdeppcm.c 	struct usX2Ydev *usX2Y = subs->usX2Y;
usX2Y             414 sound/usb/usx2y/usx2yhwdeppcm.c 		usX2Y->hwdep_pcm_shm->captured_iso_head = -1;
usX2Y             415 sound/usb/usx2y/usx2yhwdeppcm.c 		usX2Y->hwdep_pcm_shm->captured_iso_frames = 0;
usX2Y             419 sound/usb/usx2y/usx2yhwdeppcm.c 		struct snd_usX2Y_substream *subs = usX2Y->subs[stream + p];
usX2Y             428 sound/usb/usx2y/usx2yhwdeppcm.c 		struct snd_usX2Y_substream *subs = usX2Y->subs[p];
usX2Y             437 sound/usb/usx2y/usx2yhwdeppcm.c 			struct snd_usX2Y_substream *subs = usX2Y->subs[stream + p];
usX2Y             444 sound/usb/usx2y/usx2yhwdeppcm.c 					urb->dev = usX2Y->chip.dev;
usX2Y             458 sound/usb/usx2y/usx2yhwdeppcm.c 							usX2Y->wait_iso_frame = urb->start_frame;
usX2Y             469 sound/usb/usx2y/usx2yhwdeppcm.c 	wait_event(usX2Y->prepare_wait_queue, NULL == usX2Y->prepare_subs);
usX2Y             475 sound/usb/usx2y/usx2yhwdeppcm.c 		usX2Y_subs_startup_finish(usX2Y);	// Call it now
usX2Y             476 sound/usb/usx2y/usx2yhwdeppcm.c 		usX2Y_clients_stop(usX2Y);		// something is completely wroong > stop evrything			
usX2Y             490 sound/usb/usx2y/usx2yhwdeppcm.c 	struct usX2Ydev *usX2Y = subs->usX2Y;
usX2Y             491 sound/usb/usx2y/usx2yhwdeppcm.c 	struct snd_usX2Y_substream *capsubs = subs->usX2Y->subs[SNDRV_PCM_STREAM_CAPTURE];
usX2Y             495 sound/usb/usx2y/usx2yhwdeppcm.c 	if (NULL == usX2Y->hwdep_pcm_shm) {
usX2Y             496 sound/usb/usx2y/usx2yhwdeppcm.c 		if (NULL == (usX2Y->hwdep_pcm_shm = snd_malloc_pages(sizeof(struct snd_usX2Y_hwdep_pcm_shm), GFP_KERNEL)))
usX2Y             498 sound/usb/usx2y/usx2yhwdeppcm.c 		memset(usX2Y->hwdep_pcm_shm, 0, sizeof(struct snd_usX2Y_hwdep_pcm_shm));
usX2Y             501 sound/usb/usx2y/usx2yhwdeppcm.c 	mutex_lock(&usX2Y->prepare_mutex);
usX2Y             506 sound/usb/usx2y/usx2yhwdeppcm.c 		if (usX2Y->format != runtime->format)
usX2Y             507 sound/usb/usx2y/usx2yhwdeppcm.c 			if ((err = usX2Y_format_set(usX2Y, runtime->format)) < 0)
usX2Y             509 sound/usb/usx2y/usx2yhwdeppcm.c 		if (usX2Y->rate != runtime->rate)
usX2Y             510 sound/usb/usx2y/usx2yhwdeppcm.c 			if ((err = usX2Y_rate_set(usX2Y, runtime->rate)) < 0)
usX2Y             519 sound/usb/usx2y/usx2yhwdeppcm.c 		usX2Y->hwdep_pcm_shm->playback_iso_start = -1;
usX2Y             521 sound/usb/usx2y/usx2yhwdeppcm.c 			while (usX2Y_iso_frames_per_buffer(runtime, usX2Y) >
usX2Y             522 sound/usb/usx2y/usx2yhwdeppcm.c 			       usX2Y->hwdep_pcm_shm->captured_iso_frames) {
usX2Y             525 sound/usb/usx2y/usx2yhwdeppcm.c 					    usX2Y_iso_frames_per_buffer(runtime, usX2Y),
usX2Y             526 sound/usb/usx2y/usx2yhwdeppcm.c 					    usX2Y->hwdep_pcm_shm->captured_iso_frames);
usX2Y             536 sound/usb/usx2y/usx2yhwdeppcm.c 			    usX2Y_iso_frames_per_buffer(runtime, usX2Y),
usX2Y             537 sound/usb/usx2y/usx2yhwdeppcm.c 			    usX2Y->hwdep_pcm_shm->captured_iso_frames);
usX2Y             539 sound/usb/usx2y/usx2yhwdeppcm.c 		usX2Y->hwdep_pcm_shm->capture_iso_start = -1;
usX2Y             542 sound/usb/usx2y/usx2yhwdeppcm.c 	mutex_unlock(&usX2Y->prepare_mutex);
usX2Y             573 sound/usb/usx2y/usx2yhwdeppcm.c 	if (!(subs->usX2Y->chip_status & USX2Y_STAT_CHIP_MMAP_PCM_URBS))
usX2Y             577 sound/usb/usx2y/usx2yhwdeppcm.c 		(subs->usX2Y->subs[3] ? snd_usX2Y_4c : snd_usX2Y_2c);
usX2Y             659 sound/usb/usx2y/usx2yhwdeppcm.c 		usX2Y(card)->chip_status |= USX2Y_STAT_CHIP_MMAP_PCM_URBS;
usX2Y             670 sound/usb/usx2y/usx2yhwdeppcm.c 		usX2Y(hw->card)->chip_status &= ~USX2Y_STAT_CHIP_MMAP_PCM_URBS;
usX2Y             710 sound/usb/usx2y/usx2yhwdeppcm.c 	struct usX2Ydev	*usX2Y = hw->private_data;
usX2Y             712 sound/usb/usx2y/usx2yhwdeppcm.c 	if (!(usX2Y->chip_status & USX2Y_STAT_CHIP_INIT))
usX2Y             721 sound/usb/usx2y/usx2yhwdeppcm.c 	if (!usX2Y->hwdep_pcm_shm) {
usX2Y             733 sound/usb/usx2y/usx2yhwdeppcm.c 	struct usX2Ydev *usX2Y = hwdep->private_data;
usX2Y             734 sound/usb/usx2y/usx2yhwdeppcm.c 	if (NULL != usX2Y->hwdep_pcm_shm)
usX2Y             735 sound/usb/usx2y/usx2yhwdeppcm.c 		snd_free_pages(usX2Y->hwdep_pcm_shm, sizeof(struct snd_usX2Y_hwdep_pcm_shm));
usX2Y             744 sound/usb/usx2y/usx2yhwdeppcm.c 	struct usb_device *dev = usX2Y(card)->chip.dev;
usX2Y             752 sound/usb/usx2y/usx2yhwdeppcm.c 	hw->private_data = usX2Y(card);
usX2Y             767 sound/usb/usx2y/usx2yhwdeppcm.c 	pcm->private_data = usX2Y(card)->subs;