Searched refs:state_buf (Results 1 – 2 of 2) sorted by relevance
78 if (sc->state_buf != NULL) in vga_suspend()83 sc->state_buf = malloc(nbytes, M_TEMP, M_NOWAIT); in vga_suspend()84 if (sc->state_buf == NULL) in vga_suspend()88 if (vidd_save_state(sc->adp, sc->state_buf, nbytes) != 0) { in vga_suspend()91 free(sc->state_buf, M_TEMP); in vga_suspend()92 sc->state_buf = NULL; in vga_suspend()118 if (sc->state_buf != NULL) { in vga_resume()119 if (vidd_load_state(sc->adp, sc->state_buf) != 0) in vga_resume()121 free(sc->state_buf, M_TEMP); in vga_resume()122 sc->state_buf = NULL; in vga_resume()
72 void *state_buf; member