Searched refs:frames (Results 26 - 50 of 193) sorted by relevance

12345678

/linux-master/sound/usb/misc/
H A Dua101.c26 * that driver doesn't tell us about this, use 1.5 frames just to be sure.
211 unsigned int frames)
220 if (stream->buffer_pos + frames <= runtime->buffer_size) {
221 memcpy(urb->transfer_buffer, source, frames * frame_bytes);
227 runtime->dma_area, (frames - frames1) * frame_bytes);
230 stream->buffer_pos += frames;
233 stream->period_pos += frames;
253 unsigned int frames; local
276 frames = ua->rate_feedback[ua->rate_feedback_start];
287 frames * u
210 copy_playback_data(struct ua101_stream *stream, struct urb *urb, unsigned int frames) argument
314 copy_capture_data(struct ua101_stream *stream, struct urb *urb, unsigned int frames) argument
351 unsigned int frames, write_ptr; local
541 unsigned int i, frames; local
[all...]
/linux-master/drivers/staging/media/atomisp/pci/
H A Dsh_css_sp.c90 initialize_stage_frames(struct ia_css_frames_sp *frames);
240 /* For now always update the dynamic data from out frames. */
357 initialize_stage_frames(&sh_css_sp_stage.frames);
369 sh_css_copy_buffer_attr_to_spbuffer(&sh_css_sp_stage.frames.metadata_buf,
551 sh_css_copy_frame_to_spframe(&sh_css_sp_stage.frames.in, frame);
594 sh_css_copy_frame_to_spframe(&sh_css_sp_stage.frames.out[idx], frame);
624 sh_css_copy_frame_to_spframe(&sh_css_sp_stage.frames.out_vf, frame);
876 initialize_stage_frames(struct ia_css_frames_sp *frames) argument
880 initialize_frame_buffer_attribute(&frames->in.buf_attr);
882 initialize_frame_buffer_attribute(&frames
[all...]
/linux-master/Documentation/networking/
H A Dmac80211-auth-assoc-deauth.txt22 BA session stop & deauth/disassoc frames
78 (data frames)
87 mac80211->driver: flush frames
/linux-master/sound/firewire/motu/
H A Damdtp-motu.c257 static void __maybe_unused copy_sph(u32 *frames, __be32 *buffer, argument
264 *frames = be32_to_cpu(*buffer);
266 frames++;
271 static void __maybe_unused copy_message(u64 *frames, __be32 *buffer, argument
279 *frames = be32_to_cpu(buffer[1]);
280 *frames <<= 16;
281 *frames |= be32_to_cpu(buffer[2]) >> 16;
282 ++frames;
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_xdp.c55 struct xdp_frame **frames,
62 struct xdp_frame *xdpf = frames[i];
53 lan966x_xdp_xmit(struct net_device *dev, int n, struct xdp_frame **frames, u32 flags) argument
/linux-master/drivers/net/thunderbolt/
H A Dmain.c54 * @frame_index: running index on the frames
55 * @frame_id: ID of the frame to match frames to specific packet
56 * @frame_count: how many frames assembles a full packet
142 struct tbnet_frame frames[TBNET_RING_SIZE]; member in struct:tbnet_ring
173 * network packet consists of multiple Thunderbolt frames.
175 * @rx_ring: Software ring holding Rx frames
178 * @tx_ring: Software ring holding Tx frames
340 struct tbnet_frame *tf = &ring->frames[i];
507 struct tbnet_frame *tf = &ring->frames[index];
560 tf = &ring->frames[inde
989 tbnet_xmit_csum_and_map(struct tbnet *net, struct sk_buff *skb, struct tbnet_frame **frames, u32 frame_count) argument
1107 struct tbnet_frame *frames[MAX_SKB_FRAGS]; local
[all...]
/linux-master/tools/testing/selftests/alsa/
H A Dpcm-test.c270 snd_pcm_sframes_t frames; local
449 frames = snd_pcm_writei(handle, samples, rate);
450 if (frames < 0) {
452 "Write failed: expected %ld, wrote %li", rate, frames);
455 if (frames < rate) {
457 "expected %ld, wrote %li", rate, frames);
461 frames = snd_pcm_readi(handle, samples, rate);
462 if (frames < 0) {
464 "expected %ld, wrote %li", rate, frames);
467 if (frames < rat
[all...]
/linux-master/kernel/bpf/
H A Dcpumap.c12 * Unlike devmap which redirects XDP frames out to another NIC device,
13 * this map type redirects raw XDP frames to another CPU. The remote
179 void **frames, int n,
190 struct xdp_frame *xdpf = frames[i];
208 frames[nframes++] = xdpf;
239 static int cpu_map_bpf_prog_run(struct bpf_cpu_map_entry *rcpu, void **frames, argument
250 nframes = cpu_map_bpf_prog_run_xdp(rcpu, frames, xdp_n, stats);
281 void *frames[CPUMAP_BATCH]; local
306 n = __ptr_ring_consume_batched(rcpu->queue, frames,
309 void *f = frames[
178 cpu_map_bpf_prog_run_xdp(struct bpf_cpu_map_entry *rcpu, void **frames, int n, struct xdp_cpumap_stats *stats) argument
[all...]
/linux-master/sound/usb/line6/
H A Dcapture.c92 int frames = fsize / bytes_per_frame; local
97 if (line6pcm->in.pos_done + frames > runtime->buffer_size) {
111 (frames - len) * bytes_per_frame);
123 line6pcm->in.pos_done += frames;
/linux-master/drivers/usb/gadget/function/
H A Du_uac1_legacy.c158 snd_pcm_sframes_t frames; local
172 frames = bytes_to_frames(runtime, count);
173 result = snd_pcm_kernel_write(snd->substream, buf, frames);
174 if (result != frames) {
/linux-master/drivers/xen/
H A Dgntdev-common.h77 xen_pfn_t *frames; member in struct:gntdev_grant_map
H A Dgrant-table.c84 * gnttab_last_free is used to add free entries of new frames at the end of
121 * Mapping a list of frames for storing grant entries. Frames parameter
123 * nr_gframes is the number of frames to map grant table. Returning
126 int (*map_frames)(xen_pfn_t *frames, unsigned int nr_gframes);
128 * Release a list of frames which are mapped in map_frames for grant
746 static unsigned int gnttab_frames(unsigned int frames, unsigned int align) argument
748 return (frames * gnttab_interface->grefs_per_grant_frame + align - 1) /
798 return 4; /* Legacy max supported number of frames */
830 pr_warn("Failed to ioremap gnttab share frames (addr=%pa)!\n",
1089 args->frames[
1379 gnttab_map_frames_v1(xen_pfn_t *frames, unsigned int nr_gframes) argument
1396 gnttab_map_frames_v2(xen_pfn_t *frames, unsigned int nr_gframes) argument
1448 xen_pfn_t *frames; local
[all...]
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth-debugfs.c68 "VFQID", "CPU", "TC", "Type", "Frames", "Pending frames");
77 if (!fq->stats.frames && !fcnt)
85 fq->stats.frames,
111 ch->stats.frames,
113 div64_u64(ch->stats.frames, ch->stats.cdan),
/linux-master/sound/firewire/tascam/
H A Damdtp-tascam.c36 __be32 *buffer, unsigned int frames,
54 for (i = 0; i < frames; ++i) {
66 __be32 *buffer, unsigned int frames,
87 for (i = 0; i < frames; ++i) {
35 write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, __be32 *buffer, unsigned int frames, unsigned int pcm_frames) argument
65 read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, __be32 *buffer, unsigned int frames, unsigned int pcm_frames) argument
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.h25 struct xdp_frame **frames, u32 flags);
/linux-master/net/can/
H A Dbcm.c119 void *frames; member in struct:bcm_op
288 struct canfd_frame *cf = op->frames + op->cfsiz * op->currframe;
329 * (consisting of bcm_msg_head + x CAN frames)
332 struct canfd_frame *frames, int has_timestamp)
357 /* CAN frames starting here */
360 skb_put_data(skb, frames, datalen);
544 struct canfd_frame *cf = op->frames + op->cfsiz * index;
597 /* clear received CAN frames to indicate 'nothing received' */
703 /* send reply for RTR-request (placed in op->frames[0]) */
739 if ((get_u64(op->frames,
331 bcm_send_to_user(struct bcm_op *op, struct bcm_msg_head *head, struct canfd_frame *frames, int has_timestamp) argument
[all...]
/linux-master/drivers/spi/
H A Dspi-microchip-core-qspi.c316 int total_bytes, cmd_bytes, frames, ctrl; local
323 * controlled by the frames register for each SPI sequence. This supports
350 frames = total_bytes & BYTESUPPER_MASK;
351 writel_relaxed(frames, qspi->regs + REG_FRAMESUP);
352 frames = total_bytes & BYTESLOWER_MASK;
353 frames |= cmd_bytes << FRAMES_CMDBYTES_SHIFT;
358 frames |= idle_cycles << FRAMES_IDLE_SHIFT;
362 frames |= (1 << FRAMES_SHIFT);
364 frames |= FRAMES_FLAGWORD;
365 writel_relaxed(frames, qsp
[all...]
/linux-master/include/sound/
H A Dpcm.h732 * bytes_to_frames - Unit conversion of the size from bytes to frames
736 * Return: the size in frames
756 * frames_to_bytes - Unit conversion of the size from frames to bytes
758 * @size: size in frames
768 * frame_aligned - Check whether the byte size is aligned to frames
1012 * params_period_size - Get the period size (in frames) from the hw params
1015 * Return: the period size in frames
1034 * params_buffer_size - Get the buffer size (in frames) from the hw params
1037 * Return: the buffer size in frames
1149 int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int frames);
1163 snd_pcm_lib_write(struct snd_pcm_substream *substream, const void __user *buf, snd_pcm_uframes_t frames) argument
1170 snd_pcm_lib_read(struct snd_pcm_substream *substream, void __user *buf, snd_pcm_uframes_t frames) argument
1177 snd_pcm_lib_writev(struct snd_pcm_substream *substream, void __user **bufs, snd_pcm_uframes_t frames) argument
1184 snd_pcm_lib_readv(struct snd_pcm_substream *substream, void __user **bufs, snd_pcm_uframes_t frames) argument
1191 snd_pcm_kernel_write(struct snd_pcm_substream *substream, const void *buf, snd_pcm_uframes_t frames) argument
1198 snd_pcm_kernel_read(struct snd_pcm_substream *substream, void *buf, snd_pcm_uframes_t frames) argument
1205 snd_pcm_kernel_writev(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) argument
1212 snd_pcm_kernel_readv(struct snd_pcm_substream *substream, void **bufs, snd_pcm_uframes_t frames) argument
[all...]
/linux-master/sound/core/
H A Dpcm_lib.c34 snd_pcm_uframes_t off, snd_pcm_uframes_t frames);
67 snd_pcm_uframes_t frames, ofs, transfer; local
85 frames = runtime->silence_threshold - noise_dist;
86 if (frames > runtime->silence_size)
87 frames = runtime->silence_size;
119 frames = runtime->buffer_size - runtime->silence_filled;
121 if (snd_BUG_ON(frames > runtime->buffer_size))
123 if (frames == 0)
127 transfer = ofs + frames > runtime->buffer_size ? runtime->buffer_size - ofs : frames;
2093 interleaved_copy(struct snd_pcm_substream *substream, snd_pcm_uframes_t hwoff, void *data, snd_pcm_uframes_t off, snd_pcm_uframes_t frames, pcm_transfer_f transfer, bool in_kernel) argument
2114 noninterleaved_copy(struct snd_pcm_substream *substream, snd_pcm_uframes_t hwoff, void *data, snd_pcm_uframes_t off, snd_pcm_uframes_t frames, pcm_transfer_f transfer, bool in_kernel) argument
2148 fill_silence_frames(struct snd_pcm_substream *substream, snd_pcm_uframes_t off, snd_pcm_uframes_t frames) argument
2309 snd_pcm_uframes_t frames, appl_ptr, appl_ofs; local
[all...]
/linux-master/drivers/usb/gadget/legacy/
H A Dwebcam.c174 /* add to .frames and fill .num_frames at runtime */
313 /* add to .frames and fill .num_frames at runtime */
546 INIT_LIST_HEAD(&uvcg_format_yuv.fmt.frames);
547 list_add_tail(&uvcg_frame_ptr_yuv_360p.entry, &uvcg_format_yuv.fmt.frames);
548 list_add_tail(&uvcg_frame_ptr_yuv_720p.entry, &uvcg_format_yuv.fmt.frames);
551 INIT_LIST_HEAD(&uvcg_format_mjpeg.fmt.frames);
552 list_add_tail(&uvcg_frame_ptr_mjpeg_360p.entry, &uvcg_format_mjpeg.fmt.frames);
553 list_add_tail(&uvcg_frame_ptr_mjpeg_720p.entry, &uvcg_format_mjpeg.fmt.frames);
/linux-master/drivers/media/platform/nvidia/tegra-vde/
H A Dh264.c174 struct tegra_video_frame *frames,
181 tegra_vde_setup_frameid(vde, &frames[idx], idx,
431 dev_err(dev, "MBE frames setup failed %d\n", err);
746 vde->frames[id].flags = flags;
747 vde->frames[id].y_addr = tb->dma_addr[0];
748 vde->frames[id].cb_addr = tb->dma_addr[1];
749 vde->frames[id].cr_addr = tb->dma_addr[2];
750 vde->frames[id].aux_addr = tb->aux->dma_addr;
751 vde->frames[id].frame_num = frame_num & 0x7fffff;
752 vde->frames[i
173 tegra_setup_frameidx(struct tegra_vde *vde, struct tegra_video_frame *frames, unsigned int frames_nb, u32 mbs_width, u32 mbs_height) argument
[all...]
/linux-master/drivers/most/
H A Dmost_snd.c186 unsigned int frames; local
190 frames = mbo->processed_length / frame_bytes;
192 frames = mbo->buffer_length / frame_bytes;
193 fr0 = min(buffer_size - channel->buffer_pos, frames);
199 if (frames > fr0) {
203 (frames - fr0) * frame_bytes);
206 channel->buffer_pos += frames;
209 channel->period_pos += frames;
395 * hardware position on the buffer. The position must be returned in frames,
/linux-master/arch/arm/lib/
H A Dbacktrace-clang.S102 beq no_frame @ we have no stack frames
193 * If we are out of frames or if the next frame is invalid.
196 beq no_frame @ no further frames
/linux-master/sound/firewire/digi00x/
H A Damdtp-dot.c146 __be32 *buffer, unsigned int frames,
165 for (i = 0; i < frames; ++i) {
178 __be32 *buffer, unsigned int frames,
197 for (i = 0; i < frames; ++i) {
145 write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, __be32 *buffer, unsigned int frames, unsigned int pcm_frames) argument
177 read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, __be32 *buffer, unsigned int frames, unsigned int pcm_frames) argument
/linux-master/drivers/media/usb/go7007/
H A Dsnd-go7007.c68 int frames = bytes_to_frames(runtime, length); local
72 gosnd->hw_ptr += frames;
75 gosnd->avail += frames;

Completed in 239 milliseconds

12345678