Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dohci-hcd.c327 ed_p = &(ohci->hcca->int_table [i]); in ep_print_int_eds()
500 invalidate_dcache_hcca(controller->hcca); in ohci_dump()
501 dbg("hcca frame #%04x", controller->hcca->frame_no); in ohci_dump()
604 invalidate_dcache_hcca(ohci->hcca); in sohci_get_current_frame_number()
605 return m16_swap(ohci->hcca->frame_no); in sohci_get_current_frame_number()
726 for (ed_p = &(ohci->hcca->int_table[\ in ep_link()
736 flush_dcache_hcca(ohci->hcca); in ep_link()
752 __u32 *ed_p = &ohci->hcca->int_table [index]; in periodic_unlink()
1103 invalidate_dcache_hcca(ohci->hcca); in dl_reverse_done_list()
1104 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
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dohci-hcd.c512 if (ohci->hcca) in ohci_init()
519 ohci->hcca = gen_pool_dma_alloc_align(hcd->localmem_pool, in ohci_init()
520 sizeof(*ohci->hcca), in ohci_init()
523 ohci->hcca = dma_alloc_coherent(hcd->self.controller, in ohci_init()
524 sizeof(*ohci->hcca), in ohci_init()
527 if (!ohci->hcca) in ohci_init()
596 memset (ohci->hcca, 0, sizeof (struct ohci_hcca)); in ohci_run()
635 ohci_writel (ohci, (u32) ohci->hcca_dma, &ohci->regs->hcca); in ohci_run()
1013 if (ohci->hcca) { in ohci_stop()
1016 (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.c229 ohci_writel (ohci, (u32) ohci->hcca_dma, &ohci->regs->hcca); in ohci_rh_resume()
H A Du132-hcd.c1688 retval = u132_write_pcimem(u132, hcca, 0x00000000); in u132_run()
/OK3568_Linux_fs/u-boot/arch/mips/mach-au1x00/
H A Dau1x00_usb_ohci.c196 ed_p = &(ohci->hcca->int_table [i]); in ep_print_int_eds()
362 dbg ("hcca frame #%04x", controller->hcca->frame_no); in ohci_dump()
458 return m16_swap (ohci->hcca->frame_no); in sohci_get_current_frame_number()
765 td_list_hc = m32_swap (ohci->hcca->done_head) & 0xfffffff0; in dl_reverse_done_list()
766 ohci->hcca->done_head = 0; in dl_reverse_done_list()
1304 writel ((__u32)ohci->hcca, &ohci->regs->hcca); /* a reset clears this */ in hc_start()
1357 if ((ohci->hcca->done_head != 0) && !(m32_swap (ohci->hcca->done_head) & 0x01)) { in hc_interrupt()
1403 unsigned int frame = m16_swap (ohci->hcca->frame_no) & 1; in hc_interrupt()
1553 gohci.hcca = phcca; in usb_lowlevel_init()
H A Dau1x00_usb_ohci.h157 __u32 hcca; member
350 struct ohci_hcca *hcca; /* hcca */ member
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/qemu/qemu/
H A D0006_let_dma_memory_read_write_function_take_MemTxAttrs_argument.patch1268 dma_addr_t addr, struct ohci_hcca *hcca)
1271 - hcca, sizeof(*hcca));
1272 + return dma_memory_read(ohci->as, addr + ohci->localmem_base, hcca,
1273 + sizeof(*hcca), MEMTXATTRS_UNSPECIFIED);
1280 (char *)hcca + HCCA_WRITEBACK_OFFSET,
/OK3568_Linux_fs/kernel/drivers/usb/misc/
H A Dftdi-elan.c2303 retval = ftdi_write_pcimem(ftdi, hcca, 0x00000000); in ftdi_elan_check_controller()