Lines Matching defs:frame
97 * Calculate the link pointer DMA value for the first Skeleton QH in a frame.
99 static __hc32 uhci_frame_skel_link(struct uhci_hcd *uhci, int frame)
106 * to occur in every frame. But we can schedule period-2 interrupts
108 * to 2 (mod 4), and so on. This way each frame only has two
118 skelnum = 8 - (int) __ffs(frame | UHCI_NUMFRAMES);
159 /* The current frame may already be partway finished */
252 /* Set the frame length to the default: 1 ms exactly */
255 /* Store the frame list base address */
258 /* Set the current frame number */
356 * we will give the controller one frame to stop.
509 * Store the current frame number in uhci->frame_number if the controller
553 UHCI_NUMFRAMES * sizeof(*uhci->frame),
554 uhci->frame, uhci->frame_dma_handle);
558 * Allocate a frame list, and then setup the skeleton
599 uhci->frame = dma_alloc_coherent(uhci_dev(uhci),
600 UHCI_NUMFRAMES * sizeof(*uhci->frame),
602 if (!uhci->frame) {
604 "unable to allocate consistent memory for frame list\n");
657 * Fill the frame list: make all entries point to the proper
662 /* Only place we don't use the frame list routines */
663 uhci->frame[i] = uhci_frame_skel_link(uhci, i);
701 UHCI_NUMFRAMES * sizeof(*uhci->frame),
702 uhci->frame, uhci->frame_dma_handle);