/linux-6.6.21/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()
|
/linux-6.6.21/drivers/char/tpm/ |
D | tpm_crb.c | 563 u32 rsp_size; in crb_map_io() local 664 rsp_size = ioread32(&priv->regs_t->ctrl_rsp_size); in crb_map_io() 678 rsp_size = crb_fixup_cmd_size(dev, iores, rsp_pa, rsp_size); in crb_map_io() 682 rsp_pa, rsp_size); in crb_map_io() 690 if (cmd_size != rsp_size) { in crb_map_io()
|
/linux-6.6.21/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
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/char/ipmi/ |
D | ipmi_msghandler.c | 3713 msg->rsp_size = 3; in deliver_smi_err_response() 3822 if (msg->rsp_size < 11) { in handle_ipmb_get_msg_rsp() 3857 memcpy(recv_msg->msg_data, &msg->rsp[9], msg->rsp_size - 9); in handle_ipmb_get_msg_rsp() 3865 recv_msg->msg.data_len = msg->rsp_size - 10; in handle_ipmb_get_msg_rsp() 3887 if (msg->rsp_size < 10) { in handle_ipmb_get_msg_cmd() 3976 recv_msg->msg.data_len = msg->rsp_size - 10; in handle_ipmb_get_msg_cmd() 3978 msg->rsp_size - 10); in handle_ipmb_get_msg_cmd() 4064 recv_msg->msg.data_len = msg->rsp_size - 4; in handle_ipmb_direct_rcv_cmd() 4066 msg->rsp_size - 4); in handle_ipmb_direct_rcv_cmd() 4100 memcpy(recv_msg->msg_data, &msg->rsp[4], msg->rsp_size - 4); in handle_ipmb_direct_rcv_rsp() [all …]
|
D | ipmi_ipmb.c | 157 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() 237 msg->rsp_size = 5; in ipmi_ipmb_send_response() 241 msg->rsp_size = 3; in ipmi_ipmb_send_response()
|
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 | 304 msg->rsp_size = 3; in return_hosed_msg() 548 smi_info->curr_msg->rsp_size in handle_transaction_done() 604 smi_info->curr_msg->rsp_size in handle_transaction_done() 642 smi_info->curr_msg->rsp_size in handle_transaction_done() 1755 msg->rsp_size = 3; in return_hosed_msg_badsize()
|
D | ipmi_ssif.c | 325 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() 758 msg->rsp_size = len; in msg_done_handler()
|
/linux-6.6.21/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 | 504 u32 rsp_size; member
|
/linux-6.6.21/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()
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/scsi/lpfc/ |
D | lpfc_ct.c | 668 uint32_t rsp_size, uint8_t retry) in lpfc_ct_cmd() argument 680 outmp = lpfc_alloc_ct_rsp(phba, cmdcode, bpl, rsp_size, &cnt); in lpfc_ct_cmd() 1912 uint32_t rsp_size = 1024; in lpfc_ns_cmd() local 2003 rsp_size = FC_MAX_NS_RSP; in lpfc_ns_cmd() 2015 rsp_size = FC_MAX_NS_RSP; in lpfc_ns_cmd() 2151 if (!lpfc_ct_cmd(vport, mp, bmp, ndlp, cmpl, rsp_size, retry)) { in lpfc_ns_cmd() 3193 uint32_t rsp_size; in lpfc_fdmi_cmd() local 3232 rsp_size = LPFC_BPL_SIZE; in lpfc_fdmi_cmd() 3367 rsp_size = FC_MAX_NS_RSP; in lpfc_fdmi_cmd() 3380 rsp_size = FC_MAX_NS_RSP; in lpfc_fdmi_cmd() [all …]
|
D | lpfc_bsg.c | 561 unsigned int rsp_size; in lpfc_bsg_rport_els_cmp() local 596 rsp_size = total_data_placed; in lpfc_bsg_rport_els_cmp() 601 rsp_size); in lpfc_bsg_rport_els_cmp()
|
/linux-6.6.21/drivers/vhost/ |
D | scsi.c | 230 size_t req_size, rsp_size; member 987 if (unlikely(vc->in_size < vc->rsp_size)) { in vhost_scsi_chk_size() 990 vc->rsp_size, vc->in_size); in vhost_scsi_chk_size() 1064 vc.rsp_size = sizeof(struct virtio_scsi_cmd_resp); in vhost_scsi_handle_vq() 1125 } else if (vc.in_size > vc.rsp_size) { in vhost_scsi_handle_vq() 1127 exp_data_len = vc.in_size - vc.rsp_size; in vhost_scsi_handle_vq() 1130 vc.rsp_size + exp_data_len); in vhost_scsi_handle_vq() 1131 iov_iter_advance(&in_iter, vc.rsp_size); in vhost_scsi_handle_vq() 1421 vc.rsp_size = sizeof(struct virtio_scsi_ctrl_tmf_resp); in vhost_scsi_ctl_handle_vq() 1429 vc.rsp_size = sizeof(struct virtio_scsi_ctrl_an_resp); in vhost_scsi_ctl_handle_vq()
|
/linux-6.6.21/include/linux/ |
D | ipmi_smi.h | 118 int rsp_size; member
|
/linux-6.6.21/fs/smb/client/ |
D | misc.c | 862 parse_dfs_referrals(struct get_dfs_referral_rsp *rsp, u32 rsp_size, in parse_dfs_referrals() argument 890 data_end = (char *)rsp + rsp_size; in parse_dfs_referrals()
|
D | cifsproto.h | 366 extern int parse_dfs_referrals(struct get_dfs_referral_rsp *rsp, u32 rsp_size,
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-nvm-parse.c | 1982 size_t rsp_size = v4 ? sizeof(*rsp) : sizeof(*rsp_v3); in iwl_get_nvm() local 1989 if (WARN(iwl_rx_packet_payload_len(hcmd.resp_pkt) != rsp_size, in iwl_get_nvm()
|