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

/freebsd-13-stable/sys/dev/tws/
H A Dtws.c49 int tws_queue_depth = TWS_MAX_REQS; variable
407 for ( i=0; i< tws_queue_depth; i++) {
516 if ( tws_queue_depth > TWS_MAX_REQS )
517 tws_queue_depth = TWS_MAX_REQS;
518 if (tws_queue_depth < TWS_RESERVED_REQS+1)
519 tws_queue_depth = TWS_RESERVED_REQS+1;
524 dma_mem_size = (sizeof(struct tws_command_packet) * tws_queue_depth) +
597 sc->reqs = malloc(sizeof(struct tws_request) * tws_queue_depth, M_TWS,
599 sc->sense_bufs = malloc(sizeof(struct tws_sense) * tws_queue_depth, M_TWS,
675 for ( i=0; i< tws_queue_depth;
[all...]
H A Dtws_hdm.c90 if ( tws_init_connect(sc, tws_queue_depth) )
122 while ( i < tws_queue_depth ) {
138 if ( i == tws_queue_depth )
H A Dtws.h67 extern int tws_queue_depth;
H A Dtws_cam.c139 if ( tws_cam_depth > (tws_queue_depth - TWS_RESERVED_REQS) )
140 tws_cam_depth = tws_queue_depth - TWS_RESERVED_REQS;
142 TWS_TRACE_DEBUG(sc, "depths,ctlr,cam", tws_queue_depth, tws_cam_depth);
1257 if ( tws_init_connect(sc, tws_queue_depth) ) {
H A Dtws_services.c366 if ( i>= 0 && i<tws_queue_depth) {

Completed in 124 milliseconds