Searched refs:rsp_len (Results 1 - 23 of 23) sorted by relevance

/drivers/staging/rts5139/
H A Drts51x_fop.h44 int rsp_len; member in struct:sd_rsp
H A Dsd_cprm.c42 static inline int get_rsp_type(u8 rsp_code, u8 *rsp_type, int *rsp_len) argument
44 if (!rsp_type || !rsp_len)
50 *rsp_len = 0;
55 *rsp_len = 6;
60 *rsp_len = 6;
65 *rsp_len = 17;
70 *rsp_len = 6;
86 u32 arg, u8 rsp_type, u8 *rsp, int rsp_len,
230 if (rsp && rsp_len)
231 memcpy(rsp, buf, rsp_len);
85 ext_sd_send_cmd_get_rsp(struct rts51x_chip *chip, u8 cmd_idx, u32 arg, u8 rsp_type, u8 *rsp, int rsp_len, int special_check) argument
238 int retval, rsp_len; local
286 int retval, rsp_len; local
379 int retval, rsp_len, i; local
598 int retval, rsp_len; local
[all...]
H A Drts51x_fop.c154 count = (rsp->rsp_len < 17) ? rsp->rsp_len : 17;
156 count = (rsp->rsp_len < 6) ? rsp->rsp_len : 6;
H A Drts51x_chip.c525 int rts51x_get_rsp(struct rts51x_chip *chip, int rsp_len, int timeout) argument
529 if (rsp_len <= 0)
531 /* rsp_len must aligned to dword */
532 if (rsp_len % 4)
533 rsp_len += (4 - rsp_len % 4);
536 (void *)chip->rsp_buf, rsp_len,
687 u16 rsp_len; local
691 /* rsp_len must aligned to dword */
693 rsp_len
[all...]
H A Drts51x_chip.h847 int rts51x_get_rsp(struct rts51x_chip *chip, int rsp_len, int timeout);
H A Dsd.c102 u32 arg, u8 rsp_type, u8 *rsp, int rsp_len)
275 if (rsp && rsp_len)
276 memcpy(rsp, buf, rsp_len);
101 sd_send_cmd_get_rsp(struct rts51x_chip *chip, u8 cmd_idx, u32 arg, u8 rsp_type, u8 *rsp, int rsp_len) argument
/drivers/net/wireless/ath/ath9k/
H A Dwmi.h171 u8 *rsp_buf, u32 rsp_len,
H A Dwmi.c285 u8 *rsp_buf, u32 rsp_len,
321 wmi->cmd_rsp_len = rsp_len;
283 ath9k_wmi_cmd(struct wmi *wmi, enum wmi_cmd_id cmd_id, u8 *cmd_buf, u32 cmd_len, u8 *rsp_buf, u32 rsp_len, u32 timeout) argument
/drivers/scsi/bfa/
H A Dbfa_fcs_fcpim.c38 bfa_status_t req_status, u32 rsp_len,
452 bfa_status_t req_status, u32 rsp_len,
477 if (fc_prli_rsp_parse(prli_resp, rsp_len) != FC_PARSE_OK) {
478 bfa_trc(itnim->fcs, rsp_len);
451 bfa_fcs_itnim_prli_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
H A Dbfa_fcs_lport.c1186 u32 rsp_len,
1193 u32 rsp_len,
1200 u32 rsp_len,
1891 u32 rsp_len, u32 resid_len,
2106 u32 rsp_len, u32 resid_len,
2197 void *cbarg, bfa_status_t req_status, u32 rsp_len,
2432 u32 rsp_len,
2442 u32 rsp_len,
2451 u32 rsp_len,
2766 u32 rsp_len, u3
1889 bfa_fcs_lport_fdmi_rhba_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
2104 bfa_fcs_lport_fdmi_rprt_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
2196 bfa_fcs_lport_fdmi_rpa_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
2764 bfa_fcs_lport_ms_gmal_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
2964 bfa_fcs_lport_ms_gfn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
3045 bfa_fcs_lport_ms_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
3803 bfa_fcs_lport_ns_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
3928 bfa_fcs_lport_ns_rspn_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
4000 bfa_fcs_lport_ns_rft_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
4077 bfa_fcs_lport_ns_rff_id_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
4160 bfa_fcs_lport_ns_gid_ft_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
4564 bfa_fcs_lport_scn_scr_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
[all...]
H A Dbfa_svc.h116 u32 rsp_len, u32 resid_len,
123 u32 rsp_len, u32 resid_len,
194 u32 rsp_len; /* comp: actual response len */ member in struct:bfa_fcxp_s
H A Dbfa_fcs_rport.c50 bfa_status_t req_status, u32 rsp_len,
56 bfa_status_t req_status, u32 rsp_len,
62 bfa_status_t req_status, u32 rsp_len,
66 bfa_status_t req_status, u32 rsp_len,
1397 bfa_status_t req_status, u32 rsp_len,
1547 bfa_status_t req_status, u32 rsp_len,
1561 if (fc_adisc_rsp_parse((struct fc_adisc_s *)pld, rsp_len, rport->pwwn,
1615 bfa_status_t req_status, u32 rsp_len,
1688 bfa_status_t req_status, u32 rsp_len,
2676 u32 rsp_len,
1396 bfa_fcs_rport_plogi_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
1546 bfa_fcs_rport_adisc_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
1614 bfa_fcs_rport_gidpn_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
1687 bfa_fcs_rport_gpnid_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
2963 bfa_fcs_rpf_rpsc2_response(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
[all...]
H A Dbfad_drv.h265 u16 rsp_len; member in struct:bfad_fcxp
H A Dbfi_ms.h376 __be32 rsp_len; /* actual response length */ member in struct:bfi_fcxp_send_rsp_s
H A Dbfa_svc.c665 bfa_status_t req_status, u32 rsp_len,
678 fcxp->rsp_status, fcxp->rsp_len,
694 fcxp_rsp->rsp_len = be32_to_cpu(fcxp_rsp->rsp_len);
715 fcxp_rsp->req_status, fcxp_rsp->rsp_len,
723 fcxp->rsp_len = fcxp_rsp->rsp_len;
767 if (fcxp_rsp->rsp_len > 0) {
774 (u16) fcxp_rsp->rsp_len,
779 (u16) fcxp_rsp->rsp_len,
664 bfa_fcxp_null_comp(void *bfad_fcxp, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
[all...]
H A Dbfa_fc.h1140 u32 rsp_len; /* length of response info */ member in struct:fcp_resp_s
1146 (__fcprsp)->rsp_len : 0)
H A Dbfa_fcs.c224 u32 rsp_len,
1323 bfa_status_t status, u32 rsp_len,
1322 bfa_fcs_fabric_flogiacc_comp(void *fcsarg, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t status, u32 rsp_len, u32 resid_len, struct fchs_s *rspfchs) argument
H A Dbfad_bsg.c2866 bfa_status_t req_status, u32 rsp_len, u32 resid_len,
2872 drv_fcxp->rsp_len = rsp_len;
3141 job->reply_len = drv_fcxp->rsp_len;
3142 job->reply->reply_payload_rcv_len = drv_fcxp->rsp_len;
2865 bfad_send_fcpt_cb(void *bfad_fcxp, struct bfa_fcxp_s *fcxp, void *cbarg, bfa_status_t req_status, u32 rsp_len, u32 resid_len, struct fchs_s *rsp_fchs) argument
/drivers/staging/rts_pstor/
H A Dsd.c155 u32 arg, u8 rsp_type, u8 *rsp, int rsp_len)
306 if (rsp && rsp_len)
307 memcpy(rsp, ptr, rsp_len);
3633 u32 arg, u8 rsp_type, u8 *rsp, int rsp_len, int special_check)
3757 if (rsp && rsp_len) {
3758 memcpy(rsp, ptr, rsp_len);
3766 int retval, rsp_len; local
3779 rsp_len = 17;
3784 rsp_len = 6;
3794 int min_len = (rsp_len < le
154 sd_send_cmd_get_rsp(struct rtsx_chip *chip, u8 cmd_idx, u32 arg, u8 rsp_type, u8 *rsp, int rsp_len) argument
3632 ext_sd_send_cmd_get_rsp(struct rtsx_chip *chip, u8 cmd_idx, u32 arg, u8 rsp_type, u8 *rsp, int rsp_len, int special_check) argument
3877 get_rsp_type(struct scsi_cmnd *srb, u8 *rsp_type, int *rsp_len) argument
3920 int retval, rsp_len; local
4039 int retval, rsp_len, i; local
4272 int retval, rsp_len, i; local
[all...]
H A Dsd.h289 u32 arg, u8 rsp_type, u8 *rsp, int rsp_len, int special_check);
/drivers/scsi/ibmvscsi/
H A Dibmvfc.c1528 u32 rsp_len = 0; local
1543 rsp_len = rsp->fcp_rsp_len;
1544 if ((sense_len + rsp_len) > SCSI_SENSE_BUFFERSIZE)
1545 sense_len = SCSI_SENSE_BUFFERSIZE - rsp_len;
1546 if ((rsp->flags & FCP_SNS_LEN_VALID) && rsp->fcp_sense_len && rsp_len <= 8)
1547 memcpy(cmnd->sense_buffer, rsp->data.sense + rsp_len, sense_len);
1835 u32 fc_flags, rsp_len; local
1916 mad->iu.rsp_len = job->reply_payload.payload_len;
1926 rsp_len = mad->iu.rsp.len;
1943 job->reply->reply_payload_rcv_len = rsp_len;
[all...]
H A Dibmvfc.h467 u32 rsp_len; member in struct:ibmvfc_passthru_iu
/drivers/scsi/qla2xxx/
H A Dqla_os.c2939 qla2x00_mem_alloc(struct qla_hw_data *ha, uint16_t req_len, uint16_t rsp_len, argument
3062 (*rsp)->length = rsp_len;

Completed in 240 milliseconds