Home
last modified time | relevance | path

Searched refs:sc_cache (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/sys/dev/
H A Dfss.c550 sc->sc_cache = kmem_alloc(sc->sc_cache_size * in fss_softc_alloc()
553 sc->sc_cache[i].fc_type = FSS_CACHE_FREE; in fss_softc_alloc()
554 sc->sc_cache[i].fc_data = in fss_softc_alloc()
556 cv_init(&sc->sc_cache[i].fc_state_cv, "cowwait1"); in fss_softc_alloc()
564 sc->sc_cache = NULL; in fss_softc_alloc()
604 if (sc->sc_cache != NULL) { in fss_softc_free()
606 if (sc->sc_cache[i].fc_data != NULL) { in fss_softc_free()
607 cv_destroy(&sc->sc_cache[i].fc_state_cv); in fss_softc_free()
608 kmem_free(sc->sc_cache[i].fc_data, in fss_softc_free()
611 kmem_free(sc->sc_cache, in fss_softc_free()
[all …]
H A Dfssvar.h171 struct fss_cache *sc_cache; /* Cluster cache */ member
/netbsd-src/sys/arch/macppc/dev/
H A Dsmusat.c78 uint8_t sc_cache[16]; member
345 ret = iic_exec(sc->sc_i2c, I2C_OP_READ, sc->sc_addr, &reg, 1, sc->sc_cache, 16, 0); in smusat_sensors_update()
369 sensor->current_value = (sc->sc_cache[reg] << 8) + sc->sc_cache[reg + 1]; in smusat_sensor_read()
/netbsd-src/sys/dev/wsfb/
H A Dgenfb.c127 uint8_t *sc_cache; member
1049 scp->sc_cache = kmem_alloc(GLYPHCACHESIZE, KM_SLEEP); in genfb_setup_glyphcache()
1060 cri->ri_bits = scp->sc_cache; in genfb_setup_glyphcache()
1062 cri->ri_origbits = scp->sc_cache; in genfb_setup_glyphcache()
1183 src = scp->sc_cache + cell * scp->sc_cache_ri.ri_yscale; in genfb_putchar()
1191 src = scp->sc_cache + cell * scp->sc_cache_ri.ri_yscale; in genfb_putchar()
/netbsd-src/sys/dev/pci/
H A Dvoodoofb.c103 uint32_t sc_cache; /* offset where cache starts */ member
841 save_offset = sc->sc_cache + (slot * ri->ri_fontscale); in voodoofb_putchar_aa()
1865 sc->sc_cache = (ri->ri_width * ri->ri_stride + 3) & 0xfffffffc; in voodoofb_init_glyphcache()
1866 bufsize = sc->sc_memsize - sc->sc_cache; in voodoofb_init_glyphcache()