Home
last modified time | relevance | path

Searched refs:sc_frames (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/sys/dev/ir/
H A Dirframe_tty.c115 struct irt_frame sc_frames[MAXFRAMES]; member
442 if (sc->sc_frames[i].buf != NULL) in irt_buffer()
443 free(sc->sc_frames[i].buf, M_DEVBUF); in irt_buffer()
448 sc->sc_frames[i].buf = in irt_buffer()
454 sc->sc_frames[i].buf = NULL; in irt_buffer()
473 if (sc->sc_frames[sc->sc_framei].buf == NULL) in irt_frame()
475 memcpy(sc->sc_frames[sc->sc_framei].buf, tbuf, len); in irt_frame()
476 sc->sc_frames[sc->sc_framei].len = len; in irt_frame()
482 wakeup(sc->sc_frames); in irt_frame()
645 error = tsleep(sc->sc_frames, PZERO | PCATCH, "irtrd", 0); in irframet_read()
[all …]
/netbsd-src/sys/dev/ic/
H A Dmfi.c406 ((char*)MFIMEM_KVA(sc->sc_frames) + sc->sc_frames_size * i); in mfi_init_ccb()
408 MFIMEM_DVA(sc->sc_frames) + sc->sc_frames_size * i; in mfi_init_ccb()
961 mfi_freemem(sc, &sc->sc_frames); in mfi_detach()
1135 sc->sc_frames = mfi_allocmem(sc, sc->sc_frames_size * sc->sc_max_cmds); in mfi_attach()
1136 if (sc->sc_frames == NULL) { in mfi_attach()
1142 if (MFIMEM_DVA(sc->sc_frames) & 0x3f) { in mfi_attach()
1145 (long long int)MFIMEM_DVA(sc->sc_frames)); in mfi_attach()
1274 mfi_freemem(sc, &sc->sc_frames); in mfi_attach()
1322 bus_dmamap_sync(sc->sc_dmat, MFIMEM_MAP(sc->sc_frames), in mfi_poll()
1323 ccb->ccb_pframe - MFIMEM_DVA(sc->sc_frames), in mfi_poll()
[all …]
H A Dmfivar.h178 struct mfi_mem *sc_frames; member