Lines Matching refs:sec_softc

66 static int	sec_setup_intr(struct sec_softc *sc, struct resource **ires,
68 static void sec_release_intr(struct sec_softc *sc, struct resource *ires,
70 static int sec_controller_reset(struct sec_softc *sc);
71 static int sec_channel_reset(struct sec_softc *sc, int channel, int full);
72 static int sec_init(struct sec_softc *sc);
73 static int sec_alloc_dma_mem(struct sec_softc *sc,
75 static int sec_desc_map_dma(struct sec_softc *sc,
79 static void sec_enqueue(struct sec_softc *sc);
80 static int sec_enqueue_desc(struct sec_softc *sc, struct sec_desc *desc,
82 static int sec_eu_channel(struct sec_softc *sc, int eu);
83 static int sec_make_pointer(struct sec_softc *sc, struct sec_desc *desc,
85 static int sec_make_pointer_direct(struct sec_softc *sc,
92 static int sec_build_common_ns_desc(struct sec_softc *sc,
95 static int sec_build_common_s_desc(struct sec_softc *sc,
99 static struct sec_desc *sec_find_desc(struct sec_softc *sc, bus_addr_t paddr);
103 static int sec_aesu_make_desc(struct sec_softc *sc,
112 static int sec_mdeu_make_desc(struct sec_softc *sc,
136 sizeof(struct sec_softc),
173 struct sec_softc *sc; in sec_probe()
222 struct sec_softc *sc; in sec_attach()
372 struct sec_softc *sc = device_get_softc(dev); in sec_detach()
461 sec_setup_intr(struct sec_softc *sc, struct resource **ires, void **ihand, in sec_setup_intr()
491 sec_release_intr(struct sec_softc *sc, struct resource *ires, void *ihand, in sec_release_intr()
514 struct sec_softc *sc = arg; in sec_primary_intr()
612 struct sec_softc *sc = arg; in sec_secondary_intr()
619 sec_controller_reset(struct sec_softc *sc) in sec_controller_reset()
641 sec_channel_reset(struct sec_softc *sc, int channel, int full) in sec_channel_reset()
681 sec_init(struct sec_softc *sc) in sec_init()
729 struct sec_softc *sc = sdmi->sdmi_sc; in sec_dma_map_desc_cb()
777 sec_alloc_dma_mem(struct sec_softc *sc, struct sec_dma_mem *dma_mem, in sec_alloc_dma_mem()
833 sec_desc_map_dma(struct sec_softc *sc, struct sec_dma_mem *dma_mem, in sec_desc_map_dma()
925 sec_eu_channel(struct sec_softc *sc, int eu) in sec_eu_channel()
966 sec_enqueue_desc(struct sec_softc *sc, struct sec_desc *desc, int channel) in sec_enqueue_desc()
1012 sec_enqueue(struct sec_softc *sc) in sec_enqueue()
1070 sec_find_desc(struct sec_softc *sc, bus_addr_t paddr) in sec_find_desc()
1088 sec_make_pointer_direct(struct sec_softc *sc, struct sec_desc *desc, u_int n, in sec_make_pointer_direct()
1105 sec_make_pointer(struct sec_softc *sc, struct sec_desc *desc, in sec_make_pointer()
1153 sec_auth_supported(struct sec_softc *sc, in sec_auth_supported()
1179 struct sec_softc *sc = device_get_softc(dev); in sec_probesession()
1240 struct sec_softc *sc = device_get_softc(dev); in sec_process()
1319 sec_build_common_ns_desc(struct sec_softc *sc, struct sec_desc *desc, in sec_build_common_ns_desc()
1370 sec_build_common_s_desc(struct sec_softc *sc, struct sec_desc *desc, in sec_build_common_s_desc()
1438 sec_aesu_make_desc(struct sec_softc *sc, in sec_aesu_make_desc()
1526 sec_mdeu_make_desc(struct sec_softc *sc, in sec_mdeu_make_desc()