Lines Matching refs:mvxpsec_softc
123 STATIC void mvxpsec_evcnt_attach(struct mvxpsec_softc *);
128 STATIC int mvxpsec_wininit(struct mvxpsec_softc *, enum marvell_tags *);
141 INLINE void mvxpsec_intr_cleanup(struct mvxpsec_softc *);
143 STATIC uint32_t mvxpsec_intr_ack(struct mvxpsec_softc *);
144 STATIC uint32_t mvxpsec_eintr_ack(struct mvxpsec_softc *);
145 INLINE void mvxpsec_intr_cnt(struct mvxpsec_softc *, int);
150 STATIC struct mvxpsec_devmem *mvxpsec_alloc_devmem(struct mvxpsec_softc *,
152 STATIC int mvxpsec_init_sram(struct mvxpsec_softc *);
157 STATIC int mvxpsec_init_dma(struct mvxpsec_softc *,
159 INLINE int mvxpsec_dma_wait(struct mvxpsec_softc *);
160 INLINE int mvxpsec_acc_wait(struct mvxpsec_softc *);
161 INLINE struct mvxpsec_descriptor_handle *mvxpsec_dma_getdesc(struct mvxpsec_softc *);
162 _INLINE void mvxpsec_dma_putdesc(struct mvxpsec_softc *, struct mvxpsec_descriptor_handle *);
165 INLINE void mvxpsec_dma_cat(struct mvxpsec_softc *,
171 INLINE int mvxpsec_dma_copy0(struct mvxpsec_softc *,
173 INLINE int mvxpsec_dma_copy(struct mvxpsec_softc *,
175 INLINE int mvxpsec_dma_acc_activate(struct mvxpsec_softc *,
177 INLINE void mvxpsec_dma_finalize(struct mvxpsec_softc *,
179 INLINE void mvxpsec_dma_free(struct mvxpsec_softc *,
181 INLINE int mvxpsec_dma_copy_packet(struct mvxpsec_softc *, struct mvxpsec_packet *);
182 INLINE int mvxpsec_dma_sync_packet(struct mvxpsec_softc *, struct mvxpsec_packet *);
196 STATIC struct mvxpsec_session *mvxpsec_session_alloc(struct mvxpsec_softc *);
198 INLINE struct mvxpsec_session *mvxpsec_session_lookup(struct mvxpsec_softc *, int);
212 INLINE void mvxpsec_drop(struct mvxpsec_softc *, struct cryptop *, struct mvxpsec_packet *, int);
213 STATIC int mvxpsec_dispatch_queue(struct mvxpsec_softc *);
261 _STATIC void mvxpsec_dump_reg(struct mvxpsec_softc *);
262 _STATIC void mvxpsec_dump_sram(const char *, struct mvxpsec_softc *, size_t);
302 CFATTACH_DECL2_NEW(mvxpsec_mbus, sizeof(struct mvxpsec_softc),
344 struct mvxpsec_softc *sc = device_private(self);
467 mvxpsec_evcnt_attach(struct mvxpsec_softc *sc)
519 STATIC int mvxpsec_wininit(struct mvxpsec_softc *sc, enum marvell_tags *tags)
567 struct mvxpsec_softc *sc = aux;
645 mvxpsec_alloc_devmem(struct mvxpsec_softc *sc, paddr_t phys, int size)
716 mvxpsec_dma_getdesc(struct mvxpsec_softc *sc)
738 mvxpsec_dma_putdesc(struct mvxpsec_softc *sc,
780 mvxpsec_dma_cat(struct mvxpsec_softc *sc,
792 mvxpsec_dma_copy0(struct mvxpsec_softc *sc, mvxpsec_dma_ring *r,
819 mvxpsec_dma_copy(struct mvxpsec_softc *sc, mvxpsec_dma_ring *r,
832 mvxpsec_dma_acc_activate(struct mvxpsec_softc *sc, mvxpsec_dma_ring *r)
841 mvxpsec_dma_finalize(struct mvxpsec_softc *sc, mvxpsec_dma_ring *r)
854 mvxpsec_dma_free(struct mvxpsec_softc *sc, mvxpsec_dma_ring *r)
868 mvxpsec_dma_copy_packet(struct mvxpsec_softc *sc, struct mvxpsec_packet *mv_p)
997 mvxpsec_dma_sync_packet(struct mvxpsec_softc *sc, struct mvxpsec_packet *mv_p)
1032 mvxpsec_init_sram(struct mvxpsec_softc *sc)
1090 mvxpsec_init_dma(struct mvxpsec_softc *sc, struct marvell_attach_args *mva)
1141 mvxpsec_dma_wait(struct mvxpsec_softc *sc)
1157 mvxpsec_acc_wait(struct mvxpsec_softc *sc)
1177 struct mvxpsec_softc *sc = arg;
1198 mvxpsec_intr_cleanup(struct mvxpsec_softc *sc)
1220 mvxpsec_intr_ack(struct mvxpsec_softc *sc)
1240 struct mvxpsec_softc *sc = arg;
1267 mvxpsec_eintr_ack(struct mvxpsec_softc *sc)
1286 mvxpsec_intr_cnt(struct mvxpsec_softc *sc, int cause)
1378 struct mvxpsec_softc *sc = arg;
1416 struct mvxpsec_softc *sc = arg;
1431 struct mvxpsec_softc *sc = arg;
1478 struct mvxpsec_softc *sc = arg;
1492 mvxpsec_session_alloc(struct mvxpsec_softc *sc)
1513 struct mvxpsec_softc *sc = mv_s->sc;
1566 mvxpsec_session_lookup(struct mvxpsec_softc *sc, int sid)
1597 struct mvxpsec_softc *sc = mv_s->sc;
1637 struct mvxpsec_softc *sc = mv_s->sc;
1668 struct mvxpsec_softc *sc = mv_p->mv_s->sc;
1700 struct mvxpsec_softc *sc = mv_s->sc;
1801 mvxpsec_register(struct mvxpsec_softc *sc)
1865 struct mvxpsec_softc *sc = arg;
2026 struct mvxpsec_softc *sc = arg;
2067 struct mvxpsec_softc *sc = arg;
2172 struct mvxpsec_softc *sc = arg;
2205 mvxpsec_drop(struct mvxpsec_softc *sc, struct cryptop *crp,
2230 mvxpsec_dispatch_queue(struct mvxpsec_softc *sc)
2477 struct mvxpsec_softc *sc = mv_s->sc;
2501 struct mvxpsec_softc *sc = mv_s->sc;
2563 struct mvxpsec_softc *sc = mv_s->sc;
3329 mvxpsec_dump_reg(struct mvxpsec_softc *sc)
3426 mvxpsec_dump_sram(const char *name, struct mvxpsec_softc *sc, size_t len)
3506 struct mvxpsec_softc *sc = mv_p->mv_s->sc;