Lines Matching refs:mcd_softc

119 static void	mcd_start(struct mcd_softc *);
121 static void mcd_configure(struct mcd_softc *sc);
123 static int mcd_get(struct mcd_softc *, char *buf, int nmax);
124 static int mcd_setflags(struct mcd_softc *);
125 static int mcd_getstat(struct mcd_softc *,int sflg);
126 static int mcd_send(struct mcd_softc *, int cmd,int nretrys);
129 static int mcd_volinfo(struct mcd_softc *);
130 static int mcd_waitrdy(struct mcd_softc *,int dly);
132 static void mcd_doread(struct mcd_softc *, int state, struct mcd_mbx *mbxin);
133 static void mcd_soft_reset(struct mcd_softc *);
134 static int mcd_hard_reset(struct mcd_softc *);
135 static int mcd_setmode(struct mcd_softc *, int mode);
136 static int mcd_getqchan(struct mcd_softc *, struct mcd_qchninfo *q);
137 static int mcd_subchan(struct mcd_softc *, struct ioc_read_subchannel *sc,
139 static int mcd_toc_header(struct mcd_softc *, struct ioc_toc_header *th);
140 static int mcd_read_toc(struct mcd_softc *);
141 static int mcd_toc_entrys(struct mcd_softc *, struct ioc_read_toc_entry *te);
143 static int mcd_toc_entry(struct mcd_softc *, struct ioc_read_toc_single_entry *te);
145 static int mcd_stop(struct mcd_softc *);
146 static int mcd_eject(struct mcd_softc *);
147 static int mcd_inject(struct mcd_softc *);
148 static int mcd_playtracks(struct mcd_softc *, struct ioc_play_track *pt);
149 static int mcd_play(struct mcd_softc *, struct mcd_read2 *pb);
150 static int mcd_playmsf(struct mcd_softc *, struct ioc_play_msf *pt);
151 static int mcd_playblocks(struct mcd_softc *, struct ioc_play_blocks *);
152 static int mcd_pause(struct mcd_softc *);
153 static int mcd_resume(struct mcd_softc *);
154 static int mcd_lock_door(struct mcd_softc *, int lock);
155 static int mcd_close_tray(struct mcd_softc *);
190 mcd_attach(struct mcd_softc *sc)
216 struct mcd_softc *sc;
219 sc = (struct mcd_softc *)dev->si_drv1;
274 struct mcd_softc *sc;
276 sc = (struct mcd_softc *)dev->si_drv1;
291 struct mcd_softc *sc;
293 sc = (struct mcd_softc *)bp->bio_dev->si_drv1;
335 mcd_start(struct mcd_softc *sc)
363 struct mcd_softc *sc;
366 sc = (struct mcd_softc *)dev->si_drv1;
463 struct mcd_softc *sc;
466 sc = (struct mcd_softc *)dev->si_drv1;
496 mcd_configure(struct mcd_softc *sc)
504 twiddle_thumbs(struct mcd_softc *sc, int count, char *whine)
520 mcd_probe(struct mcd_softc *sc)
599 mcd_waitrdy(struct mcd_softc *sc, int dly)
613 mcd_getreply(struct mcd_softc *sc, int dly)
627 mcd_getstat(struct mcd_softc *sc, int sflg)
648 mcd_setflags(struct mcd_softc *sc)
667 mcd_get(struct mcd_softc *sc, char *buf, int nmax)
683 mcd_send(struct mcd_softc *sc, int cmd,int nretrys)
724 mcd_volinfo(struct mcd_softc *sc)
761 struct mcd_softc *sc;
763 sc = (struct mcd_softc *)arg;
769 mcd_doread(struct mcd_softc *sc, int state, struct mcd_mbx *mbxin)
992 mcd_lock_door(struct mcd_softc *sc, int lock)
1003 mcd_close_tray(struct mcd_softc *sc)
1026 mcd_eject(struct mcd_softc *sc)
1043 mcd_inject(struct mcd_softc *sc)
1054 mcd_hard_reset(struct mcd_softc *sc)
1064 mcd_soft_reset(struct mcd_softc *sc)
1074 mcd_setmode(struct mcd_softc *sc, int mode)
1101 mcd_toc_header(struct mcd_softc *sc, struct ioc_toc_header *th)
1118 mcd_read_toc(struct mcd_softc *sc)
1193 mcd_toc_entry(struct mcd_softc *sc, struct ioc_read_toc_single_entry *te)
1244 mcd_toc_entrys(struct mcd_softc *sc, struct ioc_read_toc_entry *te)
1310 mcd_stop(struct mcd_softc *sc)
1331 mcd_getqchan(struct mcd_softc *sc, struct mcd_qchninfo *q)
1355 mcd_subchan(struct mcd_softc *sc, struct ioc_read_subchannel *sch, int nocopyout)
1428 mcd_playmsf(struct mcd_softc *sc, struct ioc_play_msf *p)
1459 mcd_playtracks(struct mcd_softc *sc, struct ioc_play_track *pt)
1492 mcd_playblocks(struct mcd_softc *sc, struct ioc_play_blocks *p)
1515 mcd_play(struct mcd_softc *sc, struct mcd_read2 *pb)
1554 mcd_pause(struct mcd_softc *sc)
1588 mcd_resume(struct mcd_softc *sc)