request_id 3471 drivers/infiniband/core/cm.c sidr_req_msg->request_id = cm_id_priv->id.local_id; request_id 3575 drivers/infiniband/core/cm.c cm_id_priv->id.remote_id = sidr_req_msg->request_id; request_id 3619 drivers/infiniband/core/cm.c sidr_rep_msg->request_id = cm_id_priv->id.remote_id; request_id 3706 drivers/infiniband/core/cm.c cm_id_priv = cm_acquire_id(sidr_rep_msg->request_id, 0); request_id 792 drivers/infiniband/core/cm_msgs.h __be32 request_id; request_id 803 drivers/infiniband/core/cm_msgs.h __be32 request_id; request_id 66 drivers/infiniband/hw/mlx4/cm.c __be32 request_id; request_id 80 drivers/infiniband/hw/mlx4/cm.c msg->request_id = cpu_to_be32(cm_id); request_id 95 drivers/infiniband/hw/mlx4/cm.c return be32_to_cpu(msg->request_id); request_id 110 drivers/infiniband/hw/mlx4/cm.c msg->request_id = cpu_to_be32(cm_id); request_id 125 drivers/infiniband/hw/mlx4/cm.c return be32_to_cpu(msg->request_id); request_id 717 drivers/input/misc/uinput.c __u32 request_id; request_id 729 drivers/input/misc/uinput.c ff_up_compat.request_id = ff_up->request_id; request_id 764 drivers/input/misc/uinput.c ff_up->request_id = ff_up_compat.request_id; request_id 943 drivers/input/misc/uinput.c req = uinput_request_find(udev, ff_up.request_id); request_id 966 drivers/input/misc/uinput.c req = uinput_request_find(udev, ff_erase.request_id); request_id 986 drivers/input/misc/uinput.c req = uinput_request_find(udev, ff_up.request_id); request_id 1003 drivers/input/misc/uinput.c req = uinput_request_find(udev, ff_erase.request_id); request_id 1047 drivers/media/common/siano/smscoreapi.h u32 request_id; request_id 75 drivers/media/common/siano/smsdvb.h u32 request_id; request_id 714 drivers/media/mc/mc-device.c atomic_set(&mdev->request_id, 0); request_id 332 drivers/media/mc/mc-request.c atomic_inc_return(&mdev->request_id), fd); request_id 99 drivers/net/usb/rndis_host.c u32 xid = 0, msg_len, request_id, msg_type, rsp, request_id 113 drivers/net/usb/rndis_host.c buf->request_id = (__force __le32) xid; request_id 154 drivers/net/usb/rndis_host.c request_id = (__force u32) buf->request_id; request_id 156 drivers/net/usb/rndis_host.c if (likely(request_id == xid)) { request_id 169 drivers/net/usb/rndis_host.c request_id, xid); request_id 264 drivers/net/usb/rndis_host.c *reply = (unsigned char *) &u.get_c->request_id + off; request_id 79 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c __le32 request_id; request_id 451 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c request->msg.request_id = cpu_to_le32(BRCMF_IOCTL_REQ_PKTID); request_id 619 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c create->msg.request_id = 0; request_id 740 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c tx_msghdr->msg.request_id = cpu_to_le32(pktid + 1); request_id 857 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c msgbuf->ioctl_resp_pktid = le32_to_cpu(ioctl_resp->msg.request_id); request_id 877 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c idx = le32_to_cpu(tx_status->msg.request_id) - 1; request_id 953 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c rx_bufpost->msg.request_id = cpu_to_le32(pktid); request_id 1053 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c rx_bufpost->msg.request_id = cpu_to_le32(pktid); request_id 1104 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c idx = le32_to_cpu(event->msg.request_id); request_id 1154 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c idx = le32_to_cpu(rx_complete->msg.request_id); request_id 1424 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c delete->msg.request_id = 0; request_id 519 drivers/net/wireless/intel/iwlwifi/fw/api/location.h u8 request_id; request_id 558 drivers/net/wireless/intel/iwlwifi/fw/api/location.h u8 request_id; request_id 813 drivers/net/wireless/intel/iwlwifi/fw/api/location.h u8 request_id; request_id 829 drivers/net/wireless/intel/iwlwifi/fw/api/location.h u8 request_id; request_id 845 drivers/net/wireless/intel/iwlwifi/fw/api/location.h u8 request_id; request_id 877 drivers/net/wireless/intel/iwlwifi/fw/api/location.h u8 request_id; request_id 143 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c cmd->request_id = req->cookie; request_id 176 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c cmd->request_id = req->cookie; request_id 386 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c .request_id = req->cookie, request_id 457 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c static int iwl_mvm_ftm_range_resp_valid(struct iwl_mvm *mvm, u8 request_id, request_id 462 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c if (request_id != (u8)mvm->ftm_initiator.req->cookie) { request_id 464 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c request_id, (u8)mvm->ftm_initiator.req->cookie); request_id 513 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c if (iwl_mvm_ftm_range_resp_valid(mvm, fw_resp->request_id, request_id 520 drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c if (iwl_mvm_ftm_range_resp_valid(mvm, fw_resp_v5->request_id, request_id 122 drivers/scsi/3w-9xxx.c static int twa_aen_read_queue(TW_Device_Extension *tw_dev, int request_id); request_id 124 drivers/scsi/3w-9xxx.c static void twa_aen_sync_time(TW_Device_Extension *tw_dev, int request_id); request_id 127 drivers/scsi/3w-9xxx.c static int twa_fill_sense(TW_Device_Extension *tw_dev, int request_id, int copy_sense, int print_host); request_id 128 drivers/scsi/3w-9xxx.c static void twa_free_request_id(TW_Device_Extension *tw_dev,int request_id); request_id 129 drivers/scsi/3w-9xxx.c static void twa_get_request_id(TW_Device_Extension *tw_dev, int *request_id); request_id 140 drivers/scsi/3w-9xxx.c static void twa_load_sgl(TW_Device_Extension *tw_dev, TW_Command_Full *full_command_packet, int request_id, dma_addr_t dma_handle, int length); request_id 141 drivers/scsi/3w-9xxx.c static int twa_poll_response(TW_Device_Extension *tw_dev, int request_id, int seconds); request_id 143 drivers/scsi/3w-9xxx.c static int twa_post_command_packet(TW_Device_Extension *tw_dev, int request_id, char internal); request_id 146 drivers/scsi/3w-9xxx.c static int twa_scsiop_execute_scsi(TW_Device_Extension *tw_dev, int request_id, request_id 149 drivers/scsi/3w-9xxx.c static void twa_scsiop_execute_scsi_complete(TW_Device_Extension *tw_dev, int request_id); request_id 226 drivers/scsi/3w-9xxx.c static int twa_aen_complete(TW_Device_Extension *tw_dev, int request_id) request_id 234 drivers/scsi/3w-9xxx.c header = (TW_Command_Apache_Header *)tw_dev->generic_buffer_virt[request_id]; request_id 237 drivers/scsi/3w-9xxx.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 243 drivers/scsi/3w-9xxx.c if (twa_aen_read_queue(tw_dev, request_id)) request_id 256 drivers/scsi/3w-9xxx.c twa_aen_sync_time(tw_dev, request_id); request_id 263 drivers/scsi/3w-9xxx.c if (twa_aen_read_queue(tw_dev, request_id)) request_id 272 drivers/scsi/3w-9xxx.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 273 drivers/scsi/3w-9xxx.c twa_free_request_id(tw_dev, request_id); request_id 282 drivers/scsi/3w-9xxx.c int request_id = 0; request_id 296 drivers/scsi/3w-9xxx.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 307 drivers/scsi/3w-9xxx.c sglist[0].address = tw_dev->generic_buffer_phys[request_id]; request_id 315 drivers/scsi/3w-9xxx.c tw_dev->srb[request_id] = NULL; request_id 319 drivers/scsi/3w-9xxx.c if (twa_scsiop_execute_scsi(tw_dev, request_id, cdb, 1, sglist)) { request_id 325 drivers/scsi/3w-9xxx.c if (twa_poll_response(tw_dev, request_id, 30)) { request_id 332 drivers/scsi/3w-9xxx.c header = (TW_Command_Apache_Header *)tw_dev->generic_buffer_virt[request_id]; request_id 366 drivers/scsi/3w-9xxx.c tw_dev->state[request_id] = TW_S_INITIAL; request_id 426 drivers/scsi/3w-9xxx.c static int twa_aen_read_queue(TW_Device_Extension *tw_dev, int request_id) request_id 433 drivers/scsi/3w-9xxx.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 444 drivers/scsi/3w-9xxx.c sglist[0].address = tw_dev->generic_buffer_phys[request_id]; request_id 447 drivers/scsi/3w-9xxx.c tw_dev->srb[request_id] = NULL; request_id 450 drivers/scsi/3w-9xxx.c if (twa_scsiop_execute_scsi(tw_dev, request_id, cdb, 1, sglist)) { request_id 474 drivers/scsi/3w-9xxx.c static void twa_aen_sync_time(TW_Device_Extension *tw_dev, int request_id) request_id 483 drivers/scsi/3w-9xxx.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 487 drivers/scsi/3w-9xxx.c command_packet->request_id = request_id; request_id 488 drivers/scsi/3w-9xxx.c command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[request_id]); request_id 494 drivers/scsi/3w-9xxx.c param = (TW_Param_Apache *)tw_dev->generic_buffer_virt[request_id]; request_id 509 drivers/scsi/3w-9xxx.c tw_dev->srb[request_id] = NULL; request_id 512 drivers/scsi/3w-9xxx.c twa_post_command_packet(tw_dev, request_id, 1); request_id 643 drivers/scsi/3w-9xxx.c int request_id = 0; request_id 695 drivers/scsi/3w-9xxx.c twa_get_request_id(tw_dev, &request_id); request_id 698 drivers/scsi/3w-9xxx.c tw_dev->srb[request_id] = NULL; request_id 701 drivers/scsi/3w-9xxx.c tw_dev->chrdev_request_id = request_id; request_id 706 drivers/scsi/3w-9xxx.c twa_load_sgl(tw_dev, full_command_packet, request_id, dma_handle, data_buffer_length_adjusted); request_id 708 drivers/scsi/3w-9xxx.c memcpy(tw_dev->command_packet_virt[request_id], &(tw_ioctl->firmware_command), sizeof(TW_Command_Full)); request_id 711 drivers/scsi/3w-9xxx.c twa_post_command_packet(tw_dev, request_id, 1); request_id 731 drivers/scsi/3w-9xxx.c memcpy(&(tw_ioctl->firmware_command), tw_dev->command_packet_virt[request_id], sizeof(TW_Command_Full)); request_id 736 drivers/scsi/3w-9xxx.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 737 drivers/scsi/3w-9xxx.c twa_free_request_id(tw_dev, request_id); request_id 985 drivers/scsi/3w-9xxx.c static int twa_fill_sense(TW_Device_Extension *tw_dev, int request_id, int copy_sense, int print_host) request_id 992 drivers/scsi/3w-9xxx.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 1020 drivers/scsi/3w-9xxx.c memcpy(tw_dev->srb[request_id]->sense_buffer, full_command_packet->header.sense_data, TW_SENSE_DATA_LENGTH); request_id 1021 drivers/scsi/3w-9xxx.c tw_dev->srb[request_id]->result = (full_command_packet->command.newcommand.status << 1); request_id 1049 drivers/scsi/3w-9xxx.c static void twa_free_request_id(TW_Device_Extension *tw_dev, int request_id) request_id 1051 drivers/scsi/3w-9xxx.c tw_dev->free_queue[tw_dev->free_tail] = request_id; request_id 1052 drivers/scsi/3w-9xxx.c tw_dev->state[request_id] = TW_S_FINISHED; request_id 1057 drivers/scsi/3w-9xxx.c static void *twa_get_param(TW_Device_Extension *tw_dev, int request_id, int table_id, int parameter_id, int parameter_size_bytes) request_id 1065 drivers/scsi/3w-9xxx.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 1071 drivers/scsi/3w-9xxx.c command_packet->request_id = request_id; request_id 1075 drivers/scsi/3w-9xxx.c param = (TW_Param_Apache *)tw_dev->generic_buffer_virt[request_id]; request_id 1081 drivers/scsi/3w-9xxx.c command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[request_id]); request_id 1085 drivers/scsi/3w-9xxx.c twa_post_command_packet(tw_dev, request_id, 1); request_id 1088 drivers/scsi/3w-9xxx.c if (twa_poll_response(tw_dev, request_id, 30)) request_id 1094 drivers/scsi/3w-9xxx.c tw_dev->state[request_id] = TW_S_INITIAL; request_id 1100 drivers/scsi/3w-9xxx.c static void twa_get_request_id(TW_Device_Extension *tw_dev, int *request_id) request_id 1102 drivers/scsi/3w-9xxx.c *request_id = tw_dev->free_queue[tw_dev->free_head]; request_id 1104 drivers/scsi/3w-9xxx.c tw_dev->state[*request_id] = TW_S_STARTED; request_id 1121 drivers/scsi/3w-9xxx.c int request_id = 0, retval = 1; request_id 1124 drivers/scsi/3w-9xxx.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 1130 drivers/scsi/3w-9xxx.c tw_initconnect->request_id = request_id; request_id 1149 drivers/scsi/3w-9xxx.c twa_post_command_packet(tw_dev, request_id, 1); request_id 1152 drivers/scsi/3w-9xxx.c if (twa_poll_response(tw_dev, request_id, 30)) { request_id 1166 drivers/scsi/3w-9xxx.c tw_dev->state[request_id] = TW_S_INITIAL; request_id 1220 drivers/scsi/3w-9xxx.c int request_id, error = 0; request_id 1259 drivers/scsi/3w-9xxx.c twa_get_request_id(tw_dev, &request_id); request_id 1261 drivers/scsi/3w-9xxx.c error = twa_aen_read_queue(tw_dev, request_id); request_id 1263 drivers/scsi/3w-9xxx.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 1264 drivers/scsi/3w-9xxx.c twa_free_request_id(tw_dev, request_id); request_id 1275 drivers/scsi/3w-9xxx.c request_id = tw_dev->pending_queue[tw_dev->pending_head]; request_id 1276 drivers/scsi/3w-9xxx.c if (tw_dev->state[request_id] != TW_S_PENDING) { request_id 1281 drivers/scsi/3w-9xxx.c if (twa_post_command_packet(tw_dev, request_id, 1)==0) { request_id 1298 drivers/scsi/3w-9xxx.c request_id = TW_RESID_OUT(response_que.response_id); request_id 1299 drivers/scsi/3w-9xxx.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 1303 drivers/scsi/3w-9xxx.c if (tw_dev->srb[request_id] != NULL) { request_id 1304 drivers/scsi/3w-9xxx.c error = twa_fill_sense(tw_dev, request_id, 1, 1); request_id 1307 drivers/scsi/3w-9xxx.c if (request_id != tw_dev->chrdev_request_id) { request_id 1308 drivers/scsi/3w-9xxx.c error = twa_fill_sense(tw_dev, request_id, 0, 1); request_id 1314 drivers/scsi/3w-9xxx.c if (tw_dev->state[request_id] != TW_S_POSTED) { request_id 1315 drivers/scsi/3w-9xxx.c if (tw_dev->srb[request_id] != NULL) { request_id 1323 drivers/scsi/3w-9xxx.c if (tw_dev->srb[request_id] == NULL) { request_id 1324 drivers/scsi/3w-9xxx.c if (request_id != tw_dev->chrdev_request_id) { request_id 1325 drivers/scsi/3w-9xxx.c if (twa_aen_complete(tw_dev, request_id)) request_id 1334 drivers/scsi/3w-9xxx.c cmd = tw_dev->srb[request_id]; request_id 1336 drivers/scsi/3w-9xxx.c twa_scsiop_execute_scsi_complete(tw_dev, request_id); request_id 1350 drivers/scsi/3w-9xxx.c if (full_command_packet->command.newcommand.sg_list[0].length < scsi_bufflen(tw_dev->srb[request_id])) request_id 1358 drivers/scsi/3w-9xxx.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 1359 drivers/scsi/3w-9xxx.c twa_free_request_id(tw_dev, request_id); request_id 1380 drivers/scsi/3w-9xxx.c static void twa_load_sgl(TW_Device_Extension *tw_dev, TW_Command_Full *full_command_packet, int request_id, dma_addr_t dma_handle, int length) request_id 1393 drivers/scsi/3w-9xxx.c cpu_to_le16(TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->request_id__lunl), request_id)); request_id 1402 drivers/scsi/3w-9xxx.c oldcommand->request_id = request_id; request_id 1419 drivers/scsi/3w-9xxx.c static int twa_poll_response(TW_Device_Extension *tw_dev, int request_id, int seconds) request_id 1423 drivers/scsi/3w-9xxx.c TW_Command_Full *full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 1428 drivers/scsi/3w-9xxx.c if (request_id != response_request_id) { request_id 1435 drivers/scsi/3w-9xxx.c twa_fill_sense(tw_dev, request_id, 0, 0); request_id 1442 drivers/scsi/3w-9xxx.c twa_fill_sense(tw_dev, request_id, 0, 0); request_id 1513 drivers/scsi/3w-9xxx.c static int twa_post_command_packet(TW_Device_Extension *tw_dev, int request_id, char internal) request_id 1519 drivers/scsi/3w-9xxx.c command_que_value = tw_dev->command_packet_phys[request_id]; request_id 1533 drivers/scsi/3w-9xxx.c if (((tw_dev->pending_request_count > 0) && (tw_dev->state[request_id] != TW_S_PENDING)) || (status_reg_value & TW_STATUS_COMMAND_QUEUE_FULL)) { request_id 1542 drivers/scsi/3w-9xxx.c if (tw_dev->state[request_id] != TW_S_PENDING) { request_id 1543 drivers/scsi/3w-9xxx.c tw_dev->state[request_id] = TW_S_PENDING; request_id 1548 drivers/scsi/3w-9xxx.c tw_dev->pending_queue[tw_dev->pending_tail] = request_id; request_id 1567 drivers/scsi/3w-9xxx.c tw_dev->state[request_id] = TW_S_POSTED; request_id 1754 drivers/scsi/3w-9xxx.c int request_id, retval; request_id 1775 drivers/scsi/3w-9xxx.c twa_get_request_id(tw_dev, &request_id); request_id 1778 drivers/scsi/3w-9xxx.c tw_dev->srb[request_id] = SCpnt; request_id 1780 drivers/scsi/3w-9xxx.c retval = twa_scsiop_execute_scsi(tw_dev, request_id, NULL, 0, NULL); request_id 1785 drivers/scsi/3w-9xxx.c twa_free_request_id(tw_dev, request_id); request_id 1792 drivers/scsi/3w-9xxx.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 1793 drivers/scsi/3w-9xxx.c twa_free_request_id(tw_dev, request_id); request_id 1803 drivers/scsi/3w-9xxx.c static int twa_scsiop_execute_scsi(TW_Device_Extension *tw_dev, int request_id, request_id 1815 drivers/scsi/3w-9xxx.c if (tw_dev->srb[request_id]) { request_id 1816 drivers/scsi/3w-9xxx.c srb = tw_dev->srb[request_id]; request_id 1822 drivers/scsi/3w-9xxx.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 1840 drivers/scsi/3w-9xxx.c cpu_to_le16(TW_REQ_LUN_IN(srb->device->lun, request_id)); request_id 1843 drivers/scsi/3w-9xxx.c cpu_to_le16(TW_REQ_LUN_IN(0, request_id)); request_id 1857 drivers/scsi/3w-9xxx.c tw_dev->generic_buffer_virt[request_id], request_id 1859 drivers/scsi/3w-9xxx.c command_packet->sg_list[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[request_id]); request_id 1875 drivers/scsi/3w-9xxx.c command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN((srb->device->lun >> 4), scsi_sg_count(tw_dev->srb[request_id]))); request_id 1905 drivers/scsi/3w-9xxx.c tw_dev->sgl_entries = scsi_sg_count(tw_dev->srb[request_id]); request_id 1912 drivers/scsi/3w-9xxx.c retval = twa_post_command_packet(tw_dev, request_id, 0); request_id 1914 drivers/scsi/3w-9xxx.c twa_post_command_packet(tw_dev, request_id, 1); request_id 1922 drivers/scsi/3w-9xxx.c static void twa_scsiop_execute_scsi_complete(TW_Device_Extension *tw_dev, int request_id) request_id 1924 drivers/scsi/3w-9xxx.c struct scsi_cmnd *cmd = tw_dev->srb[request_id]; request_id 1930 drivers/scsi/3w-9xxx.c void *buf = tw_dev->generic_buffer_virt[request_id]; request_id 437 drivers/scsi/3w-9xxx.h #define TW_REQ_LUN_IN(lun, request_id) (((lun << 12) & 0xf000) | (request_id & 0xfff)) request_id 486 drivers/scsi/3w-9xxx.h unsigned char request_id; request_id 552 drivers/scsi/3w-9xxx.h unsigned char request_id; request_id 269 drivers/scsi/3w-sas.c static int twl_post_command_packet(TW_Device_Extension *tw_dev, int request_id) request_id 273 drivers/scsi/3w-sas.c command_que_value = tw_dev->command_packet_phys[request_id]; request_id 281 drivers/scsi/3w-sas.c tw_dev->state[request_id] = TW_S_POSTED; request_id 290 drivers/scsi/3w-sas.c static int twl_scsiop_execute_scsi(TW_Device_Extension *tw_dev, int request_id, request_id 301 drivers/scsi/3w-sas.c if (tw_dev->srb[request_id]) { request_id 302 drivers/scsi/3w-sas.c srb = tw_dev->srb[request_id]; request_id 308 drivers/scsi/3w-sas.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 326 drivers/scsi/3w-sas.c cpu_to_le16(TW_REQ_LUN_IN(srb->device->lun, request_id)); request_id 329 drivers/scsi/3w-sas.c cpu_to_le16(TW_REQ_LUN_IN(0, request_id)); request_id 346 drivers/scsi/3w-sas.c command_packet->sgl_entries__lunh = cpu_to_le16(TW_REQ_LUN_IN((srb->device->lun >> 4), scsi_sg_count(tw_dev->srb[request_id]))); request_id 368 drivers/scsi/3w-sas.c retval = twl_post_command_packet(tw_dev, request_id); request_id 375 drivers/scsi/3w-sas.c static int twl_aen_read_queue(TW_Device_Extension *tw_dev, int request_id) request_id 382 drivers/scsi/3w-sas.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 393 drivers/scsi/3w-sas.c sglist[0].address = tw_dev->generic_buffer_phys[request_id]; request_id 396 drivers/scsi/3w-sas.c tw_dev->srb[request_id] = NULL; request_id 399 drivers/scsi/3w-sas.c if (twl_scsiop_execute_scsi(tw_dev, request_id, cdb, 1, sglist)) { request_id 409 drivers/scsi/3w-sas.c static void twl_aen_sync_time(TW_Device_Extension *tw_dev, int request_id) request_id 418 drivers/scsi/3w-sas.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 422 drivers/scsi/3w-sas.c command_packet->request_id = request_id; request_id 423 drivers/scsi/3w-sas.c command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[request_id]); request_id 429 drivers/scsi/3w-sas.c param = (TW_Param_Apache *)tw_dev->generic_buffer_virt[request_id]; request_id 444 drivers/scsi/3w-sas.c tw_dev->srb[request_id] = NULL; request_id 447 drivers/scsi/3w-sas.c twl_post_command_packet(tw_dev, request_id); request_id 451 drivers/scsi/3w-sas.c static void twl_get_request_id(TW_Device_Extension *tw_dev, int *request_id) request_id 453 drivers/scsi/3w-sas.c *request_id = tw_dev->free_queue[tw_dev->free_head]; request_id 455 drivers/scsi/3w-sas.c tw_dev->state[*request_id] = TW_S_STARTED; request_id 459 drivers/scsi/3w-sas.c static void twl_free_request_id(TW_Device_Extension *tw_dev, int request_id) request_id 461 drivers/scsi/3w-sas.c tw_dev->free_queue[tw_dev->free_tail] = request_id; request_id 462 drivers/scsi/3w-sas.c tw_dev->state[request_id] = TW_S_FINISHED; request_id 467 drivers/scsi/3w-sas.c static int twl_aen_complete(TW_Device_Extension *tw_dev, int request_id) request_id 475 drivers/scsi/3w-sas.c header = (TW_Command_Apache_Header *)tw_dev->generic_buffer_virt[request_id]; request_id 478 drivers/scsi/3w-sas.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 484 drivers/scsi/3w-sas.c if (twl_aen_read_queue(tw_dev, request_id)) request_id 497 drivers/scsi/3w-sas.c twl_aen_sync_time(tw_dev, request_id); request_id 504 drivers/scsi/3w-sas.c if (twl_aen_read_queue(tw_dev, request_id)) request_id 513 drivers/scsi/3w-sas.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 514 drivers/scsi/3w-sas.c twl_free_request_id(tw_dev, request_id); request_id 521 drivers/scsi/3w-sas.c static int twl_poll_response(TW_Device_Extension *tw_dev, int request_id, int seconds) request_id 542 drivers/scsi/3w-sas.c if (TW_RESID_OUT(response) == request_id) request_id 558 drivers/scsi/3w-sas.c int request_id = 0; request_id 572 drivers/scsi/3w-sas.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 583 drivers/scsi/3w-sas.c sglist[0].address = tw_dev->generic_buffer_phys[request_id]; request_id 586 drivers/scsi/3w-sas.c tw_dev->srb[request_id] = NULL; request_id 590 drivers/scsi/3w-sas.c if (twl_scsiop_execute_scsi(tw_dev, request_id, cdb, 1, sglist)) { request_id 596 drivers/scsi/3w-sas.c if (twl_poll_response(tw_dev, request_id, 30)) { request_id 603 drivers/scsi/3w-sas.c header = (TW_Command_Apache_Header *)tw_dev->generic_buffer_virt[request_id]; request_id 637 drivers/scsi/3w-sas.c tw_dev->state[request_id] = TW_S_INITIAL; request_id 679 drivers/scsi/3w-sas.c static void twl_load_sgl(TW_Device_Extension *tw_dev, TW_Command_Full *full_command_packet, int request_id, dma_addr_t dma_handle, int length) request_id 692 drivers/scsi/3w-sas.c cpu_to_le16(TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->request_id__lunl), request_id)); request_id 701 drivers/scsi/3w-sas.c oldcommand->request_id = request_id; request_id 721 drivers/scsi/3w-sas.c int request_id = 0; request_id 768 drivers/scsi/3w-sas.c twl_get_request_id(tw_dev, &request_id); request_id 771 drivers/scsi/3w-sas.c tw_dev->srb[request_id] = NULL; request_id 774 drivers/scsi/3w-sas.c tw_dev->chrdev_request_id = request_id; request_id 779 drivers/scsi/3w-sas.c twl_load_sgl(tw_dev, full_command_packet, request_id, dma_handle, data_buffer_length_adjusted); request_id 781 drivers/scsi/3w-sas.c memcpy(tw_dev->command_packet_virt[request_id], &(tw_ioctl->firmware_command), sizeof(TW_Command_Full)); request_id 784 drivers/scsi/3w-sas.c twl_post_command_packet(tw_dev, request_id); request_id 804 drivers/scsi/3w-sas.c memcpy(&(tw_ioctl->firmware_command), tw_dev->command_packet_virt[request_id], sizeof(TW_Command_Full)); request_id 809 drivers/scsi/3w-sas.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 810 drivers/scsi/3w-sas.c twl_free_request_id(tw_dev, request_id); request_id 860 drivers/scsi/3w-sas.c static int twl_fill_sense(TW_Device_Extension *tw_dev, int i, int request_id, int copy_sense, int print_host) request_id 869 drivers/scsi/3w-sas.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 893 drivers/scsi/3w-sas.c memcpy(tw_dev->srb[request_id]->sense_buffer, header->sense_data, TW_SENSE_DATA_LENGTH); request_id 894 drivers/scsi/3w-sas.c tw_dev->srb[request_id]->result = (full_command_packet->command.newcommand.status << 1); request_id 927 drivers/scsi/3w-sas.c static void *twl_get_param(TW_Device_Extension *tw_dev, int request_id, int table_id, int parameter_id, int parameter_size_bytes) request_id 935 drivers/scsi/3w-sas.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 941 drivers/scsi/3w-sas.c command_packet->request_id = request_id; request_id 945 drivers/scsi/3w-sas.c param = (TW_Param_Apache *)tw_dev->generic_buffer_virt[request_id]; request_id 951 drivers/scsi/3w-sas.c command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[request_id]); request_id 955 drivers/scsi/3w-sas.c twl_post_command_packet(tw_dev, request_id); request_id 958 drivers/scsi/3w-sas.c if (twl_poll_response(tw_dev, request_id, 30)) request_id 964 drivers/scsi/3w-sas.c tw_dev->state[request_id] = TW_S_INITIAL; request_id 983 drivers/scsi/3w-sas.c int request_id = 0, retval = 1; request_id 986 drivers/scsi/3w-sas.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 992 drivers/scsi/3w-sas.c tw_initconnect->request_id = request_id; request_id 1011 drivers/scsi/3w-sas.c twl_post_command_packet(tw_dev, request_id); request_id 1014 drivers/scsi/3w-sas.c if (twl_poll_response(tw_dev, request_id, 30)) { request_id 1028 drivers/scsi/3w-sas.c tw_dev->state[request_id] = TW_S_INITIAL; request_id 1086 drivers/scsi/3w-sas.c u32 request_id, doorbell; request_id 1100 drivers/scsi/3w-sas.c twl_get_request_id(tw_dev, &request_id); request_id 1101 drivers/scsi/3w-sas.c if (twl_aen_read_queue(tw_dev, request_id)) { request_id 1102 drivers/scsi/3w-sas.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 1103 drivers/scsi/3w-sas.c twl_free_request_id(tw_dev, request_id); request_id 1126 drivers/scsi/3w-sas.c u32 reg, regl, regh, response, request_id = 0; request_id 1169 drivers/scsi/3w-sas.c request_id = le16_to_cpu(tw_dev->sense_buffer_virt[i]->header_desc.request_id); request_id 1170 drivers/scsi/3w-sas.c if (tw_dev->srb[request_id] != NULL) request_id 1171 drivers/scsi/3w-sas.c error = twl_fill_sense(tw_dev, i, request_id, 1, 1); request_id 1174 drivers/scsi/3w-sas.c if (request_id != tw_dev->chrdev_request_id) request_id 1175 drivers/scsi/3w-sas.c error = twl_fill_sense(tw_dev, i, request_id, 0, 1); request_id 1177 drivers/scsi/3w-sas.c memcpy(tw_dev->command_packet_virt[request_id], tw_dev->sense_buffer_virt[i], sizeof(TW_Command_Apache_Header)); request_id 1187 drivers/scsi/3w-sas.c request_id = TW_RESID_OUT(response); request_id 1189 drivers/scsi/3w-sas.c full_command_packet = tw_dev->command_packet_virt[request_id]; request_id 1192 drivers/scsi/3w-sas.c if (tw_dev->state[request_id] != TW_S_POSTED) { request_id 1193 drivers/scsi/3w-sas.c if (tw_dev->srb[request_id] != NULL) { request_id 1201 drivers/scsi/3w-sas.c if (tw_dev->srb[request_id] == NULL) { request_id 1202 drivers/scsi/3w-sas.c if (request_id != tw_dev->chrdev_request_id) { request_id 1203 drivers/scsi/3w-sas.c if (twl_aen_complete(tw_dev, request_id)) request_id 1210 drivers/scsi/3w-sas.c cmd = tw_dev->srb[request_id]; request_id 1217 drivers/scsi/3w-sas.c if (full_command_packet->command.newcommand.sg_list[0].length < scsi_bufflen(tw_dev->srb[request_id])) request_id 1224 drivers/scsi/3w-sas.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 1225 drivers/scsi/3w-sas.c twl_free_request_id(tw_dev, request_id); request_id 1462 drivers/scsi/3w-sas.c int request_id, retval; request_id 1475 drivers/scsi/3w-sas.c twl_get_request_id(tw_dev, &request_id); request_id 1478 drivers/scsi/3w-sas.c tw_dev->srb[request_id] = SCpnt; request_id 1480 drivers/scsi/3w-sas.c retval = twl_scsiop_execute_scsi(tw_dev, request_id, NULL, 0, NULL); request_id 1482 drivers/scsi/3w-sas.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 1483 drivers/scsi/3w-sas.c twl_free_request_id(tw_dev, request_id); request_id 170 drivers/scsi/3w-sas.h #define TW_REQ_LUN_IN(lun, request_id) (((lun << 12) & 0xf000) | (request_id & 0xfff)) request_id 217 drivers/scsi/3w-sas.h unsigned char request_id; request_id 265 drivers/scsi/3w-sas.h unsigned short request_id; request_id 283 drivers/scsi/3w-sas.h unsigned char request_id; request_id 357 drivers/scsi/3w-xxxx.c static int tw_post_command_packet(TW_Device_Extension *tw_dev, int request_id) request_id 363 drivers/scsi/3w-xxxx.c command_que_value = tw_dev->command_packet_physical_address[request_id]; request_id 374 drivers/scsi/3w-xxxx.c tw_dev->state[request_id] = TW_S_POSTED; request_id 381 drivers/scsi/3w-xxxx.c if (tw_dev->state[request_id] != TW_S_PENDING) { request_id 382 drivers/scsi/3w-xxxx.c tw_dev->state[request_id] = TW_S_PENDING; request_id 387 drivers/scsi/3w-xxxx.c tw_dev->pending_queue[tw_dev->pending_tail] = request_id; request_id 401 drivers/scsi/3w-xxxx.c static int tw_decode_sense(TW_Device_Extension *tw_dev, int request_id, int fill_sense) request_id 407 drivers/scsi/3w-xxxx.c command = (TW_Command *)tw_dev->command_packet_virtual_address[request_id]; request_id 418 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->sense_buffer[0] = (0x1 << 7 | 0x70); request_id 421 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->sense_buffer[2] = tw_sense_table[i][1]; request_id 424 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->sense_buffer[7] = 0xa; /* 10 bytes */ request_id 427 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->sense_buffer[12] = tw_sense_table[i][2]; request_id 430 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->sense_buffer[13] = tw_sense_table[i][3]; request_id 432 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->result = (DID_OK << 16) | (CHECK_CONDITION << 1); request_id 474 drivers/scsi/3w-xxxx.c static void tw_state_request_finish(TW_Device_Extension *tw_dev, int request_id) request_id 476 drivers/scsi/3w-xxxx.c tw_dev->free_queue[tw_dev->free_tail] = request_id; request_id 477 drivers/scsi/3w-xxxx.c tw_dev->state[request_id] = TW_S_FINISHED; request_id 482 drivers/scsi/3w-xxxx.c static void tw_state_request_start(TW_Device_Extension *tw_dev, int *request_id) request_id 484 drivers/scsi/3w-xxxx.c *request_id = tw_dev->free_queue[tw_dev->free_head]; request_id 486 drivers/scsi/3w-xxxx.c tw_dev->state[*request_id] = TW_S_STARTED; request_id 541 drivers/scsi/3w-xxxx.c static int tw_aen_read_queue(TW_Device_Extension *tw_dev, int request_id) request_id 557 drivers/scsi/3w-xxxx.c if (tw_dev->command_packet_virtual_address[request_id] == NULL) { request_id 561 drivers/scsi/3w-xxxx.c command_packet = (TW_Command *)tw_dev->command_packet_virtual_address[request_id]; request_id 565 drivers/scsi/3w-xxxx.c command_packet->request_id = request_id; request_id 569 drivers/scsi/3w-xxxx.c command_que_value = tw_dev->command_packet_physical_address[request_id]; request_id 575 drivers/scsi/3w-xxxx.c if (tw_dev->alignment_virtual_address[request_id] == NULL) { request_id 579 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; request_id 584 drivers/scsi/3w-xxxx.c param_value = tw_dev->alignment_physical_address[request_id]; request_id 595 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id] = NULL; /* Flag internal command */ request_id 596 drivers/scsi/3w-xxxx.c tw_dev->state[request_id] = TW_S_POSTED; request_id 607 drivers/scsi/3w-xxxx.c static int tw_aen_complete(TW_Device_Extension *tw_dev, int request_id) request_id 614 drivers/scsi/3w-xxxx.c if (tw_dev->alignment_virtual_address[request_id] == NULL) { request_id 618 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; request_id 656 drivers/scsi/3w-xxxx.c error = tw_aen_read_queue(tw_dev, request_id); request_id 659 drivers/scsi/3w-xxxx.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 660 drivers/scsi/3w-xxxx.c tw_state_request_finish(tw_dev, request_id); request_id 663 drivers/scsi/3w-xxxx.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 664 drivers/scsi/3w-xxxx.c tw_state_request_finish(tw_dev, request_id); request_id 675 drivers/scsi/3w-xxxx.c int request_id = 0; request_id 698 drivers/scsi/3w-xxxx.c if (tw_dev->command_packet_virtual_address[request_id] == NULL) { request_id 702 drivers/scsi/3w-xxxx.c command_packet = (TW_Command *)tw_dev->command_packet_virtual_address[request_id]; request_id 706 drivers/scsi/3w-xxxx.c command_packet->request_id = request_id; request_id 710 drivers/scsi/3w-xxxx.c command_que_value = tw_dev->command_packet_physical_address[request_id]; request_id 717 drivers/scsi/3w-xxxx.c if (tw_dev->alignment_virtual_address[request_id] == NULL) { request_id 721 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; request_id 726 drivers/scsi/3w-xxxx.c param_value = tw_dev->alignment_physical_address[request_id]; request_id 742 drivers/scsi/3w-xxxx.c request_id = TW_RESID_OUT(response_queue.response_id); request_id 744 drivers/scsi/3w-xxxx.c if (request_id != 0) { request_id 753 drivers/scsi/3w-xxxx.c tw_decode_sense(tw_dev, request_id, 0); request_id 875 drivers/scsi/3w-xxxx.c int request_id; request_id 954 drivers/scsi/3w-xxxx.c tw_state_request_start(tw_dev, &request_id); request_id 957 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id] = NULL; request_id 960 drivers/scsi/3w-xxxx.c tw_dev->chrdev_request_id = request_id; request_id 962 drivers/scsi/3w-xxxx.c tw_ioctl->firmware_command.request_id = request_id; request_id 980 drivers/scsi/3w-xxxx.c memcpy(tw_dev->command_packet_virtual_address[request_id], &(tw_ioctl->firmware_command), sizeof(TW_Command)); request_id 983 drivers/scsi/3w-xxxx.c tw_post_command_packet(tw_dev, request_id); request_id 1003 drivers/scsi/3w-xxxx.c memcpy(&(tw_ioctl->firmware_command), tw_dev->command_packet_virtual_address[request_id], sizeof(TW_Command)); request_id 1008 drivers/scsi/3w-xxxx.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 1009 drivers/scsi/3w-xxxx.c tw_state_request_finish(tw_dev, request_id); request_id 1085 drivers/scsi/3w-xxxx.c int request_id = 0; request_id 1090 drivers/scsi/3w-xxxx.c if (tw_dev->command_packet_virtual_address[request_id] == NULL) { request_id 1095 drivers/scsi/3w-xxxx.c command_packet = (TW_Command *)tw_dev->command_packet_virtual_address[request_id]; request_id 1099 drivers/scsi/3w-xxxx.c command_packet->request_id = request_id; request_id 1104 drivers/scsi/3w-xxxx.c command_que_value = tw_dev->command_packet_physical_address[request_id]; request_id 1117 drivers/scsi/3w-xxxx.c request_id = TW_RESID_OUT(response_queue.response_id); request_id 1119 drivers/scsi/3w-xxxx.c if (request_id != 0) { request_id 1126 drivers/scsi/3w-xxxx.c tw_decode_sense(tw_dev, request_id, 0); request_id 1140 drivers/scsi/3w-xxxx.c int request_id = 0; request_id 1145 drivers/scsi/3w-xxxx.c if (tw_dev->command_packet_virtual_address[request_id] == NULL) { request_id 1149 drivers/scsi/3w-xxxx.c command_packet = (TW_Command *)tw_dev->command_packet_virtual_address[request_id]; request_id 1151 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; request_id 1159 drivers/scsi/3w-xxxx.c param_value = tw_dev->alignment_physical_address[request_id]; request_id 1162 drivers/scsi/3w-xxxx.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 1163 drivers/scsi/3w-xxxx.c tw_state_request_finish(tw_dev, request_id); request_id 1164 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->result = (DID_OK << 16); request_id 1165 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->scsi_done(tw_dev->srb[request_id]); request_id 1171 drivers/scsi/3w-xxxx.c command_packet->request_id = request_id; request_id 1174 drivers/scsi/3w-xxxx.c command_que_value = tw_dev->command_packet_physical_address[request_id]; request_id 1186 drivers/scsi/3w-xxxx.c request_id = TW_RESID_OUT(response_queue.response_id); request_id 1188 drivers/scsi/3w-xxxx.c if (request_id != 0) { request_id 1195 drivers/scsi/3w-xxxx.c tw_decode_sense(tw_dev, request_id, 0); request_id 1400 drivers/scsi/3w-xxxx.c static int tw_scsiop_inquiry(TW_Device_Extension *tw_dev, int request_id) request_id 1410 drivers/scsi/3w-xxxx.c command_packet = (TW_Command *)tw_dev->command_packet_virtual_address[request_id]; request_id 1418 drivers/scsi/3w-xxxx.c command_packet->request_id = request_id; request_id 1424 drivers/scsi/3w-xxxx.c if (tw_dev->alignment_virtual_address[request_id] == NULL) { request_id 1428 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; request_id 1433 drivers/scsi/3w-xxxx.c param_value = tw_dev->alignment_physical_address[request_id]; request_id 1441 drivers/scsi/3w-xxxx.c command_que_value = tw_dev->command_packet_physical_address[request_id]; request_id 1448 drivers/scsi/3w-xxxx.c tw_post_command_packet(tw_dev, request_id); request_id 1453 drivers/scsi/3w-xxxx.c static void tw_transfer_internal(TW_Device_Extension *tw_dev, int request_id, request_id 1456 drivers/scsi/3w-xxxx.c scsi_sg_copy_from_buffer(tw_dev->srb[request_id], data, len); request_id 1460 drivers/scsi/3w-xxxx.c static int tw_scsiop_inquiry_complete(TW_Device_Extension *tw_dev, int request_id) request_id 1474 drivers/scsi/3w-xxxx.c sprintf(&request_buffer[16], "Logical Disk %-2d ", tw_dev->srb[request_id]->device->id); request_id 1476 drivers/scsi/3w-xxxx.c tw_transfer_internal(tw_dev, request_id, request_buffer, request_id 1479 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; request_id 1486 drivers/scsi/3w-xxxx.c if (is_unit_present[tw_dev->srb[request_id]->device->id] & TW_UNIT_ONLINE) { request_id 1487 drivers/scsi/3w-xxxx.c tw_dev->is_unit_present[tw_dev->srb[request_id]->device->id] = 1; request_id 1489 drivers/scsi/3w-xxxx.c tw_dev->is_unit_present[tw_dev->srb[request_id]->device->id] = 0; request_id 1490 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->result = (DID_BAD_TARGET << 16); request_id 1498 drivers/scsi/3w-xxxx.c static int tw_scsiop_mode_sense(TW_Device_Extension *tw_dev, int request_id) request_id 1508 drivers/scsi/3w-xxxx.c if (tw_dev->srb[request_id]->cmnd[2] != 0x8) { request_id 1509 drivers/scsi/3w-xxxx.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 1510 drivers/scsi/3w-xxxx.c tw_state_request_finish(tw_dev, request_id); request_id 1511 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->result = (DID_OK << 16); request_id 1512 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->scsi_done(tw_dev->srb[request_id]); request_id 1517 drivers/scsi/3w-xxxx.c command_packet = (TW_Command *)tw_dev->command_packet_virtual_address[request_id]; request_id 1527 drivers/scsi/3w-xxxx.c command_packet->request_id = request_id; request_id 1533 drivers/scsi/3w-xxxx.c if (tw_dev->alignment_virtual_address[request_id] == NULL) { request_id 1538 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; request_id 1540 drivers/scsi/3w-xxxx.c param->table_id = TW_UNIT_INFORMATION_TABLE_BASE + tw_dev->srb[request_id]->device->id; request_id 1543 drivers/scsi/3w-xxxx.c param_value = tw_dev->alignment_physical_address[request_id]; request_id 1551 drivers/scsi/3w-xxxx.c command_que_value = tw_dev->command_packet_physical_address[request_id]; request_id 1558 drivers/scsi/3w-xxxx.c tw_post_command_packet(tw_dev, request_id); request_id 1564 drivers/scsi/3w-xxxx.c static int tw_scsiop_mode_sense_complete(TW_Device_Extension *tw_dev, int request_id) request_id 1572 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; request_id 1590 drivers/scsi/3w-xxxx.c tw_transfer_internal(tw_dev, request_id, request_buffer, request_id 1597 drivers/scsi/3w-xxxx.c static int tw_scsiop_read_capacity(TW_Device_Extension *tw_dev, int request_id) request_id 1607 drivers/scsi/3w-xxxx.c command_packet = (TW_Command *)tw_dev->command_packet_virtual_address[request_id]; request_id 1616 drivers/scsi/3w-xxxx.c command_packet->request_id = request_id; request_id 1617 drivers/scsi/3w-xxxx.c command_packet->unit__hostid = TW_UNITHOST_IN(0, tw_dev->srb[request_id]->device->id); request_id 1623 drivers/scsi/3w-xxxx.c if (tw_dev->alignment_virtual_address[request_id] == NULL) { request_id 1627 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; request_id 1630 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->device->id; request_id 1633 drivers/scsi/3w-xxxx.c param_value = tw_dev->alignment_physical_address[request_id]; request_id 1641 drivers/scsi/3w-xxxx.c command_que_value = tw_dev->command_packet_physical_address[request_id]; request_id 1648 drivers/scsi/3w-xxxx.c tw_post_command_packet(tw_dev, request_id); request_id 1654 drivers/scsi/3w-xxxx.c static int tw_scsiop_read_capacity_complete(TW_Device_Extension *tw_dev, int request_id) request_id 1664 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; request_id 1691 drivers/scsi/3w-xxxx.c tw_transfer_internal(tw_dev, request_id, buff, sizeof(buff)); request_id 1697 drivers/scsi/3w-xxxx.c static int tw_scsiop_read_write(TW_Device_Extension *tw_dev, int request_id) request_id 1708 drivers/scsi/3w-xxxx.c srb = tw_dev->srb[request_id]; request_id 1717 drivers/scsi/3w-xxxx.c command_packet = (TW_Command *)tw_dev->command_packet_virtual_address[request_id]; request_id 1730 drivers/scsi/3w-xxxx.c command_packet->request_id = request_id; request_id 1761 drivers/scsi/3w-xxxx.c scsi_for_each_sg(tw_dev->srb[request_id], sg, use_sg, i) { request_id 1768 drivers/scsi/3w-xxxx.c tw_dev->sgl_entries = scsi_sg_count(tw_dev->srb[request_id]); request_id 1772 drivers/scsi/3w-xxxx.c command_que_value = tw_dev->command_packet_physical_address[request_id]; request_id 1779 drivers/scsi/3w-xxxx.c tw_post_command_packet(tw_dev, request_id); request_id 1785 drivers/scsi/3w-xxxx.c static int tw_scsiop_request_sense(TW_Device_Extension *tw_dev, int request_id) request_id 1795 drivers/scsi/3w-xxxx.c tw_transfer_internal(tw_dev, request_id, request_buffer, request_id 1798 drivers/scsi/3w-xxxx.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 1799 drivers/scsi/3w-xxxx.c tw_state_request_finish(tw_dev, request_id); request_id 1802 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->result = (DID_ERROR << 16); request_id 1803 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->scsi_done(tw_dev->srb[request_id]); request_id 1809 drivers/scsi/3w-xxxx.c static int tw_scsiop_synchronize_cache(TW_Device_Extension *tw_dev, int request_id) request_id 1817 drivers/scsi/3w-xxxx.c command_packet = (TW_Command *)tw_dev->command_packet_virtual_address[request_id]; request_id 1827 drivers/scsi/3w-xxxx.c command_packet->request_id = request_id; request_id 1828 drivers/scsi/3w-xxxx.c command_packet->unit__hostid = TW_UNITHOST_IN(0, tw_dev->srb[request_id]->device->id); request_id 1832 drivers/scsi/3w-xxxx.c command_que_value = tw_dev->command_packet_physical_address[request_id]; request_id 1839 drivers/scsi/3w-xxxx.c tw_post_command_packet(tw_dev, request_id); request_id 1845 drivers/scsi/3w-xxxx.c static int tw_scsiop_test_unit_ready(TW_Device_Extension *tw_dev, int request_id) request_id 1855 drivers/scsi/3w-xxxx.c command_packet = (TW_Command *)tw_dev->command_packet_virtual_address[request_id]; request_id 1863 drivers/scsi/3w-xxxx.c command_packet->request_id = request_id; request_id 1869 drivers/scsi/3w-xxxx.c if (tw_dev->alignment_virtual_address[request_id] == NULL) { request_id 1873 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; request_id 1878 drivers/scsi/3w-xxxx.c param_value = tw_dev->alignment_physical_address[request_id]; request_id 1886 drivers/scsi/3w-xxxx.c command_que_value = tw_dev->command_packet_physical_address[request_id]; request_id 1893 drivers/scsi/3w-xxxx.c tw_post_command_packet(tw_dev, request_id); request_id 1899 drivers/scsi/3w-xxxx.c static int tw_scsiop_test_unit_ready_complete(TW_Device_Extension *tw_dev, int request_id) request_id 1906 drivers/scsi/3w-xxxx.c param = (TW_Param *)tw_dev->alignment_virtual_address[request_id]; request_id 1913 drivers/scsi/3w-xxxx.c if (is_unit_present[tw_dev->srb[request_id]->device->id] & TW_UNIT_ONLINE) { request_id 1914 drivers/scsi/3w-xxxx.c tw_dev->is_unit_present[tw_dev->srb[request_id]->device->id] = 1; request_id 1916 drivers/scsi/3w-xxxx.c tw_dev->is_unit_present[tw_dev->srb[request_id]->device->id] = 0; request_id 1917 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->result = (DID_BAD_TARGET << 16); request_id 1928 drivers/scsi/3w-xxxx.c int request_id = 0; request_id 1940 drivers/scsi/3w-xxxx.c tw_state_request_start(tw_dev, &request_id); request_id 1943 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id] = SCpnt; request_id 1951 drivers/scsi/3w-xxxx.c retval = tw_scsiop_read_write(tw_dev, request_id); request_id 1955 drivers/scsi/3w-xxxx.c retval = tw_scsiop_test_unit_ready(tw_dev, request_id); request_id 1959 drivers/scsi/3w-xxxx.c retval = tw_scsiop_inquiry(tw_dev, request_id); request_id 1963 drivers/scsi/3w-xxxx.c retval = tw_scsiop_read_capacity(tw_dev, request_id); request_id 1967 drivers/scsi/3w-xxxx.c retval = tw_scsiop_request_sense(tw_dev, request_id); request_id 1971 drivers/scsi/3w-xxxx.c retval = tw_scsiop_mode_sense(tw_dev, request_id); request_id 1975 drivers/scsi/3w-xxxx.c retval = tw_scsiop_synchronize_cache(tw_dev, request_id); request_id 1982 drivers/scsi/3w-xxxx.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 1983 drivers/scsi/3w-xxxx.c tw_state_request_finish(tw_dev, request_id); request_id 1990 drivers/scsi/3w-xxxx.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 1991 drivers/scsi/3w-xxxx.c tw_state_request_finish(tw_dev, request_id); request_id 2004 drivers/scsi/3w-xxxx.c int request_id; request_id 2047 drivers/scsi/3w-xxxx.c tw_state_request_start(tw_dev, &request_id); request_id 2048 drivers/scsi/3w-xxxx.c error = tw_aen_read_queue(tw_dev, request_id); request_id 2051 drivers/scsi/3w-xxxx.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 2052 drivers/scsi/3w-xxxx.c tw_state_request_finish(tw_dev, request_id); request_id 2060 drivers/scsi/3w-xxxx.c request_id = tw_dev->pending_queue[tw_dev->pending_head]; request_id 2061 drivers/scsi/3w-xxxx.c if (tw_dev->state[request_id] != TW_S_PENDING) { request_id 2065 drivers/scsi/3w-xxxx.c if (tw_post_command_packet(tw_dev, request_id)==0) { request_id 2088 drivers/scsi/3w-xxxx.c request_id = TW_RESID_OUT(response_que.response_id); request_id 2089 drivers/scsi/3w-xxxx.c command_packet = (TW_Command *)tw_dev->command_packet_virtual_address[request_id]; request_id 2095 drivers/scsi/3w-xxxx.c if (tw_dev->srb[request_id] == NULL) { request_id 2096 drivers/scsi/3w-xxxx.c tw_decode_sense(tw_dev, request_id, 0); request_id 2098 drivers/scsi/3w-xxxx.c error = tw_decode_sense(tw_dev, request_id, 1); request_id 2103 drivers/scsi/3w-xxxx.c if (tw_dev->state[request_id] != TW_S_POSTED) { request_id 2104 drivers/scsi/3w-xxxx.c if (tw_dev->srb[request_id] != NULL) { request_id 2110 drivers/scsi/3w-xxxx.c dprintk(KERN_NOTICE "3w-xxxx: tw_interrupt(): Response queue request id: %d.\n", request_id); request_id 2113 drivers/scsi/3w-xxxx.c if (tw_dev->srb[request_id] == NULL) { request_id 2116 drivers/scsi/3w-xxxx.c if (request_id != tw_dev->chrdev_request_id) { request_id 2117 drivers/scsi/3w-xxxx.c retval = tw_aen_complete(tw_dev, request_id); request_id 2126 drivers/scsi/3w-xxxx.c switch (tw_dev->srb[request_id]->cmnd[0]) { request_id 2137 drivers/scsi/3w-xxxx.c error = tw_scsiop_test_unit_ready_complete(tw_dev, request_id); request_id 2141 drivers/scsi/3w-xxxx.c error = tw_scsiop_inquiry_complete(tw_dev, request_id); request_id 2145 drivers/scsi/3w-xxxx.c error = tw_scsiop_read_capacity_complete(tw_dev, request_id); request_id 2149 drivers/scsi/3w-xxxx.c error = tw_scsiop_mode_sense_complete(tw_dev, request_id); request_id 2161 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->result = (DID_OK << 16); request_id 2167 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->result = (DID_OK << 16) | (CHECK_CONDITION << 1); request_id 2172 drivers/scsi/3w-xxxx.c scsi_dma_unmap(tw_dev->srb[request_id]); request_id 2173 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->scsi_done(tw_dev->srb[request_id]); request_id 2174 drivers/scsi/3w-xxxx.c tw_dev->state[request_id] = TW_S_COMPLETED; request_id 2175 drivers/scsi/3w-xxxx.c tw_state_request_finish(tw_dev, request_id); request_id 294 drivers/scsi/3w-xxxx.h unsigned char request_id; request_id 374 drivers/scsi/3w-xxxx.h unsigned char request_id; request_id 196 drivers/scsi/aacraid/aacraid.h __le32 request_id; /* Sender context */ request_id 248 drivers/scsi/aacraid/aacraid.h __le32 request_id; /* Sender context */ request_id 271 drivers/scsi/aacraid/aacraid.h __le32 request_id; /* Sender context */ request_id 728 drivers/scsi/aacraid/commsup.c hbacmd->request_id = request_id 514 drivers/scsi/aacraid/src.c fib->hw_fib_va)->request_id request_id 521 drivers/scsi/aacraid/src.c fib->hw_fib_va)->request_id request_id 529 drivers/scsi/aacraid/src.c fib->hw_fib_va)->request_id request_id 465 drivers/scsi/mvumi.c unsigned short tag, request_id; request_id 469 drivers/scsi/mvumi.c request_id = p_outb_frame->request_id; request_id 478 drivers/scsi/mvumi.c } else if (mhba->tag_cmd[tag]->request_id != request_id && request_id 481 drivers/scsi/mvumi.c "cmd request ID:0x%x\n", request_id, request_id 482 drivers/scsi/mvumi.c mhba->tag_cmd[tag]->request_id); request_id 551 drivers/scsi/mvumi.c p_outb_frame->request_id != request_id 552 drivers/scsi/mvumi.c mhba->tag_cmd[p_outb_frame->tag]->request_id)) request_id 1841 drivers/scsi/mvumi.c cmd->frame->request_id = mhba->io_seq++; request_id 1842 drivers/scsi/mvumi.c cmd->request_id = cmd->frame->request_id; request_id 253 drivers/scsi/mvumi.h unsigned short request_id; request_id 270 drivers/scsi/mvumi.h u16 request_id; request_id 287 drivers/scsi/mvumi.h u16 request_id; request_id 143 drivers/scsi/smartpqi/smartpqi.h __le16 request_id; request_id 201 drivers/scsi/smartpqi/smartpqi.h __le16 request_id; request_id 262 drivers/scsi/smartpqi/smartpqi.h __le16 request_id; request_id 286 drivers/scsi/smartpqi/smartpqi.h __le16 request_id; request_id 314 drivers/scsi/smartpqi/smartpqi.h __le16 request_id; request_id 321 drivers/scsi/smartpqi/smartpqi.h __le16 request_id; request_id 386 drivers/scsi/smartpqi/smartpqi.h __le16 request_id; request_id 402 drivers/scsi/smartpqi/smartpqi.h __le16 request_id; request_id 410 drivers/scsi/smartpqi/smartpqi.h __le16 request_id; request_id 429 drivers/scsi/smartpqi/smartpqi.h __le16 request_id; request_id 2914 drivers/scsi/smartpqi/smartpqi_init.c u16 request_id; request_id 2928 drivers/scsi/smartpqi/smartpqi_init.c request_id = get_unaligned_le16(&response->request_id); request_id 2929 drivers/scsi/smartpqi/smartpqi_init.c WARN_ON(request_id >= ctrl_info->max_io_slots); request_id 2931 drivers/scsi/smartpqi/smartpqi_init.c io_request = &ctrl_info->io_request_pool[request_id]; request_id 4069 drivers/scsi/smartpqi/smartpqi_init.c &(((struct pqi_raid_path_request *)request)->request_id)); request_id 4073 drivers/scsi/smartpqi/smartpqi_init.c ((struct pqi_raid_path_request *)request)->request_id; request_id 4946 drivers/scsi/smartpqi/smartpqi_init.c put_unaligned_le16(io_request->index, &request->request_id); request_id 4947 drivers/scsi/smartpqi/smartpqi_init.c request->error_index = request->request_id; request_id 5234 drivers/scsi/smartpqi/smartpqi_init.c put_unaligned_le16(io_request->index, &request->request_id); request_id 5235 drivers/scsi/smartpqi/smartpqi_init.c request->error_index = request->request_id; request_id 5657 drivers/scsi/smartpqi/smartpqi_init.c put_unaligned_le16(io_request->index, &request->request_id); request_id 8608 drivers/scsi/smartpqi/smartpqi_init.c request_id) != 8); request_id 8664 drivers/scsi/smartpqi/smartpqi_init.c request_id) != 8); request_id 8688 drivers/scsi/smartpqi/smartpqi_init.c request_id) != 8); request_id 8715 drivers/scsi/smartpqi/smartpqi_init.c request_id) != 8); request_id 8746 drivers/scsi/smartpqi/smartpqi_init.c request_id) != 8); request_id 8757 drivers/scsi/smartpqi/smartpqi_init.c request_id) != 8); request_id 8852 drivers/scsi/smartpqi/smartpqi_init.c request_id) != 8); request_id 8872 drivers/scsi/smartpqi/smartpqi_init.c request_id) != 8); request_id 654 drivers/staging/greybus/camera.c static int gb_camera_capture(struct gb_camera *gcam, u32 request_id, request_id 670 drivers/staging/greybus/camera.c req->request_id = cpu_to_le32(request_id); request_id 693 drivers/staging/greybus/camera.c static int gb_camera_flush(struct gb_camera *gcam, u32 *request_id) request_id 711 drivers/staging/greybus/camera.c if (request_id) request_id 712 drivers/staging/greybus/camera.c *request_id = le32_to_cpu(resp.request_id); request_id 742 drivers/staging/greybus/camera.c payload->request_id, payload->frame_number, payload->stream); request_id 843 drivers/staging/greybus/camera.c static int gb_camera_op_capture(void *priv, u32 request_id, request_id 849 drivers/staging/greybus/camera.c return gb_camera_capture(gcam, request_id, streams, num_frames, request_id 853 drivers/staging/greybus/camera.c static int gb_camera_op_flush(void *priv, u32 *request_id) request_id 857 drivers/staging/greybus/camera.c return gb_camera_flush(gcam, request_id); request_id 1004 drivers/staging/greybus/camera.c unsigned int request_id; request_id 1014 drivers/staging/greybus/camera.c ret = kstrtouint(token, 10, &request_id); request_id 1034 drivers/staging/greybus/camera.c ret = gb_camera_capture(gcam, request_id, streams_mask, num_frames, 0, request_id 174 drivers/staging/greybus/fw-management.c request.request_id = ret; request_id 214 drivers/staging/greybus/fw-management.c if (request->request_id != fw_mgmt->intf_fw_request_id) { request_id 216 drivers/staging/greybus/fw-management.c fw_mgmt->intf_fw_request_id, request->request_id); request_id 324 drivers/staging/greybus/fw-management.c request.request_id = ret; request_id 363 drivers/staging/greybus/fw-management.c if (request->request_id != fw_mgmt->backend_fw_request_id) { request_id 365 drivers/staging/greybus/fw-management.c fw_mgmt->backend_fw_request_id, request->request_id); request_id 94 drivers/staging/greybus/gb-camera.h int (*capture)(void *priv, u32 request_id, request_id 97 drivers/staging/greybus/gb-camera.h int (*flush)(void *priv, u32 *request_id); request_id 234 drivers/video/fbdev/hyperv_fb.c static atomic64_t request_id = ATOMIC64_INIT(0); request_id 242 drivers/video/fbdev/hyperv_fb.c atomic64_inc_return(&request_id), request_id 287 include/linux/greybus/greybus_protocols.h __u8 request_id; request_id 295 include/linux/greybus/greybus_protocols.h __u8 request_id; request_id 315 include/linux/greybus/greybus_protocols.h __u8 request_id; request_id 322 include/linux/greybus/greybus_protocols.h __u8 request_id; request_id 1601 include/linux/greybus/greybus_protocols.h __le32 request_id; request_id 1610 include/linux/greybus/greybus_protocols.h __le32 request_id; request_id 1615 include/linux/greybus/greybus_protocols.h __le32 request_id; request_id 41 include/linux/usb/rndis_host.h __le32 request_id; request_id 75 include/linux/usb/rndis_host.h __le32 request_id; request_id 85 include/linux/usb/rndis_host.h __le32 request_id; request_id 102 include/linux/usb/rndis_host.h __le32 request_id; request_id 109 include/linux/usb/rndis_host.h __le32 request_id; request_id 120 include/linux/usb/rndis_host.h __le32 request_id; request_id 130 include/linux/usb/rndis_host.h __le32 request_id; request_id 141 include/linux/usb/rndis_host.h __le32 request_id; request_id 176 include/linux/usb/rndis_host.h __le32 request_id; request_id 183 include/linux/usb/rndis_host.h __le32 request_id; request_id 181 include/media/media-device.h atomic_t request_id; request_id 29 include/uapi/linux/atmmpc.h __u32 request_id; request_id 50 include/uapi/linux/uinput.h __u32 request_id; request_id 57 include/uapi/linux/uinput.h __u32 request_id; request_id 301 net/ncsi/internal.h unsigned int request_id; /* Last used request ID */ request_id 354 net/ncsi/ncsi-manage.c for (i = ndp->request_id; i < limit; i++) { request_id 361 net/ncsi/ncsi-manage.c ndp->request_id = i + 1; request_id 366 net/ncsi/ncsi-manage.c for (i = NCSI_REQ_START_IDX; i < ndp->request_id; i++) { request_id 373 net/ncsi/ncsi-manage.c ndp->request_id = i + 1; request_id 1653 net/ncsi/ncsi-manage.c ndp->request_id = NCSI_REQ_START_IDX;