Searched refs:hdspm_version (Results 1 – 2 of 2) sorted by relevance
182 struct hdspm_version { struct190 #define SNDRV_HDSPM_IOCTL_GET_VERSION _IOR('H', 0x48, struct hdspm_version) argument226 typedef struct hdspm_version hdspm_version_t;
6170 struct hdspm_version hdspm_version; in snd_hdspm_hwdep_ioctl() local6334 memset(&hdspm_version, 0, sizeof(hdspm_version)); in snd_hdspm_hwdep_ioctl()6336 hdspm_version.card_type = hdspm->io_type; in snd_hdspm_hwdep_ioctl()6337 strlcpy(hdspm_version.cardname, hdspm->card_name, in snd_hdspm_hwdep_ioctl()6338 sizeof(hdspm_version.cardname)); in snd_hdspm_hwdep_ioctl()6339 hdspm_version.serial = hdspm->serial; in snd_hdspm_hwdep_ioctl()6340 hdspm_version.firmware_rev = hdspm->firmware_rev; in snd_hdspm_hwdep_ioctl()6341 hdspm_version.addons = 0; in snd_hdspm_hwdep_ioctl()6343 hdspm_version.addons |= HDSPM_ADDON_TCO; in snd_hdspm_hwdep_ioctl()6345 if (copy_to_user(argp, &hdspm_version, in snd_hdspm_hwdep_ioctl()[all …]