Lines Matching refs:U32

125 static int periodic_unlink (struct ehci_hcd *ehci, U32 frame, void *ptr)  in periodic_unlink()
128 U32 *hw_p = &ehci->periodic [frame]; in periodic_unlink()
172 periodic_usecs (struct ehci_hcd *ehci, U32 frame, U32 uframe) in periodic_usecs()
174 U32 *hw_p = &ehci->periodic [frame]; in periodic_usecs()
176 U32 usecs = 0; in periodic_usecs()
263 U32 cmd; in enable_periodic()
273 cmd = ehci_readl ((U32)&ehci->regs->command) | CMD_PSE; in enable_periodic()
274 ehci_writel (cmd, (U32)&ehci->regs->command); in enable_periodic()
279 ehci->next_uframe = ehci_readl ((U32)&ehci->regs->frame_index) in enable_periodic()
286 U32 cmd; in disable_periodic()
296 cmd = ehci_readl ((U32)&ehci->regs->command) & ~CMD_PSE; in disable_periodic()
297 ehci_writel (cmd, (U32)&ehci->regs->command); in disable_periodic()
324 U32 frame = qh1->start; in intr_deschedule()
370 U32 frame, in check_period()
371 U32 uframe, in check_period()
372 U32 period, in check_period()
373 U32 usecs in check_period()
397 if ((U32)claimed > usecs) in check_period()
409 U32 frame, in check_intr_schedule()
410 U32 uframe, in check_intr_schedule()
412 U32 *c_maskp in check_intr_schedule()
447 U32 uframe1; in qh_schedule()
448 U32 c_mask1; in qh_schedule()
449 U32 frame1; in qh_schedule()
535 U32 epnum1; in intr_submit()
536 U32 flags; in intr_submit()
598 static U32
601 U32 frame, in intr_complete()
605 U32 count; in intr_complete()
680 U32 index, in itd_fill()
684 U32 buf1; in itd_fill()
685 U32 i, epnum, maxp, multi; in itd_fill()
703 itd->hw_bufp [i] = CPUToLE32 ((U32) temp); in itd_fill()
704 itd->hw_bufp_hi [i] = CPUToLE32 ((U32)(temp >> 32)); in itd_fill()
731 if ( (length < 0) || (maxp < (U32) length) ) { in itd_fill()
749 if ((index + 1) == (U32) urb->number_of_packets) in itd_fill()
837 itd_link (struct ehci_hcd *ehci, U32 frame, struct ehci_itd *itd) in itd_link()
850 U32 *start, in get_iso_range()
851 U32 *max, in get_iso_range()
852 U32 mod in get_iso_range()
857 U32 now, span, end; in get_iso_range()
865 U32 s; in get_iso_range()
891 now = ehci_readl ((U32)&ehci->regs->frame_index) + 1; in get_iso_range()
908 U32 temp; in get_iso_range()
947 U32 start, max, i; in itd_schedule()
949 U32 mod = ehci->periodic_size << 3; in itd_schedule()
951 for (i = 0; i < (U32) urb->number_of_packets; i++) { in itd_schedule()
952 urb->iso_frame_desc [i].status = (U32) -EINPROGRESS; in itd_schedule()
960 U32 uframe; in itd_schedule()
961 U32 usecs; in itd_schedule()
968 i < (U32) urb->number_of_packets; in itd_schedule()
995 i < (U32) urb->number_of_packets; in itd_schedule()
1067 U32 flags; in itd_submit()
1117 U32 frame, clock, now_uframe, mod; in scan_periodic()
1118 U32 count = 0; in scan_periodic()
1125 now_uframe = ehci_readl ((U32)&ehci->regs->frame_index); in scan_periodic()
1133 U32 type, *hw_p; in scan_periodic()
1134 U32 uframes; in scan_periodic()
1246 U32 now; in scan_periodic()
1253 now = ehci_readl ((U32)&ehci->regs->frame_index) % mod; in scan_periodic()