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
554 UHCI_NUMFRAMES * sizeof(*uhci->frame),
555 uhci->frame, uhci->frame_dma_handle);
559 * Allocate a frame list, and then setup the skeleton
597 uhci->frame = dma_alloc_coherent(uhci_dev(uhci),
598 UHCI_NUMFRAMES * sizeof(*uhci->frame),
600 if (!uhci->frame) {
602 "unable to allocate consistent memory for frame list\n");
655 * Fill the frame list: make all entries point to the proper
660 /* Only place we don't use the frame list routines */
661 uhci->frame[i] = uhci_frame_skel_link(uhci, i);
699 UHCI_NUMFRAMES * sizeof(*uhci->frame),
700 uhci->frame, uhci->frame_dma_handle);