Home
last modified time | relevance | path

Searched refs:hcca (Results 1 – 9 of 9) sorted by relevance

/openbmc/u-boot/drivers/usb/host/
H A Dohci-hcd.c323 ed_p = &(ohci->hcca->int_table [i]); in ep_print_int_eds()
496 invalidate_dcache_hcca(controller->hcca); in ohci_dump()
497 dbg("hcca frame #%04x", controller->hcca->frame_no); in ohci_dump()
600 invalidate_dcache_hcca(ohci->hcca); in sohci_get_current_frame_number()
601 return m16_swap(ohci->hcca->frame_no); in sohci_get_current_frame_number()
722 for (ed_p = &(ohci->hcca->int_table[\ in ep_link()
732 flush_dcache_hcca(ohci->hcca); in ep_link()
748 __u32 *ed_p = &ohci->hcca->int_table [index]; in periodic_unlink()
1099 invalidate_dcache_hcca(ohci->hcca); in dl_reverse_done_list()
1100 td_list_hc = m32_swap(ohci->hcca->done_head) & 0xfffffff0; in dl_reverse_done_list()
[all …]
H A Dohci.h170 __u32 hcca; member
387 struct ohci_hcca *hcca; /* hcca */ member
/openbmc/linux/drivers/usb/host/
H A Dohci-hcd.c510 if (ohci->hcca) in ohci_init()
517 ohci->hcca = gen_pool_dma_alloc_align(hcd->localmem_pool, in ohci_init()
518 sizeof(*ohci->hcca), in ohci_init()
521 ohci->hcca = dma_alloc_coherent(hcd->self.controller, in ohci_init()
522 sizeof(*ohci->hcca), in ohci_init()
525 if (!ohci->hcca) in ohci_init()
594 memset (ohci->hcca, 0, sizeof (struct ohci_hcca)); in ohci_run()
633 ohci_writel (ohci, (u32) ohci->hcca_dma, &ohci->regs->hcca); in ohci_run()
1019 if (ohci->hcca) { in ohci_stop()
1022 (unsigned long)ohci->hcca, in ohci_stop()
[all …]
H A Dohci.h220 __hc32 hcca; member
375 struct ohci_hcca *hcca; member
665 tmp = be32_to_cpup((__force __be32 *)&ohci->hcca->frame_no); in ohci_frame_no()
669 tmp = le32_to_cpup((__force __le32 *)&ohci->hcca->frame_no); in ohci_frame_no()
H A Dohci-q.c153 __hc32 *prev_p = &ohci->hcca->int_table [i]; in periodic_link()
277 __hc32 *prev_p = &ohci->hcca->int_table [i]; in periodic_unlink()
940 td_dma = hc32_to_cpup (ohci, &ohci->hcca->done_head); in update_done_list()
941 ohci->hcca->done_head = 0; in update_done_list()
H A Dohci-dbg.c246 if (controller->hcca) in ohci_dump()
619 if (ohci->hcca) in fill_registers_buffer()
H A Dohci-hub.c232 ohci_writel (ohci, (u32) ohci->hcca_dma, &ohci->regs->hcca); in ohci_rh_resume()
/openbmc/qemu/hw/usb/
H A Dhcd-ohci.c350 ohci->hcca = 0; in ohci_soft_reset()
472 dma_addr_t addr, struct ohci_hcca *hcca) in ohci_read_hcca() argument
474 return dma_memory_read(ohci->as, addr + ohci->localmem_base, hcca, in ohci_read_hcca()
475 sizeof(*hcca), MEMTXATTRS_UNSPECIFIED); in ohci_read_hcca()
504 dma_addr_t addr, struct ohci_hcca *hcca) in ohci_put_hcca() argument
508 (char *)hcca + HCCA_WRITEBACK_OFFSET, in ohci_put_hcca()
1213 struct ohci_hcca hcca; in ohci_frame_boundary() local
1215 if (ohci_read_hcca(ohci, ohci->hcca, &hcca)) { in ohci_frame_boundary()
1216 trace_usb_ohci_hcca_read_error(ohci->hcca); in ohci_frame_boundary()
1226 ohci_service_ed_list(ohci, le32_to_cpu(hcca.intr[n])); in ohci_frame_boundary()
[all …]
H A Dhcd-ohci.h57 uint32_t hcca; member