Home
last modified time | relevance | path

Searched refs:vdev (Results 1 – 10 of 10) sorted by relevance

/sound/virtio/
A Dvirtio_card.c112 struct virtio_device *vdev = snd->vdev; in virtsnd_find_vqs() local
199 struct virtio_device *vdev = snd->vdev; in virtsnd_build_devs() local
278 if (!vdev->config->get) { in virtsnd_validate()
284 dev_err(&vdev->dev, in virtsnd_validate()
317 snd->vdev = vdev; in virtsnd_probe()
321 vdev->priv = snd; in virtsnd_probe()
330 virtio_device_ready(vdev); in virtsnd_probe()
340 virtsnd_remove(vdev); in virtsnd_probe()
362 vdev->config->del_vqs(vdev); in virtsnd_remove()
363 virtio_reset_device(vdev); in virtsnd_remove()
[all …]
A Dvirtio_pcm.c94 struct virtio_device *vdev = vss->snd->vdev; in virtsnd_pcm_build_hw() local
117 dev_err(&vdev->dev, in virtsnd_pcm_build_hw()
145 dev_err(&vdev->dev, in virtsnd_pcm_build_hw()
168 dev_err(&vdev->dev, in virtsnd_pcm_build_hw()
240 struct virtio_device *vdev = snd->vdev; in virtsnd_pcm_find_or_create() local
267 dev_err(&vdev->dev, in virtsnd_pcm_validate()
274 dev_err(&vdev->dev, in virtsnd_pcm_validate()
281 dev_err(&vdev->dev, in virtsnd_pcm_validate()
288 dev_err(&vdev->dev, in virtsnd_pcm_validate()
327 struct virtio_device *vdev = snd->vdev; in virtsnd_pcm_parse_cfg() local
[all …]
A Dvirtio_chmap.c62 struct virtio_device *vdev = snd->vdev; in virtsnd_chmap_parse_cfg() local
66 virtio_cread_le(vdev, struct virtio_snd_config, chmaps, &snd->nchmaps); in virtsnd_chmap_parse_cfg()
70 snd->chmaps = devm_kcalloc(&vdev->dev, snd->nchmaps, in virtsnd_chmap_parse_cfg()
100 dev_err(&vdev->dev, in virtsnd_chmap_parse_cfg()
144 struct virtio_device *vdev = snd->vdev; in virtsnd_chmap_build_devs() local
158 vs->chmaps = devm_kcalloc(&vdev->dev, vs->nchmaps + 1, in virtsnd_chmap_build_devs()
A Dvirtio_ctl_msg.c125 struct virtio_device *vdev = snd->vdev; in virtsnd_ctl_msg_send() local
161 dev_err(&vdev->dev, "failed to send control message (0x%08x)\n", in virtsnd_ctl_msg_send()
182 dev_err(&vdev->dev, in virtsnd_ctl_msg_send()
295 struct virtio_snd *snd = vqueue->vdev->priv; in virtsnd_ctl_notify_cb()
A Dvirtio_jack.c133 struct virtio_device *vdev = snd->vdev; in virtsnd_jack_parse_cfg() local
138 virtio_cread_le(vdev, struct virtio_snd_config, jacks, &snd->njacks); in virtsnd_jack_parse_cfg()
142 snd->jacks = devm_kcalloc(&vdev->dev, snd->njacks, sizeof(*snd->jacks), in virtsnd_jack_parse_cfg()
A Dvirtio_pcm_ops.c218 struct virtio_device *vdev = vss->snd->vdev; in virtsnd_pcm_hw_params() local
222 dev_err(&vdev->dev, "SID %u: invalid I/O queue state\n", in virtsnd_pcm_hw_params()
273 struct virtio_device *vdev = vss->snd->vdev; in virtsnd_pcm_prepare() local
278 dev_err(&vdev->dev, "SID %u: invalid I/O queue state\n", in virtsnd_pcm_prepare()
424 dev_warn(&snd->vdev->dev, "SID %u: failed to flush I/O queue\n", in virtsnd_pcm_sync_stop()
A Dvirtio_kctl.c320 struct virtio_device *vdev = snd->vdev; in virtsnd_kctl_get_enum_items() local
333 kctl->items = devm_kcalloc(&vdev->dev, n, sizeof(*kctl->items), in virtsnd_kctl_get_enum_items()
360 struct virtio_device *vdev = snd->vdev; in virtsnd_kctl_parse_cfg() local
364 virtio_cread_le(vdev, struct virtio_snd_config, controls, in virtsnd_kctl_parse_cfg()
369 snd->kctl_infos = devm_kcalloc(&vdev->dev, snd->nkctls, in virtsnd_kctl_parse_cfg()
374 snd->kctls = devm_kcalloc(&vdev->dev, snd->nkctls, sizeof(*snd->kctls), in virtsnd_kctl_parse_cfg()
A Dvirtio_pcm_msg.c204 struct virtio_device *vdev = snd->vdev; in virtsnd_pcm_msg_send() local
241 dev_err(&vdev->dev, in virtsnd_pcm_msg_send()
373 struct virtio_snd *snd = vqueue->vdev->priv; in virtsnd_pcm_tx_notify_cb()
386 struct virtio_snd *snd = vqueue->vdev->priv; in virtsnd_pcm_rx_notify_cb()
A Dvirtio_pcm.h97 int virtsnd_pcm_validate(struct virtio_device *vdev);
A Dvirtio_card.h63 struct virtio_device *vdev; member

Completed in 27 milliseconds