/external/qemu/target-i386/ |
D | hax-darwin.c | 48 ret = ioctl(hax_global.vm->fd, HAX_VM_IOCTL_ALLOC_RAM, &info); in hax_populate_ram() 79 ret = ioctl(hax_global.vm->fd, HAX_VM_IOCTL_SET_RAM, pinfo); in hax_set_phys_mem() 92 ret = ioctl(hax->fd, HAX_IOCTL_CAPABILITY, cap); in hax_capability() 106 ret = ioctl(hax->fd, HAX_IOCTL_VERSION, version); in hax_mod_version() 164 ret = ioctl(hax->fd, HAX_IOCTL_CREATE_VM, &vm_id); in hax_host_create_vm() 191 ret = ioctl(vm_fd, HAX_VM_IOCTL_NOTIFY_QEMU_VERSION, qversion); in hax_notify_qemu_version() 210 ret = ioctl(vm_fd, HAX_VM_IOCTL_VCPU_CREATE, &vcpuid); in hax_host_create_vcpu() 241 ret = ioctl(vcpu->fd, HAX_VCPU_IOCTL_SETUP_TUNNEL, &info); in hax_host_setup_vcpu_channel() 264 ret = ioctl(vcpu->fd, HAX_VCPU_IOCTL_RUN, NULL); in hax_vcpu_run() 277 ret = ioctl(fd, HAX_VCPU_IOCTL_SET_FPU, fl); in hax_sync_fpu() [all …]
|
/external/quake/quake/src/QW/client/ |
D | snd_linux.c | 41 rc = ioctl(audio_fd, SNDCTL_DSP_RESET, 0); in SNDDMA_Init() 50 if (ioctl(audio_fd, SNDCTL_DSP_GETCAPS, &caps)==-1) in SNDDMA_Init() 65 if (ioctl(audio_fd, SNDCTL_DSP_GETOSPACE, &info)==-1) in SNDDMA_Init() 84 ioctl(audio_fd, SNDCTL_DSP_GETFMTS, &fmt); in SNDDMA_Init() 96 if (!ioctl(audio_fd, SNDCTL_DSP_SPEED, &tryrates[i])) break; in SNDDMA_Init() 126 rc = ioctl(audio_fd, SNDCTL_DSP_STEREO, &tmp); in SNDDMA_Init() 139 rc = ioctl(audio_fd, SNDCTL_DSP_SPEED, &shm->speed); in SNDDMA_Init() 151 rc = ioctl(audio_fd, SNDCTL_DSP_SETFMT, &rc); in SNDDMA_Init() 163 rc = ioctl(audio_fd, SNDCTL_DSP_SETFMT, &rc); in SNDDMA_Init() 183 rc = ioctl(audio_fd, SNDCTL_DSP_SETTRIGGER, &tmp); in SNDDMA_Init() [all …]
|
D | cd_linux.c | 57 if ( ioctl(cdfile, CDROMEJECT) == -1 ) in CDAudio_Eject() 67 if ( ioctl(cdfile, CDROMCLOSETRAY) == -1 ) in CDAudio_CloseDoor() 77 if ( ioctl(cdfile, CDROMREADTOCHDR, &tochdr) == -1 ) in CDAudio_GetAudioDiskInfo() 122 if ( ioctl(cdfile, CDROMREADTOCENTRY, &entry) == -1 ) in CDAudio_Play() 145 if ( ioctl(cdfile, CDROMPLAYTRKIND, &ti) == -1 ) in CDAudio_Play() 151 if ( ioctl(cdfile, CDROMRESUME) == -1 ) in CDAudio_Play() 171 if ( ioctl(cdfile, CDROMSTOP) == -1 ) in CDAudio_Stop() 186 if ( ioctl(cdfile, CDROMPAUSE) == -1 ) in CDAudio_Pause() 205 if ( ioctl(cdfile, CDROMRESUME) == -1 ) in CDAudio_Resume() 355 if (ioctl(cdfile, CDROMSUBCHNL, &subchnl) == -1 ) { in CDAudio_Update()
|
/external/quake/quake/src/WinQuake/ |
D | snd_linux.cpp | 60 rc = ioctl(audio_fd, SNDCTL_DSP_RESET, 0); in SNDDMA_Init() 69 if (ioctl(audio_fd, SNDCTL_DSP_GETCAPS, &caps)==-1) in SNDDMA_Init() 84 if (ioctl(audio_fd, SNDCTL_DSP_GETOSPACE, &info)==-1) in SNDDMA_Init() 103 ioctl(audio_fd, SNDCTL_DSP_GETFMTS, &fmt); in SNDDMA_Init() 115 if (!ioctl(audio_fd, SNDCTL_DSP_SPEED, &tryrates[i])) break; in SNDDMA_Init() 145 rc = ioctl(audio_fd, SNDCTL_DSP_STEREO, &tmp); in SNDDMA_Init() 158 rc = ioctl(audio_fd, SNDCTL_DSP_SPEED, &shm->speed); in SNDDMA_Init() 170 rc = ioctl(audio_fd, SNDCTL_DSP_SETFMT, &rc); in SNDDMA_Init() 182 rc = ioctl(audio_fd, SNDCTL_DSP_SETFMT, &rc); in SNDDMA_Init() 202 rc = ioctl(audio_fd, SNDCTL_DSP_SETTRIGGER, &tmp); in SNDDMA_Init() [all …]
|
D | cd_linux.cpp | 57 if ( ioctl(cdfile, CDROMEJECT) == -1 ) in CDAudio_Eject() 67 if ( ioctl(cdfile, CDROMCLOSETRAY) == -1 ) in CDAudio_CloseDoor() 77 if ( ioctl(cdfile, CDROMREADTOCHDR, &tochdr) == -1 ) in CDAudio_GetAudioDiskInfo() 122 if ( ioctl(cdfile, CDROMREADTOCENTRY, &entry) == -1 ) in CDAudio_Play() 145 if ( ioctl(cdfile, CDROMPLAYTRKIND, &ti) == -1 ) in CDAudio_Play() 151 if ( ioctl(cdfile, CDROMRESUME) == -1 ) in CDAudio_Play() 171 if ( ioctl(cdfile, CDROMSTOP) == -1 ) in CDAudio_Stop() 186 if ( ioctl(cdfile, CDROMPAUSE) == -1 ) in CDAudio_Pause() 205 if ( ioctl(cdfile, CDROMRESUME) == -1 ) in CDAudio_Resume() 355 if (ioctl(cdfile, CDROMSUBCHNL, &subchnl) == -1 ) { in CDAudio_Update()
|
D | snd_sun.cpp | 76 if (ioctl(audio_fd, AUDIO_GETINFO, &info) < 0) { in SNDDMA_Init() 102 if (ioctl(audio_fd, AUDIO_SETINFO, &info) < 0) { in SNDDMA_Init() 107 if (ioctl(audio_fd, AUDIO_SETINFO, &info) < 0) { in SNDDMA_Init() 137 if (ioctl(audio_fd, AUDIO_GETINFO, &info) < 0) { in SNDDMA_GetDMAPos() 153 if (ioctl(audio_fd, AUDIO_GETINFO, &info) < 0) { in SNDDMA_GetSamples()
|
/external/ppp/pppd/ |
D | sys-linux.c | 291 if (ioctl(fd, PPPIOCGFLAGS, &flags) == -1) in modify_flags() 294 if (ioctl(fd, PPPIOCSFLAGS, &flags) == -1) in modify_flags() 383 if (ioctl(ppp_dev_fd, PPPIOCSDEBUG, &requested_level) < 0) { in set_kdebugflag() 403 if (ioctl(tty_fd, TIOCEXCL, 0) < 0) { in tty_establish_ppp() 411 && ioctl(slave_fd, PPPIOCXFERUNIT, 0) < 0) { in tty_establish_ppp() 423 if (ioctl(tty_fd, TIOCSETD, &ppp_disc) < 0) { in tty_establish_ppp() 440 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0 && !ok_error(errno)) in tty_establish_ppp() 459 if (ioctl(fd, PPPIOCGCHAN, &chindex) == -1) { in generic_establish_ppp() 470 if (ioctl(fd, PPPIOCATTCHAN, &chindex) < 0) { in generic_establish_ppp() 494 if (ioctl(fd, PPPIOCCONNECT, &ifunit) < 0) { in generic_establish_ppp() [all …]
|
D | sys-solaris.c | 278 return (int)ioctl(fd, IF_UNITSEL, (char *)&ppa); 310 if (ioctl(fd, SIOCGLIFNUM, &lifn) < 0) { in get_first_ethernet() 332 if (ioctl(fd, SIOCGLIFCONF, &lifc) < 0) { in get_first_ethernet() 352 if (ioctl(fd, SIOCGLIFFLAGS, &lifr) < 0) { in get_first_ethernet() 401 if (ioctl(fd, SIOCGIFNUM, (char *)&num_ifs) < 0) { in get_first_ethernet() 418 if (ioctl(fd, SIOCGIFCONF, &ifc) < 0) { in get_first_ethernet() 438 if (ioctl(fd, SIOCGIFFLAGS, &ifr) < 0) { in get_first_ethernet() 507 ret = ioctl(fd, SIOCGLIFFLAGS, &lifr); 516 ret = ioctl(fd, SIOCSLIFNAME, &lifr); 648 if (ioctl(ifd, I_PUSH, IP_MOD_NAME) < 0) { in sys_init() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/audio/dma/ |
D | SDL_dmaaudio.c | 83 if ( (ioctl(fd, SNDCTL_DSP_GETCAPS, &caps) == 0) && in Audio_Available() 85 (ioctl(fd, SNDCTL_DSP_GETOSPACE, &info) == 0) ) { in Audio_Available() 222 if ( ioctl(audio_fd, SNDCTL_DSP_GETOPTR, &info) < 0 ) { in DMA_GetAudioBuf() 275 if ( ioctl(audio_fd, SNDCTL_DSP_SETFRAGMENT, &frag_spec) < 0 ) { in DMA_ReopenAudio() 282 if ( (ioctl(audio_fd, SNDCTL_DSP_SETFMT, &value) < 0) || in DMA_ReopenAudio() 290 if ( (ioctl(audio_fd, SNDCTL_DSP_STEREO, &stereo) < 0) || in DMA_ReopenAudio() 298 if ( ioctl(audio_fd, SNDCTL_DSP_SPEED, &value) < 0 ) { in DMA_ReopenAudio() 327 ioctl(audio_fd, SNDCTL_DSP_RESET, 0); in DMA_OpenAudio() 330 if ( ioctl(audio_fd, SNDCTL_DSP_GETFMTS, &value) < 0 ) { in DMA_OpenAudio() 389 if ( (ioctl(audio_fd, SNDCTL_DSP_SETFMT, &value) < 0) || in DMA_OpenAudio() [all …]
|
/external/skia/src/utils/android/ |
D | ashmem.c | 46 ret = ioctl(fd, ASHMEM_SET_NAME, buf); in ashmem_create_region() 51 ret = ioctl(fd, ASHMEM_SET_SIZE, size); in ashmem_create_region() 64 return ioctl(fd, ASHMEM_SET_PROT_MASK, prot); in ashmem_set_prot_region() 70 return ioctl(fd, ASHMEM_PIN, &pin); in ashmem_pin_region() 76 return ioctl(fd, ASHMEM_UNPIN, &pin); in ashmem_unpin_region() 81 return ioctl(fd, ASHMEM_GET_SIZE, NULL); in ashmem_get_size_region()
|
/external/wpa_supplicant_8/src/drivers/ |
D | linux_ioctl.c | 29 if (ioctl(sock, SIOCGIFFLAGS, &ifr) != 0) { in linux_set_iface_flags() 46 if (ioctl(sock, SIOCSIFFLAGS, &ifr) != 0) { in linux_set_iface_flags() 69 if (ioctl(sock, SIOCGIFFLAGS, &ifr) != 0) { in linux_iface_up() 86 if (ioctl(sock, SIOCGIFHWADDR, &ifr)) { in linux_get_ifhwaddr() 112 if (ioctl(sock, SIOCSIFHWADDR, &ifr)) { in linux_set_ifhwaddr() 138 if (ioctl(sock, SIOCBRADDBR, brname) < 0) { in linux_br_add() 150 if (ioctl(sock, SIOCBRDELBR, brname) < 0) { in linux_br_del() 172 if (ioctl(sock, SIOCBRADDIF, &ifr) < 0) { in linux_br_add_if() 194 if (ioctl(sock, SIOCBRDELIF, &ifr) < 0) { in linux_br_del_if()
|
/external/openssh/openbsd-compat/ |
D | bsd-nextstep.c | 49 return (ioctl(fd, TIOCGETA, t)); in tcgetattr() 64 return (ioctl(fd, TIOCSETA, t)); in tcsetattr() 66 return (ioctl(fd, TIOCSETAW, t)); in tcsetattr() 68 return (ioctl(fd, TIOCSETAF, t)); in tcsetattr() 77 return (ioctl(fd, TIOCSPGRP, &pgrp)); in tcsetpgrp()
|
/external/iproute2/ip/ |
D | tunnel.c | 74 err = ioctl(fd, SIOCGIFINDEX, &ifr); in tnl_ioctl_get_ifindex() 91 err = ioctl(fd, SIOCGIFHWADDR, &ifr); in tnl_ioctl_get_iftype() 109 err = ioctl(fd, SIOCGIFNAME, &ifr); in tnl_ioctl_get_ifname() 127 err = ioctl(fd, SIOCGETTUNNEL, &ifr); in tnl_get_ioctl() 146 err = ioctl(fd, cmd, &ifr); in tnl_add_ioctl() 165 err = ioctl(fd, SIOCDELTUNNEL, &ifr); in tnl_del_ioctl() 181 err = ioctl(fd, cmd, &ifr); in tnl_gen_ioctl()
|
/external/libpcap/ |
D | pcap-enet.c | 132 if (ioctl(fd, EIOSTATS, &es) == -1) { in wrapup() 174 if (ioctl(if_fd, EIOCGETP, (char *)&ctl) == -1) { in initdevice() 190 if (ioctl(if_fd, EIOCSETP, &ctl) == -1) { in initdevice() 199 if (ioctl(if_fd, EIOCFLUSH) == -1) { in initdevice() 207 if (ioctl(if_fd, EIOCSETW, &maxwaiting) == -1) { in initdevice() 215 if (ioctl(if_fd, EIOCLRSTAT, 0) == -1) { in initdevice() 225 if (ioctl(if_fd, EIOCSETF, &filter) == -1) { in initdevice()
|
D | pcap-bpf.c | 129 if (ioctl(p->fd, BIOCGSTATS, (caddr_t)&s) < 0) { in pcap_stats_bpf() 348 if (ioctl(p->fd, BIOCSHDRCMPLT, &spoof_eth_src) == -1) { in pcap_inject_bpf() 635 if (ioctl(fd, BIOCVERSION, (caddr_t)&bv) < 0) { in pcap_open_live() 656 if ((ioctl(fd, BIOCGBLEN, (caddr_t)&v) < 0) || v < 32768) in pcap_open_live() 664 (void) ioctl(fd, BIOCSBLEN, (caddr_t)&v); in pcap_open_live() 667 if (ioctl(fd, BIOCSETIF, (caddr_t)&ifr) >= 0) in pcap_open_live() 684 if (ioctl(fd, BIOCGDLT, (caddr_t)&v) < 0) { in pcap_open_live() 756 if (ioctl(fd, BIOCGDLTLIST, (caddr_t)&bdl) == 0) { in pcap_open_live() 767 if (ioctl(fd, BIOCGDLTLIST, (caddr_t)&bdl) < 0) { in pcap_open_live() 849 if (ioctl(fd, BIOCSHDRCMPLT, &spoof_eth_src) == -1) { in pcap_open_live() [all …]
|
D | pcap-snit.c | 244 if (ioctl(fd, I_STR, (char *)&si) < 0) { in nit_setflags() 256 if (ioctl(fd, I_STR, (char *)&si) < 0) { in nit_setflags() 312 if (ioctl(fd, I_SRDOPT, (char *)RMSGD) < 0) { in pcap_open_live() 317 if (ioctl(fd, I_PUSH, "nbuf") < 0) { in pcap_open_live() 327 if (ioctl(fd, I_STR, (char *)&si) < 0) { in pcap_open_live() 339 if (ioctl(fd, I_STR, (char *)&si) < 0) { in pcap_open_live() 349 if (ioctl(fd, I_STR, (char *)&si) < 0) { in pcap_open_live() 358 (void)ioctl(fd, I_FLUSH, (char *)FLUSHR); in pcap_open_live()
|
D | pcap-pf.c | 344 if (ioctl(p->fd, EIOCMBIS, (caddr_t)&enmode) < 0) { in pcap_open_live() 352 (void)ioctl(p->fd, EIOCMBIS, (caddr_t)&enmode);/* OK if this fails */ in pcap_open_live() 355 if (ioctl(p->fd, EIOCSETW, (caddr_t)&backlog) < 0) { in pcap_open_live() 361 if (ioctl(p->fd, EIOCDEVP, (caddr_t)&devparams) < 0) { in pcap_open_live() 458 if (ioctl(p->fd, EIOCTRUNCATE, (caddr_t)&snaplen) < 0) { in pcap_open_live() 468 if (ioctl(p->fd, EIOCSETF, (caddr_t)&Filter) < 0) { in pcap_open_live() 478 if (ioctl(p->fd, EIOCSRTIMEOUT, (caddr_t)&timeout) < 0) { in pcap_open_live() 539 if (ioctl(p->fd, BIOCVERSION, (caddr_t)&bv) >= 0) { in pcap_setfilter_pf() 550 if (ioctl(p->fd, BIOCSETF, (caddr_t)fp) < 0) { in pcap_setfilter_pf()
|
D | fad-glifc.c | 127 if (ioctl(fd4, SIOCGLIFNUM, (char *)&ifn) < 0) { in pcap_findalldevs() 156 if (ioctl(fd4, SIOCGLIFCONF, (char *)&ifc) < 0) { in pcap_findalldevs() 216 if (ioctl(fd, SIOCGLIFFLAGS, (char *)&ifrflags) < 0) { in pcap_findalldevs() 237 if (ioctl(fd, SIOCGLIFNETMASK, (char *)&ifrnetmask) < 0) { in pcap_findalldevs() 264 if (ioctl(fd, SIOCGLIFBRDADDR, in pcap_findalldevs() 299 if (ioctl(fd, SIOCGLIFDSTADDR, in pcap_findalldevs()
|
/external/e2fsprogs/lib/blkid/ |
D | getsize.c | 96 if (ioctl(fd, DKIOCGETBLOCKCOUNT, &size64) >= 0) { in blkid_get_dev_size() 112 ioctl(fd, BLKGETSIZE64, &size64) >= 0) { in blkid_get_dev_size() 121 if (ioctl(fd, BLKGETSIZE, &size) >= 0) in blkid_get_dev_size() 127 if (ioctl(fd, DIOCGMEDIASIZE, &size64) >= 0) in blkid_get_dev_size() 132 if (ioctl(fd, FDGETPRM, &this_floppy) >= 0) in blkid_get_dev_size() 147 if (part >= 0 && (ioctl(fd, DIOCGDINFO, (char *)&lab) >= 0)) { in blkid_get_dev_size()
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
D | SDL_fbevents.c | 89 if ( ioctl(fd, KDGKBENT, &entry) == 0 ) { in FB_vgainitkeymaps() 166 if ( ioctl(keyboard_fd, VT_GETSTATE, &vtstate) == 0 ) { in FB_EnterGraphicsMode() 169 if ( ioctl(keyboard_fd, VT_ACTIVATE, current_vt) == 0 ) { in FB_EnterGraphicsMode() 170 ioctl(keyboard_fd, VT_WAITACTIVE, current_vt); in FB_EnterGraphicsMode() 183 if ( ioctl(keyboard_fd, KDGKBMODE, &saved_kbd_mode) < 0 ) { in FB_EnterGraphicsMode() 202 if ( ioctl(keyboard_fd, KDSKBMODE, K_MEDIUMRAW) < 0 ) { in FB_EnterGraphicsMode() 207 if ( ioctl(keyboard_fd, KDSETMODE, KD_GRAPHICS) < 0 ) { in FB_EnterGraphicsMode() 213 ioctl(keyboard_fd, VT_LOCKSWITCH, 1); in FB_EnterGraphicsMode() 221 ioctl(keyboard_fd, KDSETMODE, KD_TEXT); in FB_LeaveGraphicsMode() 222 ioctl(keyboard_fd, KDSKBMODE, saved_kbd_mode); in FB_LeaveGraphicsMode() [all …]
|
/external/openssl/crypto/evp/ |
D | openbsd_hw.c | 105 if (ioctl(cryptodev_fd,CRIOGET,&fd) == -1) 122 if(ioctl(fd,CIOCFSESSION,&CDATA(ctx)->ses) == -1) 145 if (ioctl(fd,CIOCGSESSION,CDATA(ctx)) == -1) 180 if(ioctl(fd, CIOCCRYPT, &cryp) == -1) 206 if(ioctl(fd, CIOCCRYPT, &cryp) == -1) 292 if (ioctl(fd,CIOCGSESSION,&md_data->sess) == -1) 302 if (ioctl(fd,CIOCFSESSION,&md_data->sess.ses) == -1) 340 if(ioctl(fd, CIOCCRYPT, &cryp) == -1) 351 if(ioctl(fd, CIOCCRYPT, &cryp) == -1)
|
/external/qemu/distrib/sdl-1.2.15/src/audio/dsp/ |
D | SDL_dspaudio.c | 200 if ( ioctl(audio_fd, SNDCTL_DSP_GETFMTS, &value) < 0 ) { in DSP_OpenAudio() 268 if ( (ioctl(audio_fd, SNDCTL_DSP_SETFMT, &value) < 0) || in DSP_OpenAudio() 278 if ( ioctl(audio_fd, SNDCTL_DSP_CHANNELS, &value) < 0 ) { in DSP_OpenAudio() 288 if ( ioctl(audio_fd, SNDCTL_DSP_SPEED, &value) < 0 ) { in DSP_OpenAudio() 313 if ( ioctl(audio_fd, SNDCTL_DSP_SETFRAGMENT, &frag_spec) < 0 ) { in DSP_OpenAudio() 318 ioctl(audio_fd, SNDCTL_DSP_GETOSPACE, &info); in DSP_OpenAudio()
|
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/ |
D | SDL_ps3video.c | 183 if (ioctl(fb_dev_fd, FBIOGET_VSCREENINFO, &fb_vinfo)) { in PS3_VideoInit() 214 if (ioctl(fb_dev_fd, FBIOPUT_VSCREENINFO, &fb_vinfo)) { in PS3_VideoInit() 228 if (ioctl(fb_dev_fd, PS3FB_IOCTL_SCREENINFO, (unsigned long)&res) < 0) { in PS3_VideoInit() 248 ioctl(fb_dev_fd, PS3FB_IOCTL_ON, 0); in PS3_VideoInit() 251 ioctl(fb_dev_fd, FBIOBLANK, 0); in PS3_VideoInit() 303 if (ioctl(fb_dev_fd, FBIOGET_FSCREENINFO, &fb_finfo)) { in PS3_SetVideoMode() 400 ioctl(fd, KDSETMODE, enable ? KD_TEXT : KD_GRAPHICS); in enable_cursor() 436 ioctl(fb_dev_fd, FBIO_WAITFORVSYNC, &crt); in PS3_FlipDoubleBuffer() 439 ioctl(fb_dev_fd, PS3FB_IOCTL_FSEL, (unsigned long)&s_center_index); in PS3_FlipDoubleBuffer() 590 if (ioctl(fb_dev_fd, FBIOPUT_VSCREENINFO, &fb_orig_vinfo)) in PS3_VideoQuit() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | getsize.c | 171 if (ioctl(fd, DKIOCGETBLOCKCOUNT, &size64) >= 0) { in ext2fs_get_device_size2() 185 ioctl(fd, BLKGETSIZE64, &size64) >= 0) { in ext2fs_get_device_size2() 192 if (ioctl(fd, BLKGETSIZE, &size) >= 0) { in ext2fs_get_device_size2() 199 if (ioctl(fd, FDGETPRM, &this_floppy) >= 0) { in ext2fs_get_device_size2() 210 if (ioctl(fd, DIOCGMEDIASIZE, &ms) >= 0) { in ext2fs_get_device_size2() 227 if (part >= 0 && (ioctl(fd, DIOCGDINFO, (char *)&lab) >= 0)) { in ext2fs_get_device_size2()
|
/external/tinyalsa/ |
D | mixer.c | 106 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_LIST, &elist) < 0) in mixer_open() 126 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_LIST, &elist) < 0) in mixer_open() 132 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_INFO, ei) < 0) in mixer_open() 145 if (ioctl(fd, SNDRV_CTL_IOCTL_ELEM_INFO, &tmp) < 0) in mixer_open() 296 ret = ioctl(ctl->mixer->fd, SNDRV_CTL_IOCTL_ELEM_READ, &ev); in mixer_ctl_get_value() 332 ret = ioctl(ctl->mixer->fd, SNDRV_CTL_IOCTL_ELEM_READ, &ev); in mixer_ctl_get_bytes() 351 ret = ioctl(ctl->mixer->fd, SNDRV_CTL_IOCTL_ELEM_READ, &ev); in mixer_ctl_set_value() 372 return ioctl(ctl->mixer->fd, SNDRV_CTL_IOCTL_ELEM_WRITE, &ev); in mixer_ctl_set_value() 388 return ioctl(ctl->mixer->fd, SNDRV_CTL_IOCTL_ELEM_WRITE, &ev); in mixer_ctl_set_bytes() 440 ret = ioctl(ctl->mixer->fd, SNDRV_CTL_IOCTL_ELEM_WRITE, &ev); in mixer_ctl_set_enum_by_string()
|