Searched refs:tx_context (Results 1 – 5 of 5) sorted by relevance
89 if (!priv->tx_context[ii]) in vnt_get_free_context()92 context = priv->tx_context[ii]; in vnt_get_free_context()253 static u16 vnt_mac_hdr_pos(struct vnt_usb_send_context *tx_context, in vnt_mac_hdr_pos() argument256 u8 *head = tx_context->data + offsetof(struct vnt_tx_buffer, fifo_head); in vnt_mac_hdr_pos()259 tx_context->hdr = hdr; in vnt_mac_hdr_pos()260 if (!tx_context->hdr) in vnt_mac_hdr_pos()266 static u16 vnt_rxtx_datahead_g(struct vnt_usb_send_context *tx_context, in vnt_rxtx_datahead_g() argument270 struct vnt_private *priv = tx_context->priv; in vnt_rxtx_datahead_g()272 (struct ieee80211_hdr *)tx_context->skb->data; in vnt_rxtx_datahead_g()273 u32 frame_len = tx_context->frame_len; in vnt_rxtx_datahead_g()[all …]
372 struct vnt_usb_send_context *tx_context; in vnt_free_tx_bufs() local376 tx_context = priv->tx_context[ii]; in vnt_free_tx_bufs()378 if (tx_context->urb) { in vnt_free_tx_bufs()379 usb_kill_urb(tx_context->urb); in vnt_free_tx_bufs()380 usb_free_urb(tx_context->urb); in vnt_free_tx_bufs()383 kfree(tx_context); in vnt_free_tx_bufs()428 struct vnt_usb_send_context *tx_context; in vnt_alloc_bufs() local433 tx_context = kmalloc(sizeof(struct vnt_usb_send_context), in vnt_alloc_bufs()435 if (tx_context == NULL) in vnt_alloc_bufs()438 priv->tx_context[ii] = tx_context; in vnt_alloc_bufs()[all …]
81 context = priv->tx_context[pkt_no]; in vnt_int_report_rate()
296 struct vnt_usb_send_context *tx_context[CB_MAX_TX_DESC]; member
167 struct gs_tx_context tx_context[GS_MAX_TX_URBS]; member192 if (dev->tx_context[i].echo_id == GS_MAX_TX_URBS) { in gs_alloc_tx_context()193 dev->tx_context[i].echo_id = i; in gs_alloc_tx_context()195 return &dev->tx_context[i]; in gs_alloc_tx_context()218 if (dev->tx_context[id].echo_id == id) { in gs_get_tx_context()220 return &dev->tx_context[id]; in gs_get_tx_context()707 dev->tx_context[rc].dev = dev; in gs_can_close()708 dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; in gs_can_close()788 dev->tx_context[rc].dev = dev; in gs_make_candev()789 dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; in gs_make_candev()