Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/vt6656/
Dusbpipe.c177 struct vnt_rcb *rcb = urb->context; in vnt_submit_rx_urb_complete() local
178 struct vnt_private *priv = rcb->priv; in vnt_submit_rx_urb_complete()
194 if (vnt_rx_data(priv, rcb, urb->actual_length)) { in vnt_submit_rx_urb_complete()
195 rcb->skb = dev_alloc_skb(priv->rx_buf_sz); in vnt_submit_rx_urb_complete()
196 if (!rcb->skb) { in vnt_submit_rx_urb_complete()
197 rcb->in_use = false; in vnt_submit_rx_urb_complete()
201 skb_push(rcb->skb, skb_headroom(rcb->skb)); in vnt_submit_rx_urb_complete()
202 skb_trim(rcb->skb, 0); in vnt_submit_rx_urb_complete()
205 urb->transfer_buffer = skb_put(rcb->skb, in vnt_submit_rx_urb_complete()
206 skb_tailroom(rcb->skb)); in vnt_submit_rx_urb_complete()
[all …]
Dmain_usb.c378 struct vnt_rcb *rcb; in vnt_free_rx_bufs() local
382 rcb = priv->rcb[ii]; in vnt_free_rx_bufs()
383 if (!rcb) in vnt_free_rx_bufs()
387 if (rcb->urb) { in vnt_free_rx_bufs()
388 usb_kill_urb(rcb->urb); in vnt_free_rx_bufs()
389 usb_free_urb(rcb->urb); in vnt_free_rx_bufs()
393 if (rcb->skb) in vnt_free_rx_bufs()
394 dev_kfree_skb(rcb->skb); in vnt_free_rx_bufs()
396 kfree(rcb); in vnt_free_rx_bufs()
408 struct vnt_rcb *rcb; in vnt_alloc_bufs() local
[all …]
Dusbpipe.h30 int vnt_submit_rx_urb(struct vnt_private *priv, struct vnt_rcb *rcb);
Ddevice.h279 struct vnt_rcb *rcb[CB_MAX_RX_DESC]; member
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c661 rcb[1] && in bnad_get_strings()
663 rcb[1]->rxq) { in bnad_get_strings()
747 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1] && in bnad_get_stats_count_locked()
748 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1]->rxq) in bnad_get_stats_count_locked()
764 struct bna_rcb *rcb = NULL; in bnad_per_q_stats_fill() local
772 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[0] && in bnad_per_q_stats_fill()
773 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[0]->rxq) { in bnad_per_q_stats_fill()
797 if (bnad->rx_info[i].rx_ctrl[j].ccb->rcb[0] && in bnad_per_q_stats_fill()
799 rcb[0]->rxq) { in bnad_per_q_stats_fill()
800 rcb = bnad->rx_info[i].rx_ctrl[j]. in bnad_per_q_stats_fill()
[all …]
Dbnad.c255 bnad_rxq_alloc_uninit(struct bnad *bnad, struct bna_rcb *rcb) in bnad_rxq_alloc_uninit() argument
257 struct bnad_rx_unmap_q *unmap_q = rcb->unmap_q; in bnad_rxq_alloc_uninit()
267 bnad_rxq_alloc_init(struct bnad *bnad, struct bna_rcb *rcb) in bnad_rxq_alloc_init() argument
269 struct bnad_rx_unmap_q *unmap_q = rcb->unmap_q; in bnad_rxq_alloc_init()
272 bnad_rxq_alloc_uninit(bnad, rcb); in bnad_rxq_alloc_init()
274 order = get_order(rcb->rxq->buffer_size); in bnad_rxq_alloc_init()
278 if (bna_is_small_rxq(rcb->id)) { in bnad_rxq_alloc_init()
280 unmap_q->map_size = rcb->rxq->buffer_size; in bnad_rxq_alloc_init()
282 if (rcb->rxq->multi_buffer) { in bnad_rxq_alloc_init()
284 unmap_q->map_size = rcb->rxq->buffer_size; in bnad_rxq_alloc_init()
[all …]
Dbna_tx_rx.c1880 rxq->rcb->sw_qpt = (void **) swqpt_mem->kva; in bna_rxq_qpt_setup()
1881 rxq->rcb->sw_q = page_mem->kva; in bna_rxq_qpt_setup()
1887 rxq->rcb->sw_qpt[i] = kva; in bna_rxq_qpt_setup()
2115 q0->rcb->q_dbell = in bna_bfi_rx_enet_start_rsp()
2120 q1->rcb->q_dbell = in bna_bfi_rx_enet_start_rsp()
2129 q0->rcb->producer_index = q0->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp()
2131 q1->rcb->producer_index = q1->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp()
2390 q0->rcb = (struct bna_rcb *) rcb_mem[rcb_idx].kva; in bna_rx_create()
2391 q0->rcb->unmap_q = (void *)dqunmap_mem[dq_idx].kva; in bna_rx_create()
2393 q0->rcb->q_depth = rx_cfg->q0_depth; in bna_rx_create()
[all …]
Dbna_types.h579 struct bna_rcb *rcb; member
624 struct bna_rcb *rcb[2]; member
Dbnad.h426 if (likely(test_bit(BNAD_RXQ_STARTED, &(_ccb)->rcb[0]->flags))) {\
/Linux-v4.19/drivers/scsi/cxlflash/
Dmain.c58 ioarcb = &(cmd->rcb); in process_cmd_err()
328 __func__, cmd->rcb.cdb[0], room); in send_cmd_ioarrin()
337 writeq_be((u64)&cmd->rcb, &hwq->host_map->ioarrin); in send_cmd_ioarrin()
341 __func__, cmd, cmd->rcb.data_len, cmd->rcb.data_ea, rc); in send_cmd_ioarrin()
368 cmd->rcb.ioasa = &cmd->sa; in send_cmd_sq()
372 *hwq->hsq_curr = cmd->rcb; in send_cmd_sq()
384 "head=%016llx tail=%016llx\n", __func__, cmd, cmd->rcb.data_len, in send_cmd_sq()
385 cmd->rcb.data_ea, cmd->rcb.ioasa, rc, hwq->hsq_curr, in send_cmd_sq()
403 ulong timeout = msecs_to_jiffies(cmd->rcb.timeout * 2 * 1000); in wait_resp()
414 __func__, cmd->rcb.cdb[0], cmd->sa.ioasc); in wait_resp()
[all …]
Dcommon.h160 struct sisl_ioarcb rcb; /* IOARCB (cache line aligned) */ member
/Linux-v4.19/Documentation/devicetree/bindings/net/
Dhisilicon-hns-dsaf.txt12 - interrupts: should contain the DSA Fabric and rcb interrupt.
/Linux-v4.19/arch/mips/include/asm/octeon/
Dcvmx-pciercx-defs.h199 __BITFIELD_FIELD(uint32_t rcb:1,
/Linux-v4.19/drivers/net/ethernet/ibm/ehea/
Dehea_phyp.h286 u64 rcb; /* 13 */ member
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.c250 int ry, rcr, rcb, gy, gcr, gcb, by, bcr, bcb; member
706 dispc_write_reg(DISPC_OVL_CONV_COEF(plane, 1), CVAL(ct->gy, ct->rcb)); in dispc_ovl_write_color_conv_coef()
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Ddispc.c873 int ry, rcb, rcr, gy, gcb, gcr, by, bcb, bcr; member
889 dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 1), CVAL(ct->gy, ct->rcb)); in dispc_ovl_write_color_conv_coef()