Home
last modified time | relevance | path

Searched refs:ct_req (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/scsi/qla2xxx/
Dqla_gs.c101 qla2x00_prep_ct_req(struct ct_sns_req *ct_req, uint16_t cmd, uint16_t rsp_size) in qla2x00_prep_ct_req() argument
103 memset(ct_req, 0, sizeof(struct ct_sns_pkt)); in qla2x00_prep_ct_req()
105 ct_req->header.revision = 0x01; in qla2x00_prep_ct_req()
106 ct_req->header.gs_type = 0xFC; in qla2x00_prep_ct_req()
107 ct_req->header.gs_subtype = 0x02; in qla2x00_prep_ct_req()
108 ct_req->command = cpu_to_be16(cmd); in qla2x00_prep_ct_req()
109 ct_req->max_rsp_size = cpu_to_be16((rsp_size - 16) / 4); in qla2x00_prep_ct_req()
111 return (ct_req); in qla2x00_prep_ct_req()
178 struct ct_sns_req *ct_req; in qla2x00_ga_nxt() local
191 ct_req = qla2x00_prep_ct_req(&ha->ct_sns->p.req, GA_NXT_CMD, in qla2x00_ga_nxt()
[all …]
/linux-2.6.39/drivers/scsi/lpfc/
Dlpfc_bsg.c784 struct lpfc_sli_ct_request *ct_req; in lpfc_bsg_ct_unsol_event() local
809 ct_req = (struct lpfc_sli_ct_request *)dmabuf->virt; in lpfc_bsg_ct_unsol_event()
810 evt_req_id = ct_req->FsType; in lpfc_bsg_ct_unsol_event()
811 cmd = ct_req->CommandResponse.bits.CmdRsp; in lpfc_bsg_ct_unsol_event()
812 len = ct_req->CommandResponse.bits.Size; in lpfc_bsg_ct_unsol_event()