Lines Matching refs:ioctl
121 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_SUBSCRIBE_EVENTS, &subscribe) < 0) { in snd_ctl_hw_subscribe_events()
131 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_CARD_INFO, info) < 0) { in snd_ctl_hw_card_info()
141 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_ELEM_LIST, list) < 0) in snd_ctl_hw_elem_list()
149 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_ELEM_INFO, info) < 0) in snd_ctl_hw_elem_info()
162 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_ELEM_ADD, info) < 0) in snd_ctl_hw_elem_add()
175 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_ELEM_REPLACE, info) < 0) in snd_ctl_hw_elem_replace()
183 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_ELEM_REMOVE, id) < 0) in snd_ctl_hw_elem_remove()
191 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_ELEM_READ, control) < 0) in snd_ctl_hw_elem_read()
199 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_ELEM_WRITE, control) < 0) in snd_ctl_hw_elem_write()
207 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_ELEM_LOCK, id) < 0) in snd_ctl_hw_elem_lock()
215 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_ELEM_UNLOCK, id) < 0) in snd_ctl_hw_elem_unlock()
244 if (ioctl(hw->fd, inum, xtlv) < 0) { in snd_ctl_hw_elem_tlv()
264 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_HWDEP_NEXT_DEVICE, device) < 0) in snd_ctl_hw_hwdep_next_device()
272 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_HWDEP_INFO, info) < 0) in snd_ctl_hw_hwdep_info()
280 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE, device) < 0) in snd_ctl_hw_pcm_next_device()
288 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_PCM_INFO, info) < 0) in snd_ctl_hw_pcm_info()
296 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_PCM_PREFER_SUBDEVICE, &subdev) < 0) in snd_ctl_hw_pcm_prefer_subdevice()
304 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_RAWMIDI_NEXT_DEVICE, device) < 0) in snd_ctl_hw_rawmidi_next_device()
312 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_RAWMIDI_INFO, info) < 0) in snd_ctl_hw_rawmidi_info()
320 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_RAWMIDI_PREFER_SUBDEVICE, &subdev) < 0) in snd_ctl_hw_rawmidi_prefer_subdevice()
328 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_POWER, &state) < 0) in snd_ctl_hw_set_power_state()
336 if (ioctl(hw->fd, SNDRV_CTL_IOCTL_POWER_STATE, state) < 0) in snd_ctl_hw_get_power_state()
426 if (ioctl(fd, SNDRV_CTL_IOCTL_PVERSION, &ver) < 0) { in snd_ctl_hw_open()