Lines Matching refs:ioctl
70 The ioctl API:
72 All conforming drivers also support an ioctl API.
74 Pinging the watchdog using an ioctl:
76 All drivers that have an ioctl interface support at least one ioctl,
77 KEEPALIVE. This ioctl does exactly the same thing as a write to the
82 ioctl(fd, WDIOC_KEEPALIVE, 0);
86 the argument to the ioctl is ignored.
91 fly with the SETTIMEOUT ioctl, those drivers have the WDIOF_SETTIMEOUT
98 ioctl(fd, WDIOC_SETTIMEOUT, &timeout);
105 current timeout using the GETTIMEOUT ioctl.
107 ioctl(fd, WDIOC_GETTIMEOUT, &timeout);
114 the reason for the last reboot of the system. The GETSUPPORT ioctl is
118 ioctl(fd, WDIOC_GETSUPPORT, &ident);
175 ioctl(fd, WDIOC_GETSTATUS, &flags);
179 ioctl(fd, WDIOC_GETBOOTSTATUS, &flags);
184 Some drivers can measure the temperature using the GETTEMP ioctl. The
188 ioctl(fd, WDIOC_GETTEMP, &temperature);
190 Finally the SETOPTIONS ioctl can be used to control some aspects of
192 supporting thiss ioctl.
195 ioctl(fd, WDIOC_SETOPTIONS, options);
218 silly? To be able to use the ioctl, the device must be open
233 The timeout can be set using the SETTIMEOUT ioctl and defaults
252 driver supports the SETTIMEOUT ioctl.
264 using the SETTIMEOUT ioctl. Note that only a few timeout
346 using the SETTIMEOUT ioctl.
365 using the SETTIMEOUT ioctl.
377 using the SETTIMEOUT ioctl.