/drivers/usb/dwc2/ |
H A D | hcd_queue.c | 109 /* Start in a slightly future (micro)frame */ 284 * periodic schedule may occur in the same (micro)frame 375 * if we add this frame remaining time to xtime we may 376 * be OK, if not we need to test j for a complete frame 400 /* add the frame time to x time */ 402 /* we must have a fully available next frame or break */ 416 /* if this is a hs transaction we need a full frame */ 431 * (micro)frame for a periodic transfer 473 int frame = -1; local 477 frame [all...] |
H A D | hcd_ddma.c | 55 static u16 dwc2_frame_list_idx(u16 frame) argument 57 return frame & (FRLISTEN_64_SIZE - 1); 394 * Determine starting frame for Isochronous transfer. 400 u16 frame; local 404 /* sched_frame is always frame number (not uFrame) both in FS and HS! */ 411 * Current frame is 1, scheduled frame is 3. Since HC always fetches 413 * corresponding to frame 2 will be fetched. If the number of 416 * latest descriptor(considering rollback) corresponding to frame 2 will 423 * the frame elapse 459 u16 frame, fr_idx, fr_idx_tmp, skip_frames; local [all...] |
/drivers/usb/host/ |
H A D | fhci-sched.c | 197 /* check if there's enough space in this frame to submit this TD */ 200 fhci_vdbg(usb->fhci, "not enough space in this frame: " 206 /* check if there's enough time in this frame to submit this TD */ 211 fhci_dbg(usb->fhci, "not enough time in this frame\n"); 215 /* update frame object fields before transmitting */ 218 fhci_dbg(usb->fhci, "there is no empty frame\n"); 234 /* update actual frame time object with the actual transmission */ 245 /* remove TD from actual frame */ 741 /* for ISO transfer calculate start frame index */ 844 u16 frame local [all...] |
H A D | uhci-hcd.c | 96 * Calculate the link pointer DMA value for the first Skeleton QH in a frame. 98 static __hc32 uhci_frame_skel_link(struct uhci_hcd *uhci, int frame) argument 105 * to occur in every frame. But we can schedule period-2 interrupts 107 * to 2 (mod 4), and so on. This way each frame only has two 117 skelnum = 8 - (int) __ffs(frame | UHCI_NUMFRAMES); 158 /* The current frame may already be partway finished */ 251 /* Set the frame length to the default: 1 ms exactly */ 254 /* Store the frame list base address */ 257 /* Set the current frame number */ 351 * we will give the controller one frame t [all...] |
H A D | imx21-dbg.c | 42 int frame, struct td *td) {} 44 int frame, struct td *td, int cc, int len) {} 132 int frame, struct td *td) 138 trace->schedule_frame = td->frame; 139 trace->submit_frame = frame; 145 int frame, struct td *td, int cc, int len) 154 trace->done_frame = frame; 390 "scheduled frame %d (%d)\n" 391 "submitted frame %d (%d)\n" 392 "completed frame 41 debug_isoc_submitted(struct imx21 *imx21, int frame, struct td *td) argument 43 debug_isoc_completed(struct imx21 *imx21, int frame, struct td *td, int cc, int len) argument 131 debug_isoc_submitted(struct imx21 *imx21, int frame, struct td *td) argument 144 debug_isoc_completed(struct imx21 *imx21, int frame, struct td *td, int cc, int len) argument [all...] |
H A D | ohci-hcd.c | 241 u16 frame = ohci_frame_no(ohci); local 244 frame += max_t (u16, 8, ed->interval); 245 frame &= ~(ed->interval - 1); 246 frame |= ed->branch; 247 urb->start_frame = frame; 248 ed->last_iso = frame + ed->interval * (size - 1); 252 u16 frame = ed->last_iso + ed->interval; local 256 if (unlikely(tick_before(frame, next))) { 260 frame += (next - frame [all...] |
H A D | ohci-q.c | 112 /* iso periods can be huge; iso tds specify frame numbers */ 123 /* usb 1.1 says 90% of one frame */ 477 * real work is done at the next start frame (SF) hardware interrupt 497 /* SF interrupt might get delayed; record the frame counter value that 716 int frame = urb->start_frame; local 718 // FIXME scheduling should handle frame counter 721 frame += cnt * urb->interval; 722 frame &= 0xffff; 723 td_fill (ohci, TD_CC | TD_ISO | frame, 988 * frame counte [all...] |
/drivers/usb/musb/ |
H A D | musb_host.h | 64 u16 frame; /* for periodic schedule */ member in struct:musb_qh
|
/drivers/gpu/drm/radeon/ |
H A D | r600_hdmi.c | 341 uint8_t *frame = buffer + 3; local 345 frame[0x0] | (frame[0x1] << 8) | (frame[0x2] << 16) | (frame[0x3] << 24)); 347 frame[0x4] | (frame[0x5] << 8) | (frame[0x6] << 16) | (frame[0x7] << 24)); 349 frame[ 365 const u8 *frame = buffer + 3; local 508 struct hdmi_avi_infoframe frame; local 627 struct hdmi_audio_infoframe frame; local [all...] |
/drivers/isdn/mISDN/ |
H A D | l1oip_core.c | 29 Value 3 = BRI (multi channel frame, not supported yet) 30 Value 4 = PRI (multi channel frame, not supported yet) 31 A multi channel frame reduces overhead to a single frame for all 144 If version is missmatch, the frame must be ignored. 150 If bit is set, four ID bytes are included in frame. 173 inside frame. 175 -> For larger data blocks, a single frame must be used. 176 -> For larger streams, a single frame or multiple blocks with same channel ID 179 - Time Base = Timestamp of first sample in frame 280 u8 frame[len + 32]; local [all...] |
/drivers/media/pci/cx25821/ |
H A D | cx25821-video-upstream.c | 183 int frame = 0; local 205 for (frame = 0; frame < NUM_FRAMES; frame++) { 206 databuf_offset = frame_size * frame; 209 fifo_enable = (frame == 0) ? FIFO_ENABLE : FIFO_DISABLE; 225 if (frame == 0) {
|
/drivers/media/platform/exynos-gsc/ |
H A D | gsc-m2m.c | 220 struct gsc_frame *frame; local 223 frame = ctx_get_frame(ctx, vq->type); 224 if (IS_ERR(frame)) 225 return PTR_ERR(frame); 227 if (!frame->fmt) 230 *num_planes = frame->fmt->num_planes; 231 for (i = 0; i < frame->fmt->num_planes; i++) { 232 sizes[i] = frame->payload[i]; 241 struct gsc_frame *frame; local 244 frame 319 struct gsc_frame *frame; local 450 struct gsc_frame *frame; local 487 struct gsc_frame *frame; local [all...] |
/drivers/media/platform/exynos4-is/ |
H A D | fimc-m2m.c | 208 struct fimc_frame *frame; local 211 frame = ctx_get_frame(ctx, vb->vb2_queue->type); 212 if (IS_ERR(frame)) 213 return PTR_ERR(frame); 215 for (i = 0; i < frame->fmt->memplanes; i++) 216 vb2_set_plane_payload(vb, i, frame->payload[i]); 277 struct fimc_frame *frame = ctx_get_frame(ctx, f->type); local 279 if (IS_ERR(frame)) 280 return PTR_ERR(frame); 282 __fimc_get_format(frame, 339 __set_frame_format(struct fimc_frame *frame, struct fimc_fmt *fmt, struct v4l2_pix_format_mplane *pixm) argument 367 struct fimc_frame *frame; local 403 struct fimc_frame *frame; local 421 struct fimc_frame *frame; local [all...] |
H A D | fimc-reg.c | 111 struct fimc_frame *frame = &ctx->d_frame; local 113 dbg("w= %d, h= %d color: %d", frame->width, 114 frame->height, frame->fmt->color); 120 switch (frame->fmt->color) { 128 if (frame->fmt->colplanes == 1) 138 cfg |= (frame->height << 16) | frame->width; 140 cfg |= (frame->width << 16) | frame 153 struct fimc_frame *frame = &ctx->d_frame; local 172 struct fimc_frame *frame = &ctx->d_frame; local 394 struct fimc_frame *frame = &ctx->d_frame; local 409 struct fimc_frame *frame = &ctx->s_frame; local 426 struct fimc_frame *frame = &ctx->s_frame; local [all...] |
/drivers/media/platform/s3c-camif/ |
H A D | camif-regs.c | 185 * HREF is normally high during frame active data 223 struct camif_frame *frame = &vp->out_frame; local 228 cfg |= (frame->f_width << 16) | frame->f_height; 261 struct camif_frame *frame = &vp->out_frame; local 269 struct camif_dma_offset *offset = &frame->dma_offset; 279 camif_get_dma_burst(frame->rect.width, fmt->ybpp, &ymburst, &yrburst); 302 struct camif_frame *frame = &vp->out_frame; local 305 pr_debug("fw: %d, fh: %d color: %d\n", frame->f_width, 306 frame [all...] |
/drivers/media/usb/usbtv/ |
H A D | usbtv-video.c | 251 /* Copy data from chunk into a frame buffer, deinterlacing the data 256 static void usbtv_chunk_to_vbuf(u32 *frame, __be32 *src, int chunk_no, int odd) argument 265 u32 *dst = &frame[part_index * USBTV_CHUNK/2]; 278 u32 *frame; local 291 /* Beginning of a frame. */ 309 frame = vb2_plane_vaddr(&buf->vb, 0); 312 usbtv_chunk_to_vbuf(frame, &chunk[1], chunk_no, odd); 315 /* Last chunk in a frame, signalling an end */
|
/drivers/net/wireless/b43/ |
H A D | pio.c | 366 const char *frame = pack->skb->data; local 376 /* Transfer the frame data. */ 377 ctl = tx_write_2byte_queue(q, ctl, frame, frame_len); 436 const char *frame = pack->skb->data; local 446 /* Transfer the frame data. */ 447 ctl = tx_write_4byte_queue(q, ctl, frame, frame_len); 480 * mcast frame, so it can clear the more-data bit in it. */ 515 /* Set the frame More-Data bit. Ucode will clear it 516 * for us on the last frame. */ 519 /* Decide by priority where to put this frame [all...] |
/drivers/video/fbdev/omap2/dss/ |
H A D | hdmi4_core.c | 276 struct hdmi_avi_infoframe *frame) 282 hdmi_avi_infoframe_pack(frame, data, sizeof(data)); 640 * Set audio info frame type, version and length as 275 hdmi_core_write_avi_infoframe(struct hdmi_core_data *core, struct hdmi_avi_infoframe *frame) argument
|
/drivers/gpu/drm/i915/ |
H A D | intel_hdmi.c | 80 DRM_DEBUG_DRIVER("unknown info frame type %d\n", type); 95 DRM_DEBUG_DRIVER("unknown info frame type %d\n", type); 110 DRM_DEBUG_DRIVER("unknown info frame type %d\n", type); 127 DRM_DEBUG_DRIVER("unknown info frame type %d\n", type); 134 const void *frame, ssize_t len) 136 const uint32_t *data = frame; 171 const void *frame, ssize_t len) 173 const uint32_t *data = frame; 209 const void *frame, ssize_t len) 211 const uint32_t *data = frame; 132 g4x_write_infoframe(struct drm_encoder *encoder, enum hdmi_infoframe_type type, const void *frame, ssize_t len) argument 169 ibx_write_infoframe(struct drm_encoder *encoder, enum hdmi_infoframe_type type, const void *frame, ssize_t len) argument 207 cpt_write_infoframe(struct drm_encoder *encoder, enum hdmi_infoframe_type type, const void *frame, ssize_t len) argument 248 vlv_write_infoframe(struct drm_encoder *encoder, enum hdmi_infoframe_type type, const void *frame, ssize_t len) argument 286 hsw_write_infoframe(struct drm_encoder *encoder, enum hdmi_infoframe_type type, const void *frame, ssize_t len) argument 340 intel_write_infoframe(struct drm_encoder *encoder, union hdmi_infoframe *frame) argument 367 union hdmi_infoframe frame; local 394 union hdmi_infoframe frame; local 412 union hdmi_infoframe frame; local [all...] |
/drivers/md/persistent-data/ |
H A D | dm-btree.c | 155 struct frame { struct 167 struct frame spine[MAX_SPINE_DEPTH]; 170 static int top_frame(struct del_stack *s, struct frame **f) 187 static void prefetch_children(struct del_stack *s, struct frame *f) 196 static bool is_internal_level(struct dm_btree_info *info, struct frame *f) 224 struct frame *f = s->spine + ++s->top; 247 struct frame *f = s->spine + s->top--; 271 struct frame *f;
|
/drivers/media/i2c/soc_camera/ |
H A D | mt9t112.c | 41 * frame size 90 struct v4l2_rect frame; member in struct:mt9t112_priv 826 priv->frame.width, 827 priv->frame.height); 833 priv->frame.width, 834 priv->frame.height); 857 priv->frame = *rect; 860 * frame size check 862 mt9t112_frame_check(&priv->frame.width, &priv->frame [all...] |
/drivers/media/pci/ivtv/ |
H A D | ivtv-yuv.c | 43 u8 frame = yi->draw_frame; local 44 struct yuv_frame_info *f = &yi->new_frame_info[frame]; 50 y_buffer_offset = IVTV_DECODER_OFFSET + yuv_offset[frame]; 143 dma->SGarray[dma->SG_length].dst = cpu_to_le32(IVTV_DECODER_OFFSET + yuv_offset[frame]); 819 int frame = yi->update_frame; local 822 IVTV_DEBUG_YUV("Update yuv registers for frame %d\n", frame); 823 f = yi->new_frame_info[frame]; 977 /* Set up frame according to ivtv_dma_frame parameters */ 981 u8 frame local [all...] |
/drivers/media/pci/zoran/ |
H A D | zoran_device.c | 506 /* video stride, status, and frame grab register */ 1101 int frame, i, max_stat_com; local 1110 frame = zr->jpg_pend[zr->jpg_dma_head & BUZ_MASK_FRAME]; 1118 cpu_to_le32(zr->jpg_buffers.buffer[frame].jpg.frag_tab_bus); 1126 cpu_to_le32(zr->jpg_buffers.buffer[frame].jpg.frag_tab_bus); 1128 cpu_to_le32(zr->jpg_buffers.buffer[frame].jpg.frag_tab_bus); 1130 zr->jpg_buffers.buffer[frame].state = BUZ_STATE_DMA; 1149 int frame; local 1151 /* In motion decompress we don't have a hardware frame counter, 1170 frame 1280 long frame; local 1423 int frame = zr->v4l_pend[zr->v4l_pend_tail & V4L_MASK_FRAME]; local [all...] |
/drivers/media/platform/ |
H A D | arv.c | 91 /* frame size & type */ 116 unsigned char *frame[MAX_AR_HEIGHT]; /* frame data */ member in struct:ar 316 printk(KERN_ERR "arv: interrupted while get frame data.\n"); 342 ar_outl(virt_to_phys(ar->frame[l]), M32R_DMA0CDA_PORTL); 353 ar_outl(virt_to_phys(ar->frame[h]), M32R_DMA0CDA_PORTL); 380 p = ar->frame[h]; 554 memcpy(ar->frame[0], ar->line_buff, ar->line_bytes); 565 memcpy(ar->frame[line_number], ar->line_buff, ar->line_bytes); 568 * if captured all line of a frame, disabl [all...] |
/drivers/media/usb/cpia2/ |
H A D | cpia2_core.c | 985 DBG("Sensor flag = 0x%0x, user mode = 0x%0x, frame rate = 0x%X\n", 2241 ERR("couldn't kmalloc frame buffer structures\n"); 2249 ERR("couldn't vmalloc frame buffer data area\n"); 2302 struct framebuf *frame; local 2324 frame = cam->curbuff; 2325 if (noblock && frame->status != FRAME_READY) { 2329 if (frame->status != FRAME_READY) { 2333 (frame = cam->curbuff)->status == FRAME_READY); 2342 if (frame->length > count) 2344 if (copy_to_user(buf, frame [all...] |