Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/arch/mips/mach-au1x00/
H A Dau1x00_usb_ohci.c72 #define m32_swap(x) swap_32(x) macro
201 ed_t *ed = (ed_t *)m32_swap(ed_p); in ep_print_int_eds()
480 ohci->ed_controltail->hwNextED = m32_swap (ed); in ep_link()
496 ohci->ed_bulktail->hwNextED = m32_swap (ed); in ep_link()
519 ed->hwINFO |= m32_swap (OHCI_ED_SKIP); in ep_unlink()
528 writel (m32_swap (*((__u32 *)&ed->hwNextED)), &ohci->regs->ed_controlhead); in ep_unlink()
535 ((ed_t *)m32_swap (*((__u32 *)&ed->hwNextED)))->ed_prev = ed->ed_prev; in ep_unlink()
545 writel (m32_swap (*((__u32 *)&ed->hwNextED)), &ohci->regs->ed_bulkhead); in ep_unlink()
552 ((ed_t *)m32_swap (*((__u32 *)&ed->hwNextED)))->ed_prev = ed->ed_prev; in ep_unlink()
585 ed->hwINFO = m32_swap (OHCI_ED_SKIP); /* skip ed */ in ep_add_ed()
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dohci-hcd.c103 # define m32_swap(x) cpu_to_be32(x) macro
106 # define m32_swap(x) cpu_to_le32(x) macro
333 ed_t *ed = (ed_t *)m32_swap(ed_p); in ep_print_int_eds()
688 m32_swap((unsigned long)ed); in ep_link()
706 m32_swap((unsigned long)ed); in ep_link()
735 *ed_p = m32_swap((unsigned long)ed); in ep_link()
757 m32_swap((unsigned long)ed_p)) == ed) { in periodic_unlink()
766 m32_swap((unsigned long)ed_p))->hwNextED); in periodic_unlink()
781 ed->hwINFO |= m32_swap(OHCI_ED_SKIP); in ep_unlink()
792 ohci_writel(m32_swap(*((__u32 *)&ed->hwNextED)), in ep_unlink()
[all …]