/drivers/iio/chemical/ |
D | sps30_i2c.c | 66 void *rsp, size_t rsp_size) in sps30_i2c_command() argument 90 rsp_size += rsp_size / 2; in sps30_i2c_command() 103 ret = sps30_i2c_xfer(state, buf, i, buf, rsp_size); in sps30_i2c_command() 109 for (i = 0; i < rsp_size; i += 3) { in sps30_i2c_command()
|
D | sps30_serial.c | 191 const void *arg, size_t arg_size, void *rsp, size_t rsp_size) in sps30_serial_command() argument 206 rsp_size = min_t(size_t, priv->buf[SPS30_SERIAL_FRAME_MISO_LEN_OFFSET], rsp_size); in sps30_serial_command() 207 memcpy(rsp, &priv->buf[SPS30_SERIAL_FRAME_MISO_DATA_OFFSET], rsp_size); in sps30_serial_command() 210 return rsp_size; in sps30_serial_command()
|
/drivers/char/tpm/ |
D | tpm_crb.c | 517 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()
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_ctx.c | 270 size_t rq_size, rsp_size; in nx_fw_cmd_create_rx_ctx() local 282 rsp_size = in nx_fw_cmd_create_rx_ctx() 291 addr = dma_alloc_coherent(&adapter->pdev->dev, rsp_size, in nx_fw_cmd_create_rx_ctx() 391 dma_free_coherent(&adapter->pdev->dev, rsp_size, prsp, in nx_fw_cmd_create_rx_ctx() 424 size_t rq_size, rsp_size; in nx_fw_cmd_create_tx_ctx() local 439 rsp_size = SIZEOF_CARDRSP_TX(nx_cardrsp_tx_ctx_t); in nx_fw_cmd_create_tx_ctx() 440 rsp_addr = dma_alloc_coherent(&adapter->pdev->dev, rsp_size, in nx_fw_cmd_create_tx_ctx() 496 dma_free_coherent(&adapter->pdev->dev, rsp_size, rsp_addr, in nx_fw_cmd_create_tx_ctx()
|
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.c | 28 mdev->rsp_size = 0; in __otx2_mbox_reset() 240 mdev->rsp_size = 0; in otx2_mbox_msg_send() 277 if ((mdev->rsp_size + size_rsp) > mbox->rx_size - msgs_offset) in otx2_mbox_alloc_msg_rsp() 291 mdev->rsp_size += size_rsp; in otx2_mbox_alloc_msg_rsp()
|
D | mbox.h | 55 u16 rsp_size; /* Total rsp size to be sure the reply is ok */ member
|
/drivers/char/ipmi/ |
D | ipmi_msghandler.c | 3536 msg->rsp_size = 3; in deliver_smi_err_response() 3639 if (msg->rsp_size < 11) { in handle_ipmb_get_msg_rsp() 3674 memcpy(recv_msg->msg_data, &msg->rsp[9], msg->rsp_size - 9); in handle_ipmb_get_msg_rsp() 3682 recv_msg->msg.data_len = msg->rsp_size - 10; in handle_ipmb_get_msg_rsp() 3704 if (msg->rsp_size < 10) { in handle_ipmb_get_msg_cmd() 3792 recv_msg->msg.data_len = msg->rsp_size - 10; in handle_ipmb_get_msg_cmd() 3794 msg->rsp_size - 10); in handle_ipmb_get_msg_cmd() 3816 if (msg->rsp_size < 13) { in handle_lan_get_msg_rsp() 3854 memcpy(recv_msg->msg_data, &msg->rsp[11], msg->rsp_size - 11); in handle_lan_get_msg_rsp() 3862 recv_msg->msg.data_len = msg->rsp_size - 12; in handle_lan_get_msg_rsp() [all …]
|
D | ipmi_powernv.c | 50 msg->rsp_size = 3; in send_error_reply() 170 msg->rsp_size = 2 + size - sizeof(*opal_msg); in ipmi_powernv_recv()
|
D | ipmi_si_intf.c | 303 msg->rsp_size = 3; in return_hosed_msg() 547 smi_info->curr_msg->rsp_size in handle_transaction_done() 603 smi_info->curr_msg->rsp_size in handle_transaction_done() 641 smi_info->curr_msg->rsp_size in handle_transaction_done() 1754 msg->rsp_size = 3; in return_hosed_msg_badsize()
|
D | ipmi_ssif.c | 331 if (msg->rsp_size < 0) { in deliver_recv_msg() 335 __func__, msg->rsp_size); in deliver_recv_msg() 350 msg->rsp_size = 3; in return_hosed_msg() 766 msg->rsp_size = len; in msg_done_handler()
|
/drivers/scsi/qla2xxx/ |
D | qla_gs.c | 46 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() 640 sp->u.iocb_cmd.u.ctarg.rsp_size = RFT_ID_RSP_SIZE; in qla_async_rftid() 734 sp->u.iocb_cmd.u.ctarg.rsp_size = RFF_ID_RSP_SIZE; in qla_async_rffid() [all …]
|
D | qla_fw.h | 927 uint8_t rsp_size; /* Response size in 32bit words. */ member
|
D | qla_def.h | 485 u32 rsp_size; member
|
/drivers/nvmem/ |
D | rave-sp-eeprom.c | 98 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()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ctx.c | 250 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()
|
/drivers/vhost/ |
D | scsi.c | 222 size_t req_size, rsp_size; member 874 if (unlikely(vc->in_size < vc->rsp_size)) { in vhost_scsi_chk_size() 877 vc->rsp_size, vc->in_size); in vhost_scsi_chk_size() 951 vc.rsp_size = sizeof(struct virtio_scsi_cmd_resp); in vhost_scsi_handle_vq() 1012 } else if (vc.in_size > vc.rsp_size) { in vhost_scsi_handle_vq() 1014 exp_data_len = vc.in_size - vc.rsp_size; in vhost_scsi_handle_vq() 1017 vc.rsp_size + exp_data_len); in vhost_scsi_handle_vq() 1018 iov_iter_advance(&in_iter, vc.rsp_size); in vhost_scsi_handle_vq() 1300 vc.rsp_size = sizeof(struct virtio_scsi_ctrl_tmf_resp); in vhost_scsi_ctl_handle_vq() 1308 vc.rsp_size = sizeof(struct virtio_scsi_ctrl_an_resp); in vhost_scsi_ctl_handle_vq()
|
/drivers/scsi/lpfc/ |
D | lpfc_ct.c | 691 uint32_t rsp_size, uint8_t retry) in lpfc_ct_cmd() argument 703 outmp = lpfc_alloc_ct_rsp(phba, cmdcode, bpl, rsp_size, &cnt); in lpfc_ct_cmd() 1916 uint32_t rsp_size = 1024; in lpfc_ns_cmd() local 2007 rsp_size = FC_MAX_NS_RSP; in lpfc_ns_cmd() 2019 rsp_size = FC_MAX_NS_RSP; in lpfc_ns_cmd() 2153 if (!lpfc_ct_cmd(vport, mp, bmp, ndlp, cmpl, rsp_size, retry)) { in lpfc_ns_cmd() 3441 uint32_t rsp_size; in lpfc_fdmi_cmd() local 3493 rsp_size = LPFC_BPL_SIZE; in lpfc_fdmi_cmd() 3598 rsp_size = FC_MAX_NS_RSP; in lpfc_fdmi_cmd() 3611 rsp_size = FC_MAX_NS_RSP; in lpfc_fdmi_cmd() [all …]
|
D | lpfc_bsg.c | 311 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() 584 unsigned int rsp_size; in lpfc_bsg_rport_els_cmp() local 616 rsp_size = rsp->un.elsreq64.bdl.bdeSize; in lpfc_bsg_rport_els_cmp() 621 rsp_size); in lpfc_bsg_rport_els_cmp() 5079 unsigned int rsp_size; in lpfc_bsg_menlo_cmd_cmp() local 5127 rsp_size = rsp->un.genreq64.bdl.bdeSize; in lpfc_bsg_menlo_cmd_cmp() 5130 rsp_size, 0); in lpfc_bsg_menlo_cmd_cmp()
|
/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-nvm-parse.c | 1640 size_t rsp_size = v4 ? sizeof(*rsp) : sizeof(*rsp_v3); in iwl_get_nvm() local 1647 if (WARN(iwl_rx_packet_payload_len(hcmd.resp_pkt) != rsp_size, in iwl_get_nvm()
|