Home
last modified time | relevance | path

Searched refs:tx_context (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/drivers/staging/vt6656/
A Drxtx.c62 if (!priv->tx_context[ii]) in vnt_get_free_context()
65 context = priv->tx_context[ii]; in vnt_get_free_context()
185 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_g()
207 u16 rate = tx_context->tx_rate; in vnt_rxtx_datahead_ab()
449 vnt_rxtx_rts(tx_context); in vnt_generate_tx_parameter()
454 vnt_rxtx_cts(tx_context); in vnt_generate_tx_parameter()
459 vnt_rxtx_ab(tx_context); in vnt_generate_tx_parameter()
531 if (!tx_context) { in vnt_tx_packet()
537 tx_context->pkt_type = pkt_type; in vnt_tx_packet()
544 if (!tx_context->skb) { in vnt_tx_packet()
[all …]
A Dmain_usb.c443 struct vnt_usb_send_context *tx_context; in vnt_free_tx_bufs() local
449 tx_context = priv->tx_context[ii]; in vnt_free_tx_bufs()
450 if (!tx_context) in vnt_free_tx_bufs()
453 kfree(tx_context); in vnt_free_tx_bufs()
489 struct vnt_usb_send_context *tx_context; in vnt_alloc_bufs() local
496 tx_context = kmalloc(sizeof(*tx_context), GFP_KERNEL); in vnt_alloc_bufs()
497 if (!tx_context) { in vnt_alloc_bufs()
502 priv->tx_context[ii] = tx_context; in vnt_alloc_bufs()
503 tx_context->priv = priv; in vnt_alloc_bufs()
504 tx_context->pkt_no = ii; in vnt_alloc_bufs()
[all …]
A Ddevice.h285 struct vnt_usb_send_context *tx_context[CB_MAX_TX_DESC]; member
A Dusbpipe.c150 context = priv->tx_context[pkt_no]; in vnt_int_report_rate()
/linux-6.3-rc2/drivers/net/can/usb/
A Dmcba_usb.c74 struct mcba_usb_ctx tx_context[MCBA_MAX_TX_URBS]; member
170 priv->tx_context[i].ndx = MCBA_CTX_FREE; in mcba_init_ctx()
171 priv->tx_context[i].priv = priv; in mcba_init_ctx()
174 atomic_set(&priv->free_ctx_cnt, ARRAY_SIZE(priv->tx_context)); in mcba_init_ctx()
184 if (priv->tx_context[i].ndx == MCBA_CTX_FREE) { in mcba_usb_get_free_ctx()
185 ctx = &priv->tx_context[i]; in mcba_usb_get_free_ctx()
A Dgs_usb.c317 struct gs_tx_context tx_context[GS_MAX_TX_URBS]; member
343 if (dev->tx_context[i].echo_id == GS_MAX_TX_URBS) { in gs_alloc_tx_context()
344 dev->tx_context[i].echo_id = i; in gs_alloc_tx_context()
346 return &dev->tx_context[i]; in gs_alloc_tx_context()
370 if (dev->tx_context[id].echo_id == id) { in gs_get_tx_context()
372 return &dev->tx_context[id]; in gs_get_tx_context()
1022 dev->tx_context[rc].dev = dev; in gs_can_close()
1023 dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; in gs_can_close()
1210 dev->tx_context[rc].dev = dev; in gs_make_candev()
1211 dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; in gs_make_candev()

Completed in 15 milliseconds