Home
last modified time | relevance | path

Searched refs:seqnum (Results 1 – 25 of 45) sorted by relevance

12

/drivers/usb/usbip/
Dvhci_rx.c27 struct urb *pickup_urb_and_free_priv(struct vhci_device *vdev, __u32 seqnum) in pickup_urb_and_free_priv() argument
34 if (priv->seqnum != seqnum) in pickup_urb_and_free_priv()
41 urb, priv, seqnum); in pickup_urb_and_free_priv()
77 urb = pickup_urb_and_free_priv(vdev, pdu->base.seqnum); in vhci_recv_ret_submit()
81 pr_err("cannot find a urb of seqnum %u\n", pdu->base.seqnum); in vhci_recv_ret_submit()
83 atomic_read(&the_controller->seqnum)); in vhci_recv_ret_submit()
124 pr_info("unlink->seqnum %lu\n", unlink->seqnum); in dequeue_pending_unlink()
125 if (unlink->seqnum == pdu->base.seqnum) { in dequeue_pending_unlink()
127 unlink->seqnum); in dequeue_pending_unlink()
151 pdu->base.seqnum); in vhci_recv_ret_unlink()
[all …]
Dstub_tx.c42 void stub_enqueue_ret_unlink(struct stub_device *sdev, __u32 seqnum, in stub_enqueue_ret_unlink() argument
53 unlink->seqnum = seqnum; in stub_enqueue_ret_unlink()
105 stub_enqueue_ret_unlink(sdev, priv->seqnum, urb->status); in stub_complete()
117 __u32 command, __u32 seqnum) in setup_base_pdu() argument
120 base->seqnum = seqnum; in setup_base_pdu()
130 setup_base_pdu(&rpdu->base, USBIP_RET_SUBMIT, priv->seqnum); in setup_ret_submit_pdu()
137 setup_base_pdu(&rpdu->base, USBIP_RET_UNLINK, unlink->seqnum); in setup_ret_unlink_pdu()
205 pdu_header.base.seqnum, urb); in stub_send_ret_submit()
337 usbip_dbg_stub_tx("setup ret unlink %lu\n", unlink->seqnum); in stub_send_ret_unlink()
Dusbip_protocol.txt46 | USBIP_CMD_SUBMIT(seqnum = n) |
49 | USBIP_RET_SUBMIT(seqnum = n) |
54 | USBIP_CMD_SUBMIT(seqnum = m) |
57 | USBIP_CMD_SUBMIT(seqnum = m+1) |
60 | USBIP_CMD_SUBMIT(seqnum = m+2) |
63 | USBIP_RET_SUBMIT(seqnum = m) |
66 | USBIP_CMD_SUBMIT(seqnum = m+3) |
69 | USBIP_RET_SUBMIT(seqnum = m+1) |
72 | USBIP_CMD_SUBMIT(seqnum = m+4) |
75 | USBIP_RET_SUBMIT(seqnum = m+2) |
[all …]
Dvhci.h57 unsigned long seqnum; member
66 unsigned long seqnum; member
86 atomic_t seqnum; member
103 struct urb *pickup_urb_and_free_priv(struct vhci_device *vdev, __u32 seqnum);
Dvhci_tx.c35 pdup->base.seqnum = priv->seqnum; in setup_cmd_submit_pdu()
172 usbip_dbg_vhci_tx("setup cmd unlink, %lu\n", unlink->seqnum); in vhci_send_cmd_unlink()
176 pdu_header.base.seqnum = unlink->seqnum; in vhci_send_cmd_unlink()
179 pdu_header.u.cmd_unlink.seqnum = unlink->unlink_seqnum; in vhci_send_cmd_unlink()
Dstub_rx.c230 if (priv->seqnum != pdu->u.cmd_unlink.seqnum) in stub_recv_cmd_unlink()
252 priv->seqnum = pdu->base.seqnum; in stub_recv_cmd_unlink()
281 pdu->u.cmd_unlink.seqnum); in stub_recv_cmd_unlink()
289 stub_enqueue_ret_unlink(sdev, pdu->base.seqnum, 0); in stub_recv_cmd_unlink()
330 priv->seqnum = pdu->base.seqnum; in stub_priv_alloc()
518 pdu->base.seqnum); in stub_recv_cmd_submit()
Dstub.h67 unsigned long seqnum; member
76 unsigned long seqnum; member
108 void stub_enqueue_ret_unlink(struct stub_device *sdev, __u32 seqnum,
Dusbip_common.c275 pdu->base.seqnum, in usbip_dump_header()
291 pdu->u.cmd_unlink.seqnum); in usbip_dump_header()
448 base->seqnum = cpu_to_be32(base->seqnum); in correct_endian_basic()
454 base->seqnum = be32_to_cpu(base->seqnum); in correct_endian_basic()
503 pdu->seqnum = cpu_to_be32(pdu->seqnum); in correct_endian_cmd_unlink()
505 pdu->seqnum = be32_to_cpu(pdu->seqnum); in correct_endian_cmd_unlink()
Dvhci_hcd.c442 priv->seqnum = atomic_inc_return(&the_controller->seqnum); in vhci_tx_urb()
443 if (priv->seqnum == 0xffff) in vhci_tx_urb()
689 unlink->seqnum = atomic_inc_return(&the_controller->seqnum); in vhci_urb_dequeue()
690 if (unlink->seqnum == 0xffff) in vhci_urb_dequeue()
693 unlink->unlink_seqnum = priv->seqnum; in vhci_urb_dequeue()
894 atomic_set(&vhci->seqnum, 0); in vhci_start()
Dusbip_common.h149 __u32 seqnum; member
197 __u32 seqnum; member
/drivers/net/wireless/libertas/
Dcmdresp.c86 respcmd, le16_to_cpu(resp->seqnum), len); in lbs_process_command_response()
89 if (resp->seqnum != priv->cur_cmd->cmdbuf->seqnum) { in lbs_process_command_response()
92 le16_to_cpu(resp->seqnum), in lbs_process_command_response()
93 le16_to_cpu(priv->cur_cmd->cmdbuf->seqnum)); in lbs_process_command_response()
Dif_usb.h92 __le32 seqnum; member
99 __le32 seqnum; member
Ddev.h125 u16 seqnum; member
Dif_usb.c362 fwdata->seqnum = cpu_to_le32(++cardp->fwseqnum); in if_usb_send_fw_pkt()
397 cmd->seqnum = cpu_to_le16(0x5a5a); in if_usb_reset_device()
578 le32_to_cpu(syncfwheader->seqnum)); in if_usb_receive_fwload()
/drivers/net/wireless/libertas_tf/
Dif_usb.h87 __le32 seqnum; member
94 __le32 seqnum; member
Dcmd.c256 command, le16_to_cpu(cmd->seqnum), cmdsize); in lbtf_submit_command()
640 priv->seqnum++; in __lbtf_cmd_async()
643 cmdnode->cmdbuf->seqnum = cpu_to_le16(priv->seqnum); in __lbtf_cmd_async()
742 respcmd, le16_to_cpu(resp->seqnum), in lbtf_process_rx_command()
745 if (resp->seqnum != priv->cur_cmd->cmdbuf->seqnum) { in lbtf_process_rx_command()
Dlibertas_tf.h206 u16 seqnum; member
320 __le16 seqnum; member
Dif_usb.c314 fwdata->seqnum = cpu_to_le32(++cardp->fwseqnum); in if_usb_send_fw_pkt()
355 cmd->hdr.seqnum = cpu_to_le16(0x5a5a); in if_usb_reset_device()
562 le32_to_cpu(syncfwheader->seqnum)); in if_usb_receive_fwload()
/drivers/net/wireless/brcm80211/brcmsmac/
Dscb.h76 u16 seqnum[NUMPRIO];/* WME: driver maintained sw seqnum per priority */ member
/drivers/staging/rtl8723au/hal/
Drtl8723au_xmit.c185 ptxdesc->txdw3 |= cpu_to_le32((pattrib->seqnum<<16)&0xffff0000); in update_txdesc()
233 ptxdesc->txdw3 |= cpu_to_le32((pattrib->seqnum<<16)&0xffff0000); in update_txdesc()
256 ptxdesc->txdw3 |= cpu_to_le32((pattrib->seqnum<<16)&0xffff0000); in update_txdesc()
/drivers/infiniband/hw/nes/
Dnes_mgt.c516 u32 seqnum; in queue_fpdus() local
524 seqnum = be32_to_cpu(tcph->seq); in queue_fpdus()
534 cb->seqnum = seqnum; in queue_fpdus()
539 if (!between(seqnum, rcv_nxt, (rcv_nxt + rcv_wnd))) { in queue_fpdus()
559 if (before(seqnum, cb->seqnum)) in queue_fpdus()
/drivers/net/ethernet/sfc/
Dtx.c826 unsigned seqnum; member
1032 st->seqnum = ntohl(tcp_hdr(skb)->seq); in tso_start()
1178 tsoh_th->seq = htonl(st->seqnum); in tso_start_new_packet()
1214 ESF_DZ_TX_TSO_TCP_SEQNO, st->seqnum); in tso_start_new_packet()
1238 st->seqnum += skb_shinfo(skb)->gso_size; in tso_start_new_packet()
/drivers/infiniband/hw/qib/
Dqib_user_sdma.c309 union qib_seqnum seqnum; in qib_user_sdma_page_to_frags() local
519 seqnum.val = be32_to_cpu(hdr->bth[2]); in qib_user_sdma_page_to_frags()
521 seqnum.seq++; in qib_user_sdma_page_to_frags()
523 seqnum.pkt++; in qib_user_sdma_page_to_frags()
524 hdr->bth[2] = cpu_to_be32(seqnum.val); in qib_user_sdma_page_to_frags()
/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c243 ptxdesc->txdw3 |= cpu_to_le32((pattrib->seqnum << SEQ_SHT) & 0x0FFF0000); in update_txdesc()
297 ptxdesc->txdw3 |= cpu_to_le32((pattrib->seqnum<<SEQ_SHT)&0x0FFF0000); in update_txdesc()
320 ptxdesc->txdw3 |= cpu_to_le32((pattrib->seqnum<<SEQ_SHT)&0x0fff0000); in update_txdesc()
/drivers/staging/rtl8192e/
Drtllib_tx.c515 u16 seqnum = 0; in rtllib_query_seqnum() local
525 seqnum = pTS->TxCurSeq; in rtllib_query_seqnum()
527 return seqnum; in rtllib_query_seqnum()

12