Lines Matching refs:cpu_to_hc32
388 (cpu_to_hc32(fotg210, QTD_TOGGLE) & hw->hw_token) in qh_lines()
400 else if (hw->hw_qtd_next == cpu_to_hc32(fotg210, td->qtd_dma)) in qh_lines()
1812 qtd->hw_token = cpu_to_hc32(fotg210, QTD_STS_HALT); in fotg210_qtd_init()
2000 qtd->hw_buf[0] = cpu_to_hc32(fotg210, (u32)addr); in qtd_fill()
2001 qtd->hw_buf_hi[0] = cpu_to_hc32(fotg210, (u32)(addr >> 32)); in qtd_fill()
2012 qtd->hw_buf[i] = cpu_to_hc32(fotg210, (u32)addr); in qtd_fill()
2013 qtd->hw_buf_hi[i] = cpu_to_hc32(fotg210, in qtd_fill()
2026 qtd->hw_token = cpu_to_hc32(fotg210, (count << 16) | token); in qtd_fill()
2048 if (!(hw->hw_info1 & cpu_to_hc32(fotg210, QH_TOGGLE_CTL))) { in qh_update()
2054 hw->hw_token &= ~cpu_to_hc32(fotg210, QTD_TOGGLE); in qh_update()
2059 hw->hw_token &= cpu_to_hc32(fotg210, QTD_TOGGLE | QTD_STS_PING); in qh_update()
2082 if (cpu_to_hc32(fotg210, qtd->qtd_dma) == qh->hw->hw_current) { in qh_refresh()
2203 if ((qh->hw->hw_info2 & cpu_to_hc32(fotg210, QH_SMASK)) != 0) { in fotg210_urb_done()
2345 qtd->hw_token = cpu_to_hc32(fotg210, in qh_completions()
2348 hw->hw_token = cpu_to_hc32(fotg210, in qh_completions()
2390 cpu_to_hc32(fotg210, qtd->qtd_dma) in qh_completions()
2684 qtd->hw_token |= cpu_to_hc32(fotg210, QTD_IOC); in qh_urb_transaction()
2872 hw->hw_info1 = cpu_to_hc32(fotg210, info1); in qh_make()
2873 hw->hw_info2 = cpu_to_hc32(fotg210, info2); in qh_make()
2947 __hc32 qh_addr_mask = cpu_to_hc32(fotg210, 0x7f); in qh_append_tds()
3346 if (hw->hw_info2 & cpu_to_hc32(fotg210, 1 << uframe)) in periodic_usecs()
3349 if (hw->hw_info2 & cpu_to_hc32(fotg210, in periodic_usecs()
3503 if (type == cpu_to_hc32(fotg210, Q_TYPE_QH)) in qh_link_periodic()
3734 *c_maskp = cpu_to_hc32(fotg210, mask << 8); in check_intr_schedule()
3806 hw->hw_info2 &= cpu_to_hc32(fotg210, ~(QH_CMASK | QH_SMASK)); in qh_schedule()
3808 ? cpu_to_hc32(fotg210, 1 << uframe) in qh_schedule()
3809 : cpu_to_hc32(fotg210, QH_SMASK); in qh_schedule()
3945 stream->buf0 = cpu_to_hc32(fotg210, (epnum << 8) | dev->devnum); in iso_stream_init()
3946 stream->buf1 = cpu_to_hc32(fotg210, buf1); in iso_stream_init()
3947 stream->buf2 = cpu_to_hc32(fotg210, multi); in iso_stream_init()
4053 uframe->transaction = cpu_to_hc32(fotg210, trans); in itd_sched_init()
4310 itd->hw_transaction[uframe] |= cpu_to_hc32(fotg210, pg << 12); in itd_patch()
4311 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, uf->bufp & ~(u32)0); in itd_patch()
4312 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(uf->bufp >> 32)); in itd_patch()
4319 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, bufp & ~(u32)0); in itd_patch()
4320 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(bufp >> 32)); in itd_patch()
4335 if (type == cpu_to_hc32(fotg210, Q_TYPE_QH)) in itd_link()
4347 *hw_p = cpu_to_hc32(fotg210, itd->itd_dma | Q_TYPE_ITD); in itd_link()
4965 hw->hw_info1 = cpu_to_hc32(fotg210, QH_HEAD); in hcd_fotg210_init()
4966 hw->hw_token = cpu_to_hc32(fotg210, QTD_STS_HALT); in hcd_fotg210_init()