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

  /src/sys/dev/ofw/
ofrtc.c 87 int sc_ihandle; member in struct:ofrtc_softc
128 of->sc_ihandle = 0;
136 if (!of->sc_ihandle) {
145 if (!(of->sc_ihandle = OF_open(path))) {
172 if (OF_call_method("get-time", of->sc_ihandle, 0, 6,
200 if (OF_call_method("set-time", of->sc_ihandle, 6, 0,
ofnet.c 64 int sc_ihandle; member in struct:ofnet_softc
121 (path[l] = 0, !(of->sc_ihandle = OF_open(path))))
155 len = OF_read(of->sc_ihandle, buf, sizeof buf);
323 if (OF_write(of->sc_ihandle, buf, len) != len)
ofdisk.c 57 int sc_ihandle; member in struct:ofdisk_softc
156 of->sc_ihandle = 0;
193 if (!of->sc_ihandle) {
217 if ((of->sc_ihandle = OF_open(path)) == -1) {
226 of->sc_ihandle, 0);
273 OF_seek(of->sc_ihandle, 0);
276 OF_close(of->sc_ihandle);
277 of->sc_ihandle = 0;
316 if (OF_seek(of->sc_ihandle, off) < 0)
318 read = OF_io(of->sc_ihandle, bp->b_data, bp->b_bcount)
    [all...]

Completed in 111 milliseconds