Searched refs:fcmd (Results 1 – 7 of 7) sorted by relevance
/linux-2.4.37.9/drivers/fc4/ |
D | fc.c | 83 static void fcp_scsi_insert_queue (fc_channel *fc, fcp_cmnd *fcmd) in fcp_scsi_insert_queue() argument 86 fc->scsi_que = fcmd; in fcp_scsi_insert_queue() 87 fcmd->next = fcmd; in fcp_scsi_insert_queue() 88 fcmd->prev = fcmd; in fcp_scsi_insert_queue() 90 fc->scsi_que->prev->next = fcmd; in fcp_scsi_insert_queue() 91 fcmd->prev = fc->scsi_que->prev; in fcp_scsi_insert_queue() 92 fc->scsi_que->prev = fcmd; in fcp_scsi_insert_queue() 93 fcmd->next = fc->scsi_que; in fcp_scsi_insert_queue() 97 static void fcp_scsi_remove_queue (fc_channel *fc, fcp_cmnd *fcmd) in fcp_scsi_remove_queue() argument 99 if (fcmd == fcmd->next) { in fcp_scsi_remove_queue() [all …]
|
D | soc.c | 355 static int soc_hw_enque (fc_channel *fc, fcp_cmnd *fcmd) in soc_hw_enque() argument 366 if (fcmd->proto == TYPE_SCSI_FCP) in soc_hw_enque() 370 SOD(("Putting a FCP packet type %d into hw queue %d\n", fcmd->proto, qno)) in soc_hw_enque() 390 switch (fcmd->proto) { in soc_hw_enque() 392 request->shdr.token = TOKEN(TYPE_SCSI_FCP, port->mask, fcmd->token); in soc_hw_enque() 393 request->data[0].base = fc->dma_scsi_cmd + fcmd->token * sizeof(fcp_cmd); in soc_hw_enque() 395 request->data[1].base = fc->dma_scsi_rsp + fcmd->token * fc->rsp_size; in soc_hw_enque() 397 if (fcmd->data) { in soc_hw_enque() 399 i = fc->scsi_cmd_pool[fcmd->token].fcp_data_len; in soc_hw_enque() 401 request->data[2].base = fcmd->data; in soc_hw_enque() [all …]
|
D | socal.c | 435 static int socal_hw_enque (fc_channel *fc, fcp_cmnd *fcmd) in socal_hw_enque() argument 446 if (fcmd->proto == TYPE_SCSI_FCP) in socal_hw_enque() 450 SOD(("Putting a FCP packet type %d into hw queue %d\n", fcmd->proto, qno)) in socal_hw_enque() 473 switch (fcmd->proto) { in socal_hw_enque() 475 request->shdr.token = TOKEN(TYPE_SCSI_FCP, port->mask, fcmd->token); in socal_hw_enque() 476 request->data[0].base = fc->dma_scsi_cmd + fcmd->token * sizeof(fcp_cmd); in socal_hw_enque() 478 request->data[1].base = fc->dma_scsi_rsp + fcmd->token * fc->rsp_size; in socal_hw_enque() 480 if (fcmd->data) { in socal_hw_enque() 482 i = fc->scsi_cmd_pool[fcmd->token].fcp_data_len; in socal_hw_enque() 484 request->data[2].base = fcmd->data; in socal_hw_enque() [all …]
|
/linux-2.4.37.9/drivers/scsi/ |
D | fcal.c | 71 static int fcal_encode_addr(Scsi_Cmnd *SCpnt, u16 *addr, fc_channel *fc, fcp_cmnd *fcmd); 282 static int fcal_encode_addr(Scsi_Cmnd *SCpnt, u16 *addr, fc_channel *fc, fcp_cmnd *fcmd) in fcal_encode_addr() argument 294 fcmd->did = target2alpa[SCpnt->target]; in fcal_encode_addr() 295 FCALD(("trying DID %06x\n", fcmd->did)) in fcal_encode_addr()
|
D | pluto.c | 53 static int pluto_encode_addr(Scsi_Cmnd *SCpnt, u16 *addr, fc_channel *fc, fcp_cmnd *fcmd); 318 static int pluto_encode_addr(Scsi_Cmnd *SCpnt, u16 *addr, fc_channel *fc, fcp_cmnd *fcmd) in pluto_encode_addr() argument 333 fcmd->did = fc->did; in pluto_encode_addr()
|
/linux-2.4.37.9/drivers/char/ip2/ |
D | i2pack.h | 126 unsigned char fcmd; // The flow control command (37) member
|
D | i2lib.c | 286 pCh->infl.fcmd = 37; in i2InitChannels()
|