/Linux-v5.4/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.4/drivers/infiniband/core/ |
D | mad_rmpp.c | 141 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); in ack_recv() 149 format_ack(msg, (struct ib_rmpp_mad *) recv_wc->recv_buf.mad, rmpp_recv); in ack_recv() 164 recv_wc->recv_buf.grh, agent->port_num); in alloc_response_msg() 168 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); in alloc_response_msg() 195 memcpy(rmpp_mad, recv_wc->recv_buf.mad, msg->hdr_len); in ack_ds_ack() 229 memcpy(rmpp_mad, recv_wc->recv_buf.mad, msg->hdr_len); in nack_recv() 297 mad_recv_wc->recv_buf.grh, in create_rmpp_recv() 311 rmpp_recv->cur_seg_buf = &mad_recv_wc->recv_buf; in create_rmpp_recv() 317 mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; in create_rmpp_recv() 336 struct ib_mad_hdr *mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; in find_rmpp_recv() [all …]
|
D | user_mad.c | 268 mad_recv_wc->recv_buf.grh, in recv_handler() 295 struct ib_mad_recv_buf *recv_buf; in copy_recv_mad() local 299 recv_buf = &packet->recv_wc->recv_buf; in copy_recv_mad() 314 if (copy_to_user(buf, recv_buf->mad, seg_payload)) in copy_recv_mad() 329 offset = ib_get_mad_data_offset(recv_buf->mad->mad_hdr.mgmt_class); in copy_recv_mad() 334 recv_buf = container_of(recv_buf->list.next, in copy_recv_mad() 337 if (copy_to_user(buf, ((void *) recv_buf->mad) + offset, in copy_recv_mad() 343 trace_ib_umad_read_recv(file, &packet->mad.hdr, &recv_buf->mad->mad_hdr); in copy_recv_mad()
|
/Linux-v5.4/drivers/staging/rtl8188eu/hal/ |
D | rtl8188eu_recv.c | 23 struct recv_buf *precvbuf; in rtw_hal_init_recv_priv() 33 kcalloc(NR_RECVBUFF, sizeof(struct recv_buf), GFP_KERNEL); in rtw_hal_init_recv_priv() 74 struct recv_buf *precvbuf; in rtw_hal_free_recv_priv()
|
/Linux-v5.4/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 __func__, 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.4/drivers/staging/rtl8723bs/hal/ |
D | rtl8723bs_recv.c | 13 static void initrecvbuf(struct recv_buf *precvbuf, struct adapter *padapter) in initrecvbuf() 187 struct recv_buf *precvbuf) in try_alloc_recvframe() 240 struct recv_buf *precvbuf; in rtl8723bs_recv_tasklet() 414 struct recv_buf *precvbuf; in rtl8723bs_init_recv_priv() 423 n = NR_RECVBUFF * sizeof(struct recv_buf) + 4; in rtl8723bs_init_recv_priv() 434 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8723bs_init_recv_priv() 476 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8723bs_init_recv_priv() 507 struct recv_buf *precvbuf; in rtl8723bs_free_recv_priv() 515 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8723bs_free_recv_priv()
|
/Linux-v5.4/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.4/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.4/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() 307 = (uintptr_t)pdata->recv_buf; in hv_uio_probe()
|
/Linux-v5.4/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.4/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() 668 kfree(qmi->recv_buf); in qmi_handle_init() 699 kfree(qmi->recv_buf); in qmi_handle_release()
|
/Linux-v5.4/drivers/staging/rtl8723bs/include/ |
D | rtw_recv.h | 297 struct recv_buf struct 402 sint rtw_enqueue_recvbuf_to_head(struct recv_buf *precvbuf, struct __queue *queue); 403 sint rtw_enqueue_recvbuf(struct recv_buf *precvbuf, struct __queue *queue); 404 struct recv_buf *rtw_dequeue_recvbuf (struct __queue *queue);
|
/Linux-v5.4/net/vmw_vsock/ |
D | hyperv_transport.c | 605 struct hvs_recv_buf *recv_buf; in hvs_update_recv_data() local 608 recv_buf = (struct hvs_recv_buf *)(hvs->recv_desc + 1); in hvs_update_recv_data() 609 payload_len = recv_buf->hdr.data_size; in hvs_update_recv_data() 628 struct hvs_recv_buf *recv_buf; in hvs_stream_dequeue() local 642 recv_buf = (struct hvs_recv_buf *)(hvs->recv_desc + 1); in hvs_stream_dequeue() 644 ret = memcpy_to_msg(msg, recv_buf->data + hvs->recv_data_off, to_read); in hvs_stream_dequeue()
|
/Linux-v5.4/drivers/video/fbdev/ |
D | hyperv_fb.c | 217 u8 recv_buf[MAX_VMBUS_PKT_SIZE]; member 353 msg = (struct synthvid_msg *)par->recv_buf; in synthvid_recv_sub() 382 struct synthvid_msg *recv_buf; in synthvid_receive() local 391 recv_buf = (struct synthvid_msg *)par->recv_buf; in synthvid_receive() 394 ret = vmbus_recvpacket(hdev->channel, recv_buf, in synthvid_receive() 398 recv_buf->pipe_hdr.type == PIPE_MSG_DATA) in synthvid_receive()
|
/Linux-v5.4/drivers/staging/rtl8188eu/include/ |
D | recv_osdep.h | 24 int rtw_os_recvbuf_resource_alloc(struct adapter *adapt, struct recv_buf *buf);
|
D | rtw_recv.h | 171 struct recv_buf *precv_buf; /* 4 alignment */ 198 struct recv_buf { struct
|
/Linux-v5.4/net/nfc/nci/ |
D | uart.c | 253 nu->ops.recv_buf(nu, (void *)data, flags, count); in nci_uart_tty_receive() 405 if (!nu->ops.recv_buf) in nci_uart_register() 406 nu->ops.recv_buf = nci_uart_default_recv_buf; in nci_uart_register()
|
/Linux-v5.4/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_vema.c | 632 if (!mad_wc || !mad_wc->recv_buf.mad) in vema_recv() 637 mad_wc->recv_buf.grh, mad_agent->port_num); in vema_recv() 650 memcpy(vema_mad, mad_wc->recv_buf.mad, IB_MGMT_VENDOR_HDR); in vema_recv() 657 switch (mad_wc->recv_buf.mad->mad_hdr.method) { in vema_recv() 659 vema_get(port, (struct opa_vnic_vema_mad *)mad_wc->recv_buf.mad, in vema_recv() 663 vema_set(port, (struct opa_vnic_vema_mad *)mad_wc->recv_buf.mad, in vema_recv()
|
/Linux-v5.4/drivers/tty/serial/ |
D | icom.c | 140 if (icom_port->recv_buf) { in free_port_memory() 141 pci_free_consistent(dev, 4096, icom_port->recv_buf, in free_port_memory() 143 icom_port->recv_buf = NULL; in free_port_memory() 181 icom_port->recv_buf = in get_port_memory() 183 if (!icom_port->recv_buf) { in get_port_memory() 189 (unsigned long) icom_port->recv_buf); in get_port_memory() 254 (unsigned long) icom_port->recv_buf); in get_port_memory() 262 (unsigned long) icom_port->recv_buf + 2048); in get_port_memory() 753 first = icom_port->recv_buf[offset]; in recv_interrupt() 754 tty_insert_flip_string(port, icom_port->recv_buf + offset, count - 1); in recv_interrupt() [all …]
|
/Linux-v5.4/drivers/hid/intel-ish-hid/ |
D | ishtp-hid-client.c | 29 static void report_bad_packet(struct ishtp_cl *hid_ishtp_cl, void *recv_buf, in report_bad_packet() argument 32 struct hostif_msg *recv_msg = recv_buf; in report_bad_packet() 58 static void process_recv(struct ishtp_cl *hid_ishtp_cl, void *recv_buf, in process_recv() argument 75 payload = recv_buf + sizeof(struct hostif_msg_hdr); in process_recv() 90 recv_msg = (struct hostif_msg *)(recv_buf + cur_pos); in process_recv()
|