Home
last modified time | relevance | path

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

12345678910>>...19

/OK3568_Linux_fs/kernel/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
64 size = array3_size(frames, format->channels, width); in snd_pcm_plugin_alloc()
71 if (plugin->buf_frames < frames) { in snd_pcm_plugin_alloc()
74 plugin->buf_frames = frames; in snd_pcm_plugin_alloc()
83 c->frames = frames; in snd_pcm_plugin_alloc()
95 c->frames = frames; in snd_pcm_plugin_alloc()
107 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames) in snd_pcm_plug_alloc() argument
116 frames = plugin->dst_frames(plugin, frames); in snd_pcm_plug_alloc()
117 if ((snd_pcm_sframes_t)frames <= 0) in snd_pcm_plug_alloc()
120 err = snd_pcm_plugin_alloc(plugin, frames); in snd_pcm_plug_alloc()
[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()
71 copy_area(src_channels, dvp, frames, format); in route_transfer()
74 return 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 = (((frames << SHIFT) + (data->pitch / 2)) / 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 = (((frames << SHIFT) + (data->pitch / 2)) / data->pitch); in rate_dst_frames()
229 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); in rate_dst_frames()
[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_channels[0].frames) 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()
113 return frames; in linear_transfer()
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,
150 void **bufs, snd_pcm_uframes_t frames);
152 void **bufs, snd_pcm_uframes_t frames);
/OK3568_Linux_fs/kernel/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()
191 pdev->vframes = frames; in set_video_mode_Nala()
[all …]
/OK3568_Linux_fs/kernel/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()
[all …]
/OK3568_Linux_fs/external/rk_pcba_test/tinyalsa/
H A Dpcm.c234 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames) in pcm_frames_to_bytes() argument
236 return frames * pcm->config.channels * in pcm_frames_to_bytes()
312 unsigned int frames) in pcm_areas_copy() argument
314 int size_bytes = pcm_frames_to_bytes(pcm, frames); in pcm_areas_copy()
335 unsigned int pcm_offset, frames, count = 0; in pcm_mmap_transfer_areas() local
338 frames = size; in pcm_mmap_transfer_areas()
339 pcm_mmap_begin(pcm, &pcm_areas, &pcm_offset, &frames); in pcm_mmap_transfer_areas()
340 pcm_areas_copy(pcm, pcm_offset, buf, offset, frames); in pcm_mmap_transfer_areas()
341 commit = pcm_mmap_commit(pcm, pcm_offset, frames); in pcm_mmap_transfer_areas()
343 oops(pcm, commit, "failed to commit %d frames\n", frames); in pcm_mmap_transfer_areas()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/gdb/python/gdb/command/
H A Dframe_filters.py24 import gdb.frames
60 key=lambda i: gdb.frames.get_priority(i[1]),
72 str(gdb.frames.get_priority(frame_filter[1])))
74 self.enabled_string(gdb.frames.get_enabled(frame_filter[1])))
136 op_list = gdb.frames.return_list(list_op)
140 gdb.frames.set_enabled(item, flag)
149 gdb.frames.set_enabled(ff, flag)
233 printer_list = gdb.frames.return_list(text.split()[0].rstrip())
265 printer_list = gdb.frames.return_list(text.split()[0].rstrip())
334 op_list = gdb.frames.return_list(list_op)
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/gdb/python/gdb/command/
H A Dframe_filters.py24 import gdb.frames
60 key=lambda i: gdb.frames.get_priority(i[1]),
72 str(gdb.frames.get_priority(frame_filter[1])))
74 self.enabled_string(gdb.frames.get_enabled(frame_filter[1])))
136 op_list = gdb.frames.return_list(list_op)
140 gdb.frames.set_enabled(item, flag)
149 gdb.frames.set_enabled(ff, flag)
233 printer_list = gdb.frames.return_list(text.split()[0].rstrip())
265 printer_list = gdb.frames.return_list(text.split()[0].rstrip())
334 op_list = gdb.frames.return_list(list_op)
[all …]
/OK3568_Linux_fs/kernel/drivers/xen/
H A Dmem-reservation.c31 xen_pfn_t *frames) in __xenmem_reservation_va_mapping_update() argument
47 set_phys_to_machine(pfn, frames[i]); in __xenmem_reservation_va_mapping_update()
55 mfn_pte(frames[i], PAGE_KERNEL), in __xenmem_reservation_va_mapping_update()
93 int xenmem_reservation_increase(int count, xen_pfn_t *frames) in xenmem_reservation_increase() argument
102 set_xen_guest_handle(reservation.extent_start, frames); in xenmem_reservation_increase()
109 int xenmem_reservation_decrease(int count, xen_pfn_t *frames) in xenmem_reservation_decrease() argument
118 set_xen_guest_handle(reservation.extent_start, frames); in xenmem_reservation_decrease()
/OK3568_Linux_fs/kernel/net/dsa/
H A DKconfig36 Say Y or M if you want to enable support for tagging frames for
47 Say Y if you want to enable support for tagging frames for the
55 Say Y if you want to enable support for tagging frames for the
62 Say Y or M if you want to enable support for tagging frames for the
68 Say Y or M if you want to enable support for tagging frames for the
74 Say Y or M if you want to enable support for tagging frames for the
80 Say Y or M if you want to enable support for tagging frames for
86 Say Y if you want to enable support for tagging frames for the
92 Say Y or M if you want to enable support for tagging frames for the
100 Say Y or M if you want to enable support for tagging frames for the
[all …]
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dmp3-util.h83 size_t tagsize = 0, consumed = 0, frames = 0; in mp3_duration() local
98 …"got exact duration by scan to EOF (frames=%" PRIuPTR " leftover=%" PRIuPTR ")", frames, leftover); in mp3_duration()
134 if (!frames) { in mp3_duration()
144 if ((frames = xing_frames(p, mad_stream.anc_ptr, mad_stream.anc_bitlen))) { in mp3_duration()
145 num_samples *= frames; in mp3_duration()
146 lsx_debug("got exact duration from XING frame count (%" PRIuPTR ")", frames); in mp3_duration()
153 if (++frames == 25 && !vbr) { in mp3_duration()
154 double frame_size = (double) consumed / frames; in mp3_duration()
156 num_samples = num_samples / frames * num_frames; in mp3_duration()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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);
/OK3568_Linux_fs/external/recovery/minui/
H A Dresources.c240 int res_create_multi_display_surface(const char* name, int* frames, gr_surface** pSurface) in res_create_multi_display_surface() argument
251 *frames = -1; in res_create_multi_display_surface()
256 *frames = 1; in res_create_multi_display_surface()
262 *frames = atoi(text[i].text); in res_create_multi_display_surface()
266 printf(" found frames = %d\n", *frames); in res_create_multi_display_surface()
269 if (height % *frames != 0) { in res_create_multi_display_surface()
270 printf("bad height (%d) for frame count (%d)\n", height, *frames); in res_create_multi_display_surface()
275 surface = malloc(*frames * sizeof(gr_surface)); in res_create_multi_display_surface()
280 for (i = 0; i < *frames; ++i) { in res_create_multi_display_surface()
281 surface[i] = init_display_surface(width, height / *frames); in res_create_multi_display_surface()
[all …]
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/minui/
H A Dresources.c235 int res_create_multi_display_surface(const char* name, int* frames, gr_surface** pSurface) { in res_create_multi_display_surface() argument
245 *frames = -1; in res_create_multi_display_surface()
250 *frames = 1; in res_create_multi_display_surface()
256 *frames = atoi(text[i].text); in res_create_multi_display_surface()
260 printf(" found frames = %d\n", *frames); in res_create_multi_display_surface()
263 if (height % *frames != 0) { in res_create_multi_display_surface()
264 printf("bad height (%d) for frame count (%d)\n", height, *frames); in res_create_multi_display_surface()
269 surface = malloc(*frames * sizeof(gr_surface)); in res_create_multi_display_surface()
274 for (i = 0; i < *frames; ++i) { in res_create_multi_display_surface()
275 surface[i] = init_display_surface(width, height / *frames); in res_create_multi_display_surface()
[all …]
/OK3568_Linux_fs/kernel/net/mac80211/
H A Dmesh_ps.c414 struct sk_buff_head *frames) in mpsp_qos_null_append() argument
417 struct sk_buff *new_skb, *skb = skb_peek_tail(frames); in mpsp_qos_null_append()
442 __skb_queue_tail(frames, new_skb); in mpsp_qos_null_append()
455 struct sk_buff_head frames; in mps_frame_deliver() local
459 skb_queue_head_init(&frames); in mps_frame_deliver()
474 __skb_queue_tail(&frames, skb); in mps_frame_deliver()
483 if (skb_queue_empty(&frames)) { in mps_frame_deliver()
490 mpsp_qos_null_append(sta, &frames); in mps_frame_deliver()
493 skb_queue_len(&frames), sta->sta.addr); in mps_frame_deliver()
496 skb_queue_walk(&frames, skb) { in mps_frame_deliver()
[all …]
/OK3568_Linux_fs/kernel/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()
283 u32 frames; member
290 u32 frames; in snd_pcm_ioctl_xferi_compat() local
301 get_user(frames, &data32->frames)) in snd_pcm_ioctl_xferi_compat()
305 err = snd_pcm_lib_write(substream, compat_ptr(buf), frames); in snd_pcm_ioctl_xferi_compat()
[all …]
/OK3568_Linux_fs/kernel/drivers/dma/
H A Dbcm2835-dma.c90 unsigned int frames; member
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()
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), gfp); in bcm2835_dma_create_cb_chain()
329 for (frame = 0, total_len = 0; frame < frames; d->frames++, frame++) { in bcm2835_dma_create_cb_chain()
370 d->cb_list[d->frames - 1].cb->info |= finalextrainfo; in bcm2835_dma_create_cb_chain()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_rx.c513 _os_list *frames) in phl_handle_rx_frame_list() argument
519 phl_list_for_loop_safe(pos, n, struct rtw_phl_rx_pkt, frames, list) { in phl_handle_rx_frame_list()
559 int index, _os_list *frames) in phl_release_reorder_frame() argument
569 list_add_tail(&pkt->list, frames); in phl_release_reorder_frame()
603 struct phl_tid_ampdu_rx *r, _os_list *frames) in phl_reorder_release() argument
635 phl_release_reorder_frame(phl_info, r, j, frames); in phl_reorder_release()
645 phl_release_reorder_frame(phl_info, r, index, frames); in phl_reorder_release()
685 _os_list frames; in phl_sta_rx_reorder_timer_expired() local
687 INIT_LIST_HEAD(&frames); in phl_sta_rx_reorder_timer_expired()
691 phl_reorder_release(phl_info, sta->tid_rx[i], &frames); in phl_sta_rx_reorder_timer_expired()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_rx.c518 _os_list *frames) in phl_handle_rx_frame_list() argument
524 phl_list_for_loop_safe(pos, n, struct rtw_phl_rx_pkt, frames, list) { in phl_handle_rx_frame_list()
564 int index, _os_list *frames) in phl_release_reorder_frame() argument
574 list_add_tail(&pkt->list, frames); in phl_release_reorder_frame()
608 struct phl_tid_ampdu_rx *r, _os_list *frames) in phl_reorder_release() argument
640 phl_release_reorder_frame(phl_info, r, j, frames); in phl_reorder_release()
650 phl_release_reorder_frame(phl_info, r, index, frames); in phl_reorder_release()
690 _os_list frames; in phl_sta_rx_reorder_timer_expired() local
692 INIT_LIST_HEAD(&frames); in phl_sta_rx_reorder_timer_expired()
696 phl_reorder_release(phl_info, sta->tid_rx[i], &frames); in phl_sta_rx_reorder_timer_expired()
[all …]

12345678910>>...19