Home
last modified time | relevance | path

Searched refs:copy_buf (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sfc/
H A Dtx.c148 BUG_ON(copy_buf->used); in efx_memcpy_toio_aligned()
151 copy_buf->used = len; in efx_memcpy_toio_aligned()
162 if (copy_buf->used) { in efx_memcpy_toio_aligned_cb()
165 min_t(int, sizeof(copy_buf->buf) - copy_buf->used, len); in efx_memcpy_toio_aligned_cb()
167 memcpy(copy_buf->buf + copy_buf->used, data, copy_to_buf); in efx_memcpy_toio_aligned_cb()
171 if (copy_buf->used < sizeof(copy_buf->buf)) in efx_memcpy_toio_aligned_cb()
179 copy_buf->used = 0; in efx_memcpy_toio_aligned_cb()
189 if (copy_buf->used) in efx_flush_copy_buffer()
204 copy_buf); in efx_skb_copy_bits_to_pio()
238 copy_buf.used = 0; in efx_enqueue_skb_pio()
[all …]
/openbmc/linux/drivers/usb/gadget/function/
H A Df_uac1_legacy.c254 copy_buf = kzalloc(sizeof *copy_buf, GFP_ATOMIC); in f_audio_buffer_alloc()
255 if (!copy_buf) in f_audio_buffer_alloc()
259 if (!copy_buf->buf) { in f_audio_buffer_alloc()
260 kfree(copy_buf); in f_audio_buffer_alloc()
264 return copy_buf; in f_audio_buffer_alloc()
325 struct f_audio_buf *copy_buf = audio->copy_buf; in f_audio_out_ep_complete() local
334 if (!copy_buf) in f_audio_out_ep_complete()
348 memcpy(copy_buf->buf + copy_buf->actual, req->buf, req->actual); in f_audio_out_ep_complete()
350 audio->copy_buf = copy_buf; in f_audio_out_ep_complete()
642 struct f_audio_buf *copy_buf = audio->copy_buf; in f_audio_set_alt() local
[all …]
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/files/
H A D0004-mmal_20.patch11070 + MMAL_BUFFER_HEADER_T * copy_buf;
11968 + if (sys->copy_buf != NULL) {
11969 + MMAL_BUFFER_HEADER_T *const buf = sys->copy_buf;
11970 + sys->copy_buf = NULL;
12379 + if (sys->copy_buf != NULL) {
12381 + mmal_buffer_header_release(sys->copy_buf);
12382 + sys->copy_buf = NULL;
12390 + sys->copy_buf = buf;
12719 + if (sys->copy_buf != NULL)
12720 + mmal_buffer_header_release(sys->copy_buf);