Lines Matching refs:scd_softc

113 static void process_attention(struct scd_softc *);
114 static int waitfor_status_bits(struct scd_softc *, int bits_set, int bits_clear);
115 static int send_cmd(struct scd_softc *, u_char cmd, u_int nargs, ...);
116 static void init_drive(struct scd_softc *);
117 static int spin_up(struct scd_softc *);
118 static int read_toc(struct scd_softc *);
119 static int get_result(struct scd_softc *, int result_len, u_char *result);
120 static void print_error(struct scd_softc *, int errcode);
122 static void scd_start(struct scd_softc *);
124 static void scd_doread(struct scd_softc *, int state, struct scd_mbx *mbxin);
126 static int scd_eject(struct scd_softc *);
127 static int scd_stop(struct scd_softc *);
128 static int scd_pause(struct scd_softc *);
129 static int scd_resume(struct scd_softc *);
130 static int scd_playtracks(struct scd_softc *, struct ioc_play_track *pt);
131 static int scd_playmsf(struct scd_softc *, struct ioc_play_msf *msf);
132 static int scd_play(struct scd_softc *, struct ioc_play_msf *msf);
133 static int scd_subchan(struct scd_softc *, struct ioc_read_subchannel *sch, int nocopyout);
134 static int read_subcode(struct scd_softc *, struct sony_subchannel_position_data *sch);
137 static int scd_toc_header(struct scd_softc *, struct ioc_toc_header *th);
138 static int scd_toc_entrys(struct scd_softc *, struct ioc_read_toc_entry *te);
139 static int scd_toc_entry(struct scd_softc *, struct ioc_read_toc_single_entry *te);
160 scd_attach(struct scd_softc *sc)
182 struct scd_softc *sc;
185 sc = (struct scd_softc *)dev->si_drv1;
227 struct scd_softc *sc;
229 sc = (struct scd_softc *)dev->si_drv1;
250 struct scd_softc *sc;
252 sc = (struct scd_softc *)bp->bio_dev->si_drv1;
296 scd_start(struct scd_softc *sc)
328 struct scd_softc *sc;
330 sc = (struct scd_softc *)dev->si_drv1;
405 scd_playtracks(struct scd_softc *sc, struct ioc_play_track *pt)
441 scd_playmsf(struct scd_softc *sc, struct ioc_play_msf *msfin)
457 scd_play(struct scd_softc *sc, struct ioc_play_msf *msf)
487 scd_stop(struct scd_softc *sc)
496 scd_pause(struct scd_softc *sc)
523 scd_resume(struct scd_softc *sc)
532 scd_eject(struct scd_softc *sc)
548 scd_subchan(struct scd_softc *sc, struct ioc_read_subchannel *sch, int nocopyout)
587 scd_probe(struct scd_softc *sc)
649 read_subcode(struct scd_softc *sc, struct sony_subchannel_position_data *scp)
680 struct scd_softc *sc;
681 sc = (struct scd_softc *)arg;
687 scd_doread(struct scd_softc *sc, int state, struct scd_mbx *mbxin)
976 process_attention(struct scd_softc *sc)
1026 spin_up(struct scd_softc *sc)
1082 read_toc(struct scd_softc *sc)
1147 init_drive(struct scd_softc *sc)
1159 get_result(struct scd_softc *sc, int result_len, u_char *result)
1182 send_cmd(struct scd_softc *sc, u_char cmd, u_int nargs, ...)
1239 print_error(struct scd_softc *sc, int errcode)
1260 waitfor_status_bits(struct scd_softc *sc, int bits_set, int bits_clear)
1315 scd_toc_header (struct scd_softc *sc, struct ioc_toc_header* th)
1332 scd_toc_entrys (struct scd_softc *sc, struct ioc_read_toc_entry *te)
1376 scd_toc_entry (struct scd_softc *sc, struct ioc_read_toc_single_entry *te)