Lines Matching refs:cr
165 \halign{$#$\ \hfil&$#$\ \hfil&$/*$ \rm# $*/$\hfil\cr
166 struct& file_operations\ cdrom_fops = \{\hidewidth\cr
167 &NULL, & lseek \cr
168 &block_read, & read---general block-dev read \cr
169 &block_write, & write---general block-dev write \cr
170 &NULL, & readdir \cr
171 &NULL, & select \cr
172 &cdrom_ioctl, & ioctl \cr
173 &NULL, & mmap \cr
174 &cdrom_open, & open \cr
175 &cdrom_release, & release \cr
176 &NULL, & fsync \cr
177 &NULL, & fasync \cr
178 &cdrom_media_changed, & media change \cr
179 &NULL & revalidate \cr
180 \};\cr
232 $/*$ \rm# $*/$\hfil\cr
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
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
247 void *{});\cr
249 unsigned\ long);\cr
251 &const\ int& capability;& capability flags \cr
252 &int& n_minors;& number of active minor devices \cr
253 \};\cr
282 $/*$ \rm# $*/$\hfil\cr
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
286 & void *& handle;& driver-dependent data\cr
288 & kdev_t& dev;& device number (incorporates minor)\cr
289 & int& mask;& mask of capability: disables them \cr
290 & int& speed;& maximum speed for reading data \cr
291 & int& capacity;& number of discs in a jukebox \cr
293 &int& options : 30;& options flags \cr
294 &unsigned& mc_flags : 2;& media-change buffer flags \cr
295 & int& use_count;& number of times device is opened\cr
296 & char& name[20];& name of the device type\cr
297 \}\cr
384 \halign{$#$\ \hfil&$/*$ \rm# $*/$\hfil\cr
385 CDS_NO_INFO& no information available\cr
386 CDS_NO_DISC& no disc is inserted, tray is closed\cr
387 CDS_TRAY_OPEN& tray is opened\cr
388 CDS_DRIVE_NOT_READY& something is wrong, tray is moving?\cr
389 CDS_DISC_OK& a disc is loaded and everything is fine\cr
562 \halign{$#$\ \hfil&$/*$ \rm# $*/$\hfil\cr
563 CDC_CLOSE_TRAY& can close tray by software control\cr
564 CDC_OPEN_TRAY& can open tray\cr
565 CDC_LOCK& can lock and unlock the door\cr
566 CDC_SELECT_SPEED& can select speed, in units of $\sim$150\,kB/s\cr
567 CDC_SELECT_DISC& drive is juke-box\cr
568 CDC_MULTI_SESSION& can read sessions $>\rm1$\cr
569 CDC_MCN& can read Media Catalog Number\cr
570 CDC_MEDIA_CHANGED& can report if disc has changed\cr
571 CDC_PLAY_AUDIO& can perform audio-functions (play, pause, etc)\cr
572 CDC_RESET& hard reset device\cr
573 CDC_IOCTLS& driver has non-standard ioctls\cr
574 CDC_DRIVE_STATUS& driver implements drive status\cr
605 \halign{$#$\ \hfil&$/*$ \rm# $*/$\hfil\cr
606 CDO_AUTO_CLOSE& try to close tray upon device $open()$\cr
607 CDO_AUTO_EJECT& try to open tray on last device $close()$\cr
609 purpose for $open()$\cr
610 CDO_LOCK& try to lock door if device is opened\cr
611 CDO_CHECK_TYPE& ensure disc type is data if opened for data\cr
621 \halign{$#$\ \hfil&$/*$ \rm# $*/$\hfil\cr
622 CDROM_SET_OPTIONS& set options specified in $(int)\ arg$\cr
623 CDROM_CLEAR_OPTIONS& clear options specified in $(int)\ arg$\cr
780 \vbox{\halign{&$#$\hfil\cr
781 struct\ &cdrom_device_info\ <device>_info = \{\cr
782 & <device>_dops;\cr
783 &\ldots\cr
784 \}\cr
933 \halign{$#$\ \hfil&$/*$ \rm# $*/$\hfil\cr
934 CDS_NO_INFO& no information available\cr
935 CDS_NO_DISC& no disc is inserted, or tray is opened\cr
936 CDS_AUDIO& Audio disc (2352 audio bytes/frame)\cr
937 CDS_DATA_1& data disc, mode 1 (2048 user bytes/frame)\cr
938 CDS_XA_2_1& mixed data (XA), mode 2, form 1 (2048 user bytes)\cr
939 CDS_XA_2_2& mixed data (XA), mode 2, form 1 (2324 user bytes)\cr
940 CDS_MIXED& mixed audio/data disc\cr