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;
6180 struct hdspm_version hdspm_version; in snd_hdspm_hwdep_ioctl() local6344 memset(&hdspm_version, 0, sizeof(hdspm_version)); in snd_hdspm_hwdep_ioctl()6346 hdspm_version.card_type = hdspm->io_type; in snd_hdspm_hwdep_ioctl()6347 strlcpy(hdspm_version.cardname, hdspm->card_name, in snd_hdspm_hwdep_ioctl()6348 sizeof(hdspm_version.cardname)); in snd_hdspm_hwdep_ioctl()6349 hdspm_version.serial = hdspm->serial; in snd_hdspm_hwdep_ioctl()6350 hdspm_version.firmware_rev = hdspm->firmware_rev; in snd_hdspm_hwdep_ioctl()6351 hdspm_version.addons = 0; in snd_hdspm_hwdep_ioctl()6353 hdspm_version.addons |= HDSPM_ADDON_TCO; in snd_hdspm_hwdep_ioctl()6355 if (copy_to_user(argp, &hdspm_version, in snd_hdspm_hwdep_ioctl()[all …]