Lines Matching refs:cpu_to_hc32
398 (cpu_to_hc32(fotg210, QTD_TOGGLE) & hw->hw_token) in qh_lines()
410 else if (hw->hw_qtd_next == cpu_to_hc32(fotg210, td->qtd_dma)) in qh_lines()
1834 qtd->hw_token = cpu_to_hc32(fotg210, QTD_STS_HALT); in fotg210_qtd_init()
2024 qtd->hw_buf[0] = cpu_to_hc32(fotg210, (u32)addr); in qtd_fill()
2025 qtd->hw_buf_hi[0] = cpu_to_hc32(fotg210, (u32)(addr >> 32)); in qtd_fill()
2036 qtd->hw_buf[i] = cpu_to_hc32(fotg210, (u32)addr); in qtd_fill()
2037 qtd->hw_buf_hi[i] = cpu_to_hc32(fotg210, in qtd_fill()
2050 qtd->hw_token = cpu_to_hc32(fotg210, (count << 16) | token); in qtd_fill()
2072 if (!(hw->hw_info1 & cpu_to_hc32(fotg210, QH_TOGGLE_CTL))) { in qh_update()
2078 hw->hw_token &= ~cpu_to_hc32(fotg210, QTD_TOGGLE); in qh_update()
2083 hw->hw_token &= cpu_to_hc32(fotg210, QTD_TOGGLE | QTD_STS_PING); in qh_update()
2106 if (cpu_to_hc32(fotg210, qtd->qtd_dma) == qh->hw->hw_current) { in qh_refresh()
2227 if ((qh->hw->hw_info2 & cpu_to_hc32(fotg210, QH_SMASK)) != 0) { in fotg210_urb_done()
2371 qtd->hw_token = cpu_to_hc32(fotg210, in qh_completions()
2374 hw->hw_token = cpu_to_hc32(fotg210, in qh_completions()
2416 cpu_to_hc32(fotg210, qtd->qtd_dma) in qh_completions()
2718 qtd->hw_token |= cpu_to_hc32(fotg210, QTD_IOC); in qh_urb_transaction()
2904 hw->hw_info1 = cpu_to_hc32(fotg210, info1); in qh_make()
2905 hw->hw_info2 = cpu_to_hc32(fotg210, info2); in qh_make()
2979 __hc32 qh_addr_mask = cpu_to_hc32(fotg210, 0x7f); in qh_append_tds()
3378 if (hw->hw_info2 & cpu_to_hc32(fotg210, 1 << uframe)) in periodic_usecs()
3381 if (hw->hw_info2 & cpu_to_hc32(fotg210, in periodic_usecs()
3535 if (type == cpu_to_hc32(fotg210, Q_TYPE_QH)) in qh_link_periodic()
3766 *c_maskp = cpu_to_hc32(fotg210, mask << 8); in check_intr_schedule()
3838 hw->hw_info2 &= cpu_to_hc32(fotg210, ~(QH_CMASK | QH_SMASK)); in qh_schedule()
3840 ? cpu_to_hc32(fotg210, 1 << uframe) in qh_schedule()
3841 : cpu_to_hc32(fotg210, QH_SMASK); in qh_schedule()
3976 stream->buf0 = cpu_to_hc32(fotg210, (epnum << 8) | dev->devnum); in iso_stream_init()
3977 stream->buf1 = cpu_to_hc32(fotg210, buf1); in iso_stream_init()
3978 stream->buf2 = cpu_to_hc32(fotg210, multi); in iso_stream_init()
4084 uframe->transaction = cpu_to_hc32(fotg210, trans); in itd_sched_init()
4342 itd->hw_transaction[uframe] |= cpu_to_hc32(fotg210, pg << 12); in itd_patch()
4343 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, uf->bufp & ~(u32)0); in itd_patch()
4344 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(uf->bufp >> 32)); in itd_patch()
4351 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, bufp & ~(u32)0); in itd_patch()
4352 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(bufp >> 32)); in itd_patch()
4367 if (type == cpu_to_hc32(fotg210, Q_TYPE_QH)) in itd_link()
4379 *hw_p = cpu_to_hc32(fotg210, itd->itd_dma | Q_TYPE_ITD); in itd_link()
5005 hw->hw_info1 = cpu_to_hc32(fotg210, QH_HEAD); in hcd_fotg210_init()
5006 hw->hw_token = cpu_to_hc32(fotg210, QTD_STS_HALT); in hcd_fotg210_init()