Home
last modified time | relevance | path

Searched refs:rcb (Results 1 – 14 of 14) sorted by relevance

/drivers/staging/vt6656/
Dusbpipe.c362 struct vnt_rcb *rcb = urb->context; in vnt_submit_rx_urb_complete() local
363 struct vnt_private *priv = rcb->priv; in vnt_submit_rx_urb_complete()
379 if (vnt_rx_data(priv, rcb, urb->actual_length)) { in vnt_submit_rx_urb_complete()
380 rcb->skb = dev_alloc_skb(priv->rx_buf_sz); in vnt_submit_rx_urb_complete()
381 if (!rcb->skb) in vnt_submit_rx_urb_complete()
384 skb_push(rcb->skb, skb_headroom(rcb->skb)); in vnt_submit_rx_urb_complete()
385 skb_trim(rcb->skb, 0); in vnt_submit_rx_urb_complete()
388 urb->transfer_buffer = skb_put(rcb->skb, in vnt_submit_rx_urb_complete()
389 skb_tailroom(rcb->skb)); in vnt_submit_rx_urb_complete()
396 int vnt_submit_rx_urb(struct vnt_private *priv, struct vnt_rcb *rcb) in vnt_submit_rx_urb() argument
[all …]
Dmain_usb.c459 struct vnt_rcb *rcb; in vnt_free_rx_bufs() local
463 rcb = priv->rcb[ii]; in vnt_free_rx_bufs()
464 if (!rcb) in vnt_free_rx_bufs()
468 if (rcb->urb) { in vnt_free_rx_bufs()
469 usb_kill_urb(rcb->urb); in vnt_free_rx_bufs()
470 usb_free_urb(rcb->urb); in vnt_free_rx_bufs()
474 if (rcb->skb) in vnt_free_rx_bufs()
475 dev_kfree_skb(rcb->skb); in vnt_free_rx_bufs()
477 kfree(rcb); in vnt_free_rx_bufs()
490 struct vnt_rcb *rcb; in vnt_alloc_bufs() local
[all …]
Dusbpipe.h62 int vnt_submit_rx_urb(struct vnt_private *priv, struct vnt_rcb *rcb);
Ddevice.h281 struct vnt_rcb *rcb[CB_MAX_RX_DESC]; member
/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c639 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1] && in bnad_get_strings()
640 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1]->rxq) in bnad_get_strings()
686 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1] && in bnad_get_stats_count_locked()
687 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1]->rxq) in bnad_get_stats_count_locked()
703 struct bna_rcb *rcb = NULL; in bnad_per_q_stats_fill() local
711 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[0] && in bnad_per_q_stats_fill()
712 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[0]->rxq) { in bnad_per_q_stats_fill()
736 if (bnad->rx_info[i].rx_ctrl[j].ccb->rcb[0] && in bnad_per_q_stats_fill()
738 rcb[0]->rxq) { in bnad_per_q_stats_fill()
739 rcb = bnad->rx_info[i].rx_ctrl[j]. in bnad_per_q_stats_fill()
[all …]
Dbnad.c247 bnad_rxq_alloc_uninit(struct bnad *bnad, struct bna_rcb *rcb) in bnad_rxq_alloc_uninit() argument
249 struct bnad_rx_unmap_q *unmap_q = rcb->unmap_q; in bnad_rxq_alloc_uninit()
259 bnad_rxq_alloc_init(struct bnad *bnad, struct bna_rcb *rcb) in bnad_rxq_alloc_init() argument
261 struct bnad_rx_unmap_q *unmap_q = rcb->unmap_q; in bnad_rxq_alloc_init()
264 bnad_rxq_alloc_uninit(bnad, rcb); in bnad_rxq_alloc_init()
266 order = get_order(rcb->rxq->buffer_size); in bnad_rxq_alloc_init()
270 if (bna_is_small_rxq(rcb->id)) { in bnad_rxq_alloc_init()
272 unmap_q->map_size = rcb->rxq->buffer_size; in bnad_rxq_alloc_init()
274 if (rcb->rxq->multi_buffer) { in bnad_rxq_alloc_init()
276 unmap_q->map_size = rcb->rxq->buffer_size; in bnad_rxq_alloc_init()
[all …]
Dbna_tx_rx.c1872 rxq->rcb->sw_qpt = (void **) swqpt_mem->kva; in bna_rxq_qpt_setup()
1873 rxq->rcb->sw_q = page_mem->kva; in bna_rxq_qpt_setup()
1879 rxq->rcb->sw_qpt[i] = kva; in bna_rxq_qpt_setup()
2107 q0->rcb->q_dbell = in bna_bfi_rx_enet_start_rsp()
2112 q1->rcb->q_dbell = in bna_bfi_rx_enet_start_rsp()
2121 q0->rcb->producer_index = q0->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp()
2123 q1->rcb->producer_index = q1->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp()
2382 q0->rcb = (struct bna_rcb *) rcb_mem[rcb_idx].kva; in bna_rx_create()
2383 q0->rcb->unmap_q = (void *)dqunmap_mem[dq_idx].kva; in bna_rx_create()
2385 q0->rcb->q_depth = rx_cfg->q0_depth; in bna_rx_create()
[all …]
Dbna_types.h571 struct bna_rcb *rcb; member
616 struct bna_rcb *rcb[2]; member
Dbnad.h416 if (likely(test_bit(BNAD_RXQ_STARTED, &(_ccb)->rcb[0]->flags))) {\
/drivers/scsi/cxlflash/
Dmain.c319 __func__, cmd->rcb.cdb[0], room); in send_cmd_ioarrin()
328 writeq_be((u64)&cmd->rcb, &hwq->host_map->ioarrin); in send_cmd_ioarrin()
332 __func__, cmd, cmd->rcb.data_len, cmd->rcb.data_ea, rc); in send_cmd_ioarrin()
359 cmd->rcb.ioasa = &cmd->sa; in send_cmd_sq()
363 *hwq->hsq_curr = cmd->rcb; in send_cmd_sq()
375 "head=%016llx tail=%016llx\n", __func__, cmd, cmd->rcb.data_len, in send_cmd_sq()
376 cmd->rcb.data_ea, cmd->rcb.ioasa, rc, hwq->hsq_curr, in send_cmd_sq()
394 ulong timeout = msecs_to_jiffies(cmd->rcb.timeout * 2 * 1000); in wait_resp()
405 __func__, cmd->rcb.cdb[0], cmd->sa.ioasc); in wait_resp()
494 cmd->rcb.ctx_id = hwq->ctx_hndl; in send_tmf()
[all …]
Dcommon.h156 struct sisl_ioarcb rcb; /* IOARCB (cache line aligned) */ member
/drivers/net/ethernet/ibm/ehea/
Dehea_phyp.h272 u64 rcb; /* 13 */ member
/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.c239 int ry, rcr, rcb, gy, gcr, gcb, by, bcr, bcb; member
669 dispc_write_reg(DISPC_OVL_CONV_COEF(plane, 1), CVAL(ct->gy, ct->rcb)); in dispc_ovl_write_color_conv_coef()
/drivers/gpu/drm/omapdrm/dss/
Ddispc.c852 int ry, rcb, rcr, gy, gcb, gcr, by, bcb, bcr; member
868 dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 1), CVAL(ct->gy, ct->rcb)); in dispc_ovl_write_color_conv_coef()