/Linux-v5.15/arch/arm/mach-orion5x/ |
D | terastation_pro2-setup.c | 201 unsigned char recv_buf[40]; in tsp2_miconsend() local 217 if (tsp2_miconread(recv_buf, sizeof(recv_buf)) <= 3) { in tsp2_miconsend() 226 tsp2_miconread(recv_buf, sizeof(recv_buf)); in tsp2_miconsend() 234 if ((recv_buf[0] + recv_buf[1] + recv_buf[2] + in tsp2_miconsend() 235 recv_buf[3]) & 0xFF) { in tsp2_miconsend() 238 "\n", __func__, recv_buf[0], in tsp2_miconsend() 239 recv_buf[1], recv_buf[2], recv_buf[3]); in tsp2_miconsend() 242 if (correct_ack[0] == recv_buf[0] && in tsp2_miconsend() 243 correct_ack[1] == recv_buf[1] && in tsp2_miconsend() 244 correct_ack[2] == recv_buf[2]) { in tsp2_miconsend()
|
D | kurobox_pro-setup.c | 226 unsigned char recv_buf[40]; in kurobox_pro_miconsend() local 242 if (kurobox_pro_miconread(recv_buf, sizeof(recv_buf)) <= 3) { in kurobox_pro_miconsend() 251 kurobox_pro_miconread(recv_buf, sizeof(recv_buf)); in kurobox_pro_miconsend() 259 if ((recv_buf[0] + recv_buf[1] + recv_buf[2] + in kurobox_pro_miconsend() 260 recv_buf[3]) & 0xFF) { in kurobox_pro_miconsend() 263 "\n", __func__, recv_buf[0], in kurobox_pro_miconsend() 264 recv_buf[1], recv_buf[2], recv_buf[3]); in kurobox_pro_miconsend() 267 if (correct_ack[0] == recv_buf[0] && in kurobox_pro_miconsend() 268 correct_ack[1] == recv_buf[1] && in kurobox_pro_miconsend() 269 correct_ack[2] == recv_buf[2]) { in kurobox_pro_miconsend()
|
/Linux-v5.15/drivers/staging/r8188eu/hal/ |
D | rtl8188eu_recv.c | 15 void rtl8188eu_init_recvbuf(struct adapter *padapter, struct recv_buf *precvbuf) in rtl8188eu_init_recvbuf() 35 struct recv_buf *precvbuf; in rtl8188eu_init_recv_priv() 44 precvpriv->pallocated_recv_buf = kzalloc(NR_RECVBUFF * sizeof(struct recv_buf) + 4, in rtl8188eu_init_recv_priv() 50 memset(precvpriv->pallocated_recv_buf, 0, NR_RECVBUFF * sizeof(struct recv_buf) + 4); in rtl8188eu_init_recv_priv() 54 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8188eu_init_recv_priv() 97 struct recv_buf *precvbuf; in rtl8188eu_free_recv_priv() 100 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8188eu_free_recv_priv()
|
/Linux-v5.15/drivers/staging/r8188eu/include/ |
D | recv_osdep.h | 27 int rtw_os_recvbuf_resource_alloc(struct adapter *adapt, struct recv_buf *buf); 28 int rtw_os_recvbuf_resource_free(struct adapter *adapt, struct recv_buf *buf); 30 void rtw_os_read_port(struct adapter *padapter, struct recv_buf *precvbuf);
|
D | rtl8188e_recv.h | 43 void rtl8188eu_init_recvbuf(struct adapter *padapter, struct recv_buf *buf); 46 void rtl8188eu_recv_hdl(struct adapter * padapter, struct recv_buf *precvbuf);
|
D | rtw_recv.h | 221 struct recv_buf { struct 287 int rtw_enqueue_recvbuf_to_head(struct recv_buf *buf, struct __queue *queue); 288 int rtw_enqueue_recvbuf(struct recv_buf *precvbuf, struct __queue *queue); 289 struct recv_buf *rtw_dequeue_recvbuf(struct __queue *queue);
|
/Linux-v5.15/samples/nitro_enclaves/ |
D | ne_ioctl_sample.c | 659 unsigned char recv_buf = 0; in ne_start_enclave_check_booted() local 737 rc = read(client_vsock_fd, &recv_buf, sizeof(recv_buf)); in ne_start_enclave_check_booted() 744 if (rc != sizeof(recv_buf) || recv_buf != NE_IMAGE_LOAD_HEARTBEAT_VALUE) { in ne_start_enclave_check_booted() 745 printf("Read %d instead of %d\n", recv_buf, in ne_start_enclave_check_booted() 752 rc = write(client_vsock_fd, &recv_buf, sizeof(recv_buf)); in ne_start_enclave_check_booted()
|
/Linux-v5.15/drivers/infiniband/core/ |
D | mad_rmpp.c | 136 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); in ack_recv() 144 format_ack(msg, (struct ib_rmpp_mad *) recv_wc->recv_buf.mad, rmpp_recv); in ack_recv() 159 recv_wc->recv_buf.grh, agent->port_num); in alloc_response_msg() 163 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); in alloc_response_msg() 190 memcpy(rmpp_mad, recv_wc->recv_buf.mad, msg->hdr_len); in ack_ds_ack() 224 memcpy(rmpp_mad, recv_wc->recv_buf.mad, msg->hdr_len); in nack_recv() 288 mad_recv_wc->recv_buf.grh, in create_rmpp_recv() 302 rmpp_recv->cur_seg_buf = &mad_recv_wc->recv_buf; in create_rmpp_recv() 308 mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; in create_rmpp_recv() 327 struct ib_mad_hdr *mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; in find_rmpp_recv() [all …]
|
/Linux-v5.15/drivers/staging/rtl8723bs/hal/ |
D | rtl8723bs_recv.c | 12 static void initrecvbuf(struct recv_buf *precvbuf, struct adapter *padapter) in initrecvbuf() 177 struct recv_buf *precvbuf) in try_alloc_recvframe() 226 struct recv_buf *precvbuf; in rtl8723bs_recv_tasklet() 375 struct recv_buf *precvbuf; in rtl8723bs_init_recv_priv() 384 n = NR_RECVBUFF * sizeof(struct recv_buf) + 4; in rtl8723bs_init_recv_priv() 394 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8723bs_init_recv_priv() 428 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8723bs_init_recv_priv() 457 struct recv_buf *precvbuf; in rtl8723bs_free_recv_priv() 465 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8723bs_free_recv_priv()
|
/Linux-v5.15/drivers/uio/ |
D | uio_hv_generic.c | 60 void *recv_buf; member 191 vfree(pdata->recv_buf); in hv_uio_cleanup() 291 pdata->recv_buf = vzalloc(RECV_BUFFER_SIZE); in hv_uio_probe() 292 if (pdata->recv_buf == NULL) { in hv_uio_probe() 297 ret = vmbus_establish_gpadl(channel, pdata->recv_buf, in hv_uio_probe() 300 vfree(pdata->recv_buf); in hv_uio_probe() 309 = (uintptr_t)pdata->recv_buf; in hv_uio_probe()
|
/Linux-v5.15/drivers/ps3/ |
D | ps3av.c | 49 } recv_buf; member 207 struct ps3av_reply_hdr *recv_buf, int write_len, in ps3av_send_cmd_pkt() argument 230 res = ps3av_vuart_read(ps3av->dev, recv_buf, PS3AV_HDR_SIZE, in ps3av_send_cmd_pkt() 240 res = ps3av_vuart_read(ps3av->dev, &recv_buf->cid, in ps3av_send_cmd_pkt() 241 recv_buf->size, timeout); in ps3av_send_cmd_pkt() 249 event = ps3av_parse_event_packet(recv_buf); in ps3av_send_cmd_pkt() 253 if ((cmd | PS3AV_REPLY_BIT) != recv_buf->cid) { in ps3av_send_cmd_pkt() 255 __LINE__, recv_buf->cid); in ps3av_send_cmd_pkt() 263 const struct ps3av_reply_hdr *recv_buf, in ps3av_process_reply_packet() argument 268 if (recv_buf->version != PS3AV_VERSION) { in ps3av_process_reply_packet() [all …]
|
/Linux-v5.15/drivers/staging/rtl8712/ |
D | recv_osdep.h | 34 struct recv_buf *precvbuf); 36 struct recv_buf *precvbuf);
|
D | usb_ops_linux.c | 185 struct recv_buf *precvbuf = (struct recv_buf *)purb->context; in r8712_usb_read_port_complete() 250 struct recv_buf *precvbuf = (struct recv_buf *)rmem; in r8712_usb_read_port() 301 struct recv_buf *precvbuf; in r8712_usb_read_port_cancel() 303 precvbuf = (struct recv_buf *)padapter->recvpriv.precv_buf; in r8712_usb_read_port_cancel()
|
D | rtl8712_recv.h | 88 struct recv_buf { struct 139 void r8712_init_recvbuf(struct _adapter *padapter, struct recv_buf *precvbuf);
|
D | recv_linux.c | 41 struct recv_buf *precvbuf) in r8712_os_recvbuf_resource_alloc() 63 struct recv_buf *precvbuf) in r8712_os_recvbuf_resource_free()
|
/Linux-v5.15/drivers/media/usb/as102/ |
D | as10x_handle.h | 27 unsigned char *recv_buf, int recv_buf_len); 39 unsigned char *recv_buf,
|
D | as102_usb_drv.c | 79 unsigned char *recv_buf, int recv_buf_len) in as102_usb_xfer_cmd() argument 106 if (recv_buf != NULL) { in as102_usb_xfer_cmd() 118 recv_buf, recv_buf_len, in as102_usb_xfer_cmd() 159 unsigned char *recv_buf, int recv_buf_len) in as102_read_ep2() argument 163 if (recv_buf == NULL) in as102_read_ep2() 168 recv_buf, recv_buf_len, &actual_len, 200); in as102_read_ep2()
|
/Linux-v5.15/sound/soc/codecs/ |
D | tas571x.c | 107 uint8_t send_buf, recv_buf[4]; in tas571x_reg_read() local 123 msgs[1].buf = recv_buf; in tas571x_reg_read() 136 *value |= recv_buf[i]; in tas571x_reg_read() 181 uint8_t *recv_buf, *p; in tas571x_reg_read_multiword() local 186 recv_buf = kzalloc(recv_size, GFP_KERNEL | GFP_DMA); in tas571x_reg_read_multiword() 187 if (!recv_buf) in tas571x_reg_read_multiword() 199 msgs[1].buf = recv_buf; in tas571x_reg_read_multiword() 210 for (i = 0, p = recv_buf; i < len; i++, p += sizeof(uint32_t)) in tas571x_reg_read_multiword() 214 kfree(recv_buf); in tas571x_reg_read_multiword()
|
/Linux-v5.15/drivers/soc/qcom/ |
D | qmi_interface.c | 532 iv.iov_base = qmi->recv_buf; in qmi_data_ready_work() 559 qmi_recv_ctrl_pkt(qmi, qmi->recv_buf, msglen); in qmi_data_ready_work() 561 ops->msg_handler(qmi, &sq, qmi->recv_buf, msglen); in qmi_data_ready_work() 563 qmi_handle_message(qmi, &sq, qmi->recv_buf, msglen); in qmi_data_ready_work() 646 qmi->recv_buf = kzalloc(recv_buf_size, GFP_KERNEL); in qmi_handle_init() 647 if (!qmi->recv_buf) in qmi_handle_init() 672 kfree(qmi->recv_buf); in qmi_handle_init() 703 kfree(qmi->recv_buf); in qmi_handle_release()
|
/Linux-v5.15/drivers/staging/r8188eu/os_dep/ |
D | recv_linux.c | 38 struct recv_buf *precvbuf) in rtw_os_recvbuf_resource_alloc() 61 struct recv_buf *precvbuf) in rtw_os_recvbuf_resource_free() 189 void rtw_os_read_port(struct adapter *padapter, struct recv_buf *precvbuf) in rtw_os_read_port()
|
/Linux-v5.15/drivers/gpu/drm/hyperv/ |
D | hyperv_drm_proto.c | 433 msg = (struct synthvid_msg *)hv->recv_buf; in hyperv_receive_sub() 455 struct synthvid_msg *recv_buf; in hyperv_receive() local 463 recv_buf = (struct synthvid_msg *)hv->recv_buf; in hyperv_receive() 466 ret = vmbus_recvpacket(hdev->channel, recv_buf, in hyperv_receive() 470 recv_buf->pipe_hdr.type == PIPE_MSG_DATA) in hyperv_receive()
|
/Linux-v5.15/drivers/staging/rtl8723bs/include/ |
D | rtw_recv.h | 275 struct recv_buf { struct 373 signed int rtw_enqueue_recvbuf_to_head(struct recv_buf *precvbuf, struct __queue *queue); 374 signed int rtw_enqueue_recvbuf(struct recv_buf *precvbuf, struct __queue *queue); 375 struct recv_buf *rtw_dequeue_recvbuf(struct __queue *queue);
|
/Linux-v5.15/net/vmw_vsock/ |
D | hyperv_transport.c | 568 struct hvs_recv_buf *recv_buf; in hvs_update_recv_data() local 571 recv_buf = (struct hvs_recv_buf *)(hvs->recv_desc + 1); in hvs_update_recv_data() 572 payload_len = recv_buf->hdr.data_size; in hvs_update_recv_data() 591 struct hvs_recv_buf *recv_buf; in hvs_stream_dequeue() local 605 recv_buf = (struct hvs_recv_buf *)(hvs->recv_desc + 1); in hvs_stream_dequeue() 607 ret = memcpy_to_msg(msg, recv_buf->data + hvs->recv_data_off, to_read); in hvs_stream_dequeue()
|
/Linux-v5.15/net/qrtr/ |
D | ns.c | 669 void *recv_buf; in qrtr_ns_worker() local 676 recv_buf = kzalloc(recv_buf_size, GFP_KERNEL); in qrtr_ns_worker() 677 if (!recv_buf) in qrtr_ns_worker() 681 iv.iov_base = recv_buf; in qrtr_ns_worker() 695 pkt = recv_buf; in qrtr_ns_worker() 750 kfree(recv_buf); in qrtr_ns_worker()
|
/Linux-v5.15/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_vema.c | 629 if (!mad_wc || !mad_wc->recv_buf.mad) in vema_recv() 634 mad_wc->recv_buf.grh, mad_agent->port_num); in vema_recv() 647 memcpy(vema_mad, mad_wc->recv_buf.mad, IB_MGMT_VENDOR_HDR); in vema_recv() 654 switch (mad_wc->recv_buf.mad->mad_hdr.method) { in vema_recv() 656 vema_get(port, (struct opa_vnic_vema_mad *)mad_wc->recv_buf.mad, in vema_recv() 660 vema_set(port, (struct opa_vnic_vema_mad *)mad_wc->recv_buf.mad, in vema_recv()
|