Home | History | Annotate | Download | only in pci

Lines Matching refs:hifn_softc

90 CFATTACH_DECL_NEW(hifn, sizeof(struct hifn_softc),
93 static void hifn_reset_board(struct hifn_softc *, int);
94 static void hifn_reset_puc(struct hifn_softc *);
95 static void hifn_puc_wait(struct hifn_softc *);
96 static const char *hifn_enable_crypto(struct hifn_softc *, pcireg_t);
97 static void hifn_set_retry(struct hifn_softc *);
98 static void hifn_init_dma(struct hifn_softc *);
99 static void hifn_init_pci_registers(struct hifn_softc *);
100 static int hifn_sramsize(struct hifn_softc *);
101 static int hifn_dramsize(struct hifn_softc *);
102 static int hifn_ramtype(struct hifn_softc *);
103 static void hifn_sessions(struct hifn_softc *);
110 static void hifn_callback(struct hifn_softc *, struct hifn_command *,
112 static int hifn_crypto(struct hifn_softc *, struct hifn_command *,
114 static int hifn_readramaddr(struct hifn_softc *, int, uint8_t *);
115 static int hifn_writeramaddr(struct hifn_softc *, int, uint8_t *);
117 static int hifn_dmamap_load_src(struct hifn_softc *,
119 static int hifn_dmamap_load_dst(struct hifn_softc *,
121 static int hifn_init_pubrng(struct hifn_softc *);
122 static void hifn_rng(struct hifn_softc *);
125 static void hifn_abort(struct hifn_softc *);
126 static void hifn_alloc_slot(struct hifn_softc *, int *, int *, int *,
128 static void hifn_write_4(struct hifn_softc *, int, bus_size_t, uint32_t);
129 static uint32_t hifn_read_4(struct hifn_softc *, int, bus_size_t);
131 static void hifn_compression(struct hifn_softc *, struct cryptop *,
134 static int hifn_compress_enter(struct hifn_softc *, struct hifn_command *);
135 static void hifn_callback_comp(struct hifn_softc *, struct hifn_command *,
144 struct hifn_softc *sc = vsc;
176 struct hifn_softc *sc = vsc;
256 struct hifn_softc *sc = device_private(self);
474 struct hifn_softc *sc = device_private(self);
537 struct hifn_softc *sc = priv;
561 hifn_init_pubrng(struct hifn_softc *sc)
628 hifn_rng(struct hifn_softc *sc)
712 struct hifn_softc *sc = vsc;
720 hifn_puc_wait(struct hifn_softc *sc)
737 hifn_reset_puc(struct hifn_softc *sc)
745 hifn_set_retry(struct hifn_softc *sc)
759 hifn_reset_board(struct hifn_softc *sc, int full)
884 hifn_enable_crypto(struct hifn_softc *sc, pcireg_t pciid)
986 hifn_init_pci_registers(struct hifn_softc *sc)
1061 hifn_sessions(struct hifn_softc *sc)
1093 hifn_ramtype(struct hifn_softc *sc)
1128 hifn_sramsize(struct hifn_softc *sc)
1170 hifn_dramsize(struct hifn_softc *sc)
1188 hifn_alloc_slot(struct hifn_softc *sc, int *cmdp, int *srcp, int *dstp,
1235 hifn_writeramaddr(struct hifn_softc *sc, int addr, uint8_t *data)
1299 hifn_readramaddr(struct hifn_softc *sc, int addr, uint8_t *data)
1367 hifn_init_dma(struct hifn_softc *sc)
1550 hifn_dmamap_load_dst(struct hifn_softc *sc, struct hifn_command *cmd)
1622 hifn_dmamap_load_src(struct hifn_softc *sc, struct hifn_command *cmd)
1654 hifn_crypto(struct hifn_softc *sc, struct hifn_command *cmd,
1897 struct hifn_softc *sc = vsc;
1934 struct hifn_softc *sc = arg;
2076 struct hifn_softc *sc = arg;
2149 struct hifn_softc *sc = arg;
2166 struct hifn_softc *sc = arg;
2422 hifn_abort(struct hifn_softc *sc)
2493 hifn_callback(struct hifn_softc *sc, struct hifn_command *cmd, uint8_t *resbuf)
2604 hifn_compression(struct hifn_softc *sc, struct cryptop *crp,
2718 hifn_compress_enter(struct hifn_softc *sc, struct hifn_command *cmd)
2814 hifn_callback_comp(struct hifn_softc *sc, struct hifn_command *cmd,
2996 hifn_write_4(struct hifn_softc *sc, int reggrp, bus_size_t reg, uint32_t val)
3019 hifn_read_4(struct hifn_softc *sc, int reggrp, bus_size_t reg)