Searched refs:state_buf (Results 1 – 2 of 2) sorted by relevance
80 if (sc->state_buf != NULL) in vga_suspend()85 sc->state_buf = malloc(nbytes, M_TEMP, M_NOWAIT); in vga_suspend()86 if (sc->state_buf == NULL) in vga_suspend()90 if (vidd_save_state(sc->adp, sc->state_buf, nbytes) != 0) { in vga_suspend()93 free(sc->state_buf, M_TEMP); in vga_suspend()94 sc->state_buf = NULL; in vga_suspend()120 if (sc->state_buf != NULL) { in vga_resume()121 if (vidd_load_state(sc->adp, sc->state_buf) != 0) in vga_resume()123 free(sc->state_buf, M_TEMP); in vga_resume()124 sc->state_buf = NULL; in vga_resume()
74 void *state_buf; member