Searched refs:cid (Results 1 – 2 of 2) sorted by relevance
318 static int virtsnd_kctl_get_enum_items(struct virtio_snd *snd, unsigned int cid) in virtsnd_kctl_get_enum_items() argument321 struct virtio_snd_ctl_info *kinfo = &snd->kctl_infos[cid]; in virtsnd_kctl_get_enum_items()322 struct virtio_kctl *kctl = &snd->kctls[cid]; in virtsnd_kctl_get_enum_items()344 hdr->control_id = cpu_to_le32(cid); in virtsnd_kctl_get_enum_items()407 unsigned int cid; in virtsnd_kctl_build_devs() local409 for (cid = 0; cid < snd->nkctls; ++cid) { in virtsnd_kctl_build_devs()410 struct virtio_snd_ctl_info *kinfo = &snd->kctl_infos[cid]; in virtsnd_kctl_build_devs()411 struct virtio_kctl *kctl = &snd->kctls[cid]; in virtsnd_kctl_build_devs()436 kctl_new.private_value = cid; in virtsnd_kctl_build_devs()462 unsigned int cid = le16_to_cpu(kevent->control_id); in virtsnd_kctl_event() local[all …]
498 char cid[PNP_ID_LEN]; in snd_cs423x_pnpbios_detect() local510 strcpy(cid, pdev->id[0].id); in snd_cs423x_pnpbios_detect()511 cid[5] = '1'; in snd_cs423x_pnpbios_detect()514 if (!strcmp(iter->id[0].id, cid)) { in snd_cs423x_pnpbios_detect()