Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/tws/tws_hdm.c
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | |||||
void tws_enable_db_intr(struct tws_softc *sc); | void tws_enable_db_intr(struct tws_softc *sc); | ||||
void tws_aen_synctime_with_host(struct tws_softc *sc); | void tws_aen_synctime_with_host(struct tws_softc *sc); | ||||
void tws_init_obfl_q(struct tws_softc *sc); | void tws_init_obfl_q(struct tws_softc *sc); | ||||
void tws_display_ctlr_info(struct tws_softc *sc); | void tws_display_ctlr_info(struct tws_softc *sc); | ||||
int | int | ||||
tws_init_ctlr(struct tws_softc *sc) | tws_init_ctlr(struct tws_softc *sc) | ||||
{ | { | ||||
u_int64_t reg __diagused; | u_int64_t reg __tws_debug; | ||||
u_int32_t regh, regl; | u_int32_t regh, regl; | ||||
TWS_TRACE_DEBUG(sc, "entry", sc, sc->is64bit); | TWS_TRACE_DEBUG(sc, "entry", sc, sc->is64bit); | ||||
sc->obfl_q_overrun = false; | sc->obfl_q_overrun = false; | ||||
if ( tws_init_connect(sc, tws_queue_depth) ) | if ( tws_init_connect(sc, tws_queue_depth) ) | ||||
{ | { | ||||
TWS_TRACE_DEBUG(sc, "initConnect failed", 0, sc->is64bit); | TWS_TRACE_DEBUG(sc, "initConnect failed", 0, sc->is64bit); | ||||
return(FAILURE); | return(FAILURE); | ||||
▲ Show 20 Lines • Show All 432 Lines • Show Last 20 Lines |