Searched refs:cur_buf (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/atheros/alx/
H A Dmain.c77 struct alx_buffer *cur_buf; alx_refill_rx_ring() local
84 cur_buf = &rxq->bufs[cur]; alx_refill_rx_ring()
86 while (!cur_buf->skb && next != rxq->read_idx) { alx_refill_rx_ring()
108 cur_buf->skb = skb; alx_refill_rx_ring()
109 dma_unmap_len_set(cur_buf, size, alx->rxbuf_size); alx_refill_rx_ring()
110 dma_unmap_addr_set(cur_buf, dma, dma); alx_refill_rx_ring()
116 cur_buf = &rxq->bufs[cur]; alx_refill_rx_ring()
408 struct alx_buffer *cur_buf; alx_free_rxring_buf() local
415 cur_buf = rxq->bufs + i; alx_free_rxring_buf()
416 if (cur_buf->skb) { alx_free_rxring_buf()
418 dma_unmap_addr(cur_buf, dma), alx_free_rxring_buf()
419 dma_unmap_len(cur_buf, size), alx_free_rxring_buf()
421 dev_kfree_skb(cur_buf->skb); alx_free_rxring_buf()
422 cur_buf->skb = NULL; alx_free_rxring_buf()
423 dma_unmap_len_set(cur_buf, size, 0); alx_free_rxring_buf()
424 dma_unmap_addr_set(cur_buf, dma, 0); alx_free_rxring_buf()
/linux-4.4.14/arch/x86/kernel/cpu/
H A Dperf_event_intel_bts.c53 unsigned int cur_buf; member in struct:bts_buffer
139 struct bts_phys *phys = &buf->buf[buf->cur_buf]; bts_config_buffer()
196 head = index + bts_buffer_offset(buf, buf->cur_buf); bts_update()
314 phys = &buf->buf[buf->cur_buf]; bts_buffer_reset()
323 next_buf = buf->cur_buf + 1; bts_buffer_reset()
347 * After this, cur_buf and head won't match ds bts_buffer_reset()
351 buf->cur_buf = next_buf; bts_buffer_reset()
/linux-4.4.14/drivers/video/fbdev/
H A Dmxsfb.c163 unsigned cur_buf; member in struct:mxsfb_devdata
193 .cur_buf = LCDC_V3_CUR_BUF,
202 .cur_buf = LCDC_V4_CUR_BUF,
700 pa = readl(host->base + host->devdata->cur_buf); mxsfb_restore_mode()
/linux-4.4.14/drivers/net/wireless/orinoco/
H A Dorinoco_usb.c752 void *cur_buf = upriv->read_urb->transfer_buffer; ezusb_submit_in_urb() local
760 cur_buf, BULK_BUF_SIZE, ezusb_submit_in_urb()

Completed in 126 milliseconds