Home
last modified time | relevance | path

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

/linux/drivers/iio/chemical/
H A Dsps30_i2c.c66 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()
H A Dsps30_serial.c191 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()
/linux/include/linux/firmware/qcom/
H A Dqcom_qseecom.h49 void *rsp, size_t rsp_size) in qcom_qseecom_app_send() argument
51 return qcom_scm_qseecom_app_send(client->app_id, req, req_size, rsp, rsp_size); in qcom_qseecom_app_send()
/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_ctx.c270 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()
/linux/drivers/char/ipmi/
H A Dipmi_msghandler.c3774 msg->rsp_size = 3; in deliver_smi_err_response()
3888 if (msg->rsp_size < 11) { in handle_ipmb_get_msg_rsp()
3923 memcpy(recv_msg->msg_data, &msg->rsp[9], msg->rsp_size - 9); in handle_ipmb_get_msg_rsp()
3931 recv_msg->msg.data_len = msg->rsp_size - 10; in handle_ipmb_get_msg_rsp()
3953 if (msg->rsp_size < 10) { in handle_ipmb_get_msg_cmd()
4025 recv_msg->msg.data_len = msg->rsp_size - 10; in handle_ipmb_get_msg_cmd()
4027 msg->rsp_size - 10); in handle_ipmb_get_msg_cmd()
4101 recv_msg->msg.data_len = msg->rsp_size - 4; in handle_ipmb_direct_rcv_cmd()
4103 msg->rsp_size - 4); in handle_ipmb_direct_rcv_cmd()
4142 memcpy(recv_msg->msg_data, &msg->rsp[4], msg->rsp_size - 4); in handle_ipmb_direct_rcv_rsp()
[all …]
H A Dipmi_ipmb.c157 imsg->rsp_size = iidev->rcvlen - 3; in ipmi_ipmb_check_msg_done()
165 imsg->rsp_size = iidev->rcvlen - 5; in ipmi_ipmb_check_msg_done()
242 msg->rsp_size = 5; in ipmi_ipmb_send_response()
246 msg->rsp_size = 3; in ipmi_ipmb_send_response()
/linux/drivers/char/tpm/
H A Dtpm_crb.c621 u32 rsp_size; in crb_map_io() local
723 rsp_size = ioread32(&priv->regs_t->ctrl_rsp_size); in crb_map_io()
737 rsp_size = crb_fixup_cmd_size(dev, iores, rsp_pa, rsp_size); in crb_map_io()
741 rsp_pa, rsp_size); in crb_map_io()
749 if (cmd_size != rsp_size) { in crb_map_io()
/linux/drivers/nvmem/
H A 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()
/linux/fs/smb/client/
H A Dmisc.c672 parse_dfs_referrals(struct get_dfs_referral_rsp *rsp, u32 rsp_size, in parse_dfs_referrals() argument
682 if (rsp_size < sizeof(*rsp)) { in parse_dfs_referrals()
685 __func__, rsp_size, sizeof(*rsp)); in parse_dfs_referrals()
699 if (sizeof(*rsp) + *num_of_nodes * sizeof(REFERRAL3) > rsp_size) { in parse_dfs_referrals()
702 __func__, rsp_size, in parse_dfs_referrals()
717 data_end = (char *)rsp + rsp_size; in parse_dfs_referrals()
H A Dcifsproto.h297 int parse_dfs_referrals(struct get_dfs_referral_rsp *rsp, u32 rsp_size,
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmbox.c31 mdev->rsp_size = 0; in __otx2_mbox_reset()
338 mdev->rsp_size = 0; in otx2_mbox_msg_send_data()
416 if ((mdev->rsp_size + size_rsp) > mbox->rx_size - msgs_offset) in otx2_mbox_alloc_msg_rsp()
430 mdev->rsp_size += size_rsp; in otx2_mbox_alloc_msg_rsp()
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A 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()
/linux/drivers/scsi/qla2xxx/
H A Dqla_fw.h927 uint8_t rsp_size; /* Response size in 32bit words. */ member
/linux/drivers/scsi/lpfc/
H A Dlpfc_bsg.c575 unsigned int rsp_size; in lpfc_bsg_rport_els_cmp() local
610 rsp_size = total_data_placed; in lpfc_bsg_rport_els_cmp()
615 rsp_size); in lpfc_bsg_rport_els_cmp()