Lines Matching refs:tws_queue_depth
48 int tws_queue_depth = TWS_MAX_REQS; variable
414 for ( i=0; i< tws_queue_depth; i++) { in tws_detach()
528 if ( tws_queue_depth > TWS_MAX_REQS ) in tws_init()
529 tws_queue_depth = TWS_MAX_REQS; in tws_init()
530 if (tws_queue_depth < TWS_RESERVED_REQS+1) in tws_init()
531 tws_queue_depth = TWS_RESERVED_REQS+1; in tws_init()
536 dma_mem_size = (sizeof(struct tws_command_packet) * tws_queue_depth) + in tws_init()
609 sc->reqs = malloc(sizeof(struct tws_request) * tws_queue_depth, M_TWS, in tws_init()
611 sc->sense_bufs = malloc(sizeof(struct tws_sense) * tws_queue_depth, M_TWS, in tws_init()
687 for ( i=0; i< tws_queue_depth; i++) in tws_init_reqs()
907 TUNABLE_INT("hw.tws.queue_depth", &tws_queue_depth);