Lines Matching refs:ubsec_softc
83 static void ubsec_reset_board(struct ubsec_softc *);
84 static void ubsec_init_board(struct ubsec_softc *);
86 static void ubsec_cleanchip(struct ubsec_softc *);
87 static void ubsec_totalreset(struct ubsec_softc *);
88 static int ubsec_free_q(struct ubsec_softc*, struct ubsec_q *);
90 CFATTACH_DECL_NEW(ubsec, sizeof(struct ubsec_softc), ubsec_probe, ubsec_attach,
104 static void ubsec_callback(struct ubsec_softc *, struct ubsec_q *);
105 static void ubsec_feed(struct ubsec_softc *);
107 static void ubsec_callback2(struct ubsec_softc *, struct ubsec_q2 *);
108 static void ubsec_feed2(struct ubsec_softc *);
109 static void ubsec_feed4(struct ubsec_softc *);
115 static int ubsec_dma_malloc(struct ubsec_softc *, bus_size_t,
117 static void ubsec_dma_free(struct ubsec_softc *, struct ubsec_dma_alloc *);
121 static void ubsec_kprocess_modexp_sw(struct ubsec_softc *,
123 static void ubsec_kprocess_modexp_hw(struct ubsec_softc *,
125 static void ubsec_kprocess_rsapriv(struct ubsec_softc *,
127 static void ubsec_kfree(struct ubsec_softc *, struct ubsec_q2 *);
342 struct ubsec_softc *sc = device_private(self); in ubsec_attach()
522 struct ubsec_softc *sc = device_private(self); in ubsec_detach()
637 struct ubsec_softc *sc = arg; in ubsec_intr()
805 ubsec_feed(struct ubsec_softc *sc) in ubsec_feed()
958 struct ubsec_softc *sc = arg; in ubsec_newsession()
1105 struct ubsec_softc *sc = arg; in ubsec_freesession()
1142 struct ubsec_softc *sc = arg; in ubsec_process()
1782 ubsec_callback(struct ubsec_softc *sc, struct ubsec_q *q) in ubsec_callback()
1866 ubsec_feed2(struct ubsec_softc *sc) in ubsec_feed2()
1894 ubsec_feed4(struct ubsec_softc *sc) in ubsec_feed4()
1921 ubsec_callback2(struct ubsec_softc *sc, struct ubsec_q2 *q) in ubsec_callback2()
2034 struct ubsec_softc *sc = vsc; in ubsec_rng_get()
2046 struct ubsec_softc *sc = vsc; in ubsec_rng()
2055 struct ubsec_softc *sc = vsc; in ubsec_rng_locked()
2125 ubsec_dma_malloc(struct ubsec_softc *sc, bus_size_t size, in ubsec_dma_malloc()
2162 ubsec_dma_free(struct ubsec_softc *sc, struct ubsec_dma_alloc *dma) in ubsec_dma_free()
2175 ubsec_reset_board(struct ubsec_softc *sc) in ubsec_reset_board()
2201 ubsec_init_board(struct ubsec_softc *sc) in ubsec_init_board()
2259 ubsec_cleanchip(struct ubsec_softc *sc) in ubsec_cleanchip()
2276 ubsec_free_q(struct ubsec_softc *sc, struct ubsec_q *q) in ubsec_free_q()
2324 ubsec_totalreset(struct ubsec_softc *sc) in ubsec_totalreset()
2347 ubsec_kfree(struct ubsec_softc *sc, struct ubsec_q2 *q) in ubsec_kfree()
2382 struct ubsec_softc *sc = arg; in ubsec_kprocess()
2415 ubsec_kprocess_modexp_sw(struct ubsec_softc *sc, struct cryptkop *krp, in ubsec_kprocess_modexp_sw()
2620 ubsec_kprocess_modexp_hw(struct ubsec_softc *sc, struct cryptkop *krp, in ubsec_kprocess_modexp_hw()
2821 ubsec_kprocess_rsapriv(struct ubsec_softc *sc, struct cryptkop *krp, in ubsec_kprocess_rsapriv()