Lines Matching refs:vdev
94 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
247 vpcm = devm_kzalloc(&vdev->dev, sizeof(*vpcm), GFP_KERNEL); in virtsnd_pcm_find_or_create()
264 int virtsnd_pcm_validate(struct virtio_device *vdev) in virtsnd_pcm_validate() argument
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
332 virtio_cread_le(vdev, struct virtio_snd_config, streams, in virtsnd_pcm_parse_cfg()
337 snd->substreams = devm_kcalloc(&vdev->dev, snd->nsubstreams, in virtsnd_pcm_parse_cfg()
390 dev_err(&vdev->dev, "SID %u: unknown direction (%u)\n", in virtsnd_pcm_parse_cfg()
414 struct virtio_device *vdev = snd->vdev; in virtsnd_pcm_build_devs() local
431 dev_err(&vdev->dev, "snd_pcm_new[%u] failed: %d\n", in virtsnd_pcm_build_devs()
451 devm_kcalloc(&vdev->dev, stream->nsubstreams, in virtsnd_pcm_build_devs()