Home
last modified time | relevance | path

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

12

/drivers/media/usb/pwc/
Dpwc-ctrl.c154 int frames, int *compression, int send_to_cam) in set_video_mode_Nala() argument
180 if (frames < 4) in set_video_mode_Nala()
181 frames = 4; in set_video_mode_Nala()
182 else if (size > PSZ_QCIF && frames > 15) in set_video_mode_Nala()
183 frames = 15; in set_video_mode_Nala()
184 else if (frames > 25) in set_video_mode_Nala()
185 frames = 25; in set_video_mode_Nala()
186 frames = frames2frames[frames]; in set_video_mode_Nala()
187 fps = frames2table[frames]; in set_video_mode_Nala()
203 pdev->vframes = frames; in set_video_mode_Nala()
[all …]
Dpwc.h369 int pixfmt, int frames, int *compression, int send_to_cam);
/drivers/dma/
Dbcm2835-dma.c97 unsigned int frames; member
215 for (i = 0; i < desc->frames; i++) in bcm2835_dma_free_cb_chain()
275 size_t frames = 0; in bcm2835_dma_count_frames_for_sg() local
281 frames += bcm2835_dma_frames_for_length( in bcm2835_dma_count_frames_for_sg()
284 return frames; in bcm2835_dma_count_frames_for_sg()
309 bool cyclic, u32 info, u32 finalextrainfo, size_t frames, in bcm2835_dma_create_cb_chain() argument
320 if (!frames) in bcm2835_dma_create_cb_chain()
324 d = kzalloc(sizeof(*d) + frames * sizeof(struct bcm2835_cb_entry), in bcm2835_dma_create_cb_chain()
337 for (frame = 0, total_len = 0; frame < frames; d->frames++, frame++) { in bcm2835_dma_create_cb_chain()
378 d->cb_list[d->frames - 1].cb->info |= finalextrainfo; in bcm2835_dma_create_cb_chain()
[all …]
/drivers/staging/most/aim-sound/
Dsound.c188 unsigned int frames; in copy_data() local
192 frames = mbo->processed_length / frame_bytes; in copy_data()
194 frames = mbo->buffer_length / frame_bytes; in copy_data()
195 fr0 = min(buffer_size - channel->buffer_pos, frames); in copy_data()
201 if (frames > fr0) { in copy_data()
205 (frames - fr0) * frame_bytes); in copy_data()
208 channel->buffer_pos += frames; in copy_data()
211 channel->period_pos += frames; in copy_data()
/drivers/usb/gadget/function/
Df_audio_source.c370 s64 frames; in audio_send() local
386 frames = div_s64((msecs * SAMPLE_RATE), 1000); in audio_send()
392 if (frames - audio->frames_sent > 10 * FRAMES_PER_MSEC) in audio_send()
393 audio->frames_sent = frames - FRAMES_PER_MSEC; in audio_send()
395 frames -= audio->frames_sent; in audio_send()
398 if (frames <= 0) in audio_send()
399 frames = FRAMES_PER_MSEC; in audio_send()
401 while (frames > 0) { in audio_send()
406 length = frames_to_bytes(runtime, frames); in audio_send()
437 frames -= bytes_to_frames(runtime, length); in audio_send()
Du_uac1.c162 snd_pcm_sframes_t frames; in u_audio_playback() local
176 frames = bytes_to_frames(runtime, count); in u_audio_playback()
179 result = snd_pcm_lib_write(snd->substream, (void __user *)buf, frames); in u_audio_playback()
180 if (result != frames) { in u_audio_playback()
/drivers/xen/
Dgrant-table.c84 int (*map_frames)(xen_pfn_t *frames, unsigned int nr_gframes);
940 static int gnttab_map_frames_v1(xen_pfn_t *frames, unsigned int nr_gframes) in gnttab_map_frames_v1() argument
944 rc = arch_gnttab_map_shared(frames, nr_gframes, in gnttab_map_frames_v1()
960 xen_pfn_t *frames; in gnttab_map() local
992 frames = kmalloc(nr_gframes * sizeof(unsigned long), GFP_ATOMIC); in gnttab_map()
993 if (!frames) in gnttab_map()
998 set_xen_guest_handle(setup.frame_list, frames); in gnttab_map()
1002 kfree(frames); in gnttab_map()
1008 rc = gnttab_interface->map_frames(frames, nr_gframes); in gnttab_map()
1010 kfree(frames); in gnttab_map()
/drivers/block/
Dpktcdvd.c522 static struct packet_data *pkt_alloc_packet_data(int frames) in pkt_alloc_packet_data() argument
531 pkt->frames = frames; in pkt_alloc_packet_data()
532 pkt->w_bio = bio_kmalloc(GFP_KERNEL, frames); in pkt_alloc_packet_data()
536 for (i = 0; i < frames / FRAMES_PER_PAGE; i++) { in pkt_alloc_packet_data()
545 for (i = 0; i < frames; i++) { in pkt_alloc_packet_data()
556 for (i = 0; i < frames; i++) { in pkt_alloc_packet_data()
563 for (i = 0; i < frames / FRAMES_PER_PAGE; i++) in pkt_alloc_packet_data()
580 for (i = 0; i < pkt->frames; i++) { in pkt_free_packet_data()
585 for (i = 0; i < pkt->frames / FRAMES_PER_PAGE; i++) in pkt_free_packet_data()
961 for (f = 0; f < pkt->frames; f++) { in pkt_make_local_copy()
[all …]
/drivers/media/usb/go7007/
Dsnd-go7007.c77 int frames = bytes_to_frames(runtime, length); in parse_audio_stream_data() local
80 gosnd->hw_ptr += frames; in parse_audio_stream_data()
83 gosnd->avail += frames; in parse_audio_stream_data()
/drivers/gpu/drm/panel/
Dpanel-sharp-lq101r1sx01.c42 static void sharp_wait_frames(struct sharp_panel *sharp, unsigned int frames) in sharp_wait_frames() argument
46 if (WARN_ON(frames > refresh)) in sharp_wait_frames()
49 msleep(1000 / (refresh / frames)); in sharp_wait_frames()
/drivers/soc/fsl/qbman/
DKconfig14 release buffers in order to build frames.
18 dequeue frames in order to communicate.
/drivers/isdn/mISDN/
DKconfig37 - layer 1 control via network keepalive frames
/drivers/net/wireless/intel/iwlwifi/
DKconfig85 broadcast frames, except some very specific predefined
142 Say Y here to trace all commands, including TX frames and IO
/drivers/scsi/libsas/
DKconfig46 Allows sas hosts to receive SMP frames. Selecting this
/drivers/gpu/drm/sti/
DNOTES4 - The High Quality Video Display Processor (HQVDP) gets video frames from a
/drivers/media/platform/marvell-ccic/
Dmcam-core.h86 unsigned int frames; member
Dmcam-core.c1126 cam->frame_state.frames = 0; in mcam_vb_start_streaming()
1160 cam->frame_state.frames, cam->frame_state.singles, in mcam_vb_stop_streaming()
1671 cam->frame_state.frames++; in mcam_frame_complete()
/drivers/gpu/drm/tegra/
Ddrm.h111 unsigned long frames; member
/drivers/staging/slicoss/
Dslicoss.c1929 u32 frames = 0; in slic_rcv_handler() local
1961 ++frames; in slic_rcv_handler()
1963 if (frames >= SLIC_RCVQ_MAX_PROCESS_ISR) { in slic_rcv_handler()
1969 adapter->max_isr_rcvs = max(adapter->max_isr_rcvs, frames); in slic_rcv_handler()
1976 u32 frames = 0; in slic_xmit_complete() local
2000 frames++; in slic_xmit_complete()
2002 adapter->max_isr_xmits = max(adapter->max_isr_xmits, frames); in slic_xmit_complete()
/drivers/isdn/i4l/
Disdn_ppp.c1609 lp->netdev->pb->frames = 0; in isdn_ppp_mp_init()
1652 if (++mp->frames > stats->max_queue_len) in isdn_ppp_mp_receive()
1653 stats->max_queue_len = mp->frames; in isdn_ppp_mp_receive()
1837 if (mp->frames > MP_MAX_QUEUE_LEN) { in isdn_ppp_mp_receive()
1839 while (mp->frames > MP_MAX_QUEUE_LEN) { in isdn_ppp_mp_receive()
1925 mp->frames--; in isdn_ppp_mp_reassembly()
1962 mp->frames--; in isdn_ppp_mp_free_skb()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c280 u64 frames; member
358 s->frames = usm_stats.frames; in collect_adapter_stats()
/drivers/net/ethernet/i825xx/
D82596.c750 int frames = 0; in i596_rx() local
777 frames++; in i596_rx()
870 DEB(DEB_RXFRAME,printk(KERN_DEBUG "frames %d\n", frames)); in i596_rx()
Dlib82596.c653 int frames = 0; in i596_rx() local
685 frames++; in i596_rx()
791 DEB(DEB_RXFRAME, printk(KERN_DEBUG "frames %d\n", frames)); in i596_rx()
/drivers/net/appletalk/
DKconfig106 IP packets inside AppleTalk frames; this is useful if your Linux box
/drivers/net/can/
DKconfig20 As only the sending and receiving of CAN frames is implemented, this

12