Home
last modified time | relevance | path

Searched refs:request_id (Results 1 – 25 of 27) sorted by relevance

12

/drivers/scsi/
D3w-xxxx.c357 static int tw_post_command_packet(TW_Device_Extension *tw_dev, int request_id) in tw_post_command_packet() argument
363 command_que_value = tw_dev->command_packet_physical_address[request_id]; in tw_post_command_packet()
374 tw_dev->state[request_id] = TW_S_POSTED; in tw_post_command_packet()
381 if (tw_dev->state[request_id] != TW_S_PENDING) { in tw_post_command_packet()
382 tw_dev->state[request_id] = TW_S_PENDING; in tw_post_command_packet()
387 tw_dev->pending_queue[tw_dev->pending_tail] = request_id; in tw_post_command_packet()
401 static int tw_decode_sense(TW_Device_Extension *tw_dev, int request_id, int fill_sense) in tw_decode_sense() argument
407 command = (TW_Command *)tw_dev->command_packet_virtual_address[request_id]; in tw_decode_sense()
418 tw_dev->srb[request_id]->sense_buffer[0] = (0x1 << 7 | 0x70); in tw_decode_sense()
421 tw_dev->srb[request_id]->sense_buffer[2] = tw_sense_table[i][1]; in tw_decode_sense()
[all …]
D3w-sas.c269 static int twl_post_command_packet(TW_Device_Extension *tw_dev, int request_id) in twl_post_command_packet() argument
273 command_que_value = tw_dev->command_packet_phys[request_id]; in twl_post_command_packet()
281 tw_dev->state[request_id] = TW_S_POSTED; in twl_post_command_packet()
290 static int twl_scsiop_execute_scsi(TW_Device_Extension *tw_dev, int request_id, in twl_scsiop_execute_scsi() argument
301 if (tw_dev->srb[request_id]) { in twl_scsiop_execute_scsi()
302 srb = tw_dev->srb[request_id]; in twl_scsiop_execute_scsi()
308 full_command_packet = tw_dev->command_packet_virt[request_id]; in twl_scsiop_execute_scsi()
326 cpu_to_le16(TW_REQ_LUN_IN(srb->device->lun, request_id)); in twl_scsiop_execute_scsi()
329 cpu_to_le16(TW_REQ_LUN_IN(0, request_id)); in twl_scsiop_execute_scsi()
346 …lunh = cpu_to_le16(TW_REQ_LUN_IN((srb->device->lun >> 4), scsi_sg_count(tw_dev->srb[request_id]))); in twl_scsiop_execute_scsi()
[all …]
D3w-9xxx.c122 static int twa_aen_read_queue(TW_Device_Extension *tw_dev, int request_id);
124 static void twa_aen_sync_time(TW_Device_Extension *tw_dev, int request_id);
127 static int twa_fill_sense(TW_Device_Extension *tw_dev, int request_id, int copy_sense, int print_ho…
128 static void twa_free_request_id(TW_Device_Extension *tw_dev,int request_id);
129 static void twa_get_request_id(TW_Device_Extension *tw_dev, int *request_id);
140 …TW_Device_Extension *tw_dev, TW_Command_Full *full_command_packet, int request_id, dma_addr_t dma_…
141 static int twa_poll_response(TW_Device_Extension *tw_dev, int request_id, int seconds);
143 static int twa_post_command_packet(TW_Device_Extension *tw_dev, int request_id, char internal);
146 static int twa_scsiop_execute_scsi(TW_Device_Extension *tw_dev, int request_id,
149 static void twa_scsiop_execute_scsi_complete(TW_Device_Extension *tw_dev, int request_id);
[all …]
D3w-sas.h170 #define TW_REQ_LUN_IN(lun, request_id) (((lun << 12) & 0xf000) | (request_id & 0xfff)) argument
217 unsigned char request_id; member
265 unsigned short request_id; member
283 unsigned char request_id; member
D3w-9xxx.h437 #define TW_REQ_LUN_IN(lun, request_id) (((lun << 12) & 0xf000) | (request_id & 0xfff)) argument
486 unsigned char request_id; member
552 unsigned char request_id; member
Dmvumi.h253 unsigned short request_id; member
270 u16 request_id; member
287 u16 request_id; member
D3w-xxxx.h294 unsigned char request_id; member
374 unsigned char request_id; member
Dmvumi.c465 unsigned short tag, request_id; in mvumi_check_ob_frame() local
469 request_id = p_outb_frame->request_id; in mvumi_check_ob_frame()
478 } else if (mhba->tag_cmd[tag]->request_id != request_id && in mvumi_check_ob_frame()
481 "cmd request ID:0x%x\n", request_id, in mvumi_check_ob_frame()
482 mhba->tag_cmd[tag]->request_id); in mvumi_check_ob_frame()
551 p_outb_frame->request_id != in mvumi_receive_ob_list_entry()
552 mhba->tag_cmd[p_outb_frame->tag]->request_id)) in mvumi_receive_ob_list_entry()
1841 cmd->frame->request_id = mhba->io_seq++; in mvumi_send_command()
1842 cmd->request_id = cmd->frame->request_id; in mvumi_send_command()
/drivers/net/wireless/intel/iwlwifi/fw/api/
Dlocation.h791 u8 request_id; member
830 u8 request_id; member
862 u8 request_id; member
892 u8 request_id; member
920 u8 request_id; member
1236 u8 request_id; member
1252 u8 request_id; member
1268 u8 request_id; member
1284 u8 request_id; member
1316 u8 request_id; member
/drivers/staging/greybus/
Dcamera.c654 static int gb_camera_capture(struct gb_camera *gcam, u32 request_id, in gb_camera_capture() argument
670 req->request_id = cpu_to_le32(request_id); in gb_camera_capture()
693 static int gb_camera_flush(struct gb_camera *gcam, u32 *request_id) in gb_camera_flush() argument
711 if (request_id) in gb_camera_flush()
712 *request_id = le32_to_cpu(resp.request_id); in gb_camera_flush()
742 payload->request_id, payload->frame_number, payload->stream); in gb_camera_request_handler()
843 static int gb_camera_op_capture(void *priv, u32 request_id, in gb_camera_op_capture() argument
849 return gb_camera_capture(gcam, request_id, streams, num_frames, in gb_camera_op_capture()
853 static int gb_camera_op_flush(void *priv, u32 *request_id) in gb_camera_op_flush() argument
857 return gb_camera_flush(gcam, request_id); in gb_camera_op_flush()
[all …]
Dgb-camera.h94 int (*capture)(void *priv, u32 request_id,
97 int (*flush)(void *priv, u32 *request_id);
Dfw-management.c174 request.request_id = ret; in fw_mgmt_load_and_validate_operation()
214 if (request->request_id != fw_mgmt->intf_fw_request_id) { in fw_mgmt_interface_fw_loaded_operation()
216 fw_mgmt->intf_fw_request_id, request->request_id); in fw_mgmt_interface_fw_loaded_operation()
324 request.request_id = ret; in fw_mgmt_backend_fw_update_operation()
363 if (request->request_id != fw_mgmt->backend_fw_request_id) { in fw_mgmt_backend_fw_updated_operation()
365 fw_mgmt->backend_fw_request_id, request->request_id); in fw_mgmt_backend_fw_updated_operation()
/drivers/net/usb/
Drndis_host.c99 u32 xid = 0, msg_len, request_id, msg_type, rsp, in rndis_command() local
113 buf->request_id = (__force __le32) xid; in rndis_command()
154 request_id = (__force u32) buf->request_id; in rndis_command()
156 if (likely(request_id == xid)) { in rndis_command()
169 request_id, xid); in rndis_command()
265 *reply = (unsigned char *) &u.get_c->request_id + off; in rndis_query()
/drivers/scsi/smartpqi/
Dsmartpqi.h143 __le16 request_id; member
201 __le16 request_id; member
262 __le16 request_id; member
288 __le16 request_id; member
316 __le16 request_id; member
323 __le16 request_id; member
388 __le16 request_id; member
405 __le16 request_id; member
413 __le16 request_id; member
432 __le16 request_id; member
Dsmartpqi_init.c2897 u16 request_id; in pqi_process_io_intr() local
2918 request_id = get_unaligned_le16(&response->request_id); in pqi_process_io_intr()
2919 if (request_id >= ctrl_info->max_io_slots) { in pqi_process_io_intr()
2923 request_id, ctrl_info->max_io_slots - 1, oq_pi, oq_ci); in pqi_process_io_intr()
2927 io_request = &ctrl_info->io_request_pool[request_id]; in pqi_process_io_intr()
2932 request_id, oq_pi, oq_ci); in pqi_process_io_intr()
4082 &(((struct pqi_raid_path_request *)request)->request_id)); in pqi_submit_raid_request_synchronous()
4086 ((struct pqi_raid_path_request *)request)->request_id; in pqi_submit_raid_request_synchronous()
4959 put_unaligned_le16(io_request->index, &request->request_id); in pqi_raid_submit_scsi_cmd_with_io_request()
4960 request->error_index = request->request_id; in pqi_raid_submit_scsi_cmd_with_io_request()
[all …]
/drivers/input/misc/
Duinput.c752 __u32 request_id; member
764 ff_up_compat.request_id = ff_up->request_id; in uinput_ff_upload_to_user()
799 ff_up->request_id = ff_up_compat.request_id; in uinput_ff_upload_from_user()
978 req = uinput_request_find(udev, ff_up.request_id); in uinput_ioctl_handler()
1001 req = uinput_request_find(udev, ff_erase.request_id); in uinput_ioctl_handler()
1021 req = uinput_request_find(udev, ff_up.request_id); in uinput_ioctl_handler()
1038 req = uinput_request_find(udev, ff_erase.request_id); in uinput_ioctl_handler()
/drivers/infiniband/hw/mlx4/
Dcm.c75 __be32 request_id; member
89 msg->request_id = cpu_to_be32(cm_id); in set_local_comm_id()
104 return be32_to_cpu(msg->request_id); in get_local_comm_id()
119 msg->request_id = cpu_to_be32(cm_id); in set_remote_comm_id()
134 return be32_to_cpu(msg->request_id); in get_remote_comm_id()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dmsgbuf.c80 __le32 request_id; member
455 request->msg.request_id = cpu_to_le32(BRCMF_IOCTL_REQ_PKTID); in brcmf_msgbuf_tx_ioctl()
624 create->msg.request_id = 0; in brcmf_msgbuf_flowring_create_worker()
745 tx_msghdr->msg.request_id = cpu_to_le32(pktid + 1); in brcmf_msgbuf_txflow()
862 msgbuf->ioctl_resp_pktid = le32_to_cpu(ioctl_resp->msg.request_id); in brcmf_msgbuf_process_ioctl_complete()
882 idx = le32_to_cpu(tx_status->msg.request_id) - 1; in brcmf_msgbuf_process_txstatus()
958 rx_bufpost->msg.request_id = cpu_to_le32(pktid); in brcmf_msgbuf_rxbuf_data_post()
1058 rx_bufpost->msg.request_id = cpu_to_le32(pktid); in brcmf_msgbuf_rxbuf_ctrl_post()
1109 idx = le32_to_cpu(event->msg.request_id); in brcmf_msgbuf_process_event()
1159 idx = le32_to_cpu(rx_complete->msg.request_id); in brcmf_msgbuf_process_rx_complete()
[all …]
/drivers/net/wireless/intel/iwlwifi/mvm/
Dftm-initiator.c265 cmd->request_id = req->cookie; in iwl_mvm_ftm_cmd_v5()
299 cmd->request_id = req->cookie; in iwl_mvm_ftm_cmd_common()
822 .request_id = req->cookie, in iwl_mvm_ftm_abort()
893 static int iwl_mvm_ftm_range_resp_valid(struct iwl_mvm *mvm, u8 request_id, in iwl_mvm_ftm_range_resp_valid() argument
898 if (request_id != (u8)mvm->ftm_initiator.req->cookie) { in iwl_mvm_ftm_range_resp_valid()
900 request_id, (u8)mvm->ftm_initiator.req->cookie); in iwl_mvm_ftm_range_resp_valid()
1057 if (iwl_mvm_ftm_range_resp_valid(mvm, fw_resp_v8->request_id, in iwl_mvm_ftm_range_resp()
1064 if (iwl_mvm_ftm_range_resp_valid(mvm, fw_resp_v5->request_id, in iwl_mvm_ftm_range_resp()
/drivers/media/common/siano/
Dsmsdvb.h75 u32 request_id; member
Dsmscoreapi.h1047 u32 request_id; member
/drivers/scsi/aacraid/
Dsrc.c523 fib->hw_fib_va)->request_id in aac_src_deliver_message()
530 fib->hw_fib_va)->request_id in aac_src_deliver_message()
538 fib->hw_fib_va)->request_id in aac_src_deliver_message()
Daacraid.h198 __le32 request_id; /* Sender context */ member
250 __le32 request_id; /* Sender context */ member
273 __le32 request_id; /* Sender context */ member
/drivers/media/mc/
Dmc-request.c332 atomic_inc_return(&mdev->request_id), fd); in media_request_alloc()
/drivers/video/fbdev/
Dhyperv_fb.c297 static atomic64_t request_id = ATOMIC64_INIT(0); in synthvid_send() local
305 atomic64_inc_return(&request_id), in synthvid_send()

12