Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/cesa/cesa.h
Show First 20 Lines • Show All 251 Lines • ▼ Show 20 Lines | struct cesa_softc { | ||||
STAILQ_HEAD(, cesa_request) sc_queued_requests; | STAILQ_HEAD(, cesa_request) sc_queued_requests; | ||||
/* Sessions pool */ | /* Sessions pool */ | ||||
struct mtx sc_sessions_lock; | struct mtx sc_sessions_lock; | ||||
struct cesa_session sc_sessions[CESA_SESSIONS]; | struct cesa_session sc_sessions[CESA_SESSIONS]; | ||||
STAILQ_HEAD(, cesa_session) sc_free_sessions; | STAILQ_HEAD(, cesa_session) sc_free_sessions; | ||||
/* CESA SRAM Address */ | /* CESA SRAM Address */ | ||||
bus_addr_t sc_sram_base; | bus_addr_t sc_sram_base_pa; | ||||
bus_space_handle_t sc_sram_base_va; | |||||
bus_size_t sc_sram_size; | |||||
}; | }; | ||||
struct cesa_chain_info { | struct cesa_chain_info { | ||||
struct cesa_softc *cci_sc; | struct cesa_softc *cci_sc; | ||||
struct cesa_request *cci_cr; | struct cesa_request *cci_cr; | ||||
struct cryptodesc *cci_enc; | struct cryptodesc *cci_enc; | ||||
struct cryptodesc *cci_mac; | struct cryptodesc *cci_mac; | ||||
uint32_t cci_config; | uint32_t cci_config; | ||||
▲ Show 20 Lines • Show All 87 Lines • Show Last 20 Lines |