Home
last modified time | relevance | path

Searched refs:cur_buf (Results 1 – 10 of 10) sorted by relevance

/drivers/media/platform/rockchip/rkisp1/
Drkisp1-stats.c367 struct rkisp1_buffer *cur_buf = NULL; in rkisp1_stats_send_measurement() local
373 cur_buf = list_first_entry(&stats->stat, in rkisp1_stats_send_measurement()
375 list_del(&cur_buf->queue); in rkisp1_stats_send_measurement()
378 if (!cur_buf) in rkisp1_stats_send_measurement()
382 vb2_plane_vaddr(&cur_buf->vb.vb2_buf, 0); in rkisp1_stats_send_measurement()
397 vb2_set_plane_payload(&cur_buf->vb.vb2_buf, 0, in rkisp1_stats_send_measurement()
399 cur_buf->vb.sequence = frame_sequence; in rkisp1_stats_send_measurement()
400 cur_buf->vb.vb2_buf.timestamp = timestamp; in rkisp1_stats_send_measurement()
401 vb2_buffer_done(&cur_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in rkisp1_stats_send_measurement()
Drkisp1-params.c1531 struct rkisp1_buffer *cur_buf; in rkisp1_params_isr() local
1535 if (!rkisp1_params_get_buffer(params, &cur_buf, &new_params)) in rkisp1_params_isr()
1554 rkisp1_params_complete_buffer(params, cur_buf, in rkisp1_params_isr()
1607 struct rkisp1_buffer *cur_buf; in rkisp1_params_pre_configure() local
1636 if (!rkisp1_params_get_buffer(params, &cur_buf, &new_params)) in rkisp1_params_pre_configure()
1653 struct rkisp1_buffer *cur_buf; in rkisp1_params_post_configure() local
1666 if (!rkisp1_params_get_buffer(params, &cur_buf, &new_params)) in rkisp1_params_post_configure()
1675 rkisp1_params_complete_buffer(params, cur_buf, 0); in rkisp1_params_post_configure()
/drivers/net/ethernet/atheros/alx/
Dmain.c75 struct alx_buffer *cur_buf; in alx_refill_rx_ring() local
82 cur_buf = &rxq->bufs[cur]; in alx_refill_rx_ring()
84 while (!cur_buf->skb && next != rxq->read_idx) { in alx_refill_rx_ring()
119 cur_buf->skb = skb; in alx_refill_rx_ring()
120 dma_unmap_len_set(cur_buf, size, alx->rxbuf_size); in alx_refill_rx_ring()
121 dma_unmap_addr_set(cur_buf, dma, dma); in alx_refill_rx_ring()
127 cur_buf = &rxq->bufs[cur]; in alx_refill_rx_ring()
508 struct alx_buffer *cur_buf; in alx_free_rxring_buf() local
515 cur_buf = rxq->bufs + i; in alx_free_rxring_buf()
516 if (cur_buf->skb) { in alx_free_rxring_buf()
[all …]
/drivers/net/ethernet/fungible/funeth/
Dfuneth_rx.c188 q->cur_buf->pg_refs++; /* return frags' page reference */ in fun_run_xdp()
192 q->cur_buf->pg_refs++; in fun_run_xdp()
299 struct funeth_rxbuf *buf = q->cur_buf; in fun_gather_pkt()
336 q->cur_buf = buf; in fun_gather_pkt()
461 q->cur_buf->pg_refs++; in fun_handle_cqe_pkt()
545 q->cur_buf = NULL; in fun_rxq_free_bufs()
561 q->cur_buf = q->bufs; in fun_rxq_alloc_bufs()
Dfuneth_txrx.h177 struct funeth_rxbuf *cur_buf; /* currently active buffer */ member
/drivers/gpu/drm/mxsfb/
Dmxsfb_drv.c49 .cur_buf = LCDC_V3_CUR_BUF,
59 .cur_buf = LCDC_V4_CUR_BUF,
69 .cur_buf = LCDC_V4_CUR_BUF,
Dmxsfb_drv.h20 unsigned int cur_buf; member
Dmxsfb_kms.c393 writel(dma_addr, mxsfb->base + mxsfb->devdata->cur_buf); in mxsfb_crtc_atomic_enable()
/drivers/net/wireless/intersil/orinoco/
Dorinoco_usb.c760 void *cur_buf = upriv->read_urb->transfer_buffer; in ezusb_submit_in_urb() local
768 cur_buf, BULK_BUF_SIZE, in ezusb_submit_in_urb()
/drivers/ufs/core/
Dufshcd.c5995 u32 cur_buf; in ufshcd_wb_presrv_usrspc_keep_vcc_on() local
6002 index, 0, &cur_buf); in ufshcd_wb_presrv_usrspc_keep_vcc_on()
6009 if (!cur_buf) { in ufshcd_wb_presrv_usrspc_keep_vcc_on()
6011 cur_buf); in ufshcd_wb_presrv_usrspc_keep_vcc_on()