HomeSort by: relevance | last modified time | path
    Searched defs:sc_fd (Results 1 - 18 of 18) sorted by relevancy

  /src/sys/arch/arc/stand/boot/
disk.c 50 u_long sc_fd; /* ARCBIOS file id */ member in struct:disk_softc
86 error = arcbios_Seek(sc->sc_fd, &offset, 0);
89 error = arcbios_Read(sc->sc_fd, addr, reqcnt, &count);
143 sc->sc_fd = fd;
197 arcbios_Close(((struct disk_softc *)(f->f_devdata))->sc_fd);
  /src/sys/arch/pmax/stand/common/
rz.c 51 int sc_fd; /* PROM file id */ member in struct:rz_softc
90 if (prom_lseek(sc->sc_fd, offset, 0) < 0)
92 s = prom_read(sc->sc_fd, addr, reqcnt);
145 sc->sc_fd = i;
182 prom_close(((struct rz_softc *)f->f_devdata)->sc_fd);
if_prom.c 103 static int sc_fd; /* PROM file id */ variable in typeref:typename:int
175 sc_fd = prom_open(device, 0);
177 sc_fd = (*callv->_bootinit)(device);
179 if (sc_fd < 0)
197 s = prom_write(sc_fd, pkt, len);
220 s = prom_read(sc_fd, pkt, len);
241 prom_close(sc_fd);
  /src/sys/arch/sgimips/stand/common/
disk.c 50 u_long sc_fd; /* ARCBIOS file id */ member in struct:disk_softc
86 error = arcbios_Seek(sc->sc_fd, &offset, 0);
89 error = arcbios_Read(sc->sc_fd, addr, reqcnt, &count);
143 sc->sc_fd = fd;
197 arcbios_Close(((struct disk_softc *)(f->f_devdata))->sc_fd);
  /src/sys/dev/ieee1394/
if_fwipvar.h 49 struct firewire_dev_comm sc_fd; member in struct:fwip_softc
sbp.c 327 struct firewire_dev_comm sc_fd; member in struct:sbp_softc
478 sc->sc_fd.dev = self;
482 sc->sc_fd.fc = fc = fwa->fc;
503 sc_adapter->adapt_dev = sc->sc_fd.dev;
520 sc->sc_bus = config_found(sc->sc_fd.dev, sc_channel, scsiprint,
528 dv_unit = device_unit(sc->sc_fd.dev);
537 sc->sc_fd.post_busreset = sbp_post_busreset;
538 sc->sc_fd.post_explore = sbp_post_explore;
550 struct firewire_comm *fc = sc->sc_fd.fc;
651 aprint_normal_dev(sc->sc_fd.dev
    [all...]
  /src/sys/arch/arc/jazz/
fdcvar.h 115 struct fd_softc *sc_fd[4]; /* pointers to children */ member in struct:fdc_softc
  /src/sys/arch/usermode/dev/
vatapi.c 87 int sc_fd; member in struct:vatapi_softc
132 sc->sc_fd = thunk_open(taa->u.vdev.path, O_RDWR, 0);
133 if (sc->sc_fd < 0) {
324 if (thunk_ioctl(sc->sc_fd, SCIOCCOMMAND, &kreq) != -1) {
ld_thunkbus.c 72 int sc_fd; member in struct:ld_thunkbus_softc
106 sc->sc_fd = thunk_open(path, O_RDWR, 0);
107 if (sc->sc_fd == -1) {
111 if (thunk_fstat_getsize(sc->sc_fd, &size, &blksize) == -1) {
167 tt->tt_aio.aio_fildes = sc->sc_fd;
279 ret = thunk_pread(sc->sc_fd, bp->b_data, bp->b_bcount, offset);
281 ret = thunk_pwrite(sc->sc_fd, bp->b_data, bp->b_bcount, offset);
312 len = thunk_pwrite(sc->sc_fd, data, blkcnt, blkno * ld->sc_secsize);
332 if (thunk_fsync(sc->sc_fd) == -1)
  /src/sys/dev/isa/
fdcvar.h 130 struct fd_softc *sc_fd[4]; /* pointers to children */ member in struct:fdc_softc
  /src/sys/arch/mipsco/stand/common/
saio.c 48 int sc_fd; /* PROM file id */ member in struct:saio_softc
122 iob = saiob[sc->sc_fd];
126 if (prom_lseek(sc->sc_fd, offset, 0) < 0)
132 s = prom_read(sc->sc_fd, iob->i_buf, 512);
179 sc->sc_fd = i;
220 prom_close(((struct saio_softc *)f->f_devdata)->sc_fd);
  /src/sys/net/
if_gre.h 106 int sc_fd; member in struct:gre_softc
  /src/sys/arch/atari/dev/
hdfd.c 196 struct fd_softc *sc_fd[4]; /* pointers to children */ member in struct:fdc_softc
549 fdc->sc_fd[drive] = fd;
748 if ((fd = fdc->sc_fd[n]) && (fd->sc_flags & FD_MOTOR))
994 struct fd_softc *ofd = fdc->sc_fd[fd->sc_drive ^ 1];
  /src/sys/arch/acorn32/mainbus/
fd.c 168 struct fd_softc *sc_fd[4]; /* pointers to children */ member in struct:fdc_softc
519 fdc->sc_fd[drive] = fd;
708 if ((fd = fdc->sc_fd[n]) && (fd->sc_flags & FD_MOTOR))
958 struct fd_softc *ofd = fdc->sc_fd[fd->sc_drive ^ 1];
  /src/sys/arch/sparc64/dev/
fdc.c 196 struct fd_softc *sc_fd[4]; /* pointers to children */ member in struct:fdc_softc
975 fdc->sc_fd[drive] = fd;
1188 if ((fd = fdc->sc_fd[n]) && (fd->sc_flags & FD_MOTOR))
1196 if ((fd = fdc->sc_fd[n]) != NULL &&
1673 struct fd_softc *ofd = fdc->sc_fd[fd->sc_drive ^ 1];
  /src/sys/arch/sparc/dev/
fd.c 183 struct fd_softc *sc_fd[4]; /* pointers to children */ member in struct:fdc_softc
804 fdc->sc_fd[drive] = fd;
1010 if ((fd = fdc->sc_fd[n]) && (fd->sc_flags & FD_MOTOR))
1017 if ((fd = fdc->sc_fd[n]) != NULL &&
1490 struct fd_softc *ofd = fdc->sc_fd[fd->sc_drive ^ 1];
  /src/sys/arch/x68k/dev/
fd.c 156 struct fd_softc *sc_fd[4]; /* pointers to children */ member in struct:fdc_softc
652 fdc->sc_fd[drive] = fd;
834 fd = fdc->sc_fd[n];
1156 struct fd_softc *ofd = fdc->sc_fd[i];
  /src/sys/arch/sun3/dev/
fd.c 161 struct fd_softc *sc_fd[4]; /* pointers to children */ member in struct:fdc_softc
588 fdc->sc_fd[drive] = fd;
802 if ((fd = fdc->sc_fd[n]) && (fd->sc_flags & FD_MOTOR))
1216 struct fd_softc *ofd = fdc->sc_fd[fd->sc_drive ^ 1];

Completed in 50 milliseconds