Lines Matching refs:typhoon
164 struct typhoon_device *typhoon = dev->priv; in typhoon_ioctl() local
211 if (copy_to_user(arg, &typhoon->curfreq, in typhoon_ioctl()
212 sizeof(typhoon->curfreq))) in typhoon_ioctl()
216 if (copy_from_user(&typhoon->curfreq, arg, in typhoon_ioctl()
217 sizeof(typhoon->curfreq))) in typhoon_ioctl()
219 typhoon_setfreq(typhoon, typhoon->curfreq); in typhoon_ioctl()
227 v.volume = typhoon->curvol; in typhoon_ioctl()
243 typhoon_mute(typhoon); in typhoon_ioctl()
245 typhoon_unmute(typhoon); in typhoon_ioctl()
248 typhoon_setvol(typhoon, v.volume); in typhoon_ioctl()
259 struct typhoon_device *typhoon = dev->priv; in typhoon_open() local
260 if (typhoon->users) in typhoon_open()
262 typhoon->users++; in typhoon_open()
268 struct typhoon_device *typhoon = dev->priv; in typhoon_close() local
269 typhoon->users--; in typhoon_close()