Searched refs:vdev (Results 1 – 9 of 9) sorted by relevance
/sound/virtio/ |
D | virtio_card.c | 18 static void virtsnd_remove(struct virtio_device *vdev); 81 struct virtio_snd *snd = vqueue->vdev->priv; in virtsnd_event_notify_cb() 111 struct virtio_device *vdev = snd->vdev; in virtsnd_find_vqs() local 129 rc = virtio_find_vqs(vdev, VIRTIO_SND_VQ_MAX, vqs, callbacks, names, in virtsnd_find_vqs() 132 dev_err(&vdev->dev, "failed to initialize virtqueues\n"); in virtsnd_find_vqs() 201 struct virtio_device *vdev = snd->vdev; in virtsnd_build_devs() local 202 struct device *dev = &vdev->dev; in virtsnd_build_devs() 266 static int virtsnd_validate(struct virtio_device *vdev) in virtsnd_validate() argument 268 if (!vdev->config->get) { in virtsnd_validate() 269 dev_err(&vdev->dev, "configuration access disabled\n"); in virtsnd_validate() [all …]
|
D | virtio_pcm.c | 94 struct virtio_device *vdev = vss->snd->vdev; in virtsnd_pcm_build_hw() local 115 dev_err(&vdev->dev, in virtsnd_pcm_build_hw() 143 dev_err(&vdev->dev, in virtsnd_pcm_build_hw() 166 dev_err(&vdev->dev, in virtsnd_pcm_build_hw() 238 struct virtio_device *vdev = snd->vdev; in virtsnd_pcm_find_or_create() local 245 vpcm = devm_kzalloc(&vdev->dev, sizeof(*vpcm), GFP_KERNEL); in virtsnd_pcm_find_or_create() 262 int virtsnd_pcm_validate(struct virtio_device *vdev) in virtsnd_pcm_validate() argument 265 dev_err(&vdev->dev, in virtsnd_pcm_validate() 272 dev_err(&vdev->dev, in virtsnd_pcm_validate() 279 dev_err(&vdev->dev, in virtsnd_pcm_validate() [all …]
|
D | virtio_chmap.c | 62 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()
|
D | virtio_pcm_ops.c | 218 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() 419 dev_warn(&snd->vdev->dev, "SID %u: failed to flush I/O queue\n", in virtsnd_pcm_sync_stop()
|
D | virtio_ctl_msg.c | 125 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()
|
D | virtio_jack.c | 133 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()
|
D | virtio_pcm_msg.c | 206 struct virtio_device *vdev = snd->vdev; in virtsnd_pcm_msg_send() local 235 dev_err(&vdev->dev, in virtsnd_pcm_msg_send() 363 struct virtio_snd *snd = vqueue->vdev->priv; in virtsnd_pcm_tx_notify_cb() 376 struct virtio_snd *snd = vqueue->vdev->priv; in virtsnd_pcm_rx_notify_cb()
|
D | virtio_card.h | 50 struct virtio_device *vdev; member
|
D | virtio_pcm.h | 95 int virtsnd_pcm_validate(struct virtio_device *vdev);
|