Lines Matching refs:sec_softc

68 static int	sec_setup_intr(struct sec_softc *sc, struct resource **ires,
70 static void sec_release_intr(struct sec_softc *sc, struct resource *ires,
72 static int sec_controller_reset(struct sec_softc *sc);
73 static int sec_channel_reset(struct sec_softc *sc, int channel, int full);
74 static int sec_init(struct sec_softc *sc);
75 static int sec_alloc_dma_mem(struct sec_softc *sc,
77 static int sec_desc_map_dma(struct sec_softc *sc,
81 static void sec_enqueue(struct sec_softc *sc);
82 static int sec_enqueue_desc(struct sec_softc *sc, struct sec_desc *desc,
84 static int sec_eu_channel(struct sec_softc *sc, int eu);
85 static int sec_make_pointer(struct sec_softc *sc, struct sec_desc *desc,
87 static int sec_make_pointer_direct(struct sec_softc *sc,
94 static int sec_build_common_ns_desc(struct sec_softc *sc,
97 static int sec_build_common_s_desc(struct sec_softc *sc,
101 static struct sec_desc *sec_find_desc(struct sec_softc *sc, bus_addr_t paddr);
105 static int sec_aesu_make_desc(struct sec_softc *sc,
114 static int sec_mdeu_make_desc(struct sec_softc *sc,
138 sizeof(struct sec_softc),
176 struct sec_softc *sc; in sec_probe()
225 struct sec_softc *sc; in sec_attach()
375 struct sec_softc *sc = device_get_softc(dev); in sec_detach()
464 sec_setup_intr(struct sec_softc *sc, struct resource **ires, void **ihand, in sec_setup_intr()
494 sec_release_intr(struct sec_softc *sc, struct resource *ires, void *ihand, in sec_release_intr()
517 struct sec_softc *sc = arg; in sec_primary_intr()
615 struct sec_softc *sc = arg; in sec_secondary_intr()
622 sec_controller_reset(struct sec_softc *sc) in sec_controller_reset()
644 sec_channel_reset(struct sec_softc *sc, int channel, int full) in sec_channel_reset()
684 sec_init(struct sec_softc *sc) in sec_init()
732 struct sec_softc *sc = sdmi->sdmi_sc; in sec_dma_map_desc_cb()
780 sec_alloc_dma_mem(struct sec_softc *sc, struct sec_dma_mem *dma_mem, in sec_alloc_dma_mem()
836 sec_desc_map_dma(struct sec_softc *sc, struct sec_dma_mem *dma_mem, in sec_desc_map_dma()
928 sec_eu_channel(struct sec_softc *sc, int eu) in sec_eu_channel()
969 sec_enqueue_desc(struct sec_softc *sc, struct sec_desc *desc, int channel) in sec_enqueue_desc()
1015 sec_enqueue(struct sec_softc *sc) in sec_enqueue()
1073 sec_find_desc(struct sec_softc *sc, bus_addr_t paddr) in sec_find_desc()
1091 sec_make_pointer_direct(struct sec_softc *sc, struct sec_desc *desc, u_int n, in sec_make_pointer_direct()
1108 sec_make_pointer(struct sec_softc *sc, struct sec_desc *desc, in sec_make_pointer()
1156 sec_auth_supported(struct sec_softc *sc, in sec_auth_supported()
1182 struct sec_softc *sc = device_get_softc(dev); in sec_probesession()
1243 struct sec_softc *sc = device_get_softc(dev); in sec_process()
1322 sec_build_common_ns_desc(struct sec_softc *sc, struct sec_desc *desc, in sec_build_common_ns_desc()
1373 sec_build_common_s_desc(struct sec_softc *sc, struct sec_desc *desc, in sec_build_common_s_desc()
1441 sec_aesu_make_desc(struct sec_softc *sc, in sec_aesu_make_desc()
1529 sec_mdeu_make_desc(struct sec_softc *sc, in sec_mdeu_make_desc()