Home
last modified time | relevance | path

Searched refs:snd (Results 1 – 13 of 13) sorted by relevance

/drivers/usb/gadget/function/
Du_uac1_legacy.c92 static int playback_default_hw_params(struct gaudio_snd_dev *snd) in playback_default_hw_params() argument
94 struct snd_pcm_substream *substream = snd->substream; in playback_default_hw_params()
104 snd->access = SNDRV_PCM_ACCESS_RW_INTERLEAVED; in playback_default_hw_params()
105 snd->format = SNDRV_PCM_FORMAT_S16_LE; in playback_default_hw_params()
106 snd->channels = 2; in playback_default_hw_params()
107 snd->rate = 48000; in playback_default_hw_params()
115 snd->access, 0); in playback_default_hw_params()
117 snd->format, 0); in playback_default_hw_params()
119 snd->channels, 0); in playback_default_hw_params()
121 snd->rate, 0); in playback_default_hw_params()
[all …]
/drivers/net/plip/
Dplip.c337 struct plip_local *snd,
347 struct plip_local *snd, struct plip_local *rcv);
363 struct plip_local *snd = &nl->snd_data; in plip_bh() local
370 if ((r = (*f)(nl->dev, nl, snd, rcv)) != OK && in plip_bh()
371 (r = plip_bh_timeout_error(nl->dev, nl, snd, rcv, r)) != OK) { in plip_bh()
395 struct plip_local *snd, struct plip_local *rcv, in plip_bh_timeout_error() argument
422 dev->name, snd->state, c0); in plip_bh_timeout_error()
450 snd->state = PLIP_PK_DONE; in plip_bh_timeout_error()
451 if (snd->skb) { in plip_bh_timeout_error()
452 dev_consume_skb_irq(snd->skb); in plip_bh_timeout_error()
[all …]
/drivers/media/usb/usbtv/
Dusbtv-audio.c272 if (!chip->snd) in snd_usbtv_trigger()
342 usbtv->snd = card; in usbtv_audio_init()
363 usbtv->snd = NULL; in usbtv_audio_init()
373 if (usbtv->snd && usbtv->udev) { in usbtv_audio_free()
374 snd_card_free_when_closed(usbtv->snd); in usbtv_audio_free()
375 usbtv->snd = NULL; in usbtv_audio_free()
Dusbtv.h120 struct snd_card *snd; member
/drivers/staging/vc04_services/bcm2835-audio/
DMakefile2 obj-$(CONFIG_SND_BCM2835) += snd-bcm2835.o
3 snd-bcm2835-objs := bcm2835.o bcm2835-ctl.o bcm2835-pcm.o bcm2835-vchiq.o
/drivers/media/usb/go7007/
DMakefile8 snd-go7007.o
/drivers/usb/class/
Dcdc-acm.c1433 struct acm_wb *snd = &(acm->wb[i]); in acm_probe() local
1435 snd->urb = usb_alloc_urb(0, GFP_KERNEL); in acm_probe()
1436 if (snd->urb == NULL) in acm_probe()
1440 usb_fill_int_urb(snd->urb, usb_dev, acm->out, in acm_probe()
1441 NULL, acm->writesize, acm_write_bulk, snd, epwrite->bInterval); in acm_probe()
1443 usb_fill_bulk_urb(snd->urb, usb_dev, acm->out, in acm_probe()
1444 NULL, acm->writesize, acm_write_bulk, snd); in acm_probe()
1445 snd->urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP; in acm_probe()
1447 snd->urb->transfer_flags |= URB_ZERO_PACKET; in acm_probe()
1448 snd->instance = acm; in acm_probe()
/drivers/media/usb/stk1160/
DKconfig13 capture, you need to select the snd-usb-audio driver (i.e.
/drivers/input/keyboard/
Dsunkbd.c217 SUNKBD_CMD_NOCLICK - !!test_bit(SND_CLICK, sunkbd->dev->snd)); in sunkbd_set_leds_beeps()
219 SUNKBD_CMD_BELLOFF - !!test_bit(SND_BELL, sunkbd->dev->snd)); in sunkbd_set_leds_beeps()
Dlkkbd.c597 lkkbd_toggle_keyclick(lk, test_bit(SND_CLICK, lk->dev->snd)); in lkkbd_reinit()
600 if (test_bit(SND_BELL, lk->dev->snd)) in lkkbd_reinit()
/drivers/input/
Dinput.c351 if (!!test_bit(code, dev->snd) != !!value) in input_get_disposition()
352 __change_bit(code, dev->snd); in input_get_disposition()
1519 INPUT_DEV_CAP_ATTR(SND, snd);
1686 INPUT_DO_TOGGLE(dev, SND, snd, activate); in input_dev_toggle()
2096 INPUT_CLEANSE_BITMASK(dev, SND, snd); in input_cleanse_bitmasks()
Devdev.c1163 return evdev_handle_get_val(client, dev, EV_SND, dev->snd, in evdev_do_ioctl()
/drivers/block/drbd/
Ddrbd_receiver.c573 static void drbd_setbufsize(struct socket *sock, unsigned int snd, in drbd_setbufsize() argument
577 if (snd) { in drbd_setbufsize()
578 sock->sk->sk_sndbuf = snd; in drbd_setbufsize()