9: #include <linux/limits.h> 10: #include <linux/ioctl.h> 11:
161: * possible to override it selectively if you really wanted to with some 162: * ioctl() that is not currently implemented. 163: *
1212: int (*release) (struct inode *, struct file *); 1213: int (*ioctl) (struct inode *, struct file *, unsigned, unsigned long); 1214: long (*unlocked_ioctl) (struct file *, unsigned, unsigned long);
4: /* ioctl command encoding: 32 bits total, command in lower 16 bits, 5: * size of the parameter structure in the lower 14 bits of the 6: * upper 16 bits. 7: * Encoding the size of the parameter structure in the ioctl request 8: * is useful for catching programs compiled with old versions
15: * The following is for compatibility across the various Linux 16: * platforms. The generic ioctl numbering scheme doesn't really enforce 17: * a type field. De facto, however, the top 8 bits of the lower 16
91: /* used to decode ioctl numbers.. */ 92: #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK)
284: /** ioctl-like requests for encoder */ 285: encoder_ctl_func enc_ctl;
287: /** ioctl-like requests for decoder */ 288: decoder_ctl_func dec_ctl;
327: /** Used like the ioctl function to control the encoder parameters 328: * 329: * @param state Encoder state 330: * @param request ioctl-type request (one of the SPEEX_* macros) 331: * @param ptr Data exchanged to-from function
138: /* This structure is used in all SIOCxMIIxxx ioctl calls */ 139: struct mii_ioctl_data { 140: __u16 phy_id;
175: unsigned int init_media); 176: extern int generic_mii_ioctl(struct mii_if_info *mii_if, 177: struct mii_ioctl_data *mii_data, int cmd, 178: unsigned int *duplex_changed);
181: static inline struct mii_ioctl_data *if_mii(struct ifreq *rq) 182: { 183: return (struct mii_ioctl_data *) &rq->ifr_ifru;
63: int (*close)(struct snd_pcm_substream *substream); 64: int (*ioctl)(struct snd_pcm_substream * substream, 65: unsigned int cmd, void *arg);
473: #endif 474: int snd_pcm_kernel_ioctl(struct snd_pcm_substream *substream, unsigned int cmd, void *arg); 475: int snd_pcm_open_substream(struct snd_pcm *pcm, int stream, struct file *file,
898: int snd_pcm_lib_interleave_len(struct snd_pcm_substream *substream); 899: int snd_pcm_lib_ioctl(struct snd_pcm_substream *substream, 900: unsigned int cmd, void *arg);
Google Home - Google Code - Discuss - Terms of Service - Help - Submit Your Code
©2010 Google - Privacy