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