Lines Matching refs:cd_softc

137 static u_long	cd_size(struct cd_softc *, int);
138 static int cd_play(struct cd_softc *, int, int);
139 static int cd_play_tracks(struct cd_softc *, struct cd_formatted_toc *,
141 static int cd_play_msf(struct cd_softc *, int, int, int, int, int, int);
142 static int cd_pause(struct cd_softc *, int);
143 static int cd_reset(struct cd_softc *);
144 static int cd_read_subchannel(struct cd_softc *, int, int, int,
146 static int cd_read_toc(struct cd_softc *, int, int, int,
148 static int cd_get_parms(struct cd_softc *, int);
149 static int cd_load_toc(struct cd_softc *, int, struct cd_formatted_toc *, int);
150 static int cdreadmsaddr(struct cd_softc *, struct cd_formatted_toc *,int *);
153 static int dvd_auth(struct cd_softc *, dvd_authinfo *);
154 static int dvd_read_physical(struct cd_softc *, dvd_struct *);
155 static int dvd_read_copyright(struct cd_softc *, dvd_struct *);
156 static int dvd_read_disckey(struct cd_softc *, dvd_struct *);
157 static int dvd_read_bca(struct cd_softc *, dvd_struct *);
158 static int dvd_read_manufact(struct cd_softc *, dvd_struct *);
159 static int dvd_read_struct(struct cd_softc *, dvd_struct *);
161 static int cd_mode_sense(struct cd_softc *, u_int8_t, void *, size_t, int,
163 static int cd_mode_select(struct cd_softc *, u_int8_t, void *, size_t,
165 static int cd_setchan(struct cd_softc *, int, int, int, int, int);
166 static int cd_getvol(struct cd_softc *, struct ioc_vol *, int);
167 static int cd_setvol(struct cd_softc *, const struct ioc_vol *, int);
168 static int cd_set_pa_immed(struct cd_softc *, int);
169 static int cd_load_unload(struct cd_softc *, struct ioc_load_unload *);
170 static int cd_setblksize(struct cd_softc *);
181 static void cd_set_geometry(struct cd_softc *);
183 CFATTACH_DECL3_NEW(cd, sizeof(struct cd_softc), cdmatch, cdattach, cddetach,
274 struct cd_softc *cd = device_private(self);
336 struct cd_softc *cd = device_private(self);
387 struct cd_softc *cd = device_private(self);
481 struct cd_softc *cd;
523 struct cd_softc *cd = device_private(self);
558 struct cd_softc *cd;
606 cd_make_bounce_buffer(struct cd_softc *cd, struct buf *bp, daddr_t blkno, int count, struct buf **nbpp, void *priv)
644 cd_make_bounce(struct cd_softc *cd, struct buf *bp, struct cdbounce **bouncep)
711 struct cd_softc *cd = device_lookup_private(&cd_cd,CDUNIT(bp->b_dev));
766 struct cd_softc *cd = device_private(dev);
883 struct cd_softc *cd = v;
898 struct cd_softc *cd = device_private(periph->periph_dev);
920 struct cd_softc *cd = device_private(xs->xs_periph->periph_dev);
1023 struct cd_softc *cd = device_lookup_private(&cd_cd, CDUNIT(bp->b_dev));
1109 cdreadmsaddr(struct cd_softc *cd, struct cd_formatted_toc *toc, int *addr)
1159 do_cdioreadentries(struct cd_softc *cd, struct ioc_read_toc_entry *te,
1205 struct cd_softc *cd = device_lookup_private(&cd_cd, CDUNIT(dev));
1464 struct cd_softc *cd = device_private(self);
1600 cd_size(struct cd_softc *cd, int flags)
1645 cd_play(struct cd_softc *cd, int blkno, int nblks)
1662 cd_play_tracks(struct cd_softc *cd, struct cd_formatted_toc *toc, int strack,
1696 cd_play_msf(struct cd_softc *cd, int startm, int starts, int startf, int endm,
1718 cd_pause(struct cd_softc *cd, int go)
1734 cd_reset(struct cd_softc *cd)
1745 cd_read_subchannel(struct cd_softc *cd, int mode, int format, int track,
1769 cd_read_toc(struct cd_softc *cd, int respf, int mode, int start,
1797 cd_load_toc(struct cd_softc *cd, int respf, struct cd_formatted_toc *toc, int flags)
1819 cd_get_parms(struct cd_softc *cd, int flags)
1851 dvd_auth(struct cd_softc *cd, dvd_authinfo *a)
1990 dvd_read_physical(struct cd_softc *cd, dvd_struct *s)
2030 dvd_read_copyright(struct cd_softc *cd, dvd_struct *s)
2053 dvd_read_disckey(struct cd_softc *cd, dvd_struct *s)
2077 dvd_read_bca(struct cd_softc *cd, dvd_struct *s)
2101 dvd_read_manufact(struct cd_softc *cd, dvd_struct *s)
2129 dvd_read_struct(struct cd_softc *cd, dvd_struct *s)
2149 cd_mode_sense(struct cd_softc *cd, u_int8_t byte2, void *sense, size_t size,
2167 cd_mode_select(struct cd_softc *cd, u_int8_t byte2, void *sense, size_t size,
2189 cd_set_pa_immed(struct cd_softc *cd, int flags)
2236 cd_setchan(struct cd_softc *cd, int p0, int p1, int p2, int p3, int flags)
2281 cd_getvol(struct cd_softc *cd, struct ioc_vol *arg, int flags)
2324 cd_setvol(struct cd_softc *cd, const struct ioc_vol *arg, int flags)
2382 cd_load_unload(struct cd_softc *cd, struct ioc_load_unload *args)
2396 cd_setblksize(struct cd_softc *cd)
3627 cd_set_geometry(struct cd_softc *cd)