Lines Matching refs:recv_buf
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()
283 recv_buf->version); in ps3av_process_reply_packet()
286 return_len = recv_buf->size + PS3AV_HDR_SIZE; in ps3av_process_reply_packet()
289 memcpy(cmd_buf, recv_buf, return_len); in ps3av_process_reply_packet()
320 res = ps3av_send_cmd_pkt(buf, &ps3av->recv_buf.reply_hdr, send_len, in ps3av_do_pkt()
330 res = ps3av_process_reply_packet(buf, &ps3av->recv_buf.reply_hdr, in ps3av_do_pkt()