/drivers/usb/usbip/ |
D | vhci_rx.c | 13 struct urb *pickup_urb_and_free_priv(struct vhci_device *vdev, __u32 seqnum) in pickup_urb_and_free_priv() argument 20 if (priv->seqnum != seqnum) in pickup_urb_and_free_priv() 26 usbip_dbg_vhci_rx("find urb seqnum %u\n", seqnum); in pickup_urb_and_free_priv() 34 seqnum, status == -ENOENT ? "" : "a"); in pickup_urb_and_free_priv() 42 seqnum, status); in pickup_urb_and_free_priv() 65 urb = pickup_urb_and_free_priv(vdev, pdu->base.seqnum); in vhci_recv_ret_submit() 70 pdu->base.seqnum, in vhci_recv_ret_submit() 71 atomic_read(&vhci_hcd->seqnum)); in vhci_recv_ret_submit() 101 usbip_dbg_vhci_rx("now giveback urb %u\n", pdu->base.seqnum); in vhci_recv_ret_submit() 121 pr_info("unlink->seqnum %lu\n", unlink->seqnum); in dequeue_pending_unlink() [all …]
|
D | vudc_tx.c | 16 __u32 command, __u32 seqnum) in setup_base_pdu() argument 19 base->seqnum = seqnum; in setup_base_pdu() 27 setup_base_pdu(&rpdu->base, USBIP_RET_SUBMIT, urb_p->seqnum); in setup_ret_submit_pdu() 34 setup_base_pdu(&rpdu->base, USBIP_RET_UNLINK, unlink->seqnum); in setup_ret_unlink_pdu() 111 pdu_header.base.seqnum); in v_send_ret_submit() 244 void v_enqueue_ret_unlink(struct vudc *udc, __u32 seqnum, __u32 status) in v_enqueue_ret_unlink() argument 261 unlink->seqnum = seqnum; in v_enqueue_ret_unlink()
|
D | stub_tx.c | 14 void stub_enqueue_ret_unlink(struct stub_device *sdev, __u32 seqnum, in stub_enqueue_ret_unlink() argument 25 unlink->seqnum = seqnum; in stub_enqueue_ret_unlink() 96 stub_enqueue_ret_unlink(sdev, priv->seqnum, urb->status); in stub_complete() 108 __u32 command, __u32 seqnum) in setup_base_pdu() argument 111 base->seqnum = seqnum; in setup_base_pdu() 121 setup_base_pdu(&rpdu->base, USBIP_RET_SUBMIT, priv->seqnum); in setup_ret_submit_pdu() 128 setup_base_pdu(&rpdu->base, USBIP_RET_UNLINK, unlink->seqnum); in setup_ret_unlink_pdu() 205 pdu_header.base.seqnum); in stub_send_ret_submit() 381 usbip_dbg_stub_tx("setup ret unlink %lu\n", unlink->seqnum); in stub_send_ret_unlink()
|
D | vudc_rx.c | 70 if (urb_p->seqnum != pdu->u.cmd_unlink.seqnum) in v_recv_cmd_unlink() 73 urb_p->seqnum = pdu->base.seqnum; in v_recv_cmd_unlink() 80 v_enqueue_ret_unlink(udc, pdu->base.seqnum, 0); in v_recv_cmd_unlink() 121 urb_p->seqnum = pdu->base.seqnum; in v_recv_cmd_submit()
|
D | vhci_tx.c | 22 pdup->base.seqnum = priv->seqnum; in setup_cmd_submit_pdu() 78 priv->seqnum); in vhci_send_cmd_submit() 204 usbip_dbg_vhci_tx("setup cmd unlink, %lu\n", unlink->seqnum); in vhci_send_cmd_unlink() 208 pdu_header.base.seqnum = unlink->seqnum; in vhci_send_cmd_unlink() 211 pdu_header.u.cmd_unlink.seqnum = unlink->unlink_seqnum; in vhci_send_cmd_unlink()
|
D | vhci.h | 53 unsigned long seqnum; member 62 unsigned long seqnum; member 111 atomic_t seqnum; member 133 struct urb *pickup_urb_and_free_priv(struct vhci_device *vdev, __u32 seqnum);
|
D | stub_rx.c | 214 if (priv->seqnum != pdu->u.cmd_unlink.seqnum) in stub_recv_cmd_unlink() 233 priv->seqnum = pdu->base.seqnum; in stub_recv_cmd_unlink() 258 priv->seqnum, ret); in stub_recv_cmd_unlink() 264 pdu->u.cmd_unlink.seqnum); in stub_recv_cmd_unlink() 272 stub_enqueue_ret_unlink(sdev, pdu->base.seqnum, 0); in stub_recv_cmd_unlink() 313 priv->seqnum = pdu->base.seqnum; in stub_priv_alloc() 601 pdu->base.seqnum); in stub_recv_cmd_submit()
|
D | stub.h | 52 unsigned long seqnum; member 65 unsigned long seqnum; member 100 void stub_enqueue_ret_unlink(struct stub_device *sdev, __u32 seqnum,
|
D | usbip_common.c | 263 pdu->base.seqnum, in usbip_dump_header() 279 pdu->u.cmd_unlink.seqnum); in usbip_dump_header() 419 base->seqnum = cpu_to_be32(base->seqnum); in correct_endian_basic() 425 base->seqnum = be32_to_cpu(base->seqnum); in correct_endian_basic() 474 pdu->seqnum = cpu_to_be32(pdu->seqnum); in correct_endian_cmd_unlink() 476 pdu->seqnum = be32_to_cpu(pdu->seqnum); in correct_endian_cmd_unlink()
|
D | vudc.h | 49 unsigned long seqnum; member 55 unsigned long seqnum; member 151 void v_enqueue_ret_unlink(struct vudc *udc, __u32 seqnum, __u32 status);
|
D | vhci_hcd.c | 678 priv->seqnum = atomic_inc_return(&vhci_hcd->seqnum); in vhci_tx_urb() 679 if (priv->seqnum == 0xffff) in vhci_tx_urb() 934 unlink->seqnum = atomic_inc_return(&vhci_hcd->seqnum); in vhci_urb_dequeue() 935 if (unlink->seqnum == 0xffff) in vhci_urb_dequeue() 938 unlink->unlink_seqnum = priv->seqnum; in vhci_urb_dequeue() 1219 atomic_set(&vhci_hcd->seqnum, 0); in vhci_start()
|
D | usbip_common.h | 143 __u32 seqnum; member 191 __u32 seqnum; member
|
/drivers/gpu/drm/msm/adreno/ |
D | a6xx_hfi.c | 96 static int a6xx_hfi_wait_for_ack(struct a6xx_gmu *gmu, u32 id, u32 seqnum, in a6xx_hfi_wait_for_ack() argument 110 a6xx_hfi_msg_id[id], seqnum); in a6xx_hfi_wait_for_ack() 142 if (seqnum != HFI_HEADER_SEQNUM(resp.ret_header)) { in a6xx_hfi_wait_for_ack() 152 a6xx_hfi_msg_id[id], seqnum, resp.error); in a6xx_hfi_wait_for_ack() 170 u32 seqnum; in a6xx_hfi_send_msg() local 172 seqnum = atomic_inc_return(&queue->seqnum) % 0xfff; in a6xx_hfi_send_msg() 175 *((u32 *) data) = (seqnum << 20) | (HFI_MSG_CMD << 16) | in a6xx_hfi_send_msg() 181 a6xx_hfi_msg_id[id], seqnum); in a6xx_hfi_send_msg() 185 return a6xx_hfi_wait_for_ack(gmu, id, seqnum, payload, payload_size); in a6xx_hfi_send_msg() 548 atomic_set(&queue->seqnum, 0); in a6xx_hfi_queue_init()
|
/drivers/infiniband/hw/i40iw/ |
D | i40iw_puda.c | 1056 if (buf->seqnum < fps) { in i40iw_ieq_check_first_buf() 1057 offset = fps - buf->seqnum; in i40iw_ieq_check_first_buf() 1062 buf->seqnum = fps; in i40iw_ieq_check_first_buf() 1087 nextseqnum = buf->seqnum + fpdu_len; in i40iw_ieq_compl_pfpdu() 1101 buf->seqnum = nextseqnum; in i40iw_ieq_compl_pfpdu() 1142 nextseqnum = buf->seqnum + buf->datalen; in i40iw_ieq_create_pbufl() 1150 if (nextbuf->seqnum != nextseqnum) { in i40iw_ieq_create_pbufl() 1159 nextseqnum = nextbuf->seqnum + nextbuf->datalen; in i40iw_ieq_create_pbufl() 1182 u32 seqnum = buf->seqnum; in i40iw_ieq_handle_partial() local 1202 i40iw_ieq_update_tcpip_info(txbuf, fpdu_len, seqnum); in i40iw_ieq_handle_partial() [all …]
|
D | i40iw_puda.h | 96 u32 seqnum; member 182 u32 seqnum);
|
/drivers/net/wireless/marvell/libertas/ |
D | cmdresp.c | 89 respcmd, le16_to_cpu(resp->seqnum), len); in lbs_process_command_response() 92 if (resp->seqnum != priv->cur_cmd->cmdbuf->seqnum) { in lbs_process_command_response() 95 le16_to_cpu(resp->seqnum), in lbs_process_command_response() 96 le16_to_cpu(priv->cur_cmd->cmdbuf->seqnum)); in lbs_process_command_response()
|
D | if_usb.h | 93 __le32 seqnum; member 100 __le32 seqnum; member
|
/drivers/net/wireless/marvell/libertas_tf/ |
D | if_usb.h | 83 __le32 seqnum; member 90 __le32 seqnum; member
|
D | cmd.c | 252 command, le16_to_cpu(cmd->seqnum), cmdsize); in lbtf_submit_command() 636 priv->seqnum++; in __lbtf_cmd_async() 639 cmdnode->cmdbuf->seqnum = cpu_to_le16(priv->seqnum); in __lbtf_cmd_async() 737 respcmd, le16_to_cpu(resp->seqnum), in lbtf_process_rx_command() 740 if (resp->seqnum != priv->cur_cmd->cmdbuf->seqnum) { in lbtf_process_rx_command()
|
D | libertas_tf.h | 206 u16 seqnum; member 319 __le16 seqnum; member
|
/drivers/staging/wfx/ |
D | bh.c | 115 if (hif->seqnum != wdev->hif.rx_seqnum) in rx_helper() 117 hif->seqnum, wdev->hif.rx_seqnum); in rx_helper() 118 wdev->hif.rx_seqnum = (hif->seqnum + 1) % (HIF_COUNTER_MAX + 1); in rx_helper() 179 hif->seqnum = wdev->hif.tx_seqnum; in tx_helper()
|
/drivers/net/ethernet/sfc/ |
D | tx_tso.c | 60 unsigned int seqnum; member 190 st->seqnum = ntohl(tcp_hdr(skb)->seq); in tso_start() 318 ESF_DZ_TX_TSO_TCP_SEQNO, st->seqnum); in tso_start_new_packet() 341 st->seqnum += skb_shinfo(skb)->gso_size; in tso_start_new_packet()
|
/drivers/infiniband/hw/hfi1/ |
D | user_sdma.c | 421 req->seqnum = 0; in hfi1_user_sdma_process_request() 648 if (!req->seqnum) { in compute_data_length() 757 if (unlikely(req->seqnum == req->info.npkts)) { in user_sdma_send_pkts() 763 if (!maxpkts || maxpkts > req->info.npkts - req->seqnum) in user_sdma_send_pkts() 764 maxpkts = req->info.npkts - req->seqnum; in user_sdma_send_pkts() 789 if (req->seqnum == req->info.npkts - 1) in user_sdma_send_pkts() 830 if (!req->seqnum) { in user_sdma_send_pkts() 877 tx->seqnum = req->seqnum++; in user_sdma_send_pkts() 1013 if (unlikely(req->seqnum == 2)) { in set_txreq_header() 1030 if (unlikely(!req->seqnum)) { in set_txreq_header() [all …]
|
D | user_sdma.h | 201 u16 seqnum; member 237 u16 seqnum; member
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | scb.h | 76 u16 seqnum[NUMPRIO];/* WME: driver maintained sw seqnum per priority */ member
|