Searched refs:tws_queue_depth (Results 1 – 5 of 5) sorted by relevance
| /freebsd-13.1/sys/dev/tws/ |
| H A D | tws.c | 49 int tws_queue_depth = TWS_MAX_REQS; variable 407 for ( i=0; i< tws_queue_depth; i++) { in tws_detach() 516 if ( tws_queue_depth > TWS_MAX_REQS ) in tws_init() 517 tws_queue_depth = TWS_MAX_REQS; in tws_init() 518 if (tws_queue_depth < TWS_RESERVED_REQS+1) in tws_init() 519 tws_queue_depth = TWS_RESERVED_REQS+1; in tws_init() 524 dma_mem_size = (sizeof(struct tws_command_packet) * tws_queue_depth) + in tws_init() 597 sc->reqs = malloc(sizeof(struct tws_request) * tws_queue_depth, M_TWS, in tws_init() 599 sc->sense_bufs = malloc(sizeof(struct tws_sense) * tws_queue_depth, M_TWS, in tws_init() 675 for ( i=0; i< tws_queue_depth; i++) in tws_init_reqs() [all …]
|
| H A D | tws_hdm.c | 90 if ( tws_init_connect(sc, tws_queue_depth) ) in tws_init_ctlr() 122 while ( i < tws_queue_depth ) { in tws_init_obfl_q() 138 if ( i == tws_queue_depth ) in tws_init_obfl_q()
|
| H A D | tws.h | 67 extern int tws_queue_depth;
|
| H A D | tws_cam.c | 139 if ( tws_cam_depth > (tws_queue_depth - TWS_RESERVED_REQS) ) in tws_cam_attach() 140 tws_cam_depth = tws_queue_depth - TWS_RESERVED_REQS; in tws_cam_attach() 142 TWS_TRACE_DEBUG(sc, "depths,ctlr,cam", tws_queue_depth, tws_cam_depth); in tws_cam_attach() 1257 if ( tws_init_connect(sc, tws_queue_depth) ) { in tws_reinit()
|
| H A D | tws_services.c | 366 if ( i>= 0 && i<tws_queue_depth) { in tws_find_sense_from_mfa()
|