Home
last modified time | relevance | path

Searched refs:req_buf (Results 1 – 25 of 29) sorted by relevance

12

/drivers/net/fjes/
Dfjes_hw.c222 hw->hw_info.req_buf = kzalloc(mem_size, GFP_KERNEL); in fjes_hw_setup()
223 if (!(hw->hw_info.req_buf)) { in fjes_hw_setup()
270 param.req_start = __pa(hw->hw_info.req_buf); in fjes_hw_setup()
292 kfree(hw->hw_info.req_buf); in fjes_hw_setup()
293 hw->hw_info.req_buf = NULL; in fjes_hw_setup()
309 kfree(hw->hw_info.req_buf); in fjes_hw_cleanup()
310 hw->hw_info.req_buf = NULL; in fjes_hw_cleanup()
442 union fjes_device_command_req *req_buf = hw->hw_info.req_buf; in fjes_hw_request_info() local
447 memset(req_buf, 0, hw->hw_info.req_buf_size); in fjes_hw_request_info()
450 req_buf->info.length = FJES_DEV_COMMAND_INFO_REQ_LEN; in fjes_hw_request_info()
[all …]
Dfjes_trace.h94 TP_PROTO(union fjes_device_command_req *req_buf,
96 TP_ARGS(req_buf, buf_pair),
110 __entry->length = req_buf->share_buffer.length;
111 __entry->epid = req_buf->share_buffer.epid;
154 TP_PROTO(union fjes_device_command_req *req_buf),
155 TP_ARGS(req_buf),
161 __entry->length = req_buf->unshare_buffer.length;
162 __entry->epid = req_buf->unshare_buffer.epid;
198 TP_PROTO(union fjes_device_command_req *req_buf),
199 TP_ARGS(req_buf),
[all …]
Dfjes_hw.h279 union fjes_device_command_req *req_buf; member
/drivers/nvdimm/
Dnd_virtio.c16 struct virtio_pmem_request *req_data, *req_buf; in virtio_pmem_host_ack() local
26 req_buf = list_first_entry(&vpmem->req_list, in virtio_pmem_host_ack()
28 req_buf->wq_buf_avail = true; in virtio_pmem_host_ack()
29 wake_up(&req_buf->wq_buf); in virtio_pmem_host_ack()
30 list_del(&req_buf->list); in virtio_pmem_host_ack()
/drivers/mailbox/
Dzynqmp-ipi-mailbox.c69 void __iomem *req_buf; member
170 memcpy_fromio(msg->data, mchan->req_buf, in zynqmp_ipi_interrupt()
288 memcpy_toio(mchan->req_buf, msg->data, msg->len); in zynqmp_ipi_send_data()
506 mchan->req_buf = devm_ioremap(mdev, res.start, in zynqmp_ipi_mbox_probe()
508 if (!mchan->req_buf) { in zynqmp_ipi_mbox_probe()
543 mchan->req_buf = devm_ioremap(mdev, res.start, in zynqmp_ipi_mbox_probe()
545 if (!mchan->req_buf) { in zynqmp_ipi_mbox_probe()
/drivers/scsi/qedi/
Dqedi_iscsi.c89 if (qedi_conn->gen_pdu.req_buf) { in qedi_conn_free_login_resources()
92 qedi_conn->gen_pdu.req_buf, in qedi_conn_free_login_resources()
94 qedi_conn->gen_pdu.req_buf = NULL; in qedi_conn_free_login_resources()
101 qedi_conn->gen_pdu.req_buf = in qedi_conn_alloc_login_resources()
106 if (!qedi_conn->gen_pdu.req_buf) in qedi_conn_alloc_login_resources()
110 qedi_conn->gen_pdu.req_wr_ptr = qedi_conn->gen_pdu.req_buf; in qedi_conn_alloc_login_resources()
154 qedi_conn->gen_pdu.req_buf, in qedi_conn_alloc_login_resources()
156 qedi_conn->gen_pdu.req_buf = NULL; in qedi_conn_alloc_login_resources()
762 qedi_conn->gen_pdu.req_buf; in qedi_iscsi_prep_generic_pdu_bd()
785 buf = qedi_conn->gen_pdu.req_buf; in qedi_iscsi_send_generic_request()
[all …]
Dqedi_iscsi.h134 char *req_buf; member
/drivers/block/
Dsunvdc.c579 void *req_buf; in generic_request() local
643 req_buf = kzalloc(op_len, GFP_KERNEL); in generic_request()
644 if (!req_buf) in generic_request()
651 memcpy(req_buf, buf, len); in generic_request()
662 err = ldc_map_single(port->vio.lp, req_buf, op_len, in generic_request()
667 kfree(req_buf); in generic_request()
704 memcpy(buf, req_buf, len); in generic_request()
706 kfree(req_buf); in generic_request()
/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c959 if (bnx2i_conn->gen_pdu.req_buf) { in bnx2i_conn_free_login_resources()
962 bnx2i_conn->gen_pdu.req_buf, in bnx2i_conn_free_login_resources()
964 bnx2i_conn->gen_pdu.req_buf = NULL; in bnx2i_conn_free_login_resources()
979 bnx2i_conn->gen_pdu.req_buf = in bnx2i_conn_alloc_login_resources()
984 if (bnx2i_conn->gen_pdu.req_buf == NULL) in bnx2i_conn_alloc_login_resources()
988 bnx2i_conn->gen_pdu.req_wr_ptr = bnx2i_conn->gen_pdu.req_buf; in bnx2i_conn_alloc_login_resources()
1029 bnx2i_conn->gen_pdu.req_buf, in bnx2i_conn_alloc_login_resources()
1031 bnx2i_conn->gen_pdu.req_buf = NULL; in bnx2i_conn_alloc_login_resources()
1057 bnx2i_conn->gen_pdu.req_buf; in bnx2i_iscsi_prep_generic_pdu_bd()
1094 buf = bnx2i_conn->gen_pdu.req_buf; in bnx2i_iscsi_send_generic_request()
[all …]
Dbnx2i.h196 char *req_buf; member
/drivers/target/iscsi/
Discsi_target_nego.c779 login->req_buf, in iscsi_target_do_authentication()
839 login->req_buf, in iscsi_target_handle_csg_zero()
923 login->req_buf, in iscsi_target_handle_csg_one()
1079 tmpbuf = kmemdup_nul(login->req_buf, payload_length, GFP_KERNEL); in iscsi_target_locate_portal()
1335 kfree(login->req_buf); in iscsi_target_nego_release()
Discsi_target_login.c51 login->req_buf = kzalloc(MAX_KEY_VALUE_PAIRS, GFP_KERNEL); in iscsi_login_init_conn()
52 if (!login->req_buf) { in iscsi_login_init_conn()
68 kfree(login->req_buf); in iscsi_login_init_conn()
1045 memset(login->req_buf, 0, MAX_KEY_VALUE_PAIRS); in iscsit_get_login_rx()
1046 if (iscsi_login_rx_data(conn, login->req_buf, in iscsit_get_login_rx()
/drivers/scsi/bnx2fc/
Dbnx2fc_io.c567 if (mp_req->req_buf) { in bnx2fc_free_mp_resc()
569 mp_req->req_buf, in bnx2fc_free_mp_resc()
571 mp_req->req_buf = NULL; in bnx2fc_free_mp_resc()
600 mp_req->req_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_init_mp_req()
603 if (!mp_req->req_buf) { in bnx2fc_init_mp_req()
617 memset(mp_req->req_buf, 0, CNIC_PAGE_SIZE); in bnx2fc_init_mp_req()
743 bnx2fc_build_fcp_cmnd(io_req, (struct fcp_cmnd *)tm_req->req_buf); in bnx2fc_initiate_tmf()
744 fcp_cmnd = (struct fcp_cmnd *)tm_req->req_buf; in bnx2fc_initiate_tmf()
Dbnx2fc.h392 void *req_buf; member
/drivers/net/wireless/zydas/zd1211rw/
Dzd_usb.c1722 sizeof(__le16) > sizeof(usb->req_buf)); in zd_usb_ioread16v()
1724 sizeof(usb->req_buf)); in zd_usb_ioread16v()
1727 req = (void *)usb->req_buf; in zd_usb_ioread16v()
1994 sizeof(usb->req_buf)); in zd_usb_rfwrite()
1996 sizeof(usb->req_buf)); in zd_usb_rfwrite()
1999 req = (void *)usb->req_buf; in zd_usb_rfwrite()
Dzd_usb.h214 u8 req_buf[64]; /* zd_usb_iowrite16v needs 62 bytes */ member
/drivers/media/platform/davinci/
Dvpfe_capture.c1259 struct v4l2_requestbuffers *req_buf) in vpfe_reqbufs() argument
1267 if (V4L2_BUF_TYPE_VIDEO_CAPTURE != req_buf->type) { in vpfe_reqbufs()
1282 vpfe_dev->memory = req_buf->memory; in vpfe_reqbufs()
1287 req_buf->type, in vpfe_reqbufs()
1295 ret = videobuf_reqbufs(&vpfe_dev->buffer_queue, req_buf); in vpfe_reqbufs()
/drivers/scsi/qedf/
Dqedf_io.c420 if (mp_req->req_buf) { in qedf_free_mp_resc()
422 mp_req->req_buf, mp_req->req_buf_dma); in qedf_free_mp_resc()
423 mp_req->req_buf = NULL; in qedf_free_mp_resc()
2074 mp_req->req_buf = dma_alloc_coherent(&qedf->pdev->dev, QEDF_PAGE_SIZE, in qedf_init_mp_req()
2076 if (!mp_req->req_buf) { in qedf_init_mp_req()
Dqedf.h56 void *req_buf; member
Dqedf_els.c92 memcpy(mp_req->req_buf, data, data_len); in qedf_initiate_els()
/drivers/net/wireless/ath/ath10k/
Dusb.c545 u8 req_val, u8 *req_buf, u32 req_len, in ath10k_usb_ctrl_msg_exchange() argument
553 req_buf, req_len); in ath10k_usb_ctrl_msg_exchange()
/drivers/net/wireless/ath/ath6kl/
Dusb.c931 u8 req_val, u8 *req_buf, u32 req_len, in ath6kl_usb_ctrl_msg_exchange() argument
938 req_buf, req_len); in ath6kl_usb_ctrl_msg_exchange()
/drivers/usb/dwc2/
Dgadget.c1288 void *req_buf = hs_req->req.buf; in dwc2_hsotg_handle_unaligned_buf_start() local
1291 if (!using_dma(hsotg) || !((long)req_buf & 3)) in dwc2_hsotg_handle_unaligned_buf_start()
1297 hs_ep->ep.name, req_buf, hs_req->req.length); in dwc2_hsotg_handle_unaligned_buf_start()
1301 hs_req->req.buf = req_buf; in dwc2_hsotg_handle_unaligned_buf_start()
1309 hs_req->saved_req_buf = req_buf; in dwc2_hsotg_handle_unaligned_buf_start()
1312 memcpy(hs_req->req.buf, req_buf, hs_req->req.length); in dwc2_hsotg_handle_unaligned_buf_start()
/drivers/usb/gadget/udc/
Dsnps_udc_core.c646 u8 *req_buf; in udc_txfifo_write() local
655 req_buf = req->buf + req->actual; in udc_txfifo_write()
656 prefetch(req_buf); in udc_txfifo_write()
659 buf = (u32 *) req_buf; in udc_txfifo_write()
/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c1358 memset(login->req_buf, 0, MAX_KEY_VALUE_PAIRS); in cxgbit_rx_login_pdu()
1359 skb_copy_bits(csk->skb, pdu_cb->doffset, login->req_buf, pdu_cb->dlen); in cxgbit_rx_login_pdu()

12