Home
last modified time | relevance | path

Searched refs:frames (Results 1 – 25 of 357) sorted by relevance

12345678910>>...15

/linux/sound/core/oss/
H A Dpcm_plugin.c49 static int snd_pcm_plugin_alloc(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) in snd_pcm_plugin_alloc() argument
65 size = array3_size(frames, format->channels, width); in snd_pcm_plugin_alloc()
72 if (plugin->buf_frames < frames) { in snd_pcm_plugin_alloc()
75 plugin->buf_frames = frames; in snd_pcm_plugin_alloc()
84 c->frames = frames; in snd_pcm_plugin_alloc()
96 c->frames = frames; in snd_pcm_plugin_alloc()
108 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames) in snd_pcm_plug_alloc() argument
117 frames in snd_pcm_plug_alloc()
143 snd_pcm_plugin_client_channels(struct snd_pcm_plugin * plugin,snd_pcm_uframes_t frames,struct snd_pcm_plugin_channel ** channels) snd_pcm_plugin_client_channels() argument
204 calc_dst_frames(struct snd_pcm_substream * plug,snd_pcm_sframes_t frames,bool check_size) calc_dst_frames() argument
226 calc_src_frames(struct snd_pcm_substream * plug,snd_pcm_sframes_t frames,bool check_size) calc_src_frames() argument
602 snd_pcm_sframes_t frames = size; snd_pcm_plug_write_transfer() local
643 snd_pcm_sframes_t frames = size; snd_pcm_plug_read_transfer() local
[all...]
H A Droute.c28 snd_pcm_uframes_t frames, snd_pcm_format_t format) in zero_areas() argument
33 snd_pcm_area_silence(&dvp->area, 0, frames, format); in zero_areas()
41 snd_pcm_uframes_t frames, snd_pcm_format_t format) in copy_area() argument
44 snd_pcm_area_copy(&src_channel->area, 0, &dst_channel->area, 0, frames, format); in copy_area()
50 snd_pcm_uframes_t frames) in route_transfer() argument
58 if (frames == 0) in route_transfer()
60 if (frames > dst_channels[0].frames) in route_transfer()
61 frames = dst_channels[0].frames; in route_transfer()
[all...]
H A Drate.c183 static snd_pcm_sframes_t rate_src_frames(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) in rate_src_frames() argument
190 if (frames == 0) in rate_src_frames()
194 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); in rate_src_frames()
196 res = DIV_ROUND_CLOSEST(frames << SHIFT, data->pitch); in rate_src_frames()
199 snd_pcm_sframes_t frames1 = frames, res1 = data->old_dst_frames; in rate_src_frames()
211 data->old_src_frames = frames; in rate_src_frames()
216 static snd_pcm_sframes_t rate_dst_frames(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) in rate_dst_frames() argument
223 if (frames == 0) in rate_dst_frames()
227 res = DIV_ROUND_CLOSEST(frames << SHIFT, data->pitch); in rate_dst_frames()
229 res = (((frames * dat in rate_dst_frames()
252 rate_transfer(struct snd_pcm_plugin * plugin,const struct snd_pcm_plugin_channel * src_channels,struct snd_pcm_plugin_channel * dst_channels,snd_pcm_uframes_t frames) rate_transfer() argument
[all...]
H A Dmulaw.c144 snd_pcm_uframes_t frames);
171 snd_pcm_uframes_t frames) in mulaw_decode() argument
183 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_decode()
192 frames1 = frames; in mulaw_decode()
217 snd_pcm_uframes_t frames) in mulaw_encode() argument
229 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_encode()
238 frames1 = frames; in mulaw_encode()
251 snd_pcm_uframes_t frames) in mulaw_transfer() argument
257 if (frames == 0) in mulaw_transfer()
272 if (frames > dst_channel in mulaw_transfer()
[all...]
H A Dlinear.c58 snd_pcm_uframes_t frames) in convert() argument
70 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in convert()
79 frames1 = frames; in convert()
91 snd_pcm_uframes_t frames) in linear_transfer() argument
95 if (frames == 0) in linear_transfer()
110 if (frames > dst_channels[0].frames) in linear_transfer()
111 frames = dst_channels[0].frames; in linear_transfer()
112 convert(plugin, src_channels, dst_channels, frames); in linear_transfer()
[all...]
H A Dio.c40 snd_pcm_uframes_t frames) in io_playback_transfer() argument
47 return pcm_write(plugin->plug, src_channels->area.addr, frames); in io_playback_transfer()
59 return pcm_writev(plugin->plug, bufs, frames); in io_playback_transfer()
66 snd_pcm_uframes_t frames) in io_capture_transfer() argument
73 return pcm_read(plugin->plug, dst_channels->area.addr, frames); in io_capture_transfer()
85 return pcm_readv(plugin->plug, bufs, frames); in io_capture_transfer()
91 snd_pcm_uframes_t frames, in io_src_channels() argument
97 err = snd_pcm_plugin_client_channels(plugin, frames, &v); in io_src_channels()
105 return frames; in io_src_channels()
H A Dcopy.c30 snd_pcm_uframes_t frames) in copy_transfer() argument
37 if (frames == 0) in copy_transfer()
49 snd_pcm_area_silence(&dst_channels->area, 0, frames, plugin->dst_format.format); in copy_transfer()
54 snd_pcm_area_copy(&src_channels->area, 0, &dst_channels->area, 0, frames, plugin->src_format.format); in copy_transfer()
58 return frames; in copy_transfer()
H A Dpcm_plugin.h28 snd_pcm_uframes_t frames; /* allocated frames */ member
50 snd_pcm_uframes_t frames,
55 snd_pcm_uframes_t frames);
77 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames);
129 snd_pcm_uframes_t frames,
155 void **bufs, snd_pcm_uframes_t frames);
157 void **bufs, snd_pcm_uframes_t frames);
/linux/drivers/media/usb/pwc/
H A Dpwc-ctrl.c142 int frames, int *compression, int send_to_cam) in set_video_mode_Nala() argument
168 if (frames < 4) in set_video_mode_Nala()
169 frames = 4; in set_video_mode_Nala()
170 else if (size > PSZ_QCIF && frames > 15) in set_video_mode_Nala()
171 frames = 15; in set_video_mode_Nala()
172 else if (frames > 25) in set_video_mode_Nala()
173 frames = 25; in set_video_mode_Nala()
174 frames = frames2frames[frames]; in set_video_mode_Nala()
175 fps = frames2table[frames]; in set_video_mode_Nala()
217 set_video_mode_Timon(struct pwc_device * pdev,int size,int pixfmt,int frames,int * compression,int send_to_cam) set_video_mode_Timon() argument
268 set_video_mode_Kiara(struct pwc_device * pdev,int size,int pixfmt,int frames,int * compression,int send_to_cam) set_video_mode_Kiara() argument
320 pwc_set_video_mode(struct pwc_device * pdev,int width,int height,int pixfmt,int frames,int * compression,int send_to_cam) pwc_set_video_mode() argument
[all...]
/linux/drivers/net/wireless/mediatek/mt76/
H A Dagg-rx.c16 mt76_aggr_release(struct mt76_rx_tid *tid, struct sk_buff_head *frames, int idx) in mt76_aggr_release() argument
28 __skb_queue_tail(frames, skb); in mt76_aggr_release()
33 struct sk_buff_head *frames, in mt76_rx_aggr_release_frames() argument
40 mt76_aggr_release(tid, frames, idx); in mt76_rx_aggr_release_frames()
45 mt76_rx_aggr_release_head(struct mt76_rx_tid *tid, struct sk_buff_head *frames) in mt76_rx_aggr_release_head() argument
50 mt76_aggr_release(tid, frames, idx); in mt76_rx_aggr_release_head()
56 mt76_rx_aggr_check_release(struct mt76_rx_tid *tid, struct sk_buff_head *frames) in mt76_rx_aggr_check_release() argument
65 mt76_rx_aggr_release_head(tid, frames); in mt76_rx_aggr_check_release()
84 mt76_rx_aggr_release_frames(tid, frames, status->seqno); in mt76_rx_aggr_check_release()
87 mt76_rx_aggr_release_head(tid, frames); in mt76_rx_aggr_check_release()
96 struct sk_buff_head frames; mt76_rx_aggr_reorder_work() local
119 mt76_rx_aggr_check_ctl(struct sk_buff * skb,struct sk_buff_head * frames) mt76_rx_aggr_check_ctl() argument
148 mt76_rx_aggr_reorder(struct sk_buff * skb,struct sk_buff_head * frames) mt76_rx_aggr_reorder() argument
[all...]
/linux/Documentation/networking/device_drivers/can/freescale/
H A Dflexcan.rst10 On/off RTR frames reception
19 and i.MX53 SOCs) only receive RTR frames if the controller is
22 The RX FIFO mode uses a hardware FIFO with a depth of 6 CAN frames,
24 CAN frames. With the help of the bigger buffer, the mailbox mode
27 As reception of RTR frames is part of the CAN standard, all flexcan
30 With the "rx-rtr" private flag the ability to receive RTR frames can
35 Receive RTR frames. (default)
37 The CAN controller can and will receive RTR frames.
39 On some IP cores the controller cannot receive RTR frames in the
45 Waive ability to receive RTR frames
[all...]
/linux/net/dsa/
H A DKconfig25 frames over the CPU port.
30 Say Y or M if you want to enable support for tagging frames for
41 Say Y if you want to enable support for tagging frames for the
48 Say Y if you want to enable support for tagging frames for the
58 Say Y if you want to enable support for tagging frames for the
68 Say Y if you want to enable support for tagging frames for the
75 Say Y or M if you want to enable support for tagging frames
81 Say Y or M if you want to enable support for tagging frames for the
91 Say Y or M if you want to enable support for tagging frames for the
98 Say Y or M if you want to enable support for tagging frames fo
[all...]
/linux/drivers/xen/
H A Dmem-reservation.c31 xen_pfn_t *frames) in __xenmem_reservation_va_mapping_update() argument
48 set_phys_to_machine(pfn, frames[i]); in __xenmem_reservation_va_mapping_update()
52 mfn_pte(frames[i], PAGE_KERNEL), 0); in __xenmem_reservation_va_mapping_update()
85 /* @frames is an array of PFNs */
86 int xenmem_reservation_increase(int count, xen_pfn_t *frames) in xenmem_reservation_increase() argument
95 set_xen_guest_handle(reservation.extent_start, frames); in xenmem_reservation_increase()
101 /* @frames is an array of GFNs */
102 int xenmem_reservation_decrease(int count, xen_pfn_t *frames) in xenmem_reservation_decrease() argument
111 set_xen_guest_handle(reservation.extent_start, frames); in xenmem_reservation_decrease()
/linux/drivers/staging/media/atomisp/pci/camera/pipe/src/
H A Dpipe_util.c24 struct ia_css_frame *frames[]) in ia_css_pipe_util_create_output_frames() argument
28 assert(frames); in ia_css_pipe_util_create_output_frames()
30 frames[i] = NULL; in ia_css_pipe_util_create_output_frames()
35 struct ia_css_frame *frames[], in ia_css_pipe_util_set_output_frames() argument
41 frames[idx] = frame; in ia_css_pipe_util_set_output_frames()
/linux/include/xen/
H A Dmem-reservation.h31 xen_pfn_t *frames);
39 xen_pfn_t *frames) in xenmem_reservation_va_mapping_update() argument
43 __xenmem_reservation_va_mapping_update(count, pages, frames); in xenmem_reservation_va_mapping_update()
56 int xenmem_reservation_increase(int count, xen_pfn_t *frames);
58 int xenmem_reservation_decrease(int count, xen_pfn_t *frames);
/linux/Documentation/networking/device_drivers/ethernet/meta/
H A Dfbnic.rst43 L2-L4 headers (or full frames if frame is not header-data split).
51 rings for normal traffic from the stack and the second one for XDP frames.
92 - ``rxb_integrity_err[i]``: frames enqueued with integrity errors (e.g., multi-bit ECC errors) on RXB input i
93 - ``rxb_mac_err[i]``: frames enqueued with MAC end-of-frame errors (e.g., bad FCS) on RXB input i
94 - ``rxb_parser_err[i]``: frames experienced RPC parser errors
95 - ``rxb_frm_err[i]``: frames experienced signaling errors (e.g., missing end-of-packet/start-of-packet) on RXB input i
96 - ``rxb_drbo[i]_frames``: frames received at RXB input i
103 - ``rxb_fifo[i]_dropped_frames``: frames dropped on RXB pool i
110 - ``rxb_intf[i]_frames``: frames sent to the output i
112 - ``rxb_pbuf[i]_frames``: frames sen
[all...]
/linux/sound/core/
H A Dpcm_compat.c29 snd_pcm_uframes_t frames; in snd_pcm_ioctl_rewind_compat() local
32 if (get_user(frames, src)) in snd_pcm_ioctl_rewind_compat()
34 err = snd_pcm_rewind(substream, frames); in snd_pcm_ioctl_rewind_compat()
43 snd_pcm_uframes_t frames; in snd_pcm_ioctl_forward_compat() local
46 if (get_user(frames, src)) in snd_pcm_ioctl_forward_compat()
48 err = snd_pcm_forward(substream, frames); in snd_pcm_ioctl_forward_compat()
282 u32 frames; member
289 u32 frames; in snd_pcm_ioctl_xferi_compat() local
300 get_user(frames, &data32->frames)) in snd_pcm_ioctl_xferi_compat()
320 u32 frames; global() member
334 u32 frames; snd_pcm_ioctl_xfern_compat() local
[all...]
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_hw_stats.c76 fbnic_hw_stat_rst32(fbd, FBNIC_TMI_DROP_PKTS, &tmi->drop.frames); in fbnic_reset_tmi_stats()
89 fbnic_hw_stat_rd32(fbd, FBNIC_TMI_DROP_PKTS, &tmi->drop.frames); in fbnic_get_tmi_stats32()
109 &tti->cm_drop.frames); in fbnic_reset_tti_stats()
117 &tti->frame_drop.frames); in fbnic_reset_tti_stats()
125 &tti->tbi_drop.frames); in fbnic_reset_tti_stats()
137 &tti->cm_drop.frames); in fbnic_get_tti_stats32()
141 &tti->frame_drop.frames); in fbnic_get_tti_stats32()
145 &tti->tbi_drop.frames); in fbnic_get_tti_stats32()
218 &fifo->drop.frames); in fbnic_reset_rxb_fifo_stats()
223 &fifo->trunc.frames); in fbnic_reset_rxb_fifo_stats()
[all...]
/linux/net/mac80211/
H A Dmesh_ps.c189 * is handled, for group-addressed and management frames it is not used
272 mps_dbg(sta->sdata, "start PS buffering frames towards %pM\n", in ieee80211_mps_sta_status_update()
348 * individually addressed QoS Data/Null frames contain in ieee80211_mps_rx_h_sta_process()
353 /* check for mesh Peer Service Period trigger frames */ in ieee80211_mps_rx_h_sta_process()
412 * @frames: the frame list to append to
419 struct sk_buff_head *frames) in mpsp_qos_null_append() argument
422 struct sk_buff *new_skb, *skb = skb_peek_tail(frames); in mpsp_qos_null_append()
437 * make sure it cannot pass other frames when releasing multiple ACs. in mpsp_qos_null_append()
447 __skb_queue_tail(frames, new_skb); in mpsp_qos_null_append()
451 * mps_frame_deliver - transmit frames durin
460 struct sk_buff_head frames; mps_frame_deliver() local
[all...]
/linux/sound/firewire/
H A Damdtp-am824.c48 * @double_pcm_frames: one data block transfers two PCM frames
81 * sampling rate to transfer two PCM frames in one data block. in amdtp_am824_set_parameters()
149 __be32 *buffer, unsigned int frames, in write_pcm_s32() argument
167 for (i = 0; i < frames; ++i) { in write_pcm_s32()
180 __be32 *buffer, unsigned int frames, in read_pcm_s32() argument
198 for (i = 0; i < frames; ++i) { in read_pcm_s32()
210 __be32 *buffer, unsigned int frames) in write_pcm_silence() argument
215 for (i = 0; i < frames; ++i) { in write_pcm_silence()
296 unsigned int frames, unsigned int data_block_counter) in write_midi_messages() argument
302 for (f = 0; f < frames; in write_midi_messages()
324 read_midi_messages(struct amdtp_stream * s,__be32 * buffer,unsigned int frames,unsigned int data_block_counter) read_midi_messages() argument
[all...]
/linux/drivers/dma/
H A Dbcm2835-dma.c90 unsigned int frames; member
181 /* how many frames of max_len size do we need to transfer len bytes */
208 for (i = 0; i < desc->frames; i++) in bcm2835_dma_free_cb_chain()
268 size_t frames = 0; in bcm2835_dma_count_frames_for_sg() local
274 frames += bcm2835_dma_frames_for_length( in bcm2835_dma_count_frames_for_sg()
277 return frames; in bcm2835_dma_count_frames_for_sg()
287 * @frames: number of controlblocks to allocate
302 bool cyclic, u32 info, u32 finalextrainfo, size_t frames, in bcm2835_dma_create_cb_chain() argument
313 if (!frames) in bcm2835_dma_create_cb_chain()
317 d = kzalloc(struct_size(d, cb_list, frames), gf in bcm2835_dma_create_cb_chain()
621 size_t frames; bcm2835_dma_prep_dma_memcpy() local
651 size_t frames; bcm2835_dma_prep_slave_sg() local
704 size_t frames; bcm2835_dma_prep_dma_cyclic() local
[all...]
/linux/sound/firewire/fireface/
H A Damdtp-ff.c31 __le32 *buffer, unsigned int frames, in write_pcm_s32() argument
49 for (i = 0; i < frames; ++i) { in write_pcm_s32()
61 __le32 *buffer, unsigned int frames, in read_pcm_s32() argument
79 for (i = 0; i < frames; ++i) { in read_pcm_s32()
91 __le32 *buffer, unsigned int frames) in write_pcm_silence() argument
96 for (i = 0; i < frames; ++i) { in write_pcm_silence()
/linux/Documentation/ABI/testing/
H A Dsysfs-class-tee6 RPMB frames can be routed to the RPMB device via the
9 will route the RPMB frames via user space. Conversely,
10 "kernel" means that the frames are routed via the RPMB
12 should be assumed that RPMB frames are routed via user
/linux/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) in copy_playback_data() argument
220 if (stream->buffer_pos + frames <= runtime->buffer_size) { in copy_playback_data()
221 memcpy(urb->transfer_buffer, source, frames * frame_bytes); in copy_playback_data()
227 runtime->dma_area, (frames - frames1) * frame_bytes); in copy_playback_data()
230 stream->buffer_pos += frames; in copy_playback_data()
233 stream->period_pos += frames; in copy_playback_data()
253 unsigned int frames; in playback_work() local
276 frames = ua->rate_feedback[ua->rate_feedback_start]; in playback_work()
287 frames * u in playback_work()
315 copy_capture_data(struct ua101_stream * stream,struct urb * urb,unsigned int frames) copy_capture_data() argument
351 unsigned int frames, write_ptr; capture_urb_complete() local
541 unsigned int i, frames; start_usb_playback() local
[all...]
/linux/net/can/
H A Dbcm.c120 void *frames; member
304 cf = op->frames + op->cfsiz * op->currframe; in bcm_can_tx()
350 * (consisting of bcm_msg_head + x CAN frames)
353 struct canfd_frame *frames, int has_timestamp) in bcm_send_to_user() argument
379 /* CAN frames starting here */ in bcm_send_to_user()
382 skb_put_data(skb, frames, datalen); in bcm_send_to_user()
565 struct canfd_frame *cf = op->frames + op->cfsiz * index; in bcm_rx_cmp_to_index()
618 /* clear received CAN frames to indicate 'nothing received' */ in bcm_rx_timeout_handler()
724 /* send reply for RTR-request (placed in op->frames[0]) */ in bcm_rx_handler()
760 if ((get_u64(op->frames, in bcm_rx_handler()
[all...]

12345678910>>...15