hifn_softc
static int hifn_sramsize(struct hifn_softc *);
static int hifn_dramsize(struct hifn_softc *);
static int hifn_ramtype(struct hifn_softc *);
static void hifn_sessions(struct hifn_softc *);
hifn_sessions(struct hifn_softc *sc)
hifn_ramtype(struct hifn_softc *sc)
static void hifn_callback(struct hifn_softc *, struct hifn_command *,
static int hifn_crypto(struct hifn_softc *, struct hifn_command *,
hifn_sramsize(struct hifn_softc *sc)
static int hifn_readramaddr(struct hifn_softc *, int, uint8_t *);
static int hifn_writeramaddr(struct hifn_softc *, int, uint8_t *);
static int hifn_dmamap_load_src(struct hifn_softc *,
hifn_dramsize(struct hifn_softc *sc)
hifn_alloc_slot(struct hifn_softc *sc, int *cmdp, int *srcp, int *dstp,
static int hifn_dmamap_load_dst(struct hifn_softc *,
static int hifn_init_pubrng(struct hifn_softc *);
static void hifn_rng(struct hifn_softc *);
hifn_writeramaddr(struct hifn_softc *sc, int addr, uint8_t *data)
static void hifn_abort(struct hifn_softc *);
static void hifn_alloc_slot(struct hifn_softc *, int *, int *, int *,
static void hifn_write_4(struct hifn_softc *, int, bus_size_t, uint32_t);
static uint32_t hifn_read_4(struct hifn_softc *, int, bus_size_t);
hifn_readramaddr(struct hifn_softc *sc, int addr, uint8_t *data)
static void hifn_compression(struct hifn_softc *, struct cryptop *,
static int hifn_compress_enter(struct hifn_softc *, struct hifn_command *);
static void hifn_callback_comp(struct hifn_softc *, struct hifn_command *,
hifn_init_dma(struct hifn_softc *sc)
struct hifn_softc *sc = vsc;
hifn_dmamap_load_dst(struct hifn_softc *sc, struct hifn_command *cmd)
hifn_dmamap_load_src(struct hifn_softc *sc, struct hifn_command *cmd)
hifn_crypto(struct hifn_softc *sc, struct hifn_command *cmd,
struct hifn_softc *sc = vsc;
struct hifn_softc *sc = vsc;
struct hifn_softc *sc = arg;
struct hifn_softc *sc = arg;
struct hifn_softc *sc = arg;
struct hifn_softc *sc = arg;
hifn_abort(struct hifn_softc *sc)
hifn_callback(struct hifn_softc *sc, struct hifn_command *cmd, uint8_t *resbuf)
struct hifn_softc *sc = device_private(self);
hifn_compression(struct hifn_softc *sc, struct cryptop *crp,
hifn_compress_enter(struct hifn_softc *sc, struct hifn_command *cmd)
hifn_callback_comp(struct hifn_softc *sc, struct hifn_command *cmd,
hifn_write_4(struct hifn_softc *sc, int reggrp, bus_size_t reg, uint32_t val)
hifn_read_4(struct hifn_softc *sc, int reggrp, bus_size_t reg)
struct hifn_softc *sc = device_private(self);
struct hifn_softc *sc = priv;
hifn_init_pubrng(struct hifn_softc *sc)
hifn_rng(struct hifn_softc *sc)
struct hifn_softc *sc = vsc;
hifn_puc_wait(struct hifn_softc *sc)
hifn_reset_puc(struct hifn_softc *sc)
hifn_set_retry(struct hifn_softc *sc)
hifn_reset_board(struct hifn_softc *sc, int full)
hifn_enable_crypto(struct hifn_softc *sc, pcireg_t pciid)
CFATTACH_DECL_NEW(hifn, sizeof(struct hifn_softc),
static void hifn_reset_board(struct hifn_softc *, int);
static void hifn_reset_puc(struct hifn_softc *);
static void hifn_puc_wait(struct hifn_softc *);
static const char *hifn_enable_crypto(struct hifn_softc *, pcireg_t);
static void hifn_set_retry(struct hifn_softc *);
static void hifn_init_dma(struct hifn_softc *);
hifn_init_pci_registers(struct hifn_softc *sc)
static void hifn_init_pci_registers(struct hifn_softc *);
struct hifn_softc *softc;
void (*cmd_callback)(struct hifn_softc *, struct hifn_command *,