Searched refs:frames (Results 1 - 25 of 193) sorted by relevance

12345678

/linux-master/drivers/staging/media/atomisp/pci/camera/pipe/interface/
H A Dia_css_pipe_util.h33 struct ia_css_frame *frames[]);
36 struct ia_css_frame *frames[],
/linux-master/drivers/staging/media/atomisp/pci/camera/pipe/src/
H A Dpipe_util.c33 struct ia_css_frame *frames[])
37 assert(frames);
39 frames[i] = NULL;
44 struct ia_css_frame *frames[],
50 frames[idx] = frame;
32 ia_css_pipe_util_create_output_frames( struct ia_css_frame *frames[]) argument
43 ia_css_pipe_util_set_output_frames( struct ia_css_frame *frames[], unsigned int idx, struct ia_css_frame *frame) argument
/linux-master/sound/core/oss/
H A Droute.c28 snd_pcm_uframes_t frames, snd_pcm_format_t format)
33 snd_pcm_area_silence(&dvp->area, 0, frames, format);
41 snd_pcm_uframes_t frames, snd_pcm_format_t format)
44 snd_pcm_area_copy(&src_channel->area, 0, &dst_channel->area, 0, frames, format);
50 snd_pcm_uframes_t frames)
58 if (frames == 0)
60 if (frames > dst_channels[0].frames)
61 frames = dst_channels[0].frames;
27 zero_areas(struct snd_pcm_plugin_channel *dvp, int ndsts, snd_pcm_uframes_t frames, snd_pcm_format_t format) argument
39 copy_area(const struct snd_pcm_plugin_channel *src_channel, struct snd_pcm_plugin_channel *dst_channel, snd_pcm_uframes_t frames, snd_pcm_format_t format) argument
47 route_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) argument
[all...]
H A Dpcm_plugin.c49 static int snd_pcm_plugin_alloc(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) argument
65 size = array3_size(frames, format->channels, width);
72 if (plugin->buf_frames < frames) {
75 plugin->buf_frames = frames;
84 c->frames = frames;
96 c->frames = frames;
108 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames) argument
117 frames
142 snd_pcm_plugin_client_channels(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames, struct snd_pcm_plugin_channel **channels) argument
203 calc_dst_frames(struct snd_pcm_substream *plug, snd_pcm_sframes_t frames, bool check_size) argument
225 calc_src_frames(struct snd_pcm_substream *plug, snd_pcm_sframes_t frames, bool check_size) argument
602 snd_pcm_sframes_t frames = size; local
643 snd_pcm_sframes_t frames = size; local
[all...]
H A Dcopy.c30 snd_pcm_uframes_t frames)
37 if (frames == 0)
49 snd_pcm_area_silence(&dst_channels->area, 0, frames, plugin->dst_format.format);
54 snd_pcm_area_copy(&src_channels->area, 0, &dst_channels->area, 0, frames, plugin->src_format.format);
58 return frames;
27 copy_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) argument
H A Dio.c40 snd_pcm_uframes_t frames)
47 return pcm_write(plugin->plug, src_channels->area.addr, frames);
59 return pcm_writev(plugin->plug, bufs, frames);
66 snd_pcm_uframes_t frames)
73 return pcm_read(plugin->plug, dst_channels->area.addr, frames);
85 return pcm_readv(plugin->plug, bufs, frames);
91 snd_pcm_uframes_t frames,
97 err = snd_pcm_plugin_client_channels(plugin, frames, &v);
105 return frames;
37 io_playback_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) argument
63 io_capture_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) argument
90 io_src_channels(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames, struct snd_pcm_plugin_channel **channels) argument
H A Drate.c183 static snd_pcm_sframes_t rate_src_frames(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) argument
190 if (frames == 0)
194 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT);
196 res = DIV_ROUND_CLOSEST(frames << SHIFT, data->pitch);
199 snd_pcm_sframes_t frames1 = frames, res1 = data->old_dst_frames;
211 data->old_src_frames = frames;
216 static snd_pcm_sframes_t rate_dst_frames(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) argument
223 if (frames == 0)
227 res = DIV_ROUND_CLOSEST(frames << SHIFT, data->pitch);
229 res = (((frames * dat
249 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) argument
[all...]
H A Dmulaw.c144 snd_pcm_uframes_t frames);
171 snd_pcm_uframes_t frames)
183 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format);
192 frames1 = frames;
217 snd_pcm_uframes_t frames)
229 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format);
238 frames1 = frames;
251 snd_pcm_uframes_t frames)
257 if (frames == 0)
272 if (frames > dst_channel
168 mulaw_decode(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) argument
214 mulaw_encode(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) argument
248 mulaw_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) argument
[all...]
H A Dlinear.c58 snd_pcm_uframes_t frames)
70 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format);
79 frames1 = frames;
91 snd_pcm_uframes_t frames)
95 if (frames == 0)
110 if (frames > dst_channels[0].frames)
111 frames = dst_channels[0].frames;
112 convert(plugin, src_channels, dst_channels, frames);
55 convert(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) argument
88 linear_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) argument
[all...]
H A Dpcm_plugin.h28 snd_pcm_uframes_t frames; /* allocated frames */ member in struct:snd_pcm_plugin_channel
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);
/linux-master/arch/arm/xen/
H A Dgrant-table.c36 int arch_gnttab_map_shared(xen_pfn_t *frames, unsigned long nr_gframes, argument
48 int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes, argument
/linux-master/include/xen/
H A Dmem-reservation.h31 xen_pfn_t *frames);
39 xen_pfn_t *frames)
43 __xenmem_reservation_va_mapping_update(count, pages, frames);
56 int xenmem_reservation_increase(int count, xen_pfn_t *frames);
58 int xenmem_reservation_decrease(int count, xen_pfn_t *frames);
37 xenmem_reservation_va_mapping_update(unsigned long count, struct page **pages, xen_pfn_t *frames) argument
/linux-master/drivers/xen/
H A Dmem-reservation.c31 xen_pfn_t *frames)
48 set_phys_to_machine(pfn, frames[i]);
52 mfn_pte(frames[i], PAGE_KERNEL), 0);
85 /* @frames is an array of PFNs */
86 int xenmem_reservation_increase(int count, xen_pfn_t *frames) argument
95 set_xen_guest_handle(reservation.extent_start, frames);
101 /* @frames is an array of GFNs */
102 int xenmem_reservation_decrease(int count, xen_pfn_t *frames) argument
111 set_xen_guest_handle(reservation.extent_start, frames);
29 __xenmem_reservation_va_mapping_update(unsigned long count, struct page **pages, xen_pfn_t *frames) argument
/linux-master/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) argument
28 __skb_queue_tail(frames, skb);
33 struct sk_buff_head *frames,
40 mt76_aggr_release(tid, frames, idx);
45 mt76_rx_aggr_release_head(struct mt76_rx_tid *tid, struct sk_buff_head *frames) argument
50 mt76_aggr_release(tid, frames, idx);
56 mt76_rx_aggr_check_release(struct mt76_rx_tid *tid, struct sk_buff_head *frames) argument
65 mt76_rx_aggr_release_head(tid, frames);
84 mt76_rx_aggr_release_frames(tid, frames, status->seqno);
87 mt76_rx_aggr_release_head(tid, frames);
32 mt76_rx_aggr_release_frames(struct mt76_rx_tid *tid, struct sk_buff_head *frames, u16 head) argument
96 struct sk_buff_head frames; local
119 mt76_rx_aggr_check_ctl(struct sk_buff *skb, struct sk_buff_head *frames) argument
148 mt76_rx_aggr_reorder(struct sk_buff *skb, struct sk_buff_head *frames) argument
[all...]
/linux-master/drivers/media/usb/pwc/
H A Dpwc-ctrl.c142 int frames, int *compression, int send_to_cam)
168 if (frames < 4)
169 frames = 4;
170 else if (size > PSZ_QCIF && frames > 15)
171 frames = 15;
172 else if (frames > 25)
173 frames = 25;
174 frames = frames2frames[frames];
175 fps = frames2table[frames];
141 set_video_mode_Nala(struct pwc_device *pdev, int size, int pixfmt, int frames, int *compression, int send_to_cam) argument
216 set_video_mode_Timon(struct pwc_device *pdev, int size, int pixfmt, int frames, int *compression, int send_to_cam) argument
267 set_video_mode_Kiara(struct pwc_device *pdev, int size, int pixfmt, int frames, int *compression, int send_to_cam) argument
319 pwc_set_video_mode(struct pwc_device *pdev, int width, int height, int pixfmt, int frames, int *compression, int send_to_cam) argument
[all...]
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/tnr/tnr_1.0/
H A Dia_css_tnr.host.h47 const struct ia_css_frame * const *frames);
H A Dia_css_tnr.host.c100 const struct ia_css_frame * const *frames)
106 config.tnr_frames[i] = frames[i];
99 ia_css_tnr_configure(const struct ia_css_binary *binary, const struct ia_css_frame * const *frames) argument
/linux-master/sound/firewire/fireface/
H A Damdtp-ff.c31 __le32 *buffer, unsigned int frames,
49 for (i = 0; i < frames; ++i) {
61 __le32 *buffer, unsigned int frames,
79 for (i = 0; i < frames; ++i) {
91 __le32 *buffer, unsigned int frames)
96 for (i = 0; i < frames; ++i) {
30 write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, __le32 *buffer, unsigned int frames, unsigned int pcm_frames) argument
60 read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, __le32 *buffer, unsigned int frames, unsigned int pcm_frames) argument
90 write_pcm_silence(struct amdtp_stream *s, __le32 *buffer, unsigned int frames) argument
/linux-master/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.
149 __be32 *buffer, unsigned int frames,
167 for (i = 0; i < frames; ++i) {
180 __be32 *buffer, unsigned int frames,
198 for (i = 0; i < frames; ++i) {
210 __be32 *buffer, unsigned int frames)
215 for (i = 0; i < frames; ++i) {
296 unsigned int frames, unsigned int data_block_counter)
302 for (f = 0; f < frames;
148 write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, __be32 *buffer, unsigned int frames, unsigned int pcm_frames) argument
179 read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, __be32 *buffer, unsigned int frames, unsigned int pcm_frames) argument
209 write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, unsigned int frames) argument
295 write_midi_messages(struct amdtp_stream *s, __be32 *buffer, unsigned int frames, unsigned int data_block_counter) argument
323 read_midi_messages(struct amdtp_stream *s, __be32 *buffer, unsigned int frames, unsigned int data_block_counter) argument
[all...]
/linux-master/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",
348 * individually addressed QoS Data/Null frames contain
353 /* check for mesh Peer Service Period trigger frames */
412 * @frames: the frame list to append to
419 struct sk_buff_head *frames)
422 struct sk_buff *new_skb, *skb = skb_peek_tail(frames);
437 * make sure it cannot pass other frames when releasing multiple ACs.
447 __skb_queue_tail(frames, new_skb);
451 * mps_frame_deliver - transmit frames durin
418 mpsp_qos_null_append(struct sta_info *sta, struct sk_buff_head *frames) argument
460 struct sk_buff_head frames; local
[all...]
/linux-master/sound/core/
H A Dpcm_compat.c29 snd_pcm_uframes_t frames; local
32 if (get_user(frames, src))
34 err = snd_pcm_rewind(substream, frames);
43 snd_pcm_uframes_t frames; local
46 if (get_user(frames, src))
48 err = snd_pcm_forward(substream, frames);
282 u32 frames; member in struct:snd_xferi32
289 u32 frames; local
300 get_user(frames, &data32->frames))
320 u32 frames; member in struct:snd_xfern32
334 u32 frames; local
[all...]
/linux-master/arch/x86/xen/
H A Dgrant-table.c31 int arch_gnttab_map_shared(unsigned long *frames, unsigned long nr_gframes, argument
46 mfn_pte(frames[i], PAGE_KERNEL));
53 int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes, argument
68 mfn_pte(frames[i], PAGE_KERNEL));
139 * Always allocate the space for the status frames in case
/linux-master/include/uapi/linux/can/
H A Dbcm.h60 * @count: number of frames to send before changing interval.
61 * @ival1: interval for the first @count frames.
62 * @ival2: interval for the following frames.
63 * @can_id: CAN ID of frames to be sent or received.
64 * @nframes: number of frames appended to the message head.
65 * @frames: array of CAN frames.
74 struct can_frame frames[]; member in struct:bcm_msg_head
/linux-master/drivers/net/vmxnet3/
H A Dvmxnet3_xdp.h27 int vmxnet3_xdp_xmit(struct net_device *dev, int n, struct xdp_frame **frames,
/linux-master/drivers/dma/
H A Dbcm2835-dma.c90 unsigned int frames; member in struct:bcm2835_desc
181 /* how many frames of max_len size do we need to transfer len bytes */
208 for (i = 0; i < desc->frames; i++)
268 size_t frames = 0; local
274 frames += bcm2835_dma_frames_for_length(
277 return frames;
287 * @frames: number of controlblocks to allocate
302 bool cyclic, u32 info, u32 finalextrainfo, size_t frames,
313 if (!frames)
317 d = kzalloc(struct_size(d, cb_list, frames), gf
300 bcm2835_dma_create_cb_chain( struct dma_chan *chan, enum dma_transfer_direction direction, bool cyclic, u32 info, u32 finalextrainfo, size_t frames, dma_addr_t src, dma_addr_t dst, size_t buf_len, size_t period_len, gfp_t gfp) argument
621 size_t frames; local
651 size_t frames; local
704 size_t frames; local
[all...]

Completed in 314 milliseconds

12345678