Searched defs:frames (Results 1 - 18 of 18) sorted by relevance

/drivers/usb/gadget/
H A Du_uac1.c177 snd_pcm_sframes_t frames; local
191 frames = bytes_to_frames(runtime, count);
194 result = snd_pcm_lib_write(snd->substream, buf, frames);
195 if (result != frames) {
H A Df_audio_source.c260 /* number of frames sent since start_time */
327 s64 frames; local
339 /* compute number of frames to send */
343 frames = msecs * SAMPLE_RATE;
344 do_div(frames, 1000);
347 * If we get too far behind it is better to drop some frames than
350 if (frames - audio->frames_sent > 10 * FRAMES_PER_MSEC)
351 audio->frames_sent = frames - FRAMES_PER_MSEC;
353 frames -= audio->frames_sent;
356 if (frames <
[all...]
/drivers/staging/line6/
H A Dcapture.c149 int frames = fsize / bytes_per_frame; local
154 if (line6pcm->pos_in_done + frames > runtime->buffer_size) {
167 (frames - len) * bytes_per_frame);
179 line6pcm->pos_in_done += frames;
H A Dplayback.c69 int frames = urb_out->transfer_buffer_length / bytes_per_frame; local
76 for (i = 0; i < frames; ++i) {
87 for (i = 0; i < frames; ++i) {
/drivers/staging/media/go7007/
H A Dsnd-go7007.c82 int frames = bytes_to_frames(runtime, length); local
85 gosnd->hw_ptr += frames;
88 gosnd->avail += frames;
/drivers/media/video/pwc/
H A Dpwc-ctrl.c154 int frames, int *compression, int send_to_cam)
180 if (frames < 4)
181 frames = 4;
182 else if (frames > 25)
183 frames = 25;
184 frames = frames2frames[frames];
185 fps = frames2table[frames];
201 pdev->vframes = frames;
227 int frames, in
153 set_video_mode_Nala(struct pwc_device *pdev, int size, int pixfmt, int frames, int *compression, int send_to_cam) argument
226 set_video_mode_Timon(struct pwc_device *pdev, int size, int pixfmt, int frames, int *compression, int send_to_cam) argument
277 set_video_mode_Kiara(struct pwc_device *pdev, int size, int pixfmt, int frames, int *compression, int send_to_cam) argument
328 pwc_set_video_mode(struct pwc_device *pdev, int width, int height, int pixfmt, int frames, int *compression, int send_to_cam) argument
[all...]
/drivers/net/caif/
H A Dcaif_shmcore.c80 u32 frames; member in struct:buf_list
228 pbuf->frames = 0;
494 pck_desc += pbuf->frames;
503 pbuf->frames++;
506 } while (pbuf->frames < SHM_MAX_FRMS_PER_BUF);
644 tx_buf->frames = 0;
/drivers/block/aoe/
H A Daoe.h134 struct frame *frames; member in struct:aoetgt
/drivers/xen/
H A Dgrant-table.c79 * Mapping a list of frames for storing grant entries. Frames parameter
81 * nr_gframes is the number of frames to map grant table. Returning
84 int (*map_frames)(unsigned long *frames, unsigned int nr_gframes);
86 * Release a list of frames which are mapped in map_frames for grant
724 return 4; /* Legacy max supported number of frames */
803 static int gnttab_map_frames_v1(unsigned long *frames, unsigned int nr_gframes) argument
807 rc = arch_gnttab_map_shared(frames, nr_gframes,
820 static int gnttab_map_frames_v2(unsigned long *frames, unsigned int nr_gframes) argument
855 rc = arch_gnttab_map_shared(frames, nr_gframes,
872 unsigned long *frames; local
[all...]
/drivers/block/
H A Dpktcdvd.c560 static struct packet_data *pkt_alloc_packet_data(int frames) argument
569 pkt->frames = frames;
570 pkt->w_bio = pkt_bio_alloc(frames);
574 for (i = 0; i < frames / FRAMES_PER_PAGE; i++) {
583 for (i = 0; i < frames; i++) {
593 for (i = 0; i < frames; i++) {
600 for (i = 0; i < frames / FRAMES_PER_PAGE; i++)
617 for (i = 0; i < pkt->frames; i++) {
622 for (i = 0; i < pkt->frames / FRAMES_PER_PAG
[all...]
/drivers/media/video/marvell-ccic/
H A Dmcam-core.c36 static int frames; variable
43 * we must have physically contiguous buffers to bring frames into.
594 * frames so we can put in a new DMA descriptor array. If no new
747 * it needs to stop grabbing frames. In particular, we can
868 * Get everything ready, and start grabbing frames.
1549 frames = singles = delivered = 0;
1570 cam_dbg(cam, "Release, %d frames, %d singles, %d delivered\n", frames,
1664 frames++;
/drivers/net/ethernet/i825xx/
H A D82596.c15 allocated at open() time. Eliminates copy on incoming frames
20 * look at deferring rx frames rather than discarding (as per tulip)
157 /* Copy frames shorter than rx_copybreak, otherwise pass on up in
342 0xc0, /* don't save bad frames */
344 0x80, /* don't save bad frames */
775 int frames = 0; local
782 while ((rfd->stat) & STAT_C) { /* Loop while complete frames */
802 frames++;
897 DEB(DEB_RXFRAME,printk(KERN_DEBUG "frames %d\n", frames));
[all...]
H A Dlib82596.c43 allocated at open() time. Eliminates copy on incoming frames
48 * look at deferring rx frames rather than discarding (as per tulip)
127 /* Copy frames shorter than rx_copybreak, otherwise pass on up in
337 0x80, /* don't save bad frames */
654 int frames = 0; local
664 while (rfd->stat & SWAP16(STAT_C)) { /* Loop while complete frames */
686 frames++;
794 DEB(DEB_RXFRAME, printk(KERN_DEBUG "frames %d\n", frames));
H A Dlp486e.c359 0x40, /* default: don't save bad frames (apricot.c had 0x80) */
654 struct i596_rfd *rfd, int *frames) {
661 (*frames)++;
707 int frames = 0; local
721 if (i596_rx_one(dev, lp, rfd, &frames))
730 return frames;
1197 printk("receive frame reported, but no frames\n");
653 i596_rx_one(struct net_device *dev, struct i596_private *lp, struct i596_rfd *rfd, int *frames) argument
/drivers/net/wireless/hostap/
H A Dhostap_hw.c23 * should allow concurrent access to two different frames and the driver
1627 /* TODO: restore beacon TIM bits for STAs that have buffered frames */
1766 * more than one attempt to transmit frames going on; check that this
1975 /* Drop frames with too large reported payload length. Monitor mode
1976 * seems to sometimes pass frames (e.g., ctrl::ack) with signed and
2043 /* Allow monitor mode to receive shorter frames */
2484 int frames = 30; local
2493 while (frames-- > 0) {
2774 /* IEEE 802.11 standard compliant WDS frames (4 addresses) were broken
2806 * MAC is sending frames, tr
[all...]
/drivers/staging/slicoss/
H A Dslicoss.c382 /* enable PAUSE frames */
428 /* enable PAUSE frames */
804 GRCR_CTLEN | /* Enable CTL frames */
806 GRCR_RCVBAD | /* Rcv bad frames */
818 GRCR_RCVBAD | /* Rcv bad frames */
849 GRCR_CTLEN | /* Enable CTL frames */
2251 seq_printf(seq, "perf: Max rcv frames/isr : %8.8X\n",
2724 u32 frames = 0; local
2757 ++frames;
2759 if (frames >
2772 u32 frames = 0; local
[all...]
/drivers/media/video/
H A Ds2255drv.c171 unsigned long dwFrames; /* number of frames in buffer */
259 int frames; member in struct:s2255_dev
1236 /* wait at least 3 frames before continuing */
2214 * Create the system ring buffer to copy frames into from the
2230 /* allocate the frames */
2237 printk(KERN_INFO "out of memory. using less frames\n");
/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4.h86 u64 tx_octets; /* total # of octets in good frames */
87 u64 tx_frames; /* all good frames */
88 u64 tx_bcast_frames; /* all broadcast frames */
89 u64 tx_mcast_frames; /* all multicast frames */
90 u64 tx_ucast_frames; /* all unicast frames */
91 u64 tx_error_frames; /* all error frames */
93 u64 tx_frames_64; /* # of Tx frames in a particular range */
101 u64 tx_drop; /* # of dropped Tx frames */
102 u64 tx_pause; /* # of transmitted pause frames */
103 u64 tx_ppp0; /* # of transmitted PPP prio 0 frames */
154 u64 frames; member in struct:lb_port_stats
[all...]

Completed in 406 milliseconds