Home
last modified time | relevance | path

Searched refs:sec_softc (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/dpaa/
H A Dsec_var.h72 struct sec_softc *jr_sc; /* for the interrupt handler */
113 struct sec_softc { struct
153 int sec_init_rings(struct sec_softc *sc);
154 int sec_destroy_rings(struct sec_softc *sc);
155 int sec_jr_submit_job(struct sec_softc *sc, struct sec_jr *jr,
157 void sec_jr_teardown(struct sec_softc *sc, struct sec_jr *jr);
158 void sec_complete_one(struct sec_softc *sc, uint64_t desc_pa, uint32_t status);
H A Dsec_jr.c72 sec_jr_count(struct sec_softc *sc) in sec_jr_count()
91 sec_jr_irq_setup(struct sec_softc *sc, struct sec_jr *jr, u_int idx) in sec_jr_irq_setup()
146 struct sec_softc *sc = jr->jr_sc; in sec_jr_watchdog()
180 struct sec_softc *sc = jr->jr_sc; in sec_jr_intr()
241 sec_jr_init(struct sec_softc *sc, struct sec_jr *jr) in sec_jr_init()
290 sec_init_rings(struct sec_softc *sc) in sec_init_rings()
343 sec_jr_teardown(struct sec_softc *sc, struct sec_jr *jr) in sec_jr_teardown()
373 sec_jr_submit_job(struct sec_softc *sc, struct sec_jr *jr, struct sec_job *job) in sec_jr_submit_job()
H A Dsec_dev.c343 struct sec_softc *sess_sc;
362 static int sec_reset(struct sec_softc *);
363 static int sec_rng_init(struct sec_softc *);
387 static DEFINE_CLASS_0(sec, sec_driver, sec_methods, sizeof(struct sec_softc));
411 struct sec_softc *sc = device_get_softc(dev); in sec_attach()
491 struct sec_softc *sc = device_get_softc(dev); in sec_detach()
535 struct sec_softc *sc = arg; in sec_intr()
591 sec_decode_status(struct sec_softc *sc, uint32_t status) in sec_decode_status()
620 sec_complete_one(struct sec_softc *sc, uint64_t desc_pa, uint32_t status) in sec_complete_one()
1404 struct sec_softc *sc = device_get_softc(dev); in sec_new_session()
[all …]
/freebsd/sys/dev/sec/
H A Dsec.c65 static int sec_setup_intr(struct sec_softc *sc, struct resource **ires,
67 static void sec_release_intr(struct sec_softc *sc, struct resource *ires,
69 static int sec_controller_reset(struct sec_softc *sc);
70 static int sec_channel_reset(struct sec_softc *sc, int channel, int full);
71 static int sec_init(struct sec_softc *sc);
72 static int sec_alloc_dma_mem(struct sec_softc *sc,
74 static int sec_desc_map_dma(struct sec_softc *sc,
78 static void sec_enqueue(struct sec_softc *sc);
79 static int sec_enqueue_desc(struct sec_softc *sc, struct sec_desc *desc,
81 static int sec_eu_channel(struct sec_softc *sc, int eu);
[all …]
H A Dsec.h58 struct sec_softc;
147 int (*sem_make_desc)(struct sec_softc *sc,
160 struct sec_softc *sdmi_sc;
168 struct sec_softc { struct