Searched refs:ioctl (Results 1 - 25 of 241) sorted by relevance

12345678910

/haiku/src/add-ons/kernel/drivers/misc/
H A Dpoke.cpp135 port_io_args ioctl; local
136 if (user_memcpy(&ioctl, arg, sizeof(port_io_args)) != B_OK)
138 if (ioctl.signature != POKE_SIGNATURE)
141 switch (ioctl.size) {
143 ioctl.value = isa->read_io_8(ioctl.port);
146 ioctl.value = isa->read_io_16(ioctl.port);
149 ioctl.value = isa->read_io_32(ioctl
163 port_io_args ioctl; local
188 port_io_args ioctl; local
204 port_io_args ioctl; local
217 pci_io_args ioctl; local
232 pci_io_args ioctl; local
245 pci_info_args ioctl; local
263 mem_map_args ioctl; local
283 mem_map_args ioctl; local
304 mem_map_args ioctl; local
[all...]
/haiku/src/add-ons/accelerants/matrox/
H A Dacc_std.h10 #include <sys/ioctl.h>
/haiku/src/add-ons/accelerants/skeleton/
H A Dacc_std.h10 #include <sys/ioctl.h>
/haiku/src/add-ons/accelerants/via/
H A Dacc_std.h10 #include <sys/ioctl.h>
/haiku/src/add-ons/media/media-add-ons/opensound/
H A Ddriver_io.h36 #define DRIVER_GET_DESCRIPTION(x...) ioctl( fd, B_MULTI_GET_DESCRIPTION, x )
37 #define DRIVER_GET_ENABLED_CHANNELS(x...) ioctl( fd, B_MULTI_GET_ENABLED_CHANNELS, x )
38 #define DRIVER_SET_ENABLED_CHANNELS(x...) ioctl( fd, B_MULTI_SET_ENABLED_CHANNELS, x )
39 #define DRIVER_SET_GLOBAL_FORMAT(x...) ioctl( fd, B_MULTI_SET_GLOBAL_FORMAT, x )
40 #define DRIVER_GET_BUFFERS(x...) ioctl( fd, B_MULTI_GET_BUFFERS, x )
41 #define DRIVER_BUFFER_EXCHANGE(x...) ioctl( fd, B_MULTI_BUFFER_EXCHANGE, x )
43 #define DRIVER_LIST_MIX_CONTROLS(x...) ioctl( fd, B_MULTI_LIST_MIX_CONTROLS, x )
44 #define DRIVER_SET_MIX(x...) ioctl( fd, B_MULTI_SET_MIX, x )
45 #define DRIVER_GET_MIX(x...) ioctl( fd, B_MULTI_GET_MIX, x )
H A DOpenSoundDeviceMixer.cpp54 if (ioctl(fFD, SNDCTL_MIX_NREXT, &n, sizeof(int)) < 0) {
75 if (ioctl(fFD, SNDCTL_MIX_EXTINFO, info, sizeof(*info)) < 0) {
95 if (ioctl(fFD, SNDCTL_MIX_READ, value, sizeof(*value)) < 0) {
115 if (ioctl(fFD, SNDCTL_MIX_WRITE, value, sizeof(*value)) < 0) {
133 if (ioctl(fFD, SNDCTL_MIX_ENUMINFO, info, sizeof(*info)) < 0) {
/haiku/src/add-ons/accelerants/neomagic/engine/
H A Dnm_std.h2 #include <sys/ioctl.h>
/haiku/src/add-ons/accelerants/skeleton/engine/
H A Dstd.h2 #include <sys/ioctl.h>
/haiku/src/add-ons/accelerants/via/engine/
H A Dstd.h2 #include <sys/ioctl.h>
/haiku/src/add-ons/accelerants/neomagic/
H A Dacc_std.h11 #include <sys/ioctl.h>
/haiku/src/add-ons/accelerants/nvidia/
H A Dacc_std.h11 #include <sys/ioctl.h>
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_std.h3 #include <sys/ioctl.h>
/haiku/src/add-ons/accelerants/vesa/
H A Ddpms.cpp24 if (ioctl(gInfo->device, VESA_GET_DPMS_MODE, &mode, sizeof(mode)) != 0)
34 if (ioctl(gInfo->device, VESA_SET_DPMS_MODE, &mode, sizeof(mode)) != 0)
/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_std.h3 #include <sys/ioctl.h>
/haiku/src/system/libroot/posix/stdlib/
H A Dpty.cpp26 return ioctl(masterFD, B_IOCTL_GRANT_TTY);
34 if (ioctl(masterFD, B_IOCTL_GET_TTY_INDEX, &index, sizeof(index)) < 0)
/haiku/src/tests/system/kernel/device_manager/
H A Ddm_wrapper.c36 return ioctl(fd, params.magic, &params, sizeof(params));
46 return ioctl(fd, params.magic, &params, sizeof(params));
56 return ioctl(fd, params.magic, &params, sizeof(params));
66 return ioctl(fd, params.magic, &params, sizeof(params));
76 return ioctl(fd, params.magic, &params, sizeof(params));
/haiku/src/tests/add-ons/kernel/drivers/hpet/
H A Dmain.cpp30 status = ioctl(hpetFD, HPET_WAIT_TIMER, &timeValue, sizeof(timeValue));
35 status = ioctl(hpetFD, HPET_WAIT_TIMER, &timeValue, sizeof(timeValue));
40 status = ioctl(hpetFD, HPET_WAIT_TIMER, &timeValue, sizeof(timeValue));
/haiku/src/servers/bluetooth/
H A DHCITransportAccessor.cpp20 status = ioctl(fDescriptor, GET_HCI_ID, &fIdentifier, 0);
55 return ioctl(fDescriptor, ISSUE_BT_COMMAND, rc, size);
63 return ioctl(fDescriptor, BT_UP, &dummy, sizeof(uint32));
/haiku/src/add-ons/accelerants/radeon/
H A Ddriver_wrapper.c11 #include <sys/ioctl.h>
23 return ioctl( ai->fd, RADEON_WAITFORIDLE, &wfi, sizeof( wfi ));
54 ioctl( ai->fd, RADEON_RESETENGINE, &na, sizeof( na ));
68 res = ioctl( ai->fd, RADEON_VIPREAD, &vr, sizeof( vr ));
87 return ioctl( ai->fd, RADEON_VIPWRITE, &vw, sizeof( vw ));
98 res = ioctl( ai->fd, RADEON_FINDVIPDEVICE, &fvd, sizeof( fvd ));
/haiku/src/system/libroot/posix/
H A Dtermios.c20 return ioctl(fd, TCGETA, termios);
49 return ioctl(fd, method, termios);
58 * expressly for this purpose (e.g. ioctl(fd, TIOCDRAIN, 0).
61 * TCSBRK ioctl to signify this functionality.
63 return ioctl(fd, TCSBRK, 1);
83 return ioctl(fd, TCXONC, action);
91 return ioctl(fd, TCFLSH, queueSelector);
101 return ioctl(fd, TCSBRK, 0);
/haiku/src/system/libroot/posix/unistd/
H A Dterminal.c49 return ioctl(fd, TIOCSPGRP, &pgrpid);
57 int status = ioctl(fd, TIOCGPGRP, &foregroundProcess);
/haiku/src/bin/
H A Ddriveinfo.c4 #include <sys/ioctl.h>
11 if (ioctl(dev, B_GET_DEVICE_SIZE, &sz, sizeof(sz)) < 0) {
12 perror("ioctl(B_GET_DEVICE_SIZE)");
21 if (ioctl(dev, B_GET_BIOS_DRIVE_ID, &id, sizeof(id)) < 0) {
22 perror("ioctl(B_GET_BIOS_DRIVE_ID)");
31 if (ioctl(dev, B_GET_MEDIA_STATUS, &st, sizeof(st)) < 0) {
32 perror("ioctl(B_GET_MEDIA_STATUS)");
57 if (ioctl(dev, bios?B_GET_BIOS_GEOMETRY:B_GET_GEOMETRY, &geom, sizeof(geom)) < 0) {
58 perror(bios ? "ioctl(B_GET_BIOS_GEOMETRY)" : "ioctl(B_GET_GEOMETR
[all...]
/haiku/src/libs/libtelnet/
H A Dread_password.c63 #include <sys/ioctl.h>
100 if (ioctl(0,TIOCGETP,(char *)&tty_state) == -1)
107 if (ioctl(0,TIOCSETP,(char *)&tty_state) == -1)
140 if (ioctl(0,TIOCSETP,(char *)&tty_state))
/haiku/src/add-ons/accelerants/et6x00/
H A DSetDisplayMode.c8 #include <sys/ioctl.h>
22 return ioctl(fd, ET6000_SET_DISPLAY_MODE, &mode, sizeof(mode));
/haiku/src/bin/network/traceroute/
H A Dfindsaddr-haiku.c15 #include <sys/ioctl.h>
36 if (ioctl(sock, SIOCGETRT, buffer, sizeof(buffer)) < 0) {
38 return "ioctl(SIOCGETRT) failed";

Completed in 368 milliseconds

12345678910