Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/arch/mips/mach-au1x00/
H A Dau1x00_usb_ohci.c71 #define m16_swap(x) swap_16(x) macro
458 return m16_swap (ohci->hcca->frame_no); in sohci_get_current_frame_number()
652 td->hwPSW [0] = m16_swap (((__u32)data & 0x0FFF) | 0xE000); in td_fill()
908 wValue = m16_swap (cmd->value); in ohci_submit_rh_msg()
909 wIndex = m16_swap (cmd->index); in ohci_submit_rh_msg()
910 wLength = m16_swap (cmd->length); in ohci_submit_rh_msg()
925 *(__u16 *) data_buf = m16_swap (1); OK (2); in ohci_submit_rh_msg()
927 *(__u16 *) data_buf = m16_swap (0); OK (2); in ohci_submit_rh_msg()
929 *(__u16 *) data_buf = m16_swap (0); OK (2); in ohci_submit_rh_msg()
1403 unsigned int frame = m16_swap (ohci->hcca->frame_no) & 1; in hc_interrupt()
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dohci-hcd.c102 # define m16_swap(x) cpu_to_be16(x) macro
105 # define m16_swap(x) cpu_to_le16(x) macro
605 return m16_swap(ohci->hcca->frame_no); in sohci_get_current_frame_number()
1971 unsigned int frame = m16_swap(ohci->hcca->frame_no) & 1; in hc_interrupt()