Lines Matching refs:sec_softc

65 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);
82 static int sec_make_pointer(struct sec_softc *sc, struct sec_desc *desc,
84 static int sec_make_pointer_direct(struct sec_softc *sc,
91 static int sec_build_common_ns_desc(struct sec_softc *sc,
94 static int sec_build_common_s_desc(struct sec_softc *sc,
98 static struct sec_desc *sec_find_desc(struct sec_softc *sc, bus_addr_t paddr);
102 static int sec_aesu_make_desc(struct sec_softc *sc,
111 static int sec_mdeu_make_desc(struct sec_softc *sc,
135 sizeof(struct sec_softc),
172 struct sec_softc *sc; in sec_probe()
221 struct sec_softc *sc; in sec_attach()
371 struct sec_softc *sc = device_get_softc(dev); in sec_detach()
460 sec_setup_intr(struct sec_softc *sc, struct resource **ires, void **ihand, in sec_setup_intr()
490 sec_release_intr(struct sec_softc *sc, struct resource *ires, void *ihand, in sec_release_intr()
513 struct sec_softc *sc = arg; in sec_primary_intr()
611 struct sec_softc *sc = arg; in sec_secondary_intr()
618 sec_controller_reset(struct sec_softc *sc) in sec_controller_reset()
640 sec_channel_reset(struct sec_softc *sc, int channel, int full) in sec_channel_reset()
680 sec_init(struct sec_softc *sc) in sec_init()
728 struct sec_softc *sc = sdmi->sdmi_sc; in sec_dma_map_desc_cb()
776 sec_alloc_dma_mem(struct sec_softc *sc, struct sec_dma_mem *dma_mem, in sec_alloc_dma_mem()
832 sec_desc_map_dma(struct sec_softc *sc, struct sec_dma_mem *dma_mem, in sec_desc_map_dma()
924 sec_eu_channel(struct sec_softc *sc, int eu) in sec_eu_channel()
965 sec_enqueue_desc(struct sec_softc *sc, struct sec_desc *desc, int channel) in sec_enqueue_desc()
1011 sec_enqueue(struct sec_softc *sc) in sec_enqueue()
1069 sec_find_desc(struct sec_softc *sc, bus_addr_t paddr) in sec_find_desc()
1087 sec_make_pointer_direct(struct sec_softc *sc, struct sec_desc *desc, u_int n, in sec_make_pointer_direct()
1104 sec_make_pointer(struct sec_softc *sc, struct sec_desc *desc, in sec_make_pointer()
1152 sec_auth_supported(struct sec_softc *sc, in sec_auth_supported()
1178 struct sec_softc *sc = device_get_softc(dev); in sec_probesession()
1239 struct sec_softc *sc = device_get_softc(dev); in sec_process()
1318 sec_build_common_ns_desc(struct sec_softc *sc, struct sec_desc *desc, in sec_build_common_ns_desc()
1369 sec_build_common_s_desc(struct sec_softc *sc, struct sec_desc *desc, in sec_build_common_s_desc()
1437 sec_aesu_make_desc(struct sec_softc *sc, in sec_aesu_make_desc()
1525 sec_mdeu_make_desc(struct sec_softc *sc, in sec_mdeu_make_desc()