Home
last modified time | relevance | path

Searched refs:rsp_len (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.3-rc2/drivers/misc/cardreader/
A Drtsx_usb.c124 u16 rsp_len = round_down(len, 4); in rtsx_usb_seq_read_register() local
125 u16 res_len = len - rsp_len; in rtsx_usb_seq_read_register()
131 if (rsp_len) { in rtsx_usb_seq_read_register()
141 data, rsp_len, 0, NULL, 100); in rtsx_usb_seq_read_register()
148 ret = rtsx_usb_read_register(ucr, addr + rsp_len + i, in rtsx_usb_seq_read_register()
149 data + rsp_len + i); in rtsx_usb_seq_read_register()
252 int rtsx_usb_get_rsp(struct rtsx_ucr *ucr, int rsp_len, int timeout) in rtsx_usb_get_rsp() argument
254 if (rsp_len <= 0) in rtsx_usb_get_rsp()
257 rsp_len = ALIGN(rsp_len, 4); in rtsx_usb_get_rsp()
261 ucr->rsp_buf, rsp_len, 0, NULL, timeout); in rtsx_usb_get_rsp()
/linux-6.3-rc2/drivers/net/ethernet/fungible/funcore/
A Dfun_dev.c39 unsigned int rsp_len; /* response buffer size */ member
446 unsigned int rsp_len = rsp_common->len8 * 8; in fun_admin_cmd_sync_cb() local
448 if (unlikely(rsp_len > ctx->rsp_len)) { in fun_admin_cmd_sync_cb()
451 rsp_common->op, rsp_len, ctx->rsp_len); in fun_admin_cmd_sync_cb()
452 rsp_len = ctx->rsp_len; in fun_admin_cmd_sync_cb()
454 memcpy(ctx->rsp_buf, rsp, rsp_len); in fun_admin_cmd_sync_cb()
468 .rsp_len = rspsize, in fun_submit_admin_sync_cmd()
/linux-6.3-rc2/drivers/staging/rts5208/
A Dsd.c254 if (rsp && rsp_len)
3693 if (rsp && rsp_len)
3701 int retval, rsp_len; local
3714 rsp_len = 17;
3720 rsp_len = 6;
3729 int min_len = (rsp_len < len) ? rsp_len : len;
3821 *rsp_len = 0;
3826 *rsp_len = 6;
3831 *rsp_len = 6;
3836 *rsp_len = 17;
[all …]
A Dsd.h277 u32 arg, u8 rsp_type, u8 *rsp, int rsp_len,
/linux-6.3-rc2/block/
A Dbsg-lib.c128 unsigned int rsp_len = job->reply_payload.payload_len; in bsg_transport_sg_io_fn() local
130 if (WARN_ON(job->reply_payload_rcv_len > rsp_len)) in bsg_transport_sg_io_fn()
133 hdr->din_resid = rsp_len - job->reply_payload_rcv_len; in bsg_transport_sg_io_fn()
/linux-6.3-rc2/drivers/scsi/bfa/
A Dbfa_fcs_lport.c1393 u32 rsp_len,
1400 u32 rsp_len,
1407 u32 rsp_len,
2840 u32 rsp_len,
3600 u32 rsp_len,
3607 u32 rsp_len,
3614 u32 rsp_len,
3621 u32 rsp_len,
3628 u32 rsp_len,
3635 u32 rsp_len,
[all …]
A Dbfa_fcs_fcpim.c31 bfa_status_t req_status, u32 rsp_len,
476 bfa_status_t req_status, u32 rsp_len, in bfa_fcs_itnim_prli_response() argument
501 if (fc_prli_rsp_parse(prli_resp, rsp_len) != FC_PARSE_OK) { in bfa_fcs_itnim_prli_response()
502 bfa_trc(itnim->fcs, rsp_len); in bfa_fcs_itnim_prli_response()
A Dbfa_fcs_rport.c51 bfa_status_t req_status, u32 rsp_len,
57 bfa_status_t req_status, u32 rsp_len,
63 bfa_status_t req_status, u32 rsp_len,
67 bfa_status_t req_status, u32 rsp_len,
1728 bfa_status_t req_status, u32 rsp_len, in bfa_fcs_rport_plogi_response() argument
1880 bfa_status_t req_status, u32 rsp_len, in bfa_fcs_rport_adisc_response() argument
1894 if (fc_adisc_rsp_parse((struct fc_adisc_s *)pld, rsp_len, rport->pwwn, in bfa_fcs_rport_adisc_response()
1949 bfa_status_t req_status, u32 rsp_len, in bfa_fcs_rport_gidpn_response() argument
2022 bfa_status_t req_status, u32 rsp_len, in bfa_fcs_rport_gpnid_response() argument
3104 u32 rsp_len,
[all …]
A Dbfa_svc.h112 u32 rsp_len, u32 resid_len,
119 u32 rsp_len, u32 resid_len,
190 u32 rsp_len; /* comp: actual response len */ member
A Dbfad_drv.h261 u16 rsp_len; member
A Dbfa_fc.h1123 u32 rsp_len; /* length of response info */ member
1129 (__fcprsp)->rsp_len : 0)
A Dbfa_svc.c645 bfa_status_t req_status, u32 rsp_len, in bfa_fcxp_null_comp() argument
658 fcxp->rsp_status, fcxp->rsp_len, in __bfa_fcxp_send_cbfn()
674 fcxp_rsp->rsp_len = be32_to_cpu(fcxp_rsp->rsp_len); in hal_fcxp_send_comp()
695 fcxp_rsp->req_status, fcxp_rsp->rsp_len, in hal_fcxp_send_comp()
703 fcxp->rsp_len = fcxp_rsp->rsp_len; in hal_fcxp_send_comp()
747 if (fcxp_rsp->rsp_len > 0) { in hal_fcxp_rx_plog()
754 (u16) fcxp_rsp->rsp_len, in hal_fcxp_rx_plog()
759 (u16) fcxp_rsp->rsp_len, in hal_fcxp_rx_plog()
764 (u16) fcxp_rsp->rsp_len, &fcxp_rsp->fchs); in hal_fcxp_rx_plog()
/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/
A Dwmi.c300 u8 *rsp_buf, u32 rsp_len, in ath9k_wmi_cmd() argument
334 wmi->cmd_rsp_len = rsp_len; in ath9k_wmi_cmd()
A Dwmi.h186 u8 *rsp_buf, u32 rsp_len,
/linux-6.3-rc2/drivers/char/tpm/
A Dtpm2-cmd.c559 u32 rsp_len; in tpm2_get_pcr_allocation() local
588 rsp_len = be32_to_cpup((__be32 *)&buf.data[2]); in tpm2_get_pcr_allocation()
589 end = &buf.data[rsp_len]; in tpm2_get_pcr_allocation()
/linux-6.3-rc2/drivers/scsi/elx/libefc/
A Defclib.h416 int rsp_len; member
474 u16 rsp_len; /* Max length of rsps to be rcvd */ member
A Defc_els.c181 cbdata.rsp_len = length; in efc_els_req_cb()
269 els->io.rsp_len = els->io.rsp.size; in efc_els_send_req()
368 els->io.rsp_len = els->io.rsp.size; in efc_els_send_rsp()
/linux-6.3-rc2/tools/testing/selftests/nci/
A Dnci_dev.c746 const __u8 *rsp, __u32 rsp_len) in read_write_nci_cmd() argument
756 write(virtual_fd, rsp, rsp_len); in read_write_nci_cmd()
757 len = recv(nfc_sock, buf, rsp_len - 2, 0); in read_write_nci_cmd()
758 if (len < 0 || memcmp(&buf[1], &rsp[3], rsp_len - 3)) in read_write_nci_cmd()
/linux-6.3-rc2/drivers/scsi/elx/efct/
A Defct_unsol.c301 void *rsp, u32 rsp_len) in efct_sframe_send_fcp_rsp() argument
309 rsp, rsp_len); in efct_sframe_send_fcp_rsp()
/linux-6.3-rc2/drivers/scsi/csiostor/
A Dcsio_scsi.c1571 uint32_t rsp_len = 0, sns_len = 0; in csio_scsi_err_handler() local
1592 rsp_len = be32_to_cpu(fcp_resp->ext.fr_rsp_len); in csio_scsi_err_handler()
1593 if ((rsp_len != 0 && rsp_len != 4 && rsp_len != 8) || in csio_scsi_err_handler()
1606 &rsp_info->_fr_resvd[0] + rsp_len, sns_len); in csio_scsi_err_handler()
/linux-6.3-rc2/drivers/scsi/qla2xxx/
A Dqla_mr.c1806 fdisc->u.fxiocb.rsp_len = sizeof(struct config_info_data); in qlafx00_fx_disc()
1811 fdisc->u.fxiocb.rsp_len = QLAFX00_PORT_DATA_INFO; in qlafx00_fx_disc()
1817 fdisc->u.fxiocb.rsp_len = QLAFX00_TGT_NODE_INFO; in qlafx00_fx_disc()
1823 fdisc->u.fxiocb.rsp_len = QLAFX00_TGT_NODE_LIST_SIZE; in qlafx00_fx_disc()
1895 fdisc->u.fxiocb.rsp_len, in qlafx00_fx_disc()
1969 dma_free_coherent(&ha->pdev->dev, fdisc->u.fxiocb.rsp_len, in qlafx00_fx_disc()
3255 cpu_to_le16(fxio->u.fxiocb.rsp_len); in qlafx00_fxdisc_iocb()
3259 cpu_to_le32(fxio->u.fxiocb.rsp_len); in qlafx00_fxdisc_iocb()
3282 fx_iocb.rsp_xfrcnt = piocb_rqst->rsp_len; in qlafx00_fxdisc_iocb()
A Dqla_mr.h424 __le16 rsp_len; member
/linux-6.3-rc2/include/linux/
A Drtsx_usb.h80 extern int rtsx_usb_get_rsp(struct rtsx_ucr *ucr, int rsp_len, int timeout);
/linux-6.3-rc2/drivers/scsi/esas2r/
A Datioctl.h421 u32 rsp_len; member
1143 u8 rsp_len; member
/linux-6.3-rc2/drivers/scsi/ibmvscsi/
A Dibmvfc.c1822 u32 rsp_len = 0; in ibmvfc_scsi_done() local
1837 rsp_len = be32_to_cpu(rsp->fcp_rsp_len); in ibmvfc_scsi_done()
1838 if ((sense_len + rsp_len) > SCSI_SENSE_BUFFERSIZE) in ibmvfc_scsi_done()
1839 sense_len = SCSI_SENSE_BUFFERSIZE - rsp_len; in ibmvfc_scsi_done()
1840 if ((rsp->flags & FCP_SNS_LEN_VALID) && rsp->fcp_sense_len && rsp_len <= 8) in ibmvfc_scsi_done()
1841 memcpy(cmnd->sense_buffer, rsp->data.sense + rsp_len, sense_len); in ibmvfc_scsi_done()
2147 u32 fc_flags, rsp_len; in ibmvfc_bsg_request() local
2230 mad->iu.rsp_len = cpu_to_be32(job->reply_payload.payload_len); in ibmvfc_bsg_request()
2240 rsp_len = be32_to_cpu(mad->iu.rsp.len); in ibmvfc_bsg_request()
2257 bsg_reply->reply_payload_rcv_len = rsp_len; in ibmvfc_bsg_request()
[all …]

Completed in 160 milliseconds

12