Home
last modified time | relevance | path

Searched refs:tws_queue_depth (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/tws/
H A Dtws.c47 int tws_queue_depth = TWS_MAX_REQS; variable
405 for ( i=0; i< tws_queue_depth; i++) { in tws_detach()
513 if ( tws_queue_depth > TWS_MAX_REQS ) in tws_init()
514 tws_queue_depth = TWS_MAX_REQS; in tws_init()
515 if (tws_queue_depth < TWS_RESERVED_REQS+1) in tws_init()
516 tws_queue_depth = TWS_RESERVED_REQS+1; in tws_init()
521 dma_mem_size = (sizeof(struct tws_command_packet) * tws_queue_depth) + in tws_init()
594 sc->reqs = malloc(sizeof(struct tws_request) * tws_queue_depth, M_TWS, in tws_init()
596 sc->sense_bufs = malloc(sizeof(struct tws_sense) * tws_queue_depth, M_TWS, in tws_init()
672 for ( i=0; i< tws_queue_depth; i++) in tws_init_reqs()
[all …]
H A Dtws_hdm.c88 if ( tws_init_connect(sc, tws_queue_depth) ) in tws_init_ctlr()
120 while ( i < tws_queue_depth ) { in tws_init_obfl_q()
136 if ( i == tws_queue_depth ) in tws_init_obfl_q()
H A Dtws.h65 extern int tws_queue_depth;
H A Dtws_cam.c137 if ( tws_cam_depth > (tws_queue_depth - TWS_RESERVED_REQS) ) in tws_cam_attach()
138 tws_cam_depth = tws_queue_depth - TWS_RESERVED_REQS; in tws_cam_attach()
140 TWS_TRACE_DEBUG(sc, "depths,ctlr,cam", tws_queue_depth, tws_cam_depth); in tws_cam_attach()
1253 if ( tws_init_connect(sc, tws_queue_depth) ) { in tws_reinit()
H A Dtws_services.c364 if ( i>= 0 && i<tws_queue_depth) { in tws_find_sense_from_mfa()