Lines Matching refs:cpu_to_hc32
146 if (hw->hw_info2 & cpu_to_hc32(ehci, 1 << uframe)) in periodic_usecs()
149 if (hw->hw_info2 & cpu_to_hc32(ehci, in periodic_usecs()
174 if (q->sitd->hw_uframe & cpu_to_hc32(ehci, in periodic_usecs()
177 cpu_to_hc32(ehci, 1<<31)) in periodic_usecs()
185 cpu_to_hc32(ehci, 1 << (8 + uframe))) { in periodic_usecs()
582 if (type == cpu_to_hc32(ehci, Q_TYPE_QH)) in qh_link_periodic()
685 || (cpu_to_hc32(ehci, QH_CMASK) in intr_deschedule()
797 *c_maskp = cpu_to_hc32(ehci, mask << 8); in check_intr_schedule()
808 *c_maskp = cpu_to_hc32(ehci, mask << 8); in check_intr_schedule()
880 hw->hw_info2 &= cpu_to_hc32(ehci, ~(QH_CMASK | QH_SMASK)); in qh_schedule()
882 ? cpu_to_hc32(ehci, 1 << uframe) in qh_schedule()
883 : cpu_to_hc32(ehci, QH_SMASK); in qh_schedule()
1007 stream->buf0 = cpu_to_hc32(ehci, (epnum << 8) | dev->devnum); in iso_stream_init()
1008 stream->buf1 = cpu_to_hc32(ehci, buf1); in iso_stream_init()
1009 stream->buf2 = cpu_to_hc32(ehci, multi); in iso_stream_init()
1052 stream->address = cpu_to_hc32(ehci, addr); in iso_stream_init()
1206 uframe->transaction = cpu_to_hc32(ehci, trans); in itd_sched_init()
1390 stream->splits = cpu_to_hc32(ehci, stream->raw_mask << (uframe & 7)); in sitd_slot_ok()
1577 itd->hw_transaction[uframe] |= cpu_to_hc32(ehci, pg << 12); in itd_patch()
1578 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, uf->bufp & ~(u32)0); in itd_patch()
1579 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(uf->bufp >> 32)); in itd_patch()
1586 itd->hw_bufp[pg] |= cpu_to_hc32(ehci, bufp & ~(u32)0); in itd_patch()
1587 itd->hw_bufp_hi[pg] |= cpu_to_hc32(ehci, (u32)(bufp >> 32)); in itd_patch()
1602 if (type == cpu_to_hc32(ehci, Q_TYPE_QH)) in itd_link()
1614 *hw_p = cpu_to_hc32(ehci, itd->itd_dma | Q_TYPE_ITD); in itd_link()
1911 packet->transaction = cpu_to_hc32(ehci, trans); in sitd_sched_init()
2014 sitd->hw_buf[0] = cpu_to_hc32(ehci, bufp); in sitd_patch()
2015 sitd->hw_buf_hi[0] = cpu_to_hc32(ehci, bufp >> 32); in sitd_patch()
2017 sitd->hw_buf[1] = cpu_to_hc32(ehci, uf->buf1); in sitd_patch()
2020 sitd->hw_buf_hi[1] = cpu_to_hc32(ehci, bufp >> 32); in sitd_patch()
2033 ehci->periodic[frame] = cpu_to_hc32(ehci, sitd->sitd_dma | Q_TYPE_SITD); in sitd_link()