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()
1813 qtd->hw_token = cpu_to_hc32(fotg210, QTD_STS_HALT); in fotg210_qtd_init()
2003 qtd->hw_buf[0] = cpu_to_hc32(fotg210, (u32)addr); in qtd_fill()
2004 qtd->hw_buf_hi[0] = cpu_to_hc32(fotg210, (u32)(addr >> 32)); in qtd_fill()
2015 qtd->hw_buf[i] = cpu_to_hc32(fotg210, (u32)addr); in qtd_fill()
2016 qtd->hw_buf_hi[i] = cpu_to_hc32(fotg210, in qtd_fill()
2029 qtd->hw_token = cpu_to_hc32(fotg210, (count << 16) | token); in qtd_fill()
2051 if (!(hw->hw_info1 & cpu_to_hc32(fotg210, QH_TOGGLE_CTL))) { in qh_update()
2057 hw->hw_token &= ~cpu_to_hc32(fotg210, QTD_TOGGLE); in qh_update()
2062 hw->hw_token &= cpu_to_hc32(fotg210, QTD_TOGGLE | QTD_STS_PING); in qh_update()
2085 if (cpu_to_hc32(fotg210, qtd->qtd_dma) == qh->hw->hw_current) { in qh_refresh()
2206 if ((qh->hw->hw_info2 & cpu_to_hc32(fotg210, QH_SMASK)) != 0) { in fotg210_urb_done()
2348 qtd->hw_token = cpu_to_hc32(fotg210, in qh_completions()
2351 hw->hw_token = cpu_to_hc32(fotg210, in qh_completions()
2393 cpu_to_hc32(fotg210, qtd->qtd_dma) in qh_completions()
2687 qtd->hw_token |= cpu_to_hc32(fotg210, QTD_IOC); in qh_urb_transaction()
2875 hw->hw_info1 = cpu_to_hc32(fotg210, info1); in qh_make()
2876 hw->hw_info2 = cpu_to_hc32(fotg210, info2); in qh_make()
2950 __hc32 qh_addr_mask = cpu_to_hc32(fotg210, 0x7f); in qh_append_tds()
3349 if (hw->hw_info2 & cpu_to_hc32(fotg210, 1 << uframe)) in periodic_usecs()
3352 if (hw->hw_info2 & cpu_to_hc32(fotg210, in periodic_usecs()
3506 if (type == cpu_to_hc32(fotg210, Q_TYPE_QH)) in qh_link_periodic()
3737 *c_maskp = cpu_to_hc32(fotg210, mask << 8); in check_intr_schedule()
3809 hw->hw_info2 &= cpu_to_hc32(fotg210, ~(QH_CMASK | QH_SMASK)); in qh_schedule()
3811 ? cpu_to_hc32(fotg210, 1 << uframe) in qh_schedule()
3812 : cpu_to_hc32(fotg210, QH_SMASK); in qh_schedule()
3948 stream->buf0 = cpu_to_hc32(fotg210, (epnum << 8) | dev->devnum); in iso_stream_init()
3949 stream->buf1 = cpu_to_hc32(fotg210, buf1); in iso_stream_init()
3950 stream->buf2 = cpu_to_hc32(fotg210, multi); in iso_stream_init()
4056 uframe->transaction = cpu_to_hc32(fotg210, trans); in itd_sched_init()
4314 itd->hw_transaction[uframe] |= cpu_to_hc32(fotg210, pg << 12); in itd_patch()
4315 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, uf->bufp & ~(u32)0); in itd_patch()
4316 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(uf->bufp >> 32)); in itd_patch()
4323 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, bufp & ~(u32)0); in itd_patch()
4324 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(bufp >> 32)); in itd_patch()
4339 if (type == cpu_to_hc32(fotg210, Q_TYPE_QH)) in itd_link()
4351 *hw_p = cpu_to_hc32(fotg210, itd->itd_dma | Q_TYPE_ITD); in itd_link()
4969 hw->hw_info1 = cpu_to_hc32(fotg210, QH_HEAD); in hcd_fotg210_init()
4970 hw->hw_token = cpu_to_hc32(fotg210, QTD_STS_HALT); in hcd_fotg210_init()