Home
last modified time | relevance | path

Searched refs:recv_buf (Results 1 – 25 of 30) sorted by relevance

12

/drivers/staging/rtl8188eu/hal/
Drtl8188eu_recv.c31 struct recv_buf *precvbuf; in rtw_hal_init_recv_priv()
41 kcalloc(NR_RECVBUFF, sizeof(struct recv_buf), GFP_KERNEL); in rtw_hal_init_recv_priv()
52 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtw_hal_init_recv_priv()
95 struct recv_buf *precvbuf; in rtw_hal_free_recv_priv()
98 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtw_hal_free_recv_priv()
/drivers/infiniband/core/
Dmad_rmpp.c141 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()
228 memcpy(rmpp_mad, recv_wc->recv_buf.mad, msg->hdr_len); in nack_recv()
296 mad_recv_wc->recv_buf.grh, in create_rmpp_recv()
310 rmpp_recv->cur_seg_buf = &mad_recv_wc->recv_buf; in create_rmpp_recv()
316 mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; in create_rmpp_recv()
335 struct ib_mad_hdr *mad_hdr = &mad_recv_wc->recv_buf.mad->mad_hdr; in find_rmpp_recv()
[all …]
Dmad.c1317 recv_buf); in ib_free_recv_mad()
1846 rwc->recv_buf.mad->mad_hdr.mgmt_class; in rcv_has_same_class()
1861 rcv_resp = ib_response_mad(&rwc->recv_buf.mad->mad_hdr); in rcv_has_same_gid()
1888 return !memcmp(sgid.raw, rwc->recv_buf.grh->dgid.raw, in rcv_has_same_gid()
1896 return !memcmp(attr.grh.dgid.raw, rwc->recv_buf.grh->sgid.raw, in rcv_has_same_gid()
1912 mad_hdr = &wc->recv_buf.mad->mad_hdr; in ib_find_send_mad()
1963 list_add(&mad_recv_wc->recv_buf.list, &mad_recv_wc->rmpp_list); in ib_mad_complete_recv()
1974 if (ib_response_mad(&mad_recv_wc->recv_buf.mad->mad_hdr)) { in ib_mad_complete_recv()
1980 && ib_is_mad_class_rmpp(mad_recv_wc->recv_buf.mad->mad_hdr.mgmt_class) in ib_mad_complete_recv()
1981 && (ib_get_rmpp_flags(&((struct ib_rmpp_mad *)mad_recv_wc->recv_buf.mad)->rmpp_hdr) in ib_mad_complete_recv()
[all …]
Duser_mad.c241 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()
283 if (copy_to_user(buf, recv_buf->mad, seg_payload)) in copy_recv_mad()
298 offset = ib_get_mad_data_offset(recv_buf->mad->mad_hdr.mgmt_class); in copy_recv_mad()
303 recv_buf = container_of(recv_buf->list.next, in copy_recv_mad()
306 if (copy_to_user(buf, ((void *) recv_buf->mad) + offset, in copy_recv_mad()
Dcm.c336 mad_recv_wc->recv_buf.grh, port->port_num); in cm_alloc_response_msg()
1326 rcv_msg = (struct cm_rej_msg *) mad_recv_wc->recv_buf.mad; in cm_issue_rej()
1429 req_msg = (struct cm_req_msg *)work->mad_recv_wc->recv_buf.mad; in cm_format_req_event()
1586 req_msg = (struct cm_req_msg *)work->mad_recv_wc->recv_buf.mad; in cm_match_req()
1670 req_msg = (struct cm_req_msg *)work->mad_recv_wc->recv_buf.mad; in cm_req_handler()
1679 work->mad_recv_wc->recv_buf.grh, in cm_req_handler()
1923 rep_msg = (struct cm_rep_msg *)work->mad_recv_wc->recv_buf.mad; in cm_format_rep_event()
1946 rep_msg = (struct cm_rep_msg *) work->mad_recv_wc->recv_buf.mad; in cm_dup_rep_handler()
1988 rep_msg = (struct cm_rep_msg *)work->mad_recv_wc->recv_buf.mad; in cm_rep_handler()
2107 rtu_msg = (struct cm_rtu_msg *)work->mad_recv_wc->recv_buf.mad; in cm_rtu_handler()
[all …]
/drivers/ps3/
Dps3av.c62 } 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/
Das102_usb_drv.c88 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()
Das10x_handle.h36 unsigned char *recv_buf, int recv_buf_len);
48 unsigned char *recv_buf,
/drivers/staging/rtl8712/
Drecv_osdep.h46 struct recv_buf *precvbuf);
48 struct recv_buf *precvbuf);
Dusb_ops_linux.c196 struct recv_buf *precvbuf = (struct recv_buf *)purb->context; in r8712_usb_read_port_complete()
261 struct recv_buf *precvbuf = (struct recv_buf *)rmem; in r8712_usb_read_port()
312 struct recv_buf *precvbuf; in r8712_usb_read_port_cancel()
314 precvbuf = (struct recv_buf *)padapter->recvpriv.precv_buf; in r8712_usb_read_port_cancel()
Drtl8712_recv.h100 struct recv_buf { struct
151 int r8712_init_recvbuf(struct _adapter *padapter, struct recv_buf *precvbuf);
Drecv_linux.c54 struct recv_buf *precvbuf) in r8712_os_recvbuf_resource_alloc()
76 struct recv_buf *precvbuf) in r8712_os_recvbuf_resource_free()
Drtl8712_recv.c53 struct recv_buf *precvbuf; in r8712_init_recv_priv()
62 kzalloc(NR_RECVBUFF * sizeof(struct recv_buf) + 4, GFP_ATOMIC); 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()
Dusb_halinit.c298 struct recv_buf *precvbuf; in r8712_usb_inirp_init()
304 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in r8712_usb_inirp_init()
/drivers/video/fbdev/
Dhyperv_fb.c226 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/tty/serial/
Dicom.c154 if (icom_port->recv_buf) { in free_port_memory()
155 pci_free_consistent(dev, 4096, icom_port->recv_buf, in free_port_memory()
157 icom_port->recv_buf = NULL; in free_port_memory()
195 icom_port->recv_buf = in get_port_memory()
197 if (!icom_port->recv_buf) { in get_port_memory()
203 (unsigned long) icom_port->recv_buf); in get_port_memory()
270 (unsigned long) icom_port->recv_buf); in get_port_memory()
278 (unsigned long) icom_port->recv_buf + 2048); in get_port_memory()
769 first = icom_port->recv_buf[offset]; in recv_interrupt()
770 tty_insert_flip_string(port, icom_port->recv_buf + offset, count - 1); in recv_interrupt()
[all …]
Dicom.h247 unsigned char *recv_buf; member
/drivers/net/hyperv/
Dnetvsc.c188 if (net_device->recv_buf) { in netvsc_destroy_buf()
190 vfree(net_device->recv_buf); in netvsc_destroy_buf()
191 net_device->recv_buf = NULL; in netvsc_destroy_buf()
276 net_device->recv_buf = vzalloc_node(net_device->recv_buf_size, node); in netvsc_init_buf()
277 if (!net_device->recv_buf) in netvsc_init_buf()
278 net_device->recv_buf = vzalloc(net_device->recv_buf_size); in netvsc_init_buf()
280 if (!net_device->recv_buf) { in netvsc_init_buf()
292 ret = vmbus_establish_gpadl(device->channel, net_device->recv_buf, in netvsc_init_buf()
1170 recv_buf + vmxferpage_packet->ranges[i].byte_offset); in netvsc_receive()
/drivers/staging/rtl8188eu/os_dep/
Dusb_ops_linux.c381 struct recv_buf *precvbuf = (struct recv_buf *)purb->context; in usb_read_port_complete()
454 struct recv_buf *precvbuf = (struct recv_buf *)rmem; in usb_read_port()
529 struct recv_buf *precvbuf; in rtw_hal_inirp_deinit()
531 precvbuf = (struct recv_buf *)padapter->recvpriv.precv_buf; in rtw_hal_inirp_deinit()
Drecv_linux.c32 struct recv_buf *precvbuf) in rtw_os_recvbuf_resource_alloc()
/drivers/hid/intel-ish-hid/
Dishtp-hid-client.c36 static void report_bad_packet(struct ishtp_cl *hid_ishtp_cl, void *recv_buf, in report_bad_packet() argument
39 struct hostif_msg *recv_msg = recv_buf; in report_bad_packet()
65 static void process_recv(struct ishtp_cl *hid_ishtp_cl, void *recv_buf, in process_recv() argument
90 payload = recv_buf + sizeof(struct hostif_msg_hdr); in process_recv()
95 recv_msg = (struct hostif_msg *)(recv_buf + cur_pos); in process_recv()
/drivers/media/platform/mtk-vpu/
Dmtk_vpu.c209 struct share_obj *recv_buf; member
695 struct share_obj *rcv_obj = vpu->recv_buf; in vpu_ipi_handler()
717 vpu->recv_buf = (__force struct share_obj *)(vpu->reg.tcm + in vpu_ipi_init()
719 vpu->send_buf = vpu->recv_buf + 1; in vpu_ipi_init()
720 memset(vpu->recv_buf, 0, sizeof(struct share_obj)); in vpu_ipi_init()
/drivers/staging/rtl8188eu/include/
Drecv_osdep.h34 int rtw_os_recvbuf_resource_alloc(struct adapter *adapt, struct recv_buf *buf);
Drtl8188e_recv.h54 void rtl8188eu_recv_hdl(struct adapter *padapter, struct recv_buf *precvbuf);
Drtw_recv.h217 struct recv_buf { struct

12