Home
last modified time | relevance | path

Searched refs:request_id (Results 1 – 25 of 30) 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()
305 full_command_packet = tw_dev->command_packet_virt[request_id]; in twl_scsiop_execute_scsi()
323 cpu_to_le16(TW_REQ_LUN_IN(srb->device->lun, request_id)); in twl_scsiop_execute_scsi()
326 cpu_to_le16(TW_REQ_LUN_IN(0, request_id)); in twl_scsiop_execute_scsi()
343 …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) \ argument
171 (((lun << 12) & 0xf000) | (request_id & 0xfff))
233 unsigned char request_id; member
281 unsigned short request_id; member
299 unsigned char request_id; member
D3w-9xxx.h437 #define TW_REQ_LUN_IN(lun, request_id) \ argument
438 cpu_to_le16(((lun << 12) & 0xf000) | (request_id & 0xfff))
505 u8 request_id; member
571 u8 request_id; member
Dmvumi.h253 unsigned short request_id; member
270 u16 request_id; member
287 u16 request_id; member
D3w-xxxx.h303 unsigned char request_id; member
383 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.h1030 u8 request_id; member
1069 u8 request_id; member
1101 u8 request_id; member
1131 u8 request_id; member
1159 u8 request_id; member
1187 u8 request_id; member
1215 u8 request_id; member
1531 u8 request_id; member
1547 u8 request_id; member
1563 u8 request_id; member
[all …]
/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.h147 __le16 request_id; member
205 __le16 request_id; member
267 __le16 request_id; member
292 __le16 request_id; member
321 __le16 request_id; member
354 __le16 request_id; member
385 __le16 request_id; member
392 __le16 request_id; member
457 __le16 request_id; member
474 __le16 request_id; member
[all …]
Dsmartpqi_init.c3178 u16 request_id; in pqi_process_io_intr() local
3199 request_id = get_unaligned_le16(&response->request_id); in pqi_process_io_intr()
3200 if (request_id >= ctrl_info->max_io_slots) { in pqi_process_io_intr()
3204 request_id, ctrl_info->max_io_slots - 1, oq_pi, oq_ci); in pqi_process_io_intr()
3208 io_request = &ctrl_info->io_request_pool[request_id]; in pqi_process_io_intr()
3213 request_id, oq_pi, oq_ci); in pqi_process_io_intr()
4372 &(((struct pqi_raid_path_request *)request)->request_id)); in pqi_submit_raid_request_synchronous()
4376 ((struct pqi_raid_path_request *)request)->request_id; in pqi_submit_raid_request_synchronous()
5283 put_unaligned_le16(io_request->index, &request->request_id); in pqi_raid_submit_scsi_cmd_with_io_request()
5284 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.c207 cmd->request_id = req->cookie; in iwl_mvm_ftm_cmd_v5()
241 cmd->request_id = req->cookie; in iwl_mvm_ftm_cmd_common()
908 .request_id = req->cookie, in iwl_mvm_ftm_abort()
980 static int iwl_mvm_ftm_range_resp_valid(struct iwl_mvm *mvm, u8 request_id, in iwl_mvm_ftm_range_resp_valid() argument
985 if (request_id != (u8)mvm->ftm_initiator.req->cookie) { in iwl_mvm_ftm_range_resp_valid()
987 request_id, (u8)mvm->ftm_initiator.req->cookie); in iwl_mvm_ftm_range_resp_valid()
1183 if (iwl_mvm_ftm_range_resp_valid(mvm, fw_resp_v8->request_id, in iwl_mvm_ftm_range_resp()
1190 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
/drivers/gpu/drm/hyperv/
Dhyperv_drm_proto.c198 static atomic64_t request_id = ATOMIC64_INIT(0); in hyperv_sendpacket() local
207 atomic64_inc_return(&request_id), in hyperv_sendpacket()
/drivers/vdpa/vdpa_user/
Dvduse_dev.c140 uint32_t request_id) in vduse_find_msg() argument
145 if (msg->req.request_id == request_id) { in vduse_find_msg()
204 msg->req.request_id = dev->msg_unique++; in vduse_dev_msg_sync()
369 msg = vduse_find_msg(&dev->recv_list, resp.request_id); in vduse_dev_write_iter()
/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()
/drivers/media/mc/
Dmc-request.c332 atomic_inc_return(&mdev->request_id), fd); in media_request_alloc()
/drivers/video/fbdev/
Dhyperv_fb.c298 static atomic64_t request_id = ATOMIC64_INIT(0); in synthvid_send() local
306 atomic64_inc_return(&request_id), in synthvid_send()

12