Lines Matching refs:sec_softc

67 static int	sec_setup_intr(struct sec_softc *sc, struct resource **ires,
69 static void sec_release_intr(struct sec_softc *sc, struct resource *ires,
71 static int sec_controller_reset(struct sec_softc *sc);
72 static int sec_channel_reset(struct sec_softc *sc, int channel, int full);
73 static int sec_init(struct sec_softc *sc);
74 static int sec_alloc_dma_mem(struct sec_softc *sc,
76 static int sec_desc_map_dma(struct sec_softc *sc,
80 static void sec_enqueue(struct sec_softc *sc);
81 static int sec_enqueue_desc(struct sec_softc *sc, struct sec_desc *desc,
83 static int sec_eu_channel(struct sec_softc *sc, int eu);
84 static int sec_make_pointer(struct sec_softc *sc, struct sec_desc *desc,
86 static int sec_make_pointer_direct(struct sec_softc *sc,
95 static int sec_build_common_ns_desc(struct sec_softc *sc,
98 static int sec_build_common_s_desc(struct sec_softc *sc,
102 static struct sec_desc *sec_find_desc(struct sec_softc *sc, bus_addr_t paddr);
105 static int sec_aesu_newsession(struct sec_softc *sc,
107 static int sec_aesu_make_desc(struct sec_softc *sc,
112 static int sec_deu_newsession(struct sec_softc *sc,
114 static int sec_deu_make_desc(struct sec_softc *sc,
122 static int sec_mdeu_newsession(struct sec_softc *sc,
124 static int sec_mdeu_make_desc(struct sec_softc *sc,
147 sizeof(struct sec_softc),
189 struct sec_softc *sc; in sec_probe()
238 struct sec_softc *sc; in sec_attach()
407 struct sec_softc *sc = device_get_softc(dev); in sec_detach()
496 sec_setup_intr(struct sec_softc *sc, struct resource **ires, void **ihand, in sec_setup_intr()
526 sec_release_intr(struct sec_softc *sc, struct resource *ires, void *ihand, in sec_release_intr()
548 struct sec_softc *sc = arg; in sec_primary_intr()
625 struct sec_softc *sc = arg; in sec_secondary_intr()
632 sec_controller_reset(struct sec_softc *sc) in sec_controller_reset()
654 sec_channel_reset(struct sec_softc *sc, int channel, int full) in sec_channel_reset()
694 sec_init(struct sec_softc *sc) in sec_init()
742 struct sec_softc *sc = sdmi->sdmi_sc; in sec_dma_map_desc_cb()
798 sec_alloc_dma_mem(struct sec_softc *sc, struct sec_dma_mem *dma_mem, in sec_alloc_dma_mem()
854 sec_desc_map_dma(struct sec_softc *sc, struct sec_dma_mem *dma_mem, void *mem, in sec_desc_map_dma()
952 sec_eu_channel(struct sec_softc *sc, int eu) in sec_eu_channel()
993 sec_enqueue_desc(struct sec_softc *sc, struct sec_desc *desc, int channel) in sec_enqueue_desc()
1039 sec_enqueue(struct sec_softc *sc) in sec_enqueue()
1097 sec_find_desc(struct sec_softc *sc, bus_addr_t paddr) in sec_find_desc()
1115 sec_make_pointer_direct(struct sec_softc *sc, struct sec_desc *desc, u_int n, in sec_make_pointer_direct()
1132 sec_make_pointer(struct sec_softc *sc, struct sec_desc *desc, in sec_make_pointer()
1224 struct sec_softc *sc = device_get_softc(dev); in sec_newsession()
1280 struct sec_softc *sc = device_get_softc(dev); in sec_process()
1402 sec_build_common_ns_desc(struct sec_softc *sc, struct sec_desc *desc, in sec_build_common_ns_desc()
1454 sec_build_common_s_desc(struct sec_softc *sc, struct sec_desc *desc, in sec_build_common_s_desc()
1522 sec_aesu_newsession(struct sec_softc *sc, struct sec_session *ses, in sec_aesu_newsession()
1538 sec_aesu_make_desc(struct sec_softc *sc, struct sec_session *ses, in sec_aesu_make_desc()
1577 sec_deu_newsession(struct sec_softc *sc, struct sec_session *ses, in sec_deu_newsession()
1598 sec_deu_make_desc(struct sec_softc *sc, struct sec_session *ses, in sec_deu_make_desc()
1707 sec_mdeu_newsession(struct sec_softc *sc, struct sec_session *ses, in sec_mdeu_newsession()
1718 sec_mdeu_make_desc(struct sec_softc *sc, struct sec_session *ses, in sec_mdeu_make_desc()