Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Dtx.c138 struct efx_short_copy_buffer *copy_buf) in efx_memcpy_toio_aligned()
140 int block_len = len & ~(sizeof(copy_buf->buf) - 1); in efx_memcpy_toio_aligned()
148 BUG_ON(copy_buf->used); in efx_memcpy_toio_aligned()
149 BUG_ON(len > sizeof(copy_buf->buf)); in efx_memcpy_toio_aligned()
150 memcpy(copy_buf->buf, data, len); in efx_memcpy_toio_aligned()
151 copy_buf->used = len; in efx_memcpy_toio_aligned()
160 struct efx_short_copy_buffer *copy_buf) in efx_memcpy_toio_aligned_cb()
162 if (copy_buf->used) { in efx_memcpy_toio_aligned_cb()
165 min_t(int, sizeof(copy_buf->buf) - copy_buf in efx_memcpy_toio_aligned_cb()
136 efx_memcpy_toio_aligned(struct efx_nic *efx, u8 __iomem **piobuf, u8 *data, int len, struct efx_short_copy_buffer *copy_buf) efx_memcpy_toio_aligned() argument
158 efx_memcpy_toio_aligned_cb(struct efx_nic *efx, u8 __iomem **piobuf, u8 *data, int len, struct efx_short_copy_buffer *copy_buf) efx_memcpy_toio_aligned_cb() argument
185 efx_flush_copy_buffer(struct efx_nic *efx, u8 __iomem *piobuf, struct efx_short_copy_buffer *copy_buf) efx_flush_copy_buffer() argument
197 efx_skb_copy_bits_to_pio(struct efx_nic *efx, struct sk_buff *skb, u8 __iomem **piobuf, struct efx_short_copy_buffer *copy_buf) efx_skb_copy_bits_to_pio() argument
236 struct efx_short_copy_buffer copy_buf; efx_enqueue_skb_pio() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dtx.c138 struct efx_short_copy_buffer *copy_buf) in efx_memcpy_toio_aligned()
140 int block_len = len & ~(sizeof(copy_buf->buf) - 1); in efx_memcpy_toio_aligned()
148 BUG_ON(copy_buf->used); in efx_memcpy_toio_aligned()
149 BUG_ON(len > sizeof(copy_buf->buf)); in efx_memcpy_toio_aligned()
150 memcpy(copy_buf->buf, data, len); in efx_memcpy_toio_aligned()
151 copy_buf->used = len; in efx_memcpy_toio_aligned()
160 struct efx_short_copy_buffer *copy_buf) in efx_memcpy_toio_aligned_cb()
162 if (copy_buf->used) { in efx_memcpy_toio_aligned_cb()
165 min_t(int, sizeof(copy_buf->buf) - copy_buf in efx_memcpy_toio_aligned_cb()
136 efx_memcpy_toio_aligned(struct efx_nic *efx, u8 __iomem **piobuf, u8 *data, int len, struct efx_short_copy_buffer *copy_buf) efx_memcpy_toio_aligned() argument
158 efx_memcpy_toio_aligned_cb(struct efx_nic *efx, u8 __iomem **piobuf, u8 *data, int len, struct efx_short_copy_buffer *copy_buf) efx_memcpy_toio_aligned_cb() argument
185 efx_flush_copy_buffer(struct efx_nic *efx, u8 __iomem *piobuf, struct efx_short_copy_buffer *copy_buf) efx_flush_copy_buffer() argument
197 efx_skb_copy_bits_to_pio(struct efx_nic *efx, struct sk_buff *skb, u8 __iomem **piobuf, struct efx_short_copy_buffer *copy_buf) efx_skb_copy_bits_to_pio() argument
236 struct efx_short_copy_buffer copy_buf; efx_enqueue_skb_pio() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
H A Df_uac1_legacy.c252 struct f_audio_buf *copy_buf; in f_audio_buffer_alloc() local
254 copy_buf = kzalloc(sizeof *copy_buf, GFP_ATOMIC); in f_audio_buffer_alloc()
255 if (!copy_buf) in f_audio_buffer_alloc()
258 copy_buf->buf = kzalloc(buf_size, GFP_ATOMIC); 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()
284 struct f_audio_buf *copy_buf; member
325 struct f_audio_buf *copy_buf in f_audio_out_ep_complete() local
642 struct f_audio_buf *copy_buf = audio->copy_buf; f_audio_set_alt() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Df_uac1_legacy.c252 struct f_audio_buf *copy_buf; in f_audio_buffer_alloc() local
254 copy_buf = kzalloc(sizeof *copy_buf, GFP_ATOMIC); in f_audio_buffer_alloc()
255 if (!copy_buf) in f_audio_buffer_alloc()
258 copy_buf->buf = kzalloc(buf_size, GFP_ATOMIC); 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()
284 struct f_audio_buf *copy_buf; member
325 struct f_audio_buf *copy_buf in f_audio_out_ep_complete() local
642 struct f_audio_buf *copy_buf = audio->copy_buf; f_audio_set_alt() local
[all...]

Completed in 4 milliseconds