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

12

/solaris-x11-s11/open-src/app/kbd_mode/sun-src/
H A Dkbd_mode.c80 if (ioctl(kbd_fd, KIOCSLED, &led))
85 if (ioctl(kbd_fd, KIOCCMD, &click))
88 if (ioctl(kbd_fd, KIOCTRANS, (caddr_t) &translate))
90 if (direct != -1 && ioctl(kbd_fd, KIOCSDIRECT, (caddr_t) &direct))
107 if (ioctl(kbd_fd, KIOCGTRANS, (caddr_t) &translate)) {
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/fbc/
H A Dfbc_query_device.c31 #include <unistd.h> /* ioctl() */
60 if (ioctl(device_fd, FBIOGATTR, gattr) < 0) {
62 fbc_errormsg("%s, ioctl(FBIOGATTR)\n", strerror(error_code));
94 if (ioctl(device_fd, GFX_IOCTL_GET_IDENTIFIER, &gfx_ident) >= 0) {
157 if (ioctl(device_fd, GFX_IOCTL_GET_EDID_LENGTH, &edid) < 0) {
185 if (ioctl(device_fd, GFX_IOCTL_GET_EDID, &edid) < 0) {
H A Dfbc_open_device.c33 #include <unistd.h> /* ioctl() */
93 if (ioctl(fd, VIS_GETIDENTIFIER, &device->vis_ident.name[0]) < 0) {
H A Dfbc_open_master.c35 #include <unistd.h> /* close(), ioctl() */
148 if ((ioctl(temp_fd, VIS_GETIDENTIFIER, &vis_ident) < 0) ||
H A Dfbc_prconf.c32 #include <unistd.h> /* ioctl() */
66 if (ioctl(device_fd, GFX_IOCTL_GET_IDENTIFIER, &gfx_ident) >= 0) {
415 if (ioctl(device_fd,
H A Dfbc_res_compatible.c35 #include <unistd.h> /* ioctl() */
403 if ((ioctl(device->fd, GFX_IOCTL_GET_IDENTIFIER, &gfx_ident) < 0) ||
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_drv.c96 /* The DRM_IOCTL_DMA ioctl should be defined by the driver. */
349 * Called whenever a process performs an ioctl on /dev/drm.
353 * Looks up the ioctl function in the ::ioctls table, checking for root
360 struct drm_ioctl_desc *ioctl; local
377 ioctl = &dev->driver->ioctls[nr - DRM_COMMAND_BASE];
379 cmd = ioctl->cmd;
382 ioctl = &drm_ioctls[nr];
383 cmd = ioctl->cmd;
389 func = ioctl->func;
397 } else if (((ioctl
[all...]
/solaris-x11-s11/open-src/app/fbconsole/sun-src/
H A Dfbconsole.c107 if (ioctl(fdcons, SRIOCSREDIR, fds[0]) == -1) {
166 if (ioctl(slave, I_PUSH, "ptem") == -1) {
171 if (ioctl(slave, I_PUSH, "ldterm") == -1) {
209 if (ioctl(console, SRIOCSREDIR, slave) == -1) {
210 perror("fbconsole: ioctl SRIOCSREDIR");
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/ast/
H A Dast_query_device.c33 #include <unistd.h> /* ioctl(), sleep() */
72 #define GET_EDID_RETRIES 3 /* # of ioctl(AST_GET_EDID) retries */
74 if (ioctl(device_fd, GFX_IOCTL_GET_EDID, edid) >= 0) {
H A Dast_res_try_now.c38 #include "astio.h" /* ast I/O, including ioctl() stuff */
383 (void) ioctl(device->fd, AST_BEGIN_SETVIDEOMODE, 0);
401 (void) ioctl(device->fd, AST_SETVIDEOMODE, 0);
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/efb/
H A Defb_query_device.c33 #include <unistd.h> /* ioctl(), sleep() */
42 #include "efbio.h" /* efb I/O, including ioctl() stuff */
76 #define GET_EDID_RETRIES 3 /* # of ioctl(EFB_GET_EDID) retries */
78 if (ioctl(device_fd, GFX_IOCTL_GET_EDID, edid) >= 0) {
H A Defb_res_try_now.c41 #include "efbio.h" /* efb I/O, including ioctl() stuff */
391 (void) ioctl(device->fd, EFB_BEGIN_SETVIDEOMODE, 0);
409 (void) ioctl(device->fd, EFB_SETVIDEOMODE, 0);
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/mga/
H A Dmga_query_device.c33 #include <unistd.h> /* ioctl(), sleep() */
72 #define GET_EDID_RETRIES 3 /* # of ioctl(MGA_GET_EDID) retries */
74 if (ioctl(device_fd, GFX_IOCTL_GET_EDID, edid) >= 0) {
H A Dmga_res_try_now.c38 #include "mgaio.h" /* mga I/O, including ioctl() stuff */
377 (void) ioctl(device->fd, MGA_BEGIN_SETVIDEOMODE, 0);
395 (void) ioctl(device->fd, MGA_SETVIDEOMODE, 0);
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/ast/
H A Dmapper.c50 rc = ioctl(fd, VIS_GETIDENTIFIER, &vis_identifier);
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/efb/
H A Dmapper.c50 rc = ioctl(fd, VIS_GETIDENTIFIER, &vis_identifier);
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A DXlibnet.h37 #include <sys/ioctl.h>
53 #include <sys/ioctl.h>
65 #define BytesReadable(fd,ptr) ioctl((fd), I_NREAD, (ptr))
67 #define BytesReadable(fd, ptr) ioctl ((fd), FIONREAD, (ptr))
/solaris-x11-s11/open-src/driver/efb/sun-src/src/
H A Defb_driver.c128 if ((status = ioctl(info->fd, GFX_IOCTL_GET_PCI_CONFIG, &pciCfg))
207 if ((status = ioctl(info->fd, GFX_IOCTL_GET_PCI_CONFIG, &pciCfg))
311 status = ioctl(info->fd, GFX_IOCTL_SET_VIDEO_MODE, &mode);
429 status = ioctl(info->fd, GFX_IOCTL_GET_EDID_LENGTH, &edid_buf);
435 status = ioctl(info->fd, GFX_IOCTL_GET_EDID, &edid_buf);
/solaris-x11-s11/open-src/kernel/i915/src/
H A Di915_drm.h157 * The device specific ioctl range is 0x40 to 0x79.
258 #define I915_IOCTL_DEF(ioctl, _func, _flags, _copyin32, _copyout32) \
259 [DRM_IOCTL_NR(ioctl) - DRM_COMMAND_BASE] = {.cmd = ioctl, .flags = _flags, .func = _func, .copyin32 = _copyin32, .copyout32 = _copyout32}
261 #define I915_IOCTL_DEF(ioctl, _func, _flags, _copyin32, _copyout32) \
262 [DRM_IOCTL_NR(ioctl) - DRM_COMMAND_BASE] = {.cmd = ioctl, .flags = _flags, .func = _func, .copyin32 = NULL, .copyout32 = NULL}
564 * the execbuffer ioctl when the relocation is written.
/solaris-x11-s11/open-src/lib/libdga/sun-src/
H A Ddga_db.c300 if (ioctl(wg_clientp->w_devfd,FBIOVERTICAL,0) < 0)
315 if (ioctl(devfd, FBIOVRTOFFSET, &dev_offset) < 0)
566 ( ioctl(((_Dga_window)wg_clientp)->w_devfd,FBIOVERTICAL,0));
H A Dcmap_grab.c144 #include <sys/ioctl.h>
447 cmap_grab->cm_use_new_ioctl = 1 ; /* try to use new ioctl */
713 ioctl(cginfo->cm_sunwindows_def_fd, WINSETCMS, &cmschange);
742 ioctl(cginfo->cm_sunwindows_inst_fd,WINSETCMS,&cmschange);
749 through to device ioctl
756 /* try new ioctl */
766 if( ioctl(cginfo->cm_devfd, FBIOPUTCMAPI, &cmap) == 0 )
772 /* try FB_CLUTPOST ioctl */
782 if( ioctl(cginfo->cm_devfd, FB_CLUTPOST, &cmap) == 0 )
796 ioctl(cginf
[all...]
/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_sunmod.c219 * ioctl, and release it via DRM_IOCTL_UNLOCK after finishing
322 drm_ioctl_desc_t *ioctl; local
367 ioctl = &drm_ioctls[nr];
370 /* It's not a core DRM ioctl, try driver-specific. */
371 if (ioctl->func == NULL && nr >= DRM_COMMAND_BASE) {
372 /* The array entries begin at DRM_COMMAND_BASE ioctl nr */
375 DRM_ERROR("Bad driver ioctl number, 0x%x (of 0x%x)",
379 ioctl = &dp->driver->driver_ioctls[nr];
382 func = ioctl->func;
395 if (((ioctl
[all...]
/solaris-x11-s11/open-src/driver/xf86-video-ast/sun-src/src/
H A Dast_sparc_driver.c104 if ((status = ioctl(info->fd, VIS_GETPCICONFIG, &pciCfg))
257 status = ioctl(info->fd, VIS_STOREVIDEOMODENAME, &mode);
/solaris-x11-s11/open-src/app/mkcookie/sun-src/
H A Dmkcookie.c49 #include <sys/ioctl.h>
380 ret = ioctl(s, I_STR, (char *) &ioc);
416 if (ioctl (fd, (int) SIOCGLIFNUM, (char *) &ifn) < 0)
429 if (ioctl (fd, (int) SIOCGLIFCONF, (char *) &ifc) < 0)
444 ioctl (fd, SIOCGIFCONF, (char *) &ifc);
/solaris-x11-s11/open-src/kernel/sys/drm/
H A DdrmP.h453 * ioctl, for use by drm_ioctl().
456 #define DRM_IOCTL_DEF(ioctl, _func, _flags, _copyin32, _copyout32) \
457 [DRM_IOCTL_NR(ioctl)] = {.cmd = ioctl, .flags = _flags, .func = _func, .copyin32 = _copyin32, .copyout32 = _copyout32}
459 #define DRM_IOCTL_DEF(ioctl, _func, _flags, _copyin32, _copyout32) \
460 [DRM_IOCTL_NR(ioctl)] = {.cmd = ioctl, .flags = _flags, .func = _func, .copyin32 = NULL, .copyout32 = NULL}
1142 * old clients may not call the modeset ioctl and therefore misbehave.
1143 * Once the modeset ioctl *has* been called though, we can safely

Completed in 1421 milliseconds

12