Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/misc/cardreader/
H 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.15/drivers/misc/
H A Drpmb-core.c51 unsigned int req_len, u8 *rsp, unsigned int rsp_len) in rpmb_route_frames() argument
53 if (!req || !req_len || !rsp || !rsp_len) in rpmb_route_frames()
57 rsp, rsp_len); in rpmb_route_frames()
/linux-6.15/drivers/net/ethernet/fungible/funcore/
H A Dfun_dev.c38 unsigned int rsp_len; /* response buffer size */ member
445 unsigned int rsp_len = rsp_common->len8 * 8; in fun_admin_cmd_sync_cb() local
447 if (unlikely(rsp_len > ctx->rsp_len)) { in fun_admin_cmd_sync_cb()
450 rsp_common->op, rsp_len, ctx->rsp_len); in fun_admin_cmd_sync_cb()
451 rsp_len = ctx->rsp_len; in fun_admin_cmd_sync_cb()
453 memcpy(ctx->rsp_buf, rsp, rsp_len); in fun_admin_cmd_sync_cb()
467 .rsp_len = rspsize, in fun_submit_admin_sync_cmd()
/linux-6.15/drivers/net/wireless/ath/ath9k/
H A Dwmi.c289 u8 *rsp_buf, u32 rsp_len) in ath9k_wmi_cmd_issue() argument
302 wmi->cmd_rsp_len = rsp_len; in ath9k_wmi_cmd_issue()
312 u8 *rsp_buf, u32 rsp_len, in ath9k_wmi_cmd() argument
344 ret = ath9k_wmi_cmd_issue(wmi, skb, cmd_id, cmd_len, rsp_buf, rsp_len); in ath9k_wmi_cmd()
H A Dwmi.h186 u8 *rsp_buf, u32 rsp_len,
/linux-6.15/block/
H 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.15/drivers/scsi/bfa/
H A Dbfa_fcs_lport.c1361 u32 rsp_len,
1368 u32 rsp_len,
1375 u32 rsp_len,
2794 u32 rsp_len,
3541 u32 rsp_len,
3548 u32 rsp_len,
3555 u32 rsp_len,
3562 u32 rsp_len,
3569 u32 rsp_len,
3576 u32 rsp_len,
[all …]
H A Dbfa_fcs_fcpim.c32 bfa_status_t req_status, u32 rsp_len,
493 bfa_status_t req_status, u32 rsp_len, in bfa_fcs_itnim_prli_response() argument
518 if (fc_prli_rsp_parse(prli_resp, rsp_len) != FC_PARSE_OK) { in bfa_fcs_itnim_prli_response()
519 bfa_trc(itnim->fcs, rsp_len); in bfa_fcs_itnim_prli_response()
H 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,
1744 bfa_status_t req_status, u32 rsp_len, in bfa_fcs_rport_plogi_response() argument
1896 bfa_status_t req_status, u32 rsp_len, in bfa_fcs_rport_adisc_response() argument
1910 if (fc_adisc_rsp_parse((struct fc_adisc_s *)pld, rsp_len, rport->pwwn, in bfa_fcs_rport_adisc_response()
1965 bfa_status_t req_status, u32 rsp_len, in bfa_fcs_rport_gidpn_response() argument
2038 bfa_status_t req_status, u32 rsp_len, in bfa_fcs_rport_gpnid_response() argument
3084 u32 rsp_len,
[all …]
H 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
H A Dbfad_drv.h263 u16 rsp_len; member
H A Dbfa_fc.h1123 u32 rsp_len; /* length of response info */ member
1129 (__fcprsp)->rsp_len : 0)
H A Dbfa_svc.c631 bfa_status_t req_status, u32 rsp_len, in bfa_fcxp_null_comp() argument
644 fcxp->rsp_status, fcxp->rsp_len, in __bfa_fcxp_send_cbfn()
660 fcxp_rsp->rsp_len = be32_to_cpu(fcxp_rsp->rsp_len); in hal_fcxp_send_comp()
681 fcxp_rsp->req_status, fcxp_rsp->rsp_len, in hal_fcxp_send_comp()
689 fcxp->rsp_len = fcxp_rsp->rsp_len; in hal_fcxp_send_comp()
733 if (fcxp_rsp->rsp_len > 0) { in hal_fcxp_rx_plog()
740 (u16) fcxp_rsp->rsp_len, in hal_fcxp_rx_plog()
745 (u16) fcxp_rsp->rsp_len, in hal_fcxp_rx_plog()
750 (u16) fcxp_rsp->rsp_len, &fcxp_rsp->fchs); in hal_fcxp_rx_plog()
H A Dbfi_ms.h368 __be32 rsp_len; /* actual response length */ member
/linux-6.15/drivers/scsi/elx/libefc/
H A Defclib.h416 int rsp_len; member
474 u16 rsp_len; /* Max length of rsps to be rcvd */ member
H 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.15/tools/testing/selftests/nci/
H 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.15/drivers/char/tpm/
H A Dtpm2-cmd.c586 u32 rsp_len; in tpm2_get_pcr_allocation() local
615 rsp_len = be32_to_cpup((__be32 *)&buf.data[2]); in tpm2_get_pcr_allocation()
616 end = &buf.data[rsp_len]; in tpm2_get_pcr_allocation()
/linux-6.15/drivers/scsi/elx/efct/
H 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.15/drivers/scsi/csiostor/
H 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.15/drivers/scsi/qla2xxx/
H 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()
1967 dma_free_coherent(&ha->pdev->dev, fdisc->u.fxiocb.rsp_len, in qlafx00_fx_disc()
3253 cpu_to_le16(fxio->u.fxiocb.rsp_len); in qlafx00_fxdisc_iocb()
3257 cpu_to_le32(fxio->u.fxiocb.rsp_len); in qlafx00_fxdisc_iocb()
3280 fx_iocb.rsp_xfrcnt = piocb_rqst->rsp_len; in qlafx00_fxdisc_iocb()
H A Dqla_mr.h424 __le16 rsp_len; member
/linux-6.15/include/linux/
H A Drtsx_usb.h84 extern int rtsx_usb_get_rsp(struct rtsx_ucr *ucr, int rsp_len, int timeout);
/linux-6.15/drivers/scsi/esas2r/
H A Datioctl.h421 u32 rsp_len; member
1143 u8 rsp_len; member
/linux-6.15/drivers/scsi/ibmvscsi/
H A Dibmvfc.c1857 u32 rsp_len = 0; in ibmvfc_scsi_done() local
1872 rsp_len = be32_to_cpu(rsp->fcp_rsp_len); in ibmvfc_scsi_done()
1873 if ((sense_len + rsp_len) > SCSI_SENSE_BUFFERSIZE) in ibmvfc_scsi_done()
1874 sense_len = SCSI_SENSE_BUFFERSIZE - rsp_len; in ibmvfc_scsi_done()
1875 if ((rsp->flags & FCP_SNS_LEN_VALID) && rsp->fcp_sense_len && rsp_len <= 8) in ibmvfc_scsi_done()
1876 memcpy(cmnd->sense_buffer, rsp->data.sense + rsp_len, sense_len); in ibmvfc_scsi_done()
2197 u32 fc_flags, rsp_len; in ibmvfc_bsg_request() local
2285 mad->iu.rsp_len = cpu_to_be32(job->reply_payload.payload_len); in ibmvfc_bsg_request()
2295 rsp_len = be32_to_cpu(mad->iu.rsp.len); in ibmvfc_bsg_request()
2312 bsg_reply->reply_payload_rcv_len = rsp_len; in ibmvfc_bsg_request()
[all …]

12