Lines Matching refs:cpu_to_hc32

414 			(cpu_to_hc32(fotg210, QTD_TOGGLE) & hw->hw_token)  in qh_lines()
426 else if (hw->hw_qtd_next == cpu_to_hc32(fotg210, td->qtd_dma)) in qh_lines()
1890 qtd->hw_token = cpu_to_hc32(fotg210, QTD_STS_HALT); in fotg210_qtd_init()
2092 qtd->hw_buf[0] = cpu_to_hc32(fotg210, (u32)addr); in qtd_fill()
2093 qtd->hw_buf_hi[0] = cpu_to_hc32(fotg210, (u32)(addr >> 32)); in qtd_fill()
2104 qtd->hw_buf[i] = cpu_to_hc32(fotg210, (u32)addr); in qtd_fill()
2105 qtd->hw_buf_hi[i] = cpu_to_hc32(fotg210, in qtd_fill()
2118 qtd->hw_token = cpu_to_hc32(fotg210, (count << 16) | token); in qtd_fill()
2143 if (!(hw->hw_info1 & cpu_to_hc32(fotg210, QH_TOGGLE_CTL))) { in qh_update()
2149 hw->hw_token &= ~cpu_to_hc32(fotg210, QTD_TOGGLE); in qh_update()
2154 hw->hw_token &= cpu_to_hc32(fotg210, QTD_TOGGLE | QTD_STS_PING); in qh_update()
2178 if (cpu_to_hc32(fotg210, qtd->qtd_dma) == qh->hw->hw_current) { in qh_refresh()
2305 if ((qh->hw->hw_info2 & cpu_to_hc32(fotg210, QH_SMASK)) != 0) { in fotg210_urb_done()
2451 qtd->hw_token = cpu_to_hc32(fotg210, in qh_completions()
2454 hw->hw_token = cpu_to_hc32(fotg210, in qh_completions()
2496 && cpu_to_hc32(fotg210, qtd->qtd_dma) in qh_completions()
2808 qtd->hw_token |= cpu_to_hc32(fotg210, QTD_IOC); in qh_urb_transaction()
3000 hw->hw_info1 = cpu_to_hc32(fotg210, info1); in qh_make()
3001 hw->hw_info2 = cpu_to_hc32(fotg210, info2); in qh_make()
3084 __hc32 qh_addr_mask = cpu_to_hc32(fotg210, 0x7f); in qh_append_tds()
3499 if (hw->hw_info2 & cpu_to_hc32(fotg210, 1 << uframe)) in periodic_usecs()
3502 if (hw->hw_info2 & cpu_to_hc32(fotg210, in periodic_usecs()
3667 if (type == cpu_to_hc32(fotg210, Q_TYPE_QH)) in qh_link_periodic()
3909 *c_maskp = cpu_to_hc32(fotg210, mask << 8); in check_intr_schedule()
3981 hw->hw_info2 &= cpu_to_hc32(fotg210, ~(QH_CMASK | QH_SMASK)); in qh_schedule()
3983 ? cpu_to_hc32(fotg210, 1 << uframe) in qh_schedule()
3984 : cpu_to_hc32(fotg210, QH_SMASK); in qh_schedule()
4130 stream->buf0 = cpu_to_hc32(fotg210, (epnum << 8) | dev->devnum); in iso_stream_init()
4131 stream->buf1 = cpu_to_hc32(fotg210, buf1); in iso_stream_init()
4132 stream->buf2 = cpu_to_hc32(fotg210, multi); in iso_stream_init()
4244 uframe->transaction = cpu_to_hc32(fotg210, trans); in itd_sched_init()
4530 itd->hw_transaction[uframe] |= cpu_to_hc32(fotg210, pg << 12); in itd_patch()
4531 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, uf->bufp & ~(u32)0); in itd_patch()
4532 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(uf->bufp >> 32)); in itd_patch()
4539 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, bufp & ~(u32)0); in itd_patch()
4540 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(bufp >> 32)); in itd_patch()
4555 if (type == cpu_to_hc32(fotg210, Q_TYPE_QH)) in itd_link()
4567 *hw_p = cpu_to_hc32(fotg210, itd->itd_dma | Q_TYPE_ITD); in itd_link()
5200 hw->hw_info1 = cpu_to_hc32(fotg210, QH_HEAD); in hcd_fotg210_init()
5201 hw->hw_token = cpu_to_hc32(fotg210, QTD_STS_HALT); in hcd_fotg210_init()