Lines Matching refs:head_pointer

127 		 __le32_to_cpu(cur->head_pointer) & ~0xFUL);  in dump_ed()
129 …(u16)(__le32_to_cpu(cur->head_pointer) & 0x2UL)>>1, (u16)(__le32_to_cpu(cur->head_pointer) & 0x1UL… in dump_ed()
131 tmp_td = (td_t *)phys_to_virt((__le32_to_cpu(cur->head_pointer) & ~0xFUL)); in dump_ed()
132 if ((__le32_to_cpu(cur->head_pointer) & ~0xFUL) != (__le32_to_cpu(cur->tail_pointer) & ~0xFUL)) { in dump_ed()
318 while (((__le32_to_cpu(head->head_pointer) & ~3) != __le32_to_cpu(head->tail_pointer)) && in wait_for_ed()
319 !(__le32_to_cpu(head->head_pointer) & 1) && in wait_for_ed()
320 ((__le32_to_cpu((((td_t*)phys_to_virt(__le32_to_cpu(head->head_pointer) & ~3)))->config) in wait_for_ed()
328 __le32_to_cpu(head->head_pointer), in wait_for_ed()
329 __le32_to_cpu(((td_t*)phys_to_virt(__le32_to_cpu(head->head_pointer) & ~3))->next_td), in wait_for_ed()
331 …(__le32_to_cpu(((td_t*)phys_to_virt(__le32_to_cpu(head->head_pointer) & ~3))->config) & TD_CC_MASK… in wait_for_ed()
340 if (__le32_to_cpu(head->head_pointer) & 1) { in wait_for_ed()
351 while ((__le32_to_cpu(head->head_pointer) & ~0x3) != __le32_to_cpu(head->tail_pointer)) { in ohci_free_ed()
354 (td_t*)phys_to_virt(__le32_to_cpu(head->head_pointer) & ~0x3); in ohci_free_ed()
356 head->head_pointer = cur_td->next_td; in ohci_free_ed()
362 if ((__le32_to_cpu(head->head_pointer) & ~0x3) == __le32_to_cpu(head->tail_pointer)) in ohci_free_ed()
363 free(phys_to_virt(__le32_to_cpu(head->head_pointer) & ~0x3)); in ohci_free_ed()
463 head->head_pointer = __cpu_to_le32(virt_to_phys(first_td)); in ohci_control()
466 __le32_to_cpu(head->config) & ED_FUNC_MASK, __le32_to_cpu(head->head_pointer)); in ohci_control()
570 head->head_pointer = __cpu_to_le32(virt_to_phys(first_td) | (ep->toggle?ED_TOGGLE:0)); in ohci_bulk()
589 ep->toggle = __le32_to_cpu(head->head_pointer) & ED_TOGGLE; in ohci_bulk()
693 intrq->ed.head_pointer = __cpu_to_le32(virt_to_phys(first_td) | (ep->toggle ? ED_TOGGLE : 0)); in ohci_create_intr_queue()
741 while ((__le32_to_cpu(intrq->ed.head_pointer) & ~0x3) != __le32_to_cpu(intrq->ed.tail_pointer)) { in ohci_destroy_intr_queue()
742 td_t *const cur_td = (td_t *)phys_to_virt(__le32_to_cpu(intrq->ed.head_pointer) & ~0x3); in ohci_destroy_intr_queue()
743 intrq->ed.head_pointer = cur_td->next_td; in ohci_destroy_intr_queue()
748 free(phys_to_virt(__le32_to_cpu(intrq->ed.head_pointer) & ~0x3)); in ohci_destroy_intr_queue()
767 ep->toggle = __le32_to_cpu(intrq->ed.head_pointer) & ED_TOGGLE; in ohci_destroy_intr_queue()