/openbmc/qemu/tests/qtest/ |
H A D | ipmi-kcs-test.c | 109 uint8_t *rsp, unsigned int *rsp_len) in kcs_cmd() argument 136 g_assert(j < *rsp_len); in kcs_cmd() 150 *rsp_len = j; in kcs_cmd() 154 uint8_t *rsp, unsigned int *rsp_len) in kcs_abort() argument 181 g_assert(j < *rsp_len); in kcs_abort() 215 *rsp_len = j; in kcs_abort()
|
H A D | ipmi-bt-test.c | 259 uint8_t *rsp, unsigned int *rsp_len) in bt_cmd() argument 299 *rsp_len = j; in bt_cmd()
|
/openbmc/linux/drivers/misc/cardreader/ |
H A D | rtsx_usb.c | 124 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()
|
/openbmc/qemu/hw/ipmi/ |
H A D | smbus_ipmi.c | 80 unsigned char *rsp, unsigned int rsp_len) in smbus_ipmi_handle_rsp() argument 87 if (rsp_len > MAX_SSIF_IPMI_MSG_SIZE) { in smbus_ipmi_handle_rsp() 89 rsp_len = MAX_SSIF_IPMI_MSG_SIZE; in smbus_ipmi_handle_rsp() 91 memcpy(sid->outmsg, rsp, rsp_len); in smbus_ipmi_handle_rsp() 92 sid->outlen = rsp_len; in smbus_ipmi_handle_rsp()
|
H A D | ipmi_bt.c | 153 unsigned char *rsp, unsigned int rsp_len) in ipmi_bt_handle_rsp() argument 160 if (rsp_len > (sizeof(ib->outmsg) - 2)) { in ipmi_bt_handle_rsp() 168 ib->outmsg[0] = rsp_len + 1; in ipmi_bt_handle_rsp() 171 memcpy(ib->outmsg + 3, rsp + 1, rsp_len - 1); in ipmi_bt_handle_rsp() 172 ib->outlen = rsp_len + 2; in ipmi_bt_handle_rsp()
|
H A D | ipmi_kcs.c | 205 unsigned char *rsp, unsigned int rsp_len) in ipmi_kcs_handle_rsp() argument 212 if (rsp_len > sizeof(ik->outmsg)) { in ipmi_kcs_handle_rsp() 218 memcpy(ik->outmsg, rsp, rsp_len); in ipmi_kcs_handle_rsp() 219 ik->outlen = rsp_len; in ipmi_kcs_handle_rsp()
|
/openbmc/linux/drivers/net/ethernet/fungible/funcore/ |
H A D | fun_dev.c | 38 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()
|
/openbmc/qemu/backends/ |
H A D | spdm-socket.c | 189 void *rsp, uint32_t rsp_len) in spdm_socket_rsp() argument 202 (uint8_t *)rsp, &rsp_len); in spdm_socket_rsp() 209 return rsp_len; in spdm_socket_rsp()
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | wmi.c | 289 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 D | wmi.h | 186 u8 *rsp_buf, u32 rsp_len,
|
/openbmc/qemu/include/sysemu/ |
H A D | spdm-socket.h | 51 void *rsp, uint32_t rsp_len);
|
/openbmc/linux/drivers/staging/rts5208/ |
H A D | sd.c | 113 u32 arg, u8 rsp_type, u8 *rsp, int rsp_len) argument 254 if (rsp && rsp_len) 255 memcpy(rsp, ptr, rsp_len); 3576 u8 rsp_type, u8 *rsp, int rsp_len, argument 3693 if (rsp && rsp_len) 3694 memcpy(rsp, ptr, 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; [all …]
|
H A D | sd.h | 277 u32 arg, u8 rsp_type, u8 *rsp, int rsp_len,
|
/openbmc/linux/block/ |
H A D | bsg-lib.c | 128 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()
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfa_fcs_lport.c | 1393 u32 rsp_len, 1400 u32 rsp_len, 1407 u32 rsp_len, 2165 u32 rsp_len, u32 resid_len, in bfa_fcs_lport_fdmi_rhba_response() argument 2488 u32 rsp_len, u32 resid_len, in bfa_fcs_lport_fdmi_rprt_response() argument 2580 void *cbarg, bfa_status_t req_status, u32 rsp_len, in bfa_fcs_lport_fdmi_rpa_response() argument 2840 u32 rsp_len, 2850 u32 rsp_len, 2859 u32 rsp_len, 3175 u32 rsp_len, u32 resid_len, in bfa_fcs_lport_ms_gmal_response() argument [all …]
|
H A D | bfa_fcs_fcpim.c | 31 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()
|
H A D | bfa_fcs_rport.c | 51 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 …]
|
H A D | bfa_svc.h | 112 u32 rsp_len, u32 resid_len, 119 u32 rsp_len, u32 resid_len, 190 u32 rsp_len; /* comp: actual response len */ member
|
H A D | bfad_drv.h | 260 u16 rsp_len; member
|
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm2-cmd.c | 559 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()
|
/openbmc/linux/tools/testing/selftests/nci/ |
H A D | nci_dev.c | 746 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()
|
/openbmc/linux/drivers/scsi/elx/libefc/ |
H A D | efclib.h | 416 int rsp_len; member 474 u16 rsp_len; /* Max length of rsps to be rcvd */ member
|
/openbmc/linux/drivers/scsi/elx/efct/ |
H A D | efct_unsol.c | 301 void *rsp, u32 rsp_len) in efct_sframe_send_fcp_rsp() argument 309 rsp, rsp_len); in efct_sframe_send_fcp_rsp()
|
/openbmc/qemu/include/hw/ipmi/ |
H A D | ipmi.h | 162 unsigned char *rsp, unsigned int rsp_len);
|
/openbmc/linux/drivers/scsi/csiostor/ |
H A D | csio_scsi.c | 1571 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()
|