Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/net/fjes/
H A 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()
266 param.req_start = __pa(hw->hw_info.req_buf); in fjes_hw_setup()
286 kfree(hw->hw_info.req_buf); in fjes_hw_cleanup()
287 hw->hw_info.req_buf = NULL; in fjes_hw_cleanup()
419 union fjes_device_command_req *req_buf = hw->hw_info.req_buf; in fjes_hw_request_info() local
424 memset(req_buf, 0, hw->hw_info.req_buf_size); in fjes_hw_request_info()
427 req_buf->info.length = FJES_DEV_COMMAND_INFO_REQ_LEN; in fjes_hw_request_info()
477 union fjes_device_command_req *req_buf = hw->hw_info.req_buf; in fjes_hw_register_buff_addr() local
489 memset(req_buf, 0, hw->hw_info.req_buf_size); in fjes_hw_register_buff_addr()
[all …]
H A 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 …]
H A Dfjes_hw.h279 union fjes_device_command_req *req_buf; member
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_statlog.c815 uint8 *req_buf; in dhd_statlog_generate_bdmask() local
831 req_buf = query->req_buf; in dhd_statlog_generate_bdmask()
833 if (!req_buf) { in dhd_statlog_generate_bdmask()
840 if (DHD_STATLOG_VALID(req_buf[cnt])) { in dhd_statlog_generate_bdmask()
841 setbit(statlog->bdmask, req_buf[cnt]); in dhd_statlog_generate_bdmask()
854 uint8 *req_buf, *resp_buf, *sp; in dhd_statlog_get_latest_info() local
874 req_buf = query->req_buf; in dhd_statlog_get_latest_info()
885 if (!req_buf || !req_buf_len) { in dhd_statlog_get_latest_info()
892 if (DHD_STATLOG_VALID(req_buf[i])) { in dhd_statlog_get_latest_info()
893 setbit(filter, req_buf[i]); in dhd_statlog_get_latest_info()
[all …]
H A Ddhd_statlog.h57 uint8 *req_buf; /* request buffer to interested status */ member
66 uint8 *req_buf; /* request buffer to gernerate bitmask */ member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_statlog.c815 uint8 *req_buf; in dhd_statlog_generate_bdmask() local
831 req_buf = query->req_buf; in dhd_statlog_generate_bdmask()
833 if (!req_buf) { in dhd_statlog_generate_bdmask()
840 if (DHD_STATLOG_VALID(req_buf[cnt])) { in dhd_statlog_generate_bdmask()
841 setbit(statlog->bdmask, req_buf[cnt]); in dhd_statlog_generate_bdmask()
854 uint8 *req_buf, *resp_buf, *sp; in dhd_statlog_get_latest_info() local
874 req_buf = query->req_buf; in dhd_statlog_get_latest_info()
885 if (!req_buf || !req_buf_len) { in dhd_statlog_get_latest_info()
892 if (DHD_STATLOG_VALID(req_buf[i])) { in dhd_statlog_get_latest_info()
893 setbit(filter, req_buf[i]); in dhd_statlog_get_latest_info()
[all …]
H A Ddhd_statlog.h57 uint8 *req_buf; /* request buffer to interested status */ member
66 uint8 *req_buf; /* request buffer to gernerate bitmask */ member
/OK3568_Linux_fs/kernel/drivers/nvdimm/
H A 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()
/OK3568_Linux_fs/kernel/drivers/mailbox/
H A 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()
505 mchan->req_buf = devm_ioremap(mdev, res.start, in zynqmp_ipi_mbox_probe()
507 if (!mchan->req_buf) { in zynqmp_ipi_mbox_probe()
542 mchan->req_buf = devm_ioremap(mdev, res.start, in zynqmp_ipi_mbox_probe()
544 if (!mchan->req_buf) { in zynqmp_ipi_mbox_probe()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/
H A Dmlan_cfp.c2648 t_u8 *req_buf, *tmp; in wlan_get_cfpinfo() local
2698 req_buf = (t_u8 *)pioctl_req->pbuf; in wlan_get_cfpinfo()
2703 memcpy(pmadapter, req_buf, tmp, sizeof(size)); in wlan_get_cfpinfo()
2705 memcpy(pmadapter, req_buf + len, &pmadapter->region_code, in wlan_get_cfpinfo()
2708 memcpy(pmadapter, req_buf + len, &pmadapter->country_code, in wlan_get_cfpinfo()
2712 memcpy(pmadapter, req_buf + len, in wlan_get_cfpinfo()
2721 memcpy(pmadapter, req_buf + len, tmp, sizeof(size)); in wlan_get_cfpinfo()
2723 memcpy(pmadapter, req_buf + len, cfp_bg, size); in wlan_get_cfpinfo()
2728 memcpy(pmadapter, req_buf + len, tmp, sizeof(size)); in wlan_get_cfpinfo()
2730 memcpy(pmadapter, req_buf + len, cfp_a, size); in wlan_get_cfpinfo()
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/qedi/
H A 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()
731 qedi_conn->gen_pdu.req_buf; in qedi_iscsi_prep_generic_pdu_bd()
754 buf = qedi_conn->gen_pdu.req_buf; in qedi_iscsi_send_generic_request()
[all …]
H A Dqedi_iscsi.h133 char *req_buf; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/
H A Dmlan_cfp.c3695 t_u8 *req_buf, *tmp; in wlan_get_cfpinfo() local
3749 req_buf = (t_u8 *)pioctl_req->pbuf; in wlan_get_cfpinfo()
3754 memcpy_ext(pmadapter, req_buf, tmp, sizeof(size), sizeof(size)); in wlan_get_cfpinfo()
3756 memcpy_ext(pmadapter, req_buf + len, &pmadapter->region_code, in wlan_get_cfpinfo()
3760 memcpy_ext(pmadapter, req_buf + len, &pmadapter->country_code, in wlan_get_cfpinfo()
3765 memcpy_ext(pmadapter, req_buf + len, in wlan_get_cfpinfo()
3775 memcpy_ext(pmadapter, req_buf + len, tmp, sizeof(size), sizeof(size)); in wlan_get_cfpinfo()
3777 memcpy_ext(pmadapter, req_buf + len, cfp_bg, size, size); in wlan_get_cfpinfo()
3782 memcpy_ext(pmadapter, req_buf + len, tmp, sizeof(size), sizeof(size)); in wlan_get_cfpinfo()
3784 memcpy_ext(pmadapter, req_buf + len, cfp_a, size, size); in wlan_get_cfpinfo()
[all …]
/OK3568_Linux_fs/kernel/drivers/block/
H A 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()
/OK3568_Linux_fs/kernel/drivers/scsi/bnx2i/
H A 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 …]
H A Dbnx2i.h196 char *req_buf; member
/OK3568_Linux_fs/kernel/drivers/target/iscsi/
H A Discsi_target_nego.c787 login->req_buf, in iscsi_target_do_authentication()
847 login->req_buf, in iscsi_target_handle_csg_zero()
931 login->req_buf, in iscsi_target_handle_csg_one()
1092 memcpy(tmpbuf, login->req_buf, payload_length); in iscsi_target_locate_portal()
1343 kfree(login->req_buf); in iscsi_target_nego_release()
H A 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()
/OK3568_Linux_fs/kernel/drivers/scsi/bnx2fc/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_usb.c1727 sizeof(__le16) > sizeof(usb->req_buf)); in zd_usb_ioread16v()
1729 sizeof(usb->req_buf)); in zd_usb_ioread16v()
1732 req = (void *)usb->req_buf; in zd_usb_ioread16v()
2009 sizeof(usb->req_buf)); in zd_usb_rfwrite()
2011 sizeof(usb->req_buf)); in zd_usb_rfwrite()
2014 req = (void *)usb->req_buf; in zd_usb_rfwrite()
H A Dzd_usb.h214 u8 req_buf[64]; /* zd_usb_iowrite16v needs 62 bytes */ member
/OK3568_Linux_fs/kernel/drivers/media/platform/davinci/
H A 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()
/OK3568_Linux_fs/kernel/drivers/scsi/qedf/
H A Dqedf_io.c425 if (mp_req->req_buf) { in qedf_free_mp_resc()
427 mp_req->req_buf, mp_req->req_buf_dma); in qedf_free_mp_resc()
428 mp_req->req_buf = NULL; in qedf_free_mp_resc()
2081 mp_req->req_buf = dma_alloc_coherent(&qedf->pdev->dev, QEDF_PAGE_SIZE, in qedf_init_mp_req()
2083 if (!mp_req->req_buf) { in qedf_init_mp_req()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath10k/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath6kl/
H A 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()

12