Lines Matching refs:safe_softc
113 sizeof (struct safe_softc)
123 static void safe_callback(struct safe_softc *, struct safe_ringentry *);
124 static void safe_feed(struct safe_softc *, struct safe_ringentry *);
127 static void safe_rng_init(struct safe_softc *);
130 static int safe_dma_malloc(struct safe_softc *, bus_size_t,
134 static void safe_dma_free(struct safe_softc *, struct safe_dma_alloc *);
138 static void safe_reset_board(struct safe_softc *);
139 static void safe_init_board(struct safe_softc *);
141 static void safe_cleanchip(struct safe_softc *);
142 static void safe_totalreset(struct safe_softc *);
144 static int safe_free_entry(struct safe_softc *, struct safe_ringentry *);
150 static void safe_dump_dmastatus(struct safe_softc *, const char *);
151 static void safe_dump_ringstate(struct safe_softc *, const char *);
152 static void safe_dump_intrstate(struct safe_softc *, const char *);
153 static void safe_dump_request(struct safe_softc *, const char *,
156 static struct safe_softc *safec; /* for use by hw.safe.dump */
197 safe_partname(struct safe_softc *sc) in safe_partname()
222 struct safe_softc *sc = device_get_softc(dev); in safe_attach()
446 struct safe_softc *sc = device_get_softc(dev); in safe_detach()
496 struct safe_softc *sc = device_get_softc(dev); in safe_suspend()
509 struct safe_softc *sc = device_get_softc(dev); in safe_resume()
524 struct safe_softc *sc = arg; in safe_intr()
594 safe_feed(struct safe_softc *sc, struct safe_ringentry *re) in safe_feed()
656 safe_auth_supported(struct safe_softc *sc, in safe_auth_supported()
672 safe_cipher_supported(struct safe_softc *sc, in safe_cipher_supported()
694 struct safe_softc *sc = device_get_softc(dev); in safe_probesession()
766 struct safe_softc *sc = device_get_softc(dev); in safe_process()
1265 safe_callback(struct safe_softc *sc, struct safe_ringentry *re) in safe_callback()
1391 safe_rng_init(struct safe_softc *sc) in safe_rng_init()
1436 safe_rng_disable_short_cycle(struct safe_softc *sc) in safe_rng_disable_short_cycle()
1443 safe_rng_enable_short_cycle(struct safe_softc *sc) in safe_rng_enable_short_cycle()
1450 safe_rng_read(struct safe_softc *sc) in safe_rng_read()
1463 struct safe_softc *sc = arg; in safe_rng()
1527 struct safe_softc *sc, in safe_dma_malloc()
1586 safe_dma_free(struct safe_softc *sc, struct safe_dma_alloc *dma) in safe_dma_free()
1598 safe_reset_board(struct safe_softc *sc) in safe_reset_board()
1619 safe_init_board(struct safe_softc *sc) in safe_init_board()
1702 safe_cleanchip(struct safe_softc *sc) in safe_cleanchip()
1724 safe_free_entry(struct safe_softc *sc, struct safe_ringentry *re) in safe_free_entry()
1748 safe_totalreset(struct safe_softc *sc) in safe_totalreset()
1803 safe_dump_dmastatus(struct safe_softc *sc, const char *tag) in safe_dump_dmastatus()
1815 safe_dump_intrstate(struct safe_softc *sc, const char *tag) in safe_dump_intrstate()
1828 safe_dump_ringstate(struct safe_softc *sc, const char *tag) in safe_dump_ringstate()
1841 safe_dump_request(struct safe_softc *sc, const char* tag, struct safe_ringentry *re) in safe_dump_request()
1928 safe_dump_ring(struct safe_softc *sc, const char *tag) in safe_dump_ring()
1957 struct safe_softc *sc = safec; in sysctl_hw_safe_dump()