Lines Matching refs:tws_queue_depth
47 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()
887 TUNABLE_INT("hw.tws.queue_depth", &tws_queue_depth);