/linux-2.4.37.9/drivers/message/fusion/ |
D | mptctl.c | 155 static int mptctl_bus_reset(MPT_IOCTL *ioctl); 207 if (ioc->ioctl->tmPtr != NULL) { in mptctl_syscall_down() 253 if (ioc->ioctl) { in mptctl_reply() 260 (ioc->ioctl->status & MPT_IOCTL_STATUS_TMTIMER_ACTIVE)) { in mptctl_reply() 263 del_timer (&ioc->ioctl->TMtimer); in mptctl_reply() 264 ioc->ioctl->status &= ~MPT_IOCTL_STATUS_TMTIMER_ACTIVE; in mptctl_reply() 273 if (ioc->ioctl->status & MPT_IOCTL_STATUS_TIMER_ACTIVE) { in mptctl_reply() 274 ioc->ioctl->reset &= ~MPTCTL_RESET_OK; in mptctl_reply() 275 del_timer (&ioc->ioctl->timer); in mptctl_reply() 276 ioc->ioctl->timer.expires = jiffies + HZ; in mptctl_reply() [all …]
|
/linux-2.4.37.9/arch/mips/pmc-sierra/yosemite/ |
D | atmel_read_eeprom.h | 58 #define vcc_off (ioctl(fd, TIOCSBRK, 0)) 59 #define vcc_on (ioctl(fd, TIOCCBRK, 0)) 60 #define sda_hi (ioctl(fd, TIOCMBIS, &dtr)) 61 #define sda_lo (ioctl(fd, TIOCMBIC, &dtr)) 62 #define scl_lo (ioctl(fd, TIOCMBIC, &rts)) 63 #define scl_hi (ioctl(fd, TIOCMBIS, &rts))
|
/linux-2.4.37.9/Documentation/networking/ |
D | ifenslave.c | 513 if (ioctl(skfd, SIOCGIFFLAGS, &ifr) < 0) in if_getconfig() 520 if (ioctl(skfd, SIOCGIFADDR, &ifr) < 0) in if_getconfig() 527 if (ioctl(skfd, SIOCGIFHWADDR, &ifr) < 0) in if_getconfig() 538 if (ioctl(skfd, SIOCGIFMETRIC, &ifr) < 0) { in if_getconfig() 544 if (ioctl(skfd, SIOCGIFMTU, &ifr) < 0) in if_getconfig() 550 if (ioctl(skfd, SIOCGIFDSTADDR, &ifr) < 0) { in if_getconfig() 556 if (ioctl(skfd, SIOCGIFBRDADDR, &ifr) < 0) { in if_getconfig() 562 if (ioctl(skfd, SIOCGIFNETMASK, &ifr) < 0) { in if_getconfig() 580 if (ioctl(skfd, SIOCGIFCONF, &ifc) < 0) { in if_print() 619 if (ioctl(skfd, SIOCETHTOOL, &ifr) < 0) { in get_drv_info() [all …]
|
/linux-2.4.37.9/Documentation/ |
D | rtc.txt | 59 various ioctl(2) calls as listed in ./include/linux/rtc.h 60 Rather than write 50 pages describing the ioctl() and so on, it is 85 #include <sys/ioctl.h> 108 retval = ioctl(fd, RTC_UIE_ON, 0); 110 perror("ioctl"); 154 retval = ioctl(fd, RTC_UIE_OFF, 0); 156 perror("ioctl"); 161 retval = ioctl(fd, RTC_RD_TIME, &rtc_tm); 163 perror("ioctl"); 184 retval = ioctl(fd, RTC_ALM_SET, &rtc_tm); [all …]
|
D | watchdog-api.txt | 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. [all …]
|
D | ioctl-number.txt | 6 If you are adding new ioctl's to the kernel, you should use the _IO 7 macros defined in <linux/ioctl.h>: 9 _IO an ioctl with no parameters 10 _IOW an ioctl with write parameters (copy_from_user) 11 _IOR an ioctl with read parameters (copy_to_user) 12 _IOWR an ioctl with both write and read parameters. 15 system calls 'write' and 'read'. For example, a SET_FOO ioctl would 17 a GET_FOO ioctl would be _IOR, although the kernel would actually write 25 unused block with enough room for expansion: 32 to 256 ioctl commands. 41 (1) Keeping the ioctl's globally unique helps error checking: [all …]
|
D | mtrr.txt | 35 which allows you to read and write. The other is an ioctl() 37 ioctl() interface is meant for C programs (i.e. the X server). The 77 ioctl() interface, so users won't have to do anything. If you use a 102 Reading MTRRs from a C program using ioctl()'s: 106 Source file for mtrr-show (example program to show MTRRs using ioctl()'s) 130 This program will use an ioctl() on /proc/mtrr to show the current MTRR 145 #include <sys/ioctl.h> 171 for (gentry.regnum = 0; ioctl (fd, MTRRIOC_GET_ENTRY, &gentry) == 0; 184 fprintf (stderr, "Error doing ioctl(2) on /dev/mtrr\t%s\n", ERRSTRING); 188 Creating MTRRs from a C programme using ioctl()'s: [all …]
|
D | highuid.txt | 4 when communicating between user and kernel space in an ioctl or data 61 all ioctl()s. Some new ioctl()s have been added with 32-bit UIDs, but 68 - The ioctl()s used to control the in-kernel NFS server only support
|
/linux-2.4.37.9/Documentation/ia64/ |
D | efirtc.txt | 29 EFI provides a simpler services, not all all ioctl() are available. Also 30 new ioctl()s have been introduced for things that EFI provides but not the 43 ioctl()s. The other is read-only via the /proc filesystem. 56 Two ioctl()s, compatible with the legacy RTC calls: 58 Read the CMOS clock: ioctl(d, RTC_RD_TIME, &rtc); 60 Write the CMOS clock: ioctl(d, RTC_SET_TIME, &rtc); 80 Those two ioctl()s can be exercised with the hwclock command: 96 the same ioctl()s to get access to the service. Instead we have 97 introduced 2 news ioctl()s to the interface of an RTC. 99 We have added 2 new ioctl()s that are specific to the EFI driver: [all …]
|
/linux-2.4.37.9/drivers/scsi/ |
D | gdth_proc.c | 215 gdtcmd.u.ioctl.p_param = paddr; in gdth_set_asc_info() 216 gdtcmd.u.ioctl.param_size = sizeof(gdth_cpar_str); in gdth_set_asc_info() 217 gdtcmd.u.ioctl.subfunc = CACHE_CONFIG; in gdth_set_asc_info() 218 gdtcmd.u.ioctl.channel = INVALID_CHANNEL; in gdth_set_asc_info() 392 gdtcmd.u.ioctl.p_param = paddr + GDTH_SCRATCH/4; in gdth_get_info() 393 gdtcmd.u.ioctl.param_size = 3*GDTH_SCRATCH/4; in gdth_get_info() 394 gdtcmd.u.ioctl.subfunc = DSK_STATISTICS | L_CTRL_PATTERN; in gdth_get_info() 395 gdtcmd.u.ioctl.channel = ha->raw[i].address | INVALID_CHANNEL; in gdth_get_info() 425 gdtcmd.u.ioctl.p_param = paddr; in gdth_get_info() 426 gdtcmd.u.ioctl.param_size = sizeof(gdth_diskinfo_str); in gdth_get_info() [all …]
|
/linux-2.4.37.9/fs/ |
D | ioctl.c | 43 if (filp->f_op && filp->f_op->ioctl) in file_ioctl() 44 return filp->f_op->ioctl(inode, filp, cmd, arg); in file_ioctl() 118 else if (filp->f_op && filp->f_op->ioctl) in sys_ioctl() 119 error = filp->f_op->ioctl(filp->f_dentry->d_inode, filp, cmd, arg); in sys_ioctl()
|
/linux-2.4.37.9/drivers/pcmcia/ |
D | tcic.c | 331 u_short scf1, ioctl, base, num; in is_active() local 344 ioctl = tcic_getw(TCIC_DATA); in is_active() 346 if (ioctl & TCIC_ICTL_TINY) in is_active() 354 (scf1 & TCIC_SCF1_IOSTS) && (ioctl & TCIC_ICTL_ENA) && in is_active() 803 u_short base, ioctl; in tcic_get_io_map() local 812 ioctl = tcic_getw(TCIC_DATA); in tcic_get_io_map() 814 if (ioctl & TCIC_ICTL_TINY) in tcic_get_io_map() 820 io->speed = to_ns(ioctl & TCIC_ICTL_WSCNT_MASK); in tcic_get_io_map() 821 io->flags = (ioctl & TCIC_ICTL_ENA) ? MAP_ACTIVE : 0; in tcic_get_io_map() 822 switch (ioctl & TCIC_ICTL_BW_MASK) { in tcic_get_io_map() [all …]
|
D | vrc4173_cardu.c | 303 uint8_t ioctl, window; in cardu_get_io_map() local 313 ioctl = exca_readb(socket, IO_WIN_CNT); in cardu_get_io_map() 316 if (ioctl & IO_WIN_DATA_AUTOSZ(map)) in cardu_get_io_map() 318 else if (ioctl & IO_WIN_DATA_16BIT(map)) in cardu_get_io_map() 327 uint16_t ioctl; in cardu_set_io_map() local 346 ioctl = exca_readb(socket, IO_WIN_CNT) & ~IO_WIN_CNT_MASK(map); in cardu_set_io_map() 347 if (io->flags & MAP_AUTOSZ) ioctl |= IO_WIN_DATA_AUTOSZ(map); in cardu_set_io_map() 348 else if (io->flags & MAP_16BIT) ioctl |= IO_WIN_DATA_16BIT(map); in cardu_set_io_map() 349 exca_writeb(socket, IO_WIN_CNT, ioctl); in cardu_set_io_map()
|
/linux-2.4.37.9/drivers/sound/ |
D | dev_table.h | 156 int (*ioctl) (void *devc, unsigned int cmd, caddr_t arg, int local); member 171 int (*ioctl) (int dev, unsigned int cmd, caddr_t arg); member 247 int (*ioctl) (int dev, unsigned int cmd, caddr_t arg); member 264 int (*ioctl) (int dev, unsigned int cmd, caddr_t arg); member 317 int (*ioctl) (int dev, unsigned int cmd, caddr_t arg); member 348 int (*ioctl) (int dev, unsigned int cmd, caddr_t arg); member
|
/linux-2.4.37.9/drivers/net/ |
D | pppox.c | 108 if (proto[sk->protocol]->ioctl) in pppox_ioctl() 109 err = (*proto[sk->protocol]->ioctl)(sock, cmd, arg); in pppox_ioctl() 134 sock->ops->ioctl = pppox_ioctl; in pppox_create()
|
/linux-2.4.37.9/Documentation/i2c/ |
D | dev-interface | 40 if (ioctl(file,I2C_SLAVE,addr) < 0) { 83 ioctl(file,I2C_SLAVE,long addr) 88 ioctl(file,I2C_TENBIT,long select) 92 ioctl(file,I2C_FUNCS,unsigned long *funcs) 95 ioctl(file,I2C_RDWR,struct i2c_rdwr_ioctl_data *msgset) 108 set in each message, overriding the values set with the above ioctl's. 117 ioctl I2C_SLAVE before you try to access the device. 139 i2c_smbus_access function, that on its turn calls a specific ioctl
|
/linux-2.4.37.9/Documentation/fb/ |
D | internals.txt | 20 ioctl. 26 ioctl, and updated with the FBIOPUT_VSCREENINFO ioctl. If you want to pan 27 the screen only, you can use the FBIOPAN_DISPLAY ioctl.
|
/linux-2.4.37.9/drivers/usb/serial/ |
D | io_tables.h | 114 ioctl: edge_ioctl, 136 ioctl: edge_ioctl, 158 ioctl: edge_ioctl, 180 ioctl: edge_ioctl,
|
/linux-2.4.37.9/drivers/char/ip2/ |
D | ip2stat.c | 71 ioctl ( fd, 64, &Driver ); in main() 72 ioctl ( fd, 65, Board ); in main() 73 ioctl ( fd, dev % 64, Port ); in main()
|
/linux-2.4.37.9/Documentation/sound/ |
D | rme96xx | 44 #include <sys/ioctl.h> 131 ioctl(fd,SOUND_MIXER_PRIVATE2,&stat); 149 ioctl(fd,SOUND_MIXER_PRIVATE3,&ctrl); 178 ioctl(fd,SOUND_MIXER_PRIVATE1,&mix); 195 ioctl(fd,SOUND_MIXER_PRIVATE3,&ctrl); 198 ioctl(fdwr,SOUND_MIXER_PRIVATE3,&ctrl); 204 ioctl(fd,SOUND_MIXER_PRIVATE3,&ctrl); 207 ioctl(fdwr,SOUND_MIXER_PRIVATE3,&ctrl); 213 ioctl(fd,SOUND_MIXER_PRIVATE3,&ctrl); 216 ioctl(fdwr,SOUND_MIXER_PRIVATE3,&ctrl); [all …]
|
D | vwsnd | 80 Using the standard Open Sound System (OSS) ioctl calls, the sample 86 The SNDCTL_DSP_GETCAP ioctl returns these capabilities. 118 MIXER_READ(SOUND_MIXER_xxx) ioctl. Those that are not read-only can 119 also be written using the MIXER_WRITE(SOUND_MIXER_xxx) ioctl. In most 155 levels are mapped onto 100 levels at the ioctl, see below. 163 100 levels at the ioctl, see below. 171 ioctl, see below. 179 100 levels at the ioctl, see below. 186 steps. Those 16 levels are mapped onto 100 levels at the ioctl, see 212 The OSS defines the argument to a channel gain ioctl as having two [all …]
|
/linux-2.4.37.9/Documentation/cdrom/ |
D | sbpcd | 319 There is an ioctl CDROMMULTISESSION to obtain with a user program if 422 #include <sys/ioctl.h> 448 err=ioctl(drive, CDROMREADTOCHDR, &hdr); 465 err=ioctl(drive, CDROMREADTOCENTRY, &entry[i]); 506 err=ioctl(drive, CDROMREADAUDIO, &arg); 567 #include <sys/ioctl.h> 656 rc=ioctl(drive,CDROMREADTOCHDR,&hdr); 675 rc=ioctl(drive,CDROMREADTOCENTRY,&TocEntry[i]); 766 rc=ioctl(drive,CDROMEJECT); 770 rc=ioctl(drive,CDROMPAUSE); [all …]
|
D | cdrom-standard.tex | 53 devices; the way a particular drive reacts to a `standard' $ioctl()$ 62 defines the various $ioctl$s, and how the low-level \cdrom\ device 138 implemented the \cdrom\ $ioctl()$ calls through their own routines. This 147 software-level, that separates the $ioctl()$ and $open()$ implementation 172 &cdrom_ioctl, & ioctl \cr 352 \item[1] Open for $ioctl$ commands, as done by audio-CD playing 358 open-for-ioctl call can only fail if there is no hardware. 401 queues for the VFS and a new $ioctl()$ function that can report device 448 operate at 300\,kB/sec you would call the CDROM_SELECT_SPEED $ioctl$ 465 This function should implement the old corresponding $ioctl()$. For [all …]
|
/linux-2.4.37.9/fs/smbfs/ |
D | Makefile | 12 obj-y := proc.o dir.o cache.o sock.o inode.o file.o ioctl.o getopt.o symlink.o 32 SRC = proc.c dir.c cache.c sock.c inode.c file.c ioctl.c symlink.c
|
/linux-2.4.37.9/drivers/message/i2o/ |
D | README.ioctl | 12 The Linux I2O subsystem provides a set of ioctl() commands that can be 14 on individual IOPs. This document defines the specific ioctl() commands 37 ioctl(fd, I2OGETIOPS, int *count); 59 ioctl(fd, I2OHRTGET, struct i2o_cmd_hrt *hrt); 88 ioctl(fd, I2OLCTGET, struct i2o_cmd_lct *lct); 117 ioctl(fd, I2OPARMSET, struct i2o_parm_setget *ops); 158 ioctl(fd, I2OPARMGET, struct i2o_parm_setget *ops); 195 ioctl(fd, I2OSWDL, struct i2o_sw_xfer *sw); 236 ioctl(fd, I2OSWUL, struct i2o_sw_xfer *sw); 278 ioctl(fd, I2OSWDEL, struct i2o_sw_xfer *sw); [all …]
|