Lines Matching refs:token
111 int token; in soc_solicited() local
124 token = xram_get_32low ((xram_p)&hwrsp->shdr.token); in soc_solicited()
126 fc = (fc_channel *)(&s->port[(token >> 11) & 1]); in soc_solicited()
129 fcp_receive_solicited(fc, token >> 12, in soc_solicited()
130 token & ((1 << 11) - 1), in soc_solicited()
138 fcp_receive_solicited(fc, token >> 12, in soc_solicited()
139 token & ((1 << 11) - 1), in soc_solicited()
353 #define TOKEN(proto, port, token) (((proto)<<12)|(token)|(port)) argument
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()
399 i = fc->scsi_cmd_pool[fcmd->token].fcp_data_len; in soc_hw_enque()
404 (fc->scsi_cmd_pool[fcmd->token].fcp_cntl & FCP_CNTL_WRITE) ? in soc_hw_enque()
426 request->shdr.token = TOKEN(PROTO_OFFLINE, port->mask, fcmd->token); in soc_hw_enque()
442 request->shdr.token = TOKEN(fcmd->proto, port->mask, fcmd->token); in soc_hw_enque()