• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/Documentation/cdrom/

Lines Matching defs:struct

163 device by registering the following general $struct\ file_operations$:
166 struct& file_operations\ cdrom_fops = \{\hidewidth\cr
184 Every active \cdrom\ device shares this $struct$. The routines
213 $$register_cdrom(struct\ cdrom_device_info * <device>_info)
229 current $struct$ is:
233 struct& cdrom_device_ops\ \{ \hidewidth\cr
234 &int& (* open)(struct\ cdrom_device_info *, int)\cr
235 &void& (* release)(struct\ cdrom_device_info *);\cr
236 &int& (* drive_status)(struct\ cdrom_device_info *, int);\cr
237 &int& (* media_changed)(struct\ cdrom_device_info *, int);\cr
238 &int& (* tray_move)(struct\ cdrom_device_info *, int);\cr
239 &int& (* lock_door)(struct\ cdrom_device_info *, int);\cr
240 &int& (* select_speed)(struct\ cdrom_device_info *, int);\cr
241 &int& (* select_disc)(struct\ cdrom_device_info *, int);\cr
242 &int& (* get_last_session) (struct\ cdrom_device_info *,
243 struct\ cdrom_multisession *{});\cr
244 &int& (* get_mcn)(struct\ cdrom_device_info *, struct\ cdrom_mcn *{});\cr
245 &int& (* reset)(struct\ cdrom_device_info *);\cr
246 &int& (* audio_ioctl)(struct\ cdrom_device_info *, unsigned\ int,
248 &int& (* dev_ioctl)(struct\ cdrom_device_info *, unsigned\ int,
257 it should add a function pointer to this $struct$. When a particular
258 function is not implemented, however, this $struct$ should contain a
272 drivers, the main parameter is the $struct$ $cdrom_device_info$, from
283 struct& cdrom_device_info\ \{ \hidewidth\cr
284 & struct\ cdrom_device_ops *& ops;& device operations for this major\cr
285 & struct\ cdrom_device_info *& next;& next device_info for this major\cr
299 Using this $struct$, a linked list of the registered minor devices is
301 struct and specifications of properties of the drive are stored in this
345 \subsection{$Int\ open(struct\ cdrom_device_info * cdi, int\ purpose)$}
361 \subsection{$Void\ release(struct\ cdrom_device_info * cdi)$}
369 \subsection{$Int\ drive_status(struct\ cdrom_device_info * cdi, int\ slot_nr)$}
386 \subsection{$Int\ media_changed(struct\ cdrom_device_info * cdi, int\ disc_nr)$}
388 This function is very similar to the original function in $struct\
397 \subsection{$Int\ tray_move(struct\ cdrom_device_info * cdi, int\ position)$}
410 \subsection{$Int\ lock_door(struct\ cdrom_device_info * cdi, int\ lock)$}
423 \subsection{$Int\ select_speed(struct\ cdrom_device_info * cdi, int\ speed)$}
448 \subsection{$Int\ select_disc(struct\ cdrom_device_info * cdi, int\ number)$}
455 \subsection{$Int\ get_last_session(struct\ cdrom_device_info * cdi, struct\
470 \subsection{$Int\ get_mcn(struct\ cdrom_device_info * cdi, struct\
478 pre-declared memory region of type $struct\ cdrom_mcn$. The MCN is
481 \subsection{$Int\ reset(struct\ cdrom_device_info * cdi)$}
490 \subsection{$Int\ audio_ioctl(struct\ cdrom_device_info * cdi, unsigned\
516 \subsection{$Int\ dev_ioctl(struct\ cdrom_device_info * cdi, unsigned\ int\
578 hence for this drive the $cdrom_device_info$ struct will have set
755 of the $struct gendisk$.
757 \subsection{$Int\ register_cdrom( struct\ cdrom_device_info\ * cdi)$}
771 struct\ &cdrom_device_info\ <device>_info = \{\cr
780 \subsection{$Void\ unregister_cdrom(struct\ cdrom_device_info * cdi)$}
788 \subsection{$Int\ cdrom_open(struct\ inode * ip, struct\ file * fp)$}
797 \subsection{$Void\ cdrom_release(struct\ inode *ip, struct\ file
806 \subsection{$Int\ cdrom_ioctl(struct\ inode *ip, struct\ file *fp,
841 \item[CDROMSUBCHNL] Get sub-channel data in argument $arg$ of type $struct\
844 $struct\ cdrom_tochdr *{}$.
846 specified by $arg$ of type $struct\ cdrom_tocentry *{}$.
848 Frame format, delimited by $arg$ of type $struct\ cdrom_msf *{}$.
850 delimited by $arg$ of type $struct\ \penalty-1000 cdrom_ti *{}$.
851 \item[CDROMVOLCTRL] Set volume specified by $arg$ of type $struct\
853 \item[CDROMVOLREAD] Read volume into by $arg$ of type $struct\
965 \item Copy an example of the device-operations $struct$ to your
991 case\ CDROMREADTOCENTRY\colon get_toc_entry\bigl((struct\