Searched refs:njacks (Results 1 – 3 of 3) sorted by relevance
/linux/sound/virtio/ |
H A D | virtio_jack.c | 138 virtio_cread_le(vdev, struct virtio_snd_config, jacks, &snd->njacks); in virtsnd_jack_parse_cfg() 139 if (!snd->njacks) in virtsnd_jack_parse_cfg() 142 snd->jacks = devm_kcalloc(&vdev->dev, snd->njacks, sizeof(*snd->jacks), in virtsnd_jack_parse_cfg() 147 info = kcalloc(snd->njacks, sizeof(*info), GFP_KERNEL); in virtsnd_jack_parse_cfg() 151 rc = virtsnd_ctl_query_info(snd, VIRTIO_SND_R_JACK_INFO, 0, snd->njacks, in virtsnd_jack_parse_cfg() 156 for (i = 0; i < snd->njacks; ++i) { in virtsnd_jack_parse_cfg() 184 for (i = 0; i < snd->njacks; ++i) { in virtsnd_jack_build_devs() 216 if (jack_id >= snd->njacks) in virtsnd_jack_event()
|
H A D | virtio_card.h | 70 u32 njacks; member
|
H A D | virtio_card.c | 242 if (snd->njacks) { in virtsnd_build_devs()
|