Home
last modified time | relevance | path

Searched refs:m32_swap (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/arch/mips/mach-au1x00/
Dau1x00_usb_ohci.c71 #define m32_swap(x) swap_32(x) macro
200 ed_t *ed = (ed_t *)m32_swap(ed_p); in ep_print_int_eds()
479 ohci->ed_controltail->hwNextED = m32_swap (ed); in ep_link()
495 ohci->ed_bulktail->hwNextED = m32_swap (ed); in ep_link()
518 ed->hwINFO |= m32_swap (OHCI_ED_SKIP); in ep_unlink()
527 writel (m32_swap (*((__u32 *)&ed->hwNextED)), &ohci->regs->ed_controlhead); in ep_unlink()
534 ((ed_t *)m32_swap (*((__u32 *)&ed->hwNextED)))->ed_prev = ed->ed_prev; in ep_unlink()
544 writel (m32_swap (*((__u32 *)&ed->hwNextED)), &ohci->regs->ed_bulkhead); in ep_unlink()
551 ((ed_t *)m32_swap (*((__u32 *)&ed->hwNextED)))->ed_prev = ed->ed_prev; in ep_unlink()
584 ed->hwINFO = m32_swap (OHCI_ED_SKIP); /* skip ed */ in ep_add_ed()
[all …]
/external/u-boot/drivers/usb/host/
Dohci-hcd.c99 # define m32_swap(x) cpu_to_be32(x) macro
102 # define m32_swap(x) cpu_to_le32(x) macro
329 ed_t *ed = (ed_t *)m32_swap(ed_p); in ep_print_int_eds()
684 m32_swap((unsigned long)ed); in ep_link()
702 m32_swap((unsigned long)ed); in ep_link()
731 *ed_p = m32_swap((unsigned long)ed); in ep_link()
753 m32_swap((unsigned long)ed_p)) == ed) { in periodic_unlink()
762 m32_swap((unsigned long)ed_p))->hwNextED); in periodic_unlink()
777 ed->hwINFO |= m32_swap(OHCI_ED_SKIP); in ep_unlink()
788 ohci_writel(m32_swap(*((__u32 *)&ed->hwNextED)), in ep_unlink()
[all …]