/drivers/staging/rtl8188eu/hal/ |
D | rtl8188eu_recv.c | 35 struct recv_buf *precvbuf; in rtl8188eu_init_recv_priv() 45 kzalloc(NR_RECVBUFF * sizeof(struct recv_buf), GFP_KERNEL); in rtl8188eu_init_recv_priv() 56 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8188eu_init_recv_priv() 98 struct recv_buf *precvbuf; in rtl8188eu_free_recv_priv() 101 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8188eu_free_recv_priv()
|
/drivers/infiniband/core/ |
D | mad_rmpp.c | 139 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); in ack_recv() 146 format_ack(msg, (struct ib_rmpp_mad *) recv_wc->recv_buf.mad, rmpp_recv); in ack_recv() 161 recv_wc->recv_buf.grh, agent->port_num); in alloc_response_msg() 165 hdr_len = ib_get_mad_data_offset(recv_wc->recv_buf.mad->mad_hdr.mgmt_class); in alloc_response_msg() 191 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() 292 mad_recv_wc->recv_buf.grh, in create_rmpp_recv() 306 rmpp_recv->cur_seg_buf = &mad_recv_wc->recv_buf; in create_rmpp_recv() 312 mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; in create_rmpp_recv() 330 struct ib_mad_hdr *mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; in find_rmpp_recv() [all …]
|
D | user_mad.c | 241 mad_recv_wc->wc, mad_recv_wc->recv_buf.grh, in recv_handler() 264 struct ib_mad_recv_buf *recv_buf; in copy_recv_mad() local 268 recv_buf = &packet->recv_wc->recv_buf; in copy_recv_mad() 269 if ((packet->length <= sizeof (*recv_buf->mad) && in copy_recv_mad() 271 (packet->length > sizeof (*recv_buf->mad) && in copy_recv_mad() 272 count < hdr_size(file) + sizeof (*recv_buf->mad))) in copy_recv_mad() 279 seg_payload = min_t(int, packet->length, sizeof (*recv_buf->mad)); in copy_recv_mad() 280 if (copy_to_user(buf, recv_buf->mad, seg_payload)) in copy_recv_mad() 295 offset = ib_get_mad_data_offset(recv_buf->mad->mad_hdr.mgmt_class); in copy_recv_mad() 300 recv_buf = container_of(recv_buf->list.next, in copy_recv_mad() [all …]
|
D | mad.c | 1234 recv_buf); in ib_free_recv_mad() 1754 rwc->recv_buf.mad->mad_hdr.mgmt_class; in rcv_has_same_class() 1769 rcv_resp = ib_response_mad(rwc->recv_buf.mad); in rcv_has_same_gid() 1796 return !memcmp(sgid.raw, rwc->recv_buf.grh->dgid.raw, in rcv_has_same_gid() 1804 return !memcmp(attr.grh.dgid.raw, rwc->recv_buf.grh->sgid.raw, in rcv_has_same_gid() 1820 mad = (struct ib_mad *)wc->recv_buf.mad; in ib_find_send_mad() 1829 (is_direct(wc->recv_buf.mad->mad_hdr.mgmt_class) || in ib_find_send_mad() 1847 (is_direct(wc->recv_buf.mad->mad_hdr.mgmt_class) || in ib_find_send_mad() 1871 list_add(&mad_recv_wc->recv_buf.list, &mad_recv_wc->rmpp_list); in ib_mad_complete_recv() 1882 if (ib_response_mad(mad_recv_wc->recv_buf.mad)) { in ib_mad_complete_recv() [all …]
|
D | cm.c | 294 mad_recv_wc->recv_buf.grh, port->port_num); in cm_alloc_response_msg() 1211 rcv_msg = (struct cm_rej_msg *) mad_recv_wc->recv_buf.mad; in cm_issue_rej() 1294 req_msg = (struct cm_req_msg *)work->mad_recv_wc->recv_buf.mad; in cm_format_req_event() 1450 req_msg = (struct cm_req_msg *)work->mad_recv_wc->recv_buf.mad; in cm_match_req() 1533 req_msg = (struct cm_req_msg *)work->mad_recv_wc->recv_buf.mad; in cm_req_handler() 1542 work->mad_recv_wc->recv_buf.grh, in cm_req_handler() 1764 rep_msg = (struct cm_rep_msg *)work->mad_recv_wc->recv_buf.mad; in cm_format_rep_event() 1787 rep_msg = (struct cm_rep_msg *) work->mad_recv_wc->recv_buf.mad; in cm_dup_rep_handler() 1829 rep_msg = (struct cm_rep_msg *)work->mad_recv_wc->recv_buf.mad; in cm_rep_handler() 1948 rtu_msg = (struct cm_rtu_msg *)work->mad_recv_wc->recv_buf.mad; in cm_rtu_handler() [all …]
|
/drivers/staging/rtl8712/ |
D | recv_osdep.h | 46 struct recv_buf *precvbuf); 48 struct recv_buf *precvbuf); 49 void r8712_os_read_port(struct _adapter *padapter, struct recv_buf *precvbuf);
|
D | recv_linux.c | 53 struct recv_buf *precvbuf) in r8712_os_recvbuf_resource_alloc() 76 struct recv_buf *precvbuf) in r8712_os_recvbuf_resource_free() 140 void r8712_os_read_port(struct _adapter *padapter, struct recv_buf *precvbuf) in r8712_os_read_port()
|
D | usb_ops_linux.c | 196 struct recv_buf *precvbuf = (struct recv_buf *)purb->context; in r8712_usb_read_port_complete() 260 struct recv_buf *precvbuf = (struct recv_buf *)rmem; in r8712_usb_read_port() 318 struct recv_buf *precvbuf; in r8712_usb_read_port_cancel() 320 precvbuf = (struct recv_buf *)padapter->recvpriv.precv_buf; in r8712_usb_read_port_cancel()
|
D | rtl8712_recv.h | 99 struct recv_buf { struct 151 int r8712_init_recvbuf(struct _adapter *padapter, struct recv_buf *precvbuf);
|
D | rtl8712_recv.c | 53 struct recv_buf *precvbuf; in r8712_init_recv_priv() 61 precvpriv->pallocated_recv_buf = kzalloc(NR_RECVBUFF * sizeof(struct recv_buf) + 4, in r8712_init_recv_priv() 67 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in r8712_init_recv_priv() 104 struct recv_buf *precvbuf; in r8712_free_recv_priv() 107 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in r8712_free_recv_priv() 122 int r8712_init_recvbuf(struct _adapter *padapter, struct recv_buf *precvbuf) in r8712_init_recvbuf()
|
D | usb_halinit.c | 296 struct recv_buf *precvbuf; in r8712_usb_inirp_init() 302 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in r8712_usb_inirp_init()
|
/drivers/ps3/ |
D | ps3av.c | 62 } recv_buf; member 220 struct ps3av_reply_hdr *recv_buf, int write_len, in ps3av_send_cmd_pkt() argument 243 res = ps3av_vuart_read(ps3av->dev, recv_buf, PS3AV_HDR_SIZE, in ps3av_send_cmd_pkt() 253 res = ps3av_vuart_read(ps3av->dev, &recv_buf->cid, in ps3av_send_cmd_pkt() 254 recv_buf->size, timeout); in ps3av_send_cmd_pkt() 262 event = ps3av_parse_event_packet(recv_buf); in ps3av_send_cmd_pkt() 266 if ((cmd | PS3AV_REPLY_BIT) != recv_buf->cid) { in ps3av_send_cmd_pkt() 268 __func__, recv_buf->cid); in ps3av_send_cmd_pkt() 276 const struct ps3av_reply_hdr *recv_buf, in ps3av_process_reply_packet() argument 281 if (recv_buf->version != PS3AV_VERSION) { in ps3av_process_reply_packet() [all …]
|
/drivers/media/usb/as102/ |
D | as102_usb_drv.c | 88 unsigned char *recv_buf, int recv_buf_len) in as102_usb_xfer_cmd() argument 115 if (recv_buf != NULL) { in as102_usb_xfer_cmd() 127 recv_buf, recv_buf_len, in as102_usb_xfer_cmd() 168 unsigned char *recv_buf, int recv_buf_len) in as102_read_ep2() argument 172 if (recv_buf == NULL) in as102_read_ep2() 177 recv_buf, recv_buf_len, &actual_len, 200); in as102_read_ep2()
|
D | as10x_handle.h | 36 unsigned char *recv_buf, int recv_buf_len); 48 unsigned char *recv_buf,
|
/drivers/staging/rtl8723au/include/ |
D | rtw_recv.h | 241 struct recv_buf { struct 285 int rtw_enqueue_recvbuf23a_to_head(struct recv_buf *precvbuf, struct rtw_queue *queue); 286 int rtw_enqueue_recvbuf23a(struct recv_buf *precvbuf, struct rtw_queue *queue); 287 struct recv_buf *rtw_dequeue_recvbuf23a(struct rtw_queue *queue);
|
D | usb_ops_linux.h | 25 struct recv_buf *precvbuf);
|
/drivers/staging/rtl8723au/hal/ |
D | rtl8723au_recv.c | 30 struct recv_buf *precvbuf; in rtl8723au_init_recv_priv() 46 size = NR_RECVBUFF * sizeof(struct recv_buf); in rtl8723au_init_recv_priv() 55 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8723au_init_recv_priv() 96 struct recv_buf *precvbuf; in rtl8723au_free_recv_priv() 99 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8723au_free_recv_priv()
|
D | usb_ops_linux.c | 518 struct recv_buf *precvbuf = (struct recv_buf *)purb->context; in usb_read_port_complete() 612 struct recv_buf *precvbuf) in rtl8723au_read_port()
|
/drivers/video/fbdev/ |
D | hyperv_fb.c | 226 u8 recv_buf[MAX_VMBUS_PKT_SIZE]; member 362 msg = (struct synthvid_msg *)par->recv_buf; in synthvid_recv_sub() 391 struct synthvid_msg *recv_buf; in synthvid_receive() local 400 recv_buf = (struct synthvid_msg *)par->recv_buf; in synthvid_receive() 403 ret = vmbus_recvpacket(hdev->channel, recv_buf, in synthvid_receive() 407 recv_buf->pipe_hdr.type == PIPE_MSG_DATA) in synthvid_receive()
|
/drivers/net/hyperv/ |
D | netvsc.c | 150 if (net_device->recv_buf) { in netvsc_destroy_buf() 152 vfree(net_device->recv_buf); in netvsc_destroy_buf() 153 net_device->recv_buf = NULL; in netvsc_destroy_buf() 229 net_device->recv_buf = vzalloc(net_device->recv_buf_size); in netvsc_init_buf() 230 if (!net_device->recv_buf) { in netvsc_init_buf() 242 ret = vmbus_establish_gpadl(device->channel, net_device->recv_buf, in netvsc_init_buf() 918 recv_buf + vmxferpage_packet->ranges[i].byte_offset); in netvsc_receive()
|
/drivers/tty/serial/ |
D | icom.c | 155 if (icom_port->recv_buf) { in free_port_memory() 156 pci_free_consistent(dev, 4096, icom_port->recv_buf, in free_port_memory() 158 icom_port->recv_buf = NULL; in free_port_memory() 196 icom_port->recv_buf = in get_port_memory() 198 if (!icom_port->recv_buf) { in get_port_memory() 204 (unsigned long) icom_port->recv_buf); in get_port_memory() 271 (unsigned long) icom_port->recv_buf); in get_port_memory() 279 (unsigned long) icom_port->recv_buf + 2048); in get_port_memory() 770 first = icom_port->recv_buf[offset]; in recv_interrupt() 771 tty_insert_flip_string(port, icom_port->recv_buf + offset, count - 1); in recv_interrupt() [all …]
|
/drivers/staging/rtl8188eu/os_dep/ |
D | usb_ops_linux.c | 381 struct recv_buf *precvbuf = (struct recv_buf *)purb->context; in usb_read_port_complete() 457 struct recv_buf *precvbuf = (struct recv_buf *)rmem; in usb_read_port() 532 struct recv_buf *precvbuf; in usb_read_port_cancel() 533 precvbuf = (struct recv_buf *)padapter->recvpriv.precv_buf; in usb_read_port_cancel()
|
/drivers/staging/rtl8723au/os_dep/ |
D | usb_ops_linux.c | 30 struct recv_buf *precvbuf; in rtl8723au_read_port_cancel() 33 precvbuf = (struct recv_buf *)padapter->recvpriv.precv_buf; in rtl8723au_read_port_cancel()
|
/drivers/staging/rtl8188eu/include/ |
D | recv_osdep.h | 44 int rtw_os_recvbuf_resource_alloc(struct adapter *adapt, struct recv_buf *buf);
|
D | rtl8188e_recv.h | 61 void rtl8188eu_recv_hdl(struct adapter *padapter, struct recv_buf *precvbuf);
|