Home
last modified time | relevance | path

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

12345678910>>...18

/openbmc/linux/sound/core/oss/
H A Dpcm_plugin.c84 c->frames = frames; in snd_pcm_plugin_alloc()
96 c->frames = frames; in snd_pcm_plugin_alloc()
117 frames = plugin->dst_frames(plugin, frames); in snd_pcm_plug_alloc()
129 frames = plugin->src_frames(plugin, frames); in snd_pcm_plug_alloc()
147 return frames; in snd_pcm_plugin_client_channels()
216 frames = plugin->dst_frames(plugin, frames); in calc_dst_frames()
222 return frames; in calc_dst_frames()
235 frames = plugin->src_frames(plugin, frames); in calc_src_frames()
244 return frames; in calc_src_frames()
646 frames = calc_src_frames(plug, frames, true); in snd_pcm_plug_read_transfer()
[all …]
H A Droute.c33 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
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()
71 copy_area(src_channels, dvp, frames, format); in route_transfer()
74 return frames; in route_transfer()
78 copy_area(src_channels, dvp, frames, format); in route_transfer()
83 zero_areas(dvp, ndsts - dst, frames, format); in route_transfer()
[all …]
H A Drate.c190 if (frames == 0) in rate_src_frames()
194 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); in rate_src_frames()
211 data->old_src_frames = frames; in rate_src_frames()
223 if (frames == 0) in rate_dst_frames()
229 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); in rate_dst_frames()
244 data->old_dst_frames = frames; in rate_dst_frames()
252 snd_pcm_uframes_t frames) in rate_transfer() argument
259 if (frames == 0) in rate_transfer()
275 dst_frames = rate_dst_frames(plugin, frames); in rate_transfer()
276 if (dst_frames > dst_channels[0].frames) in rate_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()
113 return frames; in linear_transfer()
H A Dmulaw.c144 snd_pcm_uframes_t frames);
171 snd_pcm_uframes_t frames) in mulaw_decode() argument
192 frames1 = frames; in mulaw_decode()
217 snd_pcm_uframes_t frames) in mulaw_encode() argument
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_channels[0].frames) in mulaw_transfer()
273 frames = dst_channels[0].frames; in mulaw_transfer()
275 data->func(plugin, src_channels, dst_channels, frames); in mulaw_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.forma… 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);
78 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames);
130 snd_pcm_uframes_t frames,
158 void **bufs, snd_pcm_uframes_t frames);
160 void **bufs, snd_pcm_uframes_t frames);
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dagg-rx.c28 __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()
50 mt76_aggr_release(tid, frames, idx); in mt76_rx_aggr_release_head()
65 mt76_rx_aggr_release_head(tid, frames); in mt76_rx_aggr_check_release()
96 struct sk_buff_head frames; in mt76_rx_aggr_reorder_work() local
99 __skb_queue_head_init(&frames); in mt76_rx_aggr_reorder_work()
112 mt76_rx_complete(dev, &frames, NULL); in mt76_rx_aggr_reorder_work()
159 __skb_queue_tail(frames, skb); in mt76_rx_aggr_reorder()
199 __skb_unlink(skb, frames); in mt76_rx_aggr_reorder()
[all …]
/openbmc/linux/drivers/media/usb/pwc/
H A Dpwc-ctrl.c168 if (frames < 4) in set_video_mode_Nala()
169 frames = 4; in set_video_mode_Nala()
171 frames = 15; in set_video_mode_Nala()
173 frames = 25; in set_video_mode_Nala()
174 frames = frames2frames[frames]; in set_video_mode_Nala()
225 frames = 5; in set_video_mode_Timon()
227 frames = 15; in set_video_mode_Timon()
229 frames = 30; in set_video_mode_Timon()
276 frames = 5; in set_video_mode_Kiara()
278 frames = 15; in set_video_mode_Kiara()
[all …]
/openbmc/qemu/audio/
H A Djackaudio.c48 int frames; member
99 buffer->frames = frames; in qjack_buffer_create()
139 if (frames > avail) { in qjack_buffer_write()
140 frames = avail; in qjack_buffer_write()
143 int copy = frames; in qjack_buffer_write()
173 frames = avail; in qjack_buffer_write_l()
178 right = frames; in qjack_buffer_write_l()
187 wptr += frames; in qjack_buffer_write_l()
194 return frames; in qjack_buffer_write_l()
206 frames = avail; in qjack_buffer_read()
[all …]
/openbmc/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. (not supported on all IP cores)
[all …]
/openbmc/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()
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()
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()
/openbmc/linux/drivers/staging/media/atomisp/pci/camera/pipe/src/
H A Dpipe_util.c33 struct ia_css_frame *frames[]) in ia_css_pipe_util_create_output_frames() argument
37 assert(frames); in ia_css_pipe_util_create_output_frames()
39 frames[i] = NULL; in ia_css_pipe_util_create_output_frames()
44 struct ia_css_frame *frames[], in ia_css_pipe_util_set_output_frames() argument
50 frames[idx] = frame; in ia_css_pipe_util_set_output_frames()
/openbmc/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
56 Say Y if you want to enable support for tagging frames for the
63 Say Y or M if you want to enable support for tagging frames
92 Say Y or M if you want to enable support for tagging frames for
98 Say Y if you want to enable support for tagging frames for the
107 the frames over the Ethernet CPU port are prepended with a
125 Say Y or M if you want to enable support for tagging frames for
[all …]
/openbmc/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);
/openbmc/linux/net/mac80211/
H A Dmesh_ps.c415 struct sk_buff_head *frames) in mpsp_qos_null_append() argument
443 __skb_queue_tail(frames, new_skb); in mpsp_qos_null_append()
456 struct sk_buff_head frames; in mps_frame_deliver() local
460 skb_queue_head_init(&frames); in mps_frame_deliver()
475 __skb_queue_tail(&frames, skb); in mps_frame_deliver()
484 if (skb_queue_empty(&frames)) { in mps_frame_deliver()
491 mpsp_qos_null_append(sta, &frames); in mps_frame_deliver()
494 skb_queue_len(&frames), sta->sta.addr); in mps_frame_deliver()
497 skb_queue_walk(&frames, skb) { in mps_frame_deliver()
515 if (skb_queue_is_last(&frames, skb) && in mps_frame_deliver()
[all …]
/openbmc/linux/sound/firewire/
H A Damdtp-am824.c149 __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; f++) { in write_midi_messages()
324 unsigned int frames, unsigned int data_block_counter) in read_midi_messages() argument
331 for (f = 0; f < frames; f++) { in read_midi_messages()
/openbmc/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()
288 u32 frames; member
295 u32 frames; in snd_pcm_ioctl_xferi_compat() local
306 get_user(frames, &data32->frames)) in snd_pcm_ioctl_xferi_compat()
326 u32 frames; member
340 u32 frames; in snd_pcm_ioctl_xfern_compat() local
[all …]
/openbmc/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()
/openbmc/linux/drivers/dma/
H A Dbcm2835-dma.c90 unsigned int frames; member
268 size_t frames = 0; in bcm2835_dma_count_frames_for_sg() local
277 return frames; in bcm2835_dma_count_frames_for_sg()
313 if (!frames) in bcm2835_dma_create_cb_chain()
329 for (frame = 0, total_len = 0; frame < frames; d->frames++, frame++) { in bcm2835_dma_create_cb_chain()
621 size_t frames; in bcm2835_dma_prep_dma_memcpy() local
632 info, extra, frames, in bcm2835_dma_prep_dma_memcpy()
651 size_t frames; in bcm2835_dma_prep_slave_sg() local
680 frames, src, dst, 0, 0, in bcm2835_dma_prep_slave_sg()
704 size_t frames; in bcm2835_dma_prep_dma_cyclic() local
[all …]
/openbmc/qemu/tests/tcg/s390x/
H A Dsignals-s390x.c60 void *frames[16]; in handle_signal() local
98 n_frames = backtrace(frames, sizeof(frames) / sizeof(frames[0])); in handle_signal()
100 if (frames[i] == &return_from_main_1) { in handle_signal()
/openbmc/linux/net/can/
H A Dbcm.c117 void *frames; member
732 if ((op->frames) && (op->frames != &op->sframe)) in bcm_free_op_rcu()
733 kfree(op->frames); in bcm_free_op_rcu()
933 if (!op->frames) { in bcm_tx_setup()
938 op->frames = &op->sframe; in bcm_tx_setup()
1029 if (op->frames != &op->sframe) in bcm_tx_setup()
1030 kfree(op->frames); in bcm_tx_setup()
1112 if (!op->frames) { in bcm_rx_setup()
1122 kfree(op->frames); in bcm_rx_setup()
1128 op->frames = &op->sframe; in bcm_rx_setup()
[all …]
/openbmc/openbmc/meta-security/recipes-security/isic/files/
H A Disic-0.07-netinet.patch18 /* This is tuned for ethernet sized frames (1500 bytes)
30 /* This is tuned for ethernet sized frames (1500 bytes)
42 /* This is tuned for ethernet sized frames (1500 bytes)
54 /* This is tuned for ethernet sized frames (1500 bytes)
66 /* This is tuned for ethernet sized frames (1500 bytes)
/openbmc/linux/sound/usb/misc/
H A Dua101.c211 unsigned int frames) in copy_playback_data() argument
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
291 frames); in playback_work()
315 unsigned int frames) in copy_capture_data() argument
335 stream->buffer_pos += frames; in copy_capture_data()
338 stream->period_pos += frames; in copy_capture_data()
351 unsigned int frames, write_ptr; in capture_urb_complete() local
365 frames = 0; in capture_urb_complete()
[all …]

12345678910>>...18