Searched refs:iu (Results 1 - 20 of 20) sorted by relevance

/drivers/scsi/libsas/
H A Dsas_task.c8 struct ssp_response_iu *iu)
14 if (iu->datapres == 0)
15 tstat->stat = iu->status;
16 else if (iu->datapres == 1)
17 tstat->stat = iu->resp_data[3];
18 else if (iu->datapres == 2) {
22 be32_to_cpu(iu->sense_data_len));
23 memcpy(tstat->buf, iu->sense_data, tstat->buf_valid_size);
25 if (iu->status != SAM_STAT_CHECK_CONDITION)
30 iu
7 sas_ssp_task_response(struct device *dev, struct sas_task *task, struct ssp_response_iu *iu) argument
[all...]
/drivers/usb/storage/
H A Duas.c266 struct iu *iu = urb->transfer_buffer; local
289 idx = be16_to_cpup(&iu->tag) - 1;
304 switch (iu->iu_id) {
332 uas_log_cmd_state(cmnd, "unexpected response iu",
333 ((struct response_iu *)iu)->response_code);
342 uas_log_cmd_state(cmnd, "bogus IU", iu->iu_id);
443 struct sense_iu *iu; local
448 iu = kzalloc(sizeof(*iu), gf
469 struct command_iu *iu; local
[all...]
/drivers/infiniband/ulp/srp/
H A Dib_srp.c209 struct srp_iu *iu; local
211 iu = kmalloc(sizeof *iu, gfp_mask);
212 if (!iu)
215 iu->buf = kzalloc(size, gfp_mask);
216 if (!iu->buf)
219 iu->dma = ib_dma_map_single(host->srp_dev->dev, iu->buf, size,
221 if (ib_dma_mapping_error(host->srp_dev->dev, iu->dma))
224 iu
237 srp_free_iu(struct srp_host *host, struct srp_iu *iu) argument
1521 srp_put_tx_iu(struct srp_target_port *target, struct srp_iu *iu, enum srp_iu_type iu_type) argument
1550 struct srp_iu *iu; local
1572 srp_post_send(struct srp_target_port *target, struct srp_iu *iu, int len) argument
1592 srp_post_recv(struct srp_target_port *target, struct srp_iu *iu) argument
1669 struct srp_iu *iu; local
1731 struct srp_iu *iu = (struct srp_iu *) (uintptr_t) wc->wr_id; local
1839 struct srp_iu *iu; local
1856 struct srp_iu *iu; local
2093 struct srp_iu *iu = target->rx_ring[i]; local
2317 struct srp_iu *iu; local
[all...]
/drivers/scsi/ibmvscsi/
H A Dibmvscsi.h72 union viosrp_iu iu; member in struct:srp_event_struct
H A Dibmvfc.c156 struct ibmvfc_cmd *vfc_cmd = &evt->iu.cmd;
157 struct ibmvfc_mad_common *mad = &evt->iu.mad_common;
168 entry->op_code = vfc_cmd->iu.cdb[0];
170 entry->lun = scsilun_to_int(&vfc_cmd->iu.lun);
171 entry->tmf_flags = vfc_cmd->iu.tmf_flags;
172 entry->u.start.xfer_len = be32_to_cpu(vfc_cmd->iu.xfer_len);
201 entry->op_code = vfc_cmd->iu.cdb[0];
203 entry->lun = scsilun_to_int(&vfc_cmd->iu.lun);
204 entry->tmf_flags = vfc_cmd->iu.tmf_flags;
1350 vfc_cmd->iu
[all...]
H A Dibmvscsi.c806 unmap_cmd_data(&evt->iu.srp.cmd, evt,
811 evt->iu.srp.login_req.opcode != SRP_LOGIN_REQ)
844 evt_struct->iu.srp.cmd.opcode);
892 evt_struct->iu.srp.login_req.opcode != SRP_LOGIN_REQ)
899 evt_struct->iu.srp.cmd.opcode != SRP_TSK_MGMT) {
920 *evt_struct->xfer_iu = evt_struct->iu;
962 unmap_cmd_data(&evt_struct->iu.srp.cmd, evt_struct, hostdata->dev);
970 unmap_cmd_data(&evt_struct->iu.srp.cmd, evt_struct, hostdata->dev);
1006 unmap_cmd_data(&evt_struct->iu.srp.cmd,
1052 srp_cmd = &evt_struct->iu
[all...]
H A Dibmvfc.h455 struct ibmvfc_fcp_cmd_iu iu; member in struct:ibmvfc_cmd
489 struct ibmvfc_passthru_iu iu; member in struct:ibmvfc_passthru_mad
642 union ibmvfc_iu iu; member in struct:ibmvfc_event
/drivers/scsi/
H A Dgdth_ioctl.h219 } iu; member in struct:__anon5452
261 } iu; member in struct:__anon5460
H A Dscsi_transport_spi.c389 spi_transport_max_attr(iu, "%d\n");
789 DV_SET(iu, 0);
934 DV_SET(iu, 1);
942 DV_SET(iu, 0);
1159 tp->iu ? " IU" : "",
1465 return TARGET_ATTRIBUTE_HELPER(iu);
1468 return TARGET_ATTRIBUTE_HELPER(iu);
/drivers/usb/gadget/legacy/
H A Dtcm_usb_gadget.c558 struct sense_iu *iu = &cmd->sense_iu; local
562 iu->iu_id = IU_ID_STATUS;
563 iu->tag = cpu_to_be16(cmd->tag);
566 * iu->status_qual = cpu_to_be16(STATUS QUALIFIER SAM-4. Where R U?);
568 iu->len = cpu_to_be16(se_cmd->scsi_sense_length);
569 iu->status = se_cmd->scsi_status;
572 stream->req_status->buf = iu;
631 struct sense_iu *iu = &cmd->sense_iu; local
633 iu->tag = cpu_to_be16(cmd->tag);
645 struct sense_iu *iu local
689 struct sense_iu *iu = &cmd->sense_iu; local
[all...]
/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.c942 tp->tgoal.iu = tp->tgoal.dt =
948 tp->tgoal.iu = tp->tgoal.dt =
956 tp->tgoal.iu = tp->tgoal.dt =
1939 tp->tgoal.iu = tp->tgoal.dt = tp->tgoal.qas = 0;
1955 tp->tgoal.iu = tp->tgoal.dt = tp->tgoal.qas = 0;
1960 static void sym2_set_iu(struct scsi_target *starget, int iu)
1966 if (iu)
1967 tp->tgoal.iu = tp->tgoal.dt = 1;
1969 tp->tgoal.iu = 0;
H A Dsym_hipd.c1371 goal->iu = 0;
1402 goal->iu = goal->qas = 0;
1434 (goal->iu || goal->dt || goal->qas || (goal->period < 0xa)))) {
1456 (goal->iu ? PPR_OPT_IU : 0) |
2055 tp->tprint.iu != spi_iu(starget) ||
2062 tp->tprint.iu = spi_iu(starget);
2123 if (!tp->tgoal.dt && !tp->tgoal.iu && !tp->tgoal.qas) {
2152 spi_iu(starget) = tp->tgoal.iu = !!(opts & PPR_OPT_IU);
4167 tp->tgoal.iu = tp->tgoal.dt = tp->tgoal.qas = 0;
4348 tp->tgoal.iu
[all...]
H A Dsym_hipd.h353 unsigned int iu:1; member in struct:sym_trans
/drivers/scsi/mvsas/
H A Dmv_sas.c1752 void mvs_fill_ssp_resp_iu(struct ssp_response_iu *iu, argument
1755 iu->datapres = 2;
1756 iu->response_data_len = 0;
1757 iu->sense_data_len = 17;
1758 iu->status = 02;
1759 mvs_set_sense(iu->sense_data, 17, 0,
1784 struct ssp_response_iu *iu = slot->response + local
1786 mvs_fill_ssp_resp_iu(iu, NOT_READY, 0x04, 01);
1787 sas_ssp_task_response(mvi->dev, task, iu);
1888 struct ssp_response_iu *iu local
[all...]
/drivers/scsi/aic94xx/
H A Daic94xx_task.c191 struct ssp_response_iu *iu = local
196 sas_ssp_task_response(&asd_ha->pcidev->dev, task, iu);
/drivers/message/fusion/
H A Dmptspi.c1020 static void mptspi_write_iu(struct scsi_target *starget, int iu) argument
1028 if (!iu && spi_period(starget) < 9)
1031 spi_iu(starget) = iu;
/drivers/scsi/aic7xxx/
H A Daic79xx_osm.c2583 static void ahd_linux_set_iu(struct scsi_target *starget, int iu) argument
2602 iu ? "enabling" : "disabling");
2605 if (iu && spi_max_width(starget)) {
H A Daic7xxx_osm.c2501 static void ahc_linux_set_iu(struct scsi_target *starget, int iu)
2517 if (iu)
/drivers/scsi/pm8001/
H A Dpm8001_hwi.c1856 struct ssp_response_iu *iu; local
1896 iu = &psspPayload->ssp_resp_iu;
1897 sas_ssp_task_response(pm8001_ha->dev, t, iu);
H A Dpm80xx_hwi.c1512 struct ssp_response_iu *iu; local
1552 iu = &psspPayload->ssp_resp_iu;
1553 sas_ssp_task_response(pm8001_ha->dev, t, iu);

Completed in 336 milliseconds