Home
last modified time | relevance | path

Searched refs:rd_softc (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/sys/arch/hp300/stand/common/
H A Drd.c67 struct rd_softc { struct
88 static int rdgetinfo(struct rd_softc *); argument
91 static struct rd_softc rd_softc[NHPIB][NRD]; variable
123 struct rd_softc *rs = &rd_softc[ctlr][unit]; in rdinit()
216 rdgetinfo(struct rd_softc *rs) in rdgetinfo()
260 struct rd_softc *rs; in rdopen()
272 rs = &rd_softc[ctlr][unit]; in rdopen()
292 struct rd_softc *rs = f->f_devdata; in rdclose()
298 memset(rs, 0, sizeof(struct rd_softc)); in rdclose()
309 struct rd_softc *rs = devdata; in rdstrategy()
/netbsd-src/sys/dev/gpib/
H A Drd.c114 struct rd_softc { struct
229 int rdgetinfo(struct rd_softc *);
231 struct buf *rdfinish(struct rd_softc *, struct buf *);
233 void rdgetcompatlabel(struct rd_softc *, struct disklabel *);
234 void rdgetdefaultlabel(struct rd_softc *, struct disklabel *);
236 void rdustart(struct rd_softc *);
237 struct buf *rdfinish(struct rd_softc *, struct buf *);
239 void rdstart(struct rd_softc *);
240 void rdintr(struct rd_softc *);
241 int rderror(struct rd_softc *);
[all …]
/netbsd-src/sys/arch/hp300/dev/
H A Drd.c428 static int rdident(device_t, struct rd_softc *,
430 static void rdreset(struct rd_softc *);
432 static void rd_set_geom(struct rd_softc *);
435 static void rdgetdefaultlabel(struct rd_softc *, struct disklabel *);
437 static void rdustart(struct rd_softc *);
438 static struct buf *rdfinish(struct rd_softc *, struct buf *);
442 static int rdstatus(struct rd_softc *);
451 CFATTACH_DECL_NEW(rd, sizeof(struct rd_softc),
500 struct rd_softc *sc = device_private(self); in rdattach()
562 rdident(device_t parent, struct rd_softc *sc, struct hpibbus_attach_args *ha) in rdident()
[all …]
H A Drdvar.h61 struct rd_softc { struct
/netbsd-src/sys/dev/pci/
H A Dradeonfb.c854 dp->rd_softc = sc; in radeonfb_attach()
1147 sc = dp->rd_softc; in radeonfb_ioctl()
1330 sc = dp->rd_softc; in radeonfb_mmap()
2294 struct radeonfb_softc *sc = dp->rd_softc; in radeonfb_modeswitch()
2378 sc = dp->rd_softc; in radeonfb_setcrtc()
2562 struct radeonfb_softc *sc = dp->rd_softc; in radeonfb_isblank()
2565 if(!dp->rd_softc->sc_mapped) in radeonfb_isblank()
2580 return ((GET32(dp->rd_softc, reg) & mask) ? 1 : 0); in radeonfb_isblank()
2586 struct radeonfb_softc *sc = dp->rd_softc; in radeonfb_blank()
2709 if (IS_R300(dp->rd_softc) && 0) { in radeonfb_init_screen()
[all …]
H A Dradeonfbvar.h157 struct radeonfb_softc *rd_softc; member