Lines Matching refs:ohci_td

369 static void ohci_fill_td(struct ohci_td *td, long next,  in ohci_fill_td()
400 static long ohci_get_td_phys(struct ohci_td *curr, struct ohci_td *start, long td_phys) in ohci_get_td_phys()
406 static long ohci_get_td_virt(struct ohci_td *curr, struct ohci_td *start, long td_virt, long total_… in ohci_get_td_virt()
418 struct ohci_td *td_start, in ohci_process_done_head()
422 struct ohci_td *td_phys = NULL, *td_start_phys; in ohci_process_done_head()
423 struct ohci_td *td, *prev_td = NULL; in ohci_process_done_head()
429 td_start_phys = (struct ohci_td *) __td_start_phys; in ohci_process_done_head()
449 td_phys = (struct ohci_td *)(uint64_t) le32_to_cpu(hcca->done_head); in ohci_process_done_head()
458 td = (struct ohci_td *)(uint64_t) ohci_get_td_virt(td_phys, in ohci_process_done_head()
486 td_phys = (struct ohci_td *)(uint64_t) le32_to_cpu(td->next_td); in ohci_process_done_head()
513 struct ohci_td *tds, *td, *td_phys; in ohci_send_ctrl()
528 tds = td = (struct ohci_td *) SLOF_dma_alloc(sizeof(*td) * OHCI_CTRL_TDS); in ohci_send_ctrl()
529 td_phys = (struct ohci_td *) SLOF_dma_map_in(td, sizeof(*td) * OHCI_CTRL_TDS, true); in ohci_send_ctrl()
622 struct ohci_td *td, *tds; in ohci_transfer_bulk()
645 td = tds = (struct ohci_td *) td_ptr; in ohci_transfer_bulk()
731 struct ohci_td *tds, *td; in ohci_get_pipe_intr()
827 struct ohci_td *td; in ohci_put_pipe_intr()
979 struct ohci_td *head, *tail, *curr, *next; in ohci_poll_intr()
980 struct ohci_td *head_phys, *tail_phys, *curr_phys; in ohci_poll_intr()
996 head_phys = (struct ohci_td *)(long)(le32_to_cpu(ed->headp) & EDA_HEADP_MASK); in ohci_poll_intr()
997 tail_phys = (struct ohci_td *)(long)le32_to_cpu(ed->tailp); in ohci_poll_intr()
998 curr_phys = (struct ohci_td *) opipe->td_phys; in ohci_poll_intr()
1003 head = opipe->td + (head_phys - (struct ohci_td *) opipe->td_phys); in ohci_poll_intr()
1004 tail = opipe->td + (tail_phys - (struct ohci_td *) opipe->td_phys); in ohci_poll_intr()