Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dlpc32xx_eth.c203 struct lpc32xx_eth_buffers *bufs; member
347 .bufs = (struct lpc32xx_eth_buffers *)CONFIG_LPC32XX_ETH_BUFS_BASE,
360 struct lpc32xx_eth_buffers *bufs = lpc32xx_eth_device->bufs; in lpc32xx_eth_send() local
376 writel((u32)dataptr, &bufs->tx_desc[tx_index].packet); in lpc32xx_eth_send()
378 &bufs->tx_desc[tx_index].control); in lpc32xx_eth_send()
379 writel(0, &bufs->tx_stat[tx_index].statusinfo); in lpc32xx_eth_send()
396 struct lpc32xx_eth_buffers *bufs = lpc32xx_eth_device->bufs; in lpc32xx_eth_recv() local
410 if (!(bufs->rx_stat[rx_index].statusinfo & RX_STAT_ERRORS)) { in lpc32xx_eth_recv()
412 &(bufs->rx_buf[rx_index * PKTSIZE_ALIGN]), in lpc32xx_eth_recv()
413 (bufs->rx_stat[rx_index].statusinfo in lpc32xx_eth_recv()
[all …]
/openbmc/qemu/hw/vfio/
H A Dmigration-multifd.c89 static void vfio_state_buffers_init(VFIOStateBuffers *bufs) in vfio_state_buffers_init() argument
91 bufs->array = g_array_new(FALSE, TRUE, sizeof(VFIOStateBuffer)); in vfio_state_buffers_init()
92 g_array_set_clear_func(bufs->array, vfio_state_buffer_clear); in vfio_state_buffers_init()
95 static void vfio_state_buffers_destroy(VFIOStateBuffers *bufs) in vfio_state_buffers_destroy() argument
97 g_clear_pointer(&bufs->array, g_array_unref); in vfio_state_buffers_destroy()
100 static void vfio_state_buffers_assert_init(VFIOStateBuffers *bufs) in vfio_state_buffers_assert_init() argument
102 assert(bufs->array); in vfio_state_buffers_assert_init()
105 static unsigned int vfio_state_buffers_size_get(VFIOStateBuffers *bufs) in vfio_state_buffers_size_get() argument
107 return bufs->array->len; in vfio_state_buffers_size_get()
110 static void vfio_state_buffers_size_set(VFIOStateBuffers *bufs, in vfio_state_buffers_size_set() argument
[all …]
H A Ddisplay.c230 QTAILQ_FOREACH(dmabuf, &dpy->dmabuf.bufs, next) { in vfio_display_get_dmabuf()
233 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf()
234 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf()
258 QTAILQ_INSERT_HEAD(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_get_dmabuf()
264 QTAILQ_REMOVE(&dpy->dmabuf.bufs, dmabuf, next); in vfio_display_free_one_dmabuf()
278 QTAILQ_FOREACH_SAFE(dmabuf, &dpy->dmabuf.bufs, next, tmp) { in vfio_display_free_dmabufs()
380 if (QTAILQ_EMPTY(&dpy->dmabuf.bufs)) { in vfio_display_dmabuf_exit()
384 while ((dmabuf = QTAILQ_FIRST(&dpy->dmabuf.bufs)) != NULL) { in vfio_display_dmabuf_exit()
H A Dvfio-display.h36 QTAILQ_HEAD(, VFIODMABuf) bufs;
/openbmc/qemu/hw/net/
H A Dspapr_llan.c685 target_ulong *bufs = args + 1; in h_send_logical_lan() local
713 trace_spapr_vlan_h_send_logical_lan_buf_desc(bufs[i]); in h_send_logical_lan()
714 if (!(bufs[i] & VLAN_BD_VALID)) { in h_send_logical_lan()
717 total_len += VLAN_BD_LEN(bufs[i]); in h_send_logical_lan()
735 ret = spapr_vio_dma_read(sdev, VLAN_BD_ADDR(bufs[i]), in h_send_logical_lan()
736 p, VLAN_BD_LEN(bufs[i])); in h_send_logical_lan()
741 p += VLAN_BD_LEN(bufs[i]); in h_send_logical_lan()
H A De1000.c830 int bufs; in e1000_has_rxbufs() local
836 bufs = s->mac_reg[RDT] - s->mac_reg[RDH]; in e1000_has_rxbufs()
838 bufs = s->mac_reg[RDLEN] / sizeof(struct e1000_rx_desc) + in e1000_has_rxbufs()
843 return total_size <= bufs * s->rxbuf_size; in e1000_has_rxbufs()
H A De1000e_core.c933 uint32_t bufs = e1000e_ring_free_descr_num(core, r); in e1000e_has_rxbufs() local
935 trace_e1000e_rx_has_buffers(r->idx, bufs, total_size, in e1000e_has_rxbufs()
938 return total_size <= bufs / (core->rx_desc_len / E1000_MIN_RX_DESC_LEN) * in e1000e_has_rxbufs()
H A Digb_core.c929 uint32_t bufs = igb_ring_free_descr_num(core, r); in igb_has_rxbufs() local
932 trace_e1000e_rx_has_buffers(r->idx, bufs, total_size, bufsize); in igb_has_rxbufs()
934 return total_size <= bufs / (core->rx_desc_len / E1000_MIN_RX_DESC_LEN) * in igb_has_rxbufs()
H A Dtrace-events309 spapr_vlan_h_send_logical_lan(uint64_t reg, uint64_t continue_token) "H_SEND_LOGICAL_LAN(0x%"PRIx64", <bufs>, 0x%"PRIx64")"
/openbmc/qemu/hw/display/
H A Dvirtio-gpu-udmabuf.c168 QTAILQ_REMOVE(&g->dmabuf.bufs, dmabuf, next); in virtio_gpu_free_dmabuf()
194 QTAILQ_INSERT_HEAD(&g->dmabuf.bufs, dmabuf, next); in virtio_gpu_create_dmabuf()
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-gpu.h216 QTAILQ_HEAD(, VGPUDMABuf) bufs;
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/lmbench/lmbench/
H A D0001-Fix-build-errors-related-to-incorrect-function-param.patch236 char *bufs[3];
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/files/
H A D0004-mmal_20.patch4968 + // CB just drops all bufs into out_q
6985 + msg_Err(p_dec, "Failed to attach bufs to pic: fmt=%s", str_fourcc(dbuf0, p_pic->fo…
8497 + if (ctx->bufs[i] != NULL)
8498 + mmal_buffer_header_release(ctx->bufs[i]);
8523 + dst_ctx->bufs[i] = src_ctx->bufs[i];
8524 + if (dst_ctx->bufs[i] != NULL)
8525 + mmal_buffer_header_acquire(dst_ctx->bufs[i]);
8570 + ctx->bufs[0] = buf;
8774 + if (ctx->bufs[0] != NULL)
8777 + if (mmal_buffer_header_replicate(rep_buf, ctx->bufs[0]) != MMAL_SUCCESS)
[all …]
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0001-ffmpeg-5.1.4-rpi_24.patch7905 + request_log("%s: Import: %zd, total=%zd, bufs=%d\n", __func__, dh->size, total_size, total_buf…
7938 + request_log("%s: Alloc: %zd, total=%zd, bufs=%d\n", __func__, dh->size, total_size, total_bufs…
8039 + request_log("%s: Free: %zd, total=%zd, bufs=%d\n", __func__, dh->size, total_size, total_bufs);
11121 + request_err(mbc->dc, "%s: Failed to request src bufs\n", __func__);