sun8i_crypto_softc
struct sun8i_crypto_softc *sc = cookie;
sun8i_crypto_schedule_worker(struct sun8i_crypto_softc *sc)
struct sun8i_crypto_softc *sc = cookie;
sun8i_crypto_poll(struct sun8i_crypto_softc *sc,
sun8i_crypto_done(struct sun8i_crypto_softc *sc, uint32_t done, uint32_t esr,
sun8i_crypto_chan_done(struct sun8i_crypto_softc *sc, unsigned i, int error)
sun8i_crypto_allocbuf(struct sun8i_crypto_softc *sc, size_t size,
sun8i_crypto_freebuf(struct sun8i_crypto_softc *sc, size_t size,
sun8i_crypto_rng_attach(struct sun8i_crypto_softc *sc)
struct sun8i_crypto_softc *sc = cookie;
sun8i_crypto_rng_done(struct sun8i_crypto_softc *sc,
sun8i_crypto_selftest(struct sun8i_crypto_softc *sc)
sun8i_crypto_selftest_check(struct sun8i_crypto_softc *sc, const char *title,
sun8i_crypto_selftest_done(struct sun8i_crypto_softc *sc,
sun8i_crypto_sysctl_attach(struct sun8i_crypto_softc *sc)
struct sun8i_crypto_softc *sc = node.sysctl_data;
void (*ct_callback)(struct sun8i_crypto_softc *,
sun8i_crypto_sysctl_rng_done(struct sun8i_crypto_softc *sc,
sun8i_crypto_register(struct sun8i_crypto_softc *sc)
sun8i_crypto_register1(struct sun8i_crypto_softc *sc, uint32_t alg)
sun8i_crypto_task_get(struct sun8i_crypto_softc *,
void (*)(struct sun8i_crypto_softc *,
static void sun8i_crypto_task_put(struct sun8i_crypto_softc *,
static int sun8i_crypto_task_load(struct sun8i_crypto_softc *,
static int sun8i_crypto_task_load_trng(struct sun8i_crypto_softc *,
static int sun8i_crypto_task_load_aesecb(struct sun8i_crypto_softc *,
struct sun8i_crypto_softc *sc = cookie;
static int sun8i_crypto_submit(struct sun8i_crypto_softc *,
static void sun8i_crypto_schedule_worker(struct sun8i_crypto_softc *);
static bool sun8i_crypto_poll(struct sun8i_crypto_softc *, uint32_t *,
static bool sun8i_crypto_done(struct sun8i_crypto_softc *, uint32_t,
static bool sun8i_crypto_chan_done(struct sun8i_crypto_softc *, unsigned,
static int sun8i_crypto_allocbuf(struct sun8i_crypto_softc *, size_t,
static void sun8i_crypto_freebuf(struct sun8i_crypto_softc *, size_t,
static void sun8i_crypto_rng_attach(struct sun8i_crypto_softc *);
static void sun8i_crypto_rng_done(struct sun8i_crypto_softc *,
static bool sun8i_crypto_selftest(struct sun8i_crypto_softc *);
static void sun8i_crypto_selftest_done(struct sun8i_crypto_softc *,
static void sun8i_crypto_sysctl_attach(struct sun8i_crypto_softc *);
static void sun8i_crypto_sysctl_rng_done(struct sun8i_crypto_softc *,
static void sun8i_crypto_register(struct sun8i_crypto_softc *);
static void sun8i_crypto_register1(struct sun8i_crypto_softc *, uint32_t);
sun8i_crypto_callback(struct sun8i_crypto_softc *sc,
static void sun8i_crypto_callback(struct sun8i_crypto_softc *,
sun8i_crypto_read(struct sun8i_crypto_softc *sc, bus_size_t reg)
sun8i_crypto_write(struct sun8i_crypto_softc *sc, bus_size_t reg, uint32_t v)
CFATTACH_DECL_NEW(sun8i_crypto, sizeof(struct sun8i_crypto_softc),
struct sun8i_crypto_softc *const sc = device_private(self);
struct sun8i_crypto_softc *sc = cookie;
struct sun8i_crypto_softc *sc = cookie;
sun8i_crypto_task_get(struct sun8i_crypto_softc *sc,
void (*callback)(struct sun8i_crypto_softc *, struct sun8i_crypto_task *,
sun8i_crypto_task_invalid(struct sun8i_crypto_softc *sc,
void (*callback)(struct sun8i_crypto_softc *,
sun8i_crypto_task_put(struct sun8i_crypto_softc *sc,
sun8i_crypto_task_load(struct sun8i_crypto_softc *sc,
sun8i_crypto_task_load_trng(struct sun8i_crypto_softc *sc,
sun8i_crypto_task_load_aesecb(struct sun8i_crypto_softc *sc,
sun8i_crypto_submit(struct sun8i_crypto_softc *sc,
struct sun8i_crypto_softc *sc = cookie;