Home
last modified time | relevance | path

Searched refs:rsp_size (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm_crb.c517 u32 rsp_size; in crb_map_io() local
612 rsp_size = ioread32(&priv->regs_t->ctrl_rsp_size); in crb_map_io()
626 rsp_size = crb_fixup_cmd_size(dev, iores, rsp_pa, rsp_size); in crb_map_io()
630 rsp_pa, rsp_size); in crb_map_io()
638 if (cmd_size != rsp_size) { in crb_map_io()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c31 mdev->rsp_size = 0; in __otx2_mbox_reset()
199 mdev->rsp_size = 0; in otx2_mbox_msg_send()
236 if ((mdev->rsp_size + size_rsp) > mbox->rx_size - msgs_offset) in otx2_mbox_alloc_msg_rsp()
250 mdev->rsp_size += size_rsp; in otx2_mbox_alloc_msg_rsp()
Dmbox.h57 u16 rsp_size; /* Total rsp size to be sure the reply is ok */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c269 size_t rq_size, rsp_size; in nx_fw_cmd_create_rx_ctx() local
281 rsp_size = in nx_fw_cmd_create_rx_ctx()
291 rsp_size, &cardrsp_phys_addr); in nx_fw_cmd_create_rx_ctx()
390 pci_free_consistent(adapter->pdev, rsp_size, prsp, cardrsp_phys_addr); in nx_fw_cmd_create_rx_ctx()
422 size_t rq_size, rsp_size; in nx_fw_cmd_create_tx_ctx() local
437 rsp_size = SIZEOF_CARDRSP_TX(nx_cardrsp_tx_ctx_t); in nx_fw_cmd_create_tx_ctx()
439 rsp_size, &rsp_phys_addr); in nx_fw_cmd_create_tx_ctx()
494 pci_free_consistent(adapter->pdev, rsp_size, rsp_addr, rsp_phys_addr); in nx_fw_cmd_create_tx_ctx()
/kernel/linux/linux-5.10/drivers/char/ipmi/
Dipmi_msghandler.c3546 msg->rsp_size = 3; in deliver_smi_err_response()
3646 if (msg->rsp_size < 11) { in handle_ipmb_get_msg_rsp()
3681 memcpy(recv_msg->msg_data, &msg->rsp[9], msg->rsp_size - 9); in handle_ipmb_get_msg_rsp()
3689 recv_msg->msg.data_len = msg->rsp_size - 10; in handle_ipmb_get_msg_rsp()
3711 if (msg->rsp_size < 10) { in handle_ipmb_get_msg_cmd()
3799 recv_msg->msg.data_len = msg->rsp_size - 10; in handle_ipmb_get_msg_cmd()
3801 msg->rsp_size - 10); in handle_ipmb_get_msg_cmd()
3823 if (msg->rsp_size < 13) { in handle_lan_get_msg_rsp()
3861 memcpy(recv_msg->msg_data, &msg->rsp[11], msg->rsp_size - 11); in handle_lan_get_msg_rsp()
3869 recv_msg->msg.data_len = msg->rsp_size - 12; in handle_lan_get_msg_rsp()
[all …]
Dipmi_powernv.c50 msg->rsp_size = 3; in send_error_reply()
170 msg->rsp_size = 2 + size - sizeof(*opal_msg); in ipmi_powernv_recv()
Dipmi_si_intf.c302 msg->rsp_size = 3; in return_hosed_msg()
546 smi_info->curr_msg->rsp_size in handle_transaction_done()
602 smi_info->curr_msg->rsp_size in handle_transaction_done()
640 smi_info->curr_msg->rsp_size in handle_transaction_done()
1762 msg->rsp_size = 3; in return_hosed_msg_badsize()
Dipmi_ssif.c325 if (msg->rsp_size < 0) { in deliver_recv_msg()
329 __func__, msg->rsp_size); in deliver_recv_msg()
344 msg->rsp_size = 3; in return_hosed_msg()
780 msg->rsp_size = len; in msg_done_handler()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_gs.c46 ms_pkt->rsp_bytecount = cpu_to_le32(arg->rsp_size); in qla2x00_prep_ms_iocb()
82 ct_pkt->rsp_byte_count = cpu_to_le32(arg->rsp_size); in qla24xx_prep_ms_iocb()
106 qla2x00_prep_ct_req(struct ct_sns_pkt *p, uint16_t cmd, uint16_t rsp_size) in qla2x00_prep_ct_req() argument
114 p->p.req.max_rsp_size = cpu_to_be16((rsp_size - 16) / 4); in qla2x00_prep_ct_req()
217 arg.rsp_size = GA_NXT_RSP_SIZE; in qla2x00_ga_nxt()
309 arg.rsp_size = gid_pt_rsp_size; in qla2x00_gid_pt()
387 arg.rsp_size = GPN_ID_RSP_SIZE; in qla2x00_gpn_id()
454 arg.rsp_size = GNN_ID_RSP_SIZE; in qla2x00_gnn_id()
639 sp->u.iocb_cmd.u.ctarg.rsp_size = RFT_ID_RSP_SIZE; in qla_async_rftid()
733 sp->u.iocb_cmd.u.ctarg.rsp_size = RFF_ID_RSP_SIZE; in qla_async_rffid()
[all …]
Dqla_fw.h920 uint8_t rsp_size; /* Response size in 32bit words. */ member
Dqla_def.h465 u32 rsp_size; member
/kernel/linux/linux-5.10/drivers/nvmem/
Drave-sp-eeprom.c98 const unsigned int rsp_size = in rave_sp_eeprom_io() local
126 ret = rave_sp_exec(eeprom->sp, cmd, cmd_size, page, rsp_size); in rave_sp_eeprom_io()
/kernel/linux/linux-5.10/include/linux/
Dipmi_smi.h63 int rsp_size; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c250 size_t rq_size, rsp_size; in qlcnic_82xx_fw_cmd_create_rx_ctx() local
262 rsp_size = SIZEOF_CARDRSP_RX(struct qlcnic_cardrsp_rx_ctx, nrds_rings, in qlcnic_82xx_fw_cmd_create_rx_ctx()
271 addr = dma_alloc_coherent(&adapter->pdev->dev, rsp_size, in qlcnic_82xx_fw_cmd_create_rx_ctx()
384 dma_free_coherent(&adapter->pdev->dev, rsp_size, prsp, in qlcnic_82xx_fw_cmd_create_rx_ctx()
426 size_t rq_size, rsp_size; in qlcnic_82xx_fw_cmd_create_tx_ctx() local
441 rsp_size = SIZEOF_CARDRSP_TX(struct qlcnic_cardrsp_tx_ctx); in qlcnic_82xx_fw_cmd_create_tx_ctx()
442 rsp_addr = dma_alloc_coherent(&adapter->pdev->dev, rsp_size, in qlcnic_82xx_fw_cmd_create_tx_ctx()
515 dma_free_coherent(&adapter->pdev->dev, rsp_size, rsp_addr, in qlcnic_82xx_fw_cmd_create_tx_ctx()
/kernel/linux/linux-5.10/drivers/vhost/
Dscsi.c236 size_t req_size, rsp_size; member
894 if (unlikely(vc->in_size < vc->rsp_size)) { in vhost_scsi_chk_size()
897 vc->rsp_size, vc->in_size); in vhost_scsi_chk_size()
971 vc.rsp_size = sizeof(struct virtio_scsi_cmd_resp); in vhost_scsi_handle_vq()
1032 } else if (vc.in_size > vc.rsp_size) { in vhost_scsi_handle_vq()
1034 exp_data_len = vc.in_size - vc.rsp_size; in vhost_scsi_handle_vq()
1037 vc.rsp_size + exp_data_len); in vhost_scsi_handle_vq()
1038 iov_iter_advance(&in_iter, vc.rsp_size); in vhost_scsi_handle_vq()
1327 vc.rsp_size = sizeof(struct virtio_scsi_ctrl_tmf_resp); in vhost_scsi_ctl_handle_vq()
1335 vc.rsp_size = sizeof(struct virtio_scsi_ctrl_an_resp); in vhost_scsi_ctl_handle_vq()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_ct.c414 uint32_t rsp_size, uint8_t retry) in lpfc_ct_cmd() argument
426 outmp = lpfc_alloc_ct_rsp(phba, cmdcode, bpl, rsp_size, &cnt); in lpfc_ct_cmd()
1597 uint32_t rsp_size = 1024; in lpfc_ns_cmd() local
1689 rsp_size = FC_MAX_NS_RSP; in lpfc_ns_cmd()
1701 rsp_size = FC_MAX_NS_RSP; in lpfc_ns_cmd()
1835 if (!lpfc_ct_cmd(vport, mp, bmp, ndlp, cmpl, rsp_size, retry)) { in lpfc_ns_cmd()
3049 uint32_t rsp_size; in lpfc_fdmi_cmd() local
3101 rsp_size = LPFC_BPL_SIZE; in lpfc_fdmi_cmd()
3206 rsp_size = FC_MAX_NS_RSP; in lpfc_fdmi_cmd()
3219 rsp_size = FC_MAX_NS_RSP; in lpfc_fdmi_cmd()
[all …]
Dlpfc_bsg.c311 unsigned int rsp_size; in lpfc_bsg_send_mgmt_cmd_cmp() local
358 rsp_size = rsp->un.genreq64.bdl.bdeSize; in lpfc_bsg_send_mgmt_cmd_cmp()
361 rsp_size, 0); in lpfc_bsg_send_mgmt_cmd_cmp()
589 unsigned int rsp_size; in lpfc_bsg_rport_els_cmp() local
621 rsp_size = rsp->un.elsreq64.bdl.bdeSize; in lpfc_bsg_rport_els_cmp()
626 rsp_size); in lpfc_bsg_rport_els_cmp()
5090 unsigned int rsp_size; in lpfc_bsg_menlo_cmd_cmp() local
5138 rsp_size = rsp->un.genreq64.bdl.bdeSize; in lpfc_bsg_menlo_cmd_cmp()
5141 rsp_size, 0); in lpfc_bsg_menlo_cmd_cmp()
/kernel/linux/linux-5.10/fs/cifs/
Dmisc.c681 parse_dfs_referrals(struct get_dfs_referral_rsp *rsp, u32 rsp_size, in parse_dfs_referrals() argument
709 data_end = (char *)rsp + rsp_size; in parse_dfs_referrals()
Dcifsproto.h328 extern int parse_dfs_referrals(struct get_dfs_referral_rsp *rsp, u32 rsp_size,
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-nvm-parse.c1545 size_t rsp_size = v4 ? sizeof(*rsp) : sizeof(*rsp_v3); in iwl_get_nvm() local
1552 if (WARN(iwl_rx_packet_payload_len(hcmd.resp_pkt) != rsp_size, in iwl_get_nvm()