Lines Matching refs:cpu_to_hc32
402 (cpu_to_hc32(fusbh200, QTD_TOGGLE) & hw->hw_token) in qh_lines()
414 else if (hw->hw_qtd_next == cpu_to_hc32(fusbh200, td->qtd_dma)) in qh_lines()
1842 qtd->hw_token = cpu_to_hc32(fusbh200, QTD_STS_HALT); in fusbh200_qtd_init()
2045 qtd->hw_buf[0] = cpu_to_hc32(fusbh200, (u32)addr); in qtd_fill()
2046 qtd->hw_buf_hi[0] = cpu_to_hc32(fusbh200, (u32)(addr >> 32)); in qtd_fill()
2057 qtd->hw_buf[i] = cpu_to_hc32(fusbh200, (u32)addr); in qtd_fill()
2058 qtd->hw_buf_hi[i] = cpu_to_hc32(fusbh200, in qtd_fill()
2071 qtd->hw_token = cpu_to_hc32(fusbh200, (count << 16) | token); in qtd_fill()
2095 if (!(hw->hw_info1 & cpu_to_hc32(fusbh200, QH_TOGGLE_CTL))) { in qh_update()
2101 hw->hw_token &= ~cpu_to_hc32(fusbh200, QTD_TOGGLE); in qh_update()
2106 hw->hw_token &= cpu_to_hc32(fusbh200, QTD_TOGGLE | QTD_STS_PING); in qh_update()
2130 if (cpu_to_hc32(fusbh200, qtd->qtd_dma) == qh->hw->hw_current) { in qh_refresh()
2257 if ((qh->hw->hw_info2 & cpu_to_hc32(fusbh200, QH_SMASK)) != 0) { in fusbh200_urb_done()
2401 qtd->hw_token = cpu_to_hc32(fusbh200, in qh_completions()
2404 hw->hw_token = cpu_to_hc32(fusbh200, in qh_completions()
2446 && cpu_to_hc32(fusbh200, qtd->qtd_dma) in qh_completions()
2757 qtd->hw_token |= cpu_to_hc32(fusbh200, QTD_IOC); in qh_urb_transaction()
2947 hw->hw_info1 = cpu_to_hc32(fusbh200, info1); in qh_make()
2948 hw->hw_info2 = cpu_to_hc32(fusbh200, info2); in qh_make()
3031 __hc32 qh_addr_mask = cpu_to_hc32(fusbh200, 0x7f); in qh_append_tds()
3441 if (hw->hw_info2 & cpu_to_hc32(fusbh200, 1 << uframe)) in periodic_usecs()
3444 if (hw->hw_info2 & cpu_to_hc32(fusbh200, in periodic_usecs()
3608 if (type == cpu_to_hc32(fusbh200, Q_TYPE_QH)) in qh_link_periodic()
3844 *c_maskp = cpu_to_hc32(fusbh200, mask << 8); in check_intr_schedule()
3915 hw->hw_info2 &= cpu_to_hc32(fusbh200, ~(QH_CMASK | QH_SMASK)); in qh_schedule()
3917 ? cpu_to_hc32(fusbh200, 1 << uframe) in qh_schedule()
3918 : cpu_to_hc32(fusbh200, QH_SMASK); in qh_schedule()
4064 stream->buf0 = cpu_to_hc32(fusbh200, (epnum << 8) | dev->devnum); in iso_stream_init()
4065 stream->buf1 = cpu_to_hc32(fusbh200, buf1); in iso_stream_init()
4066 stream->buf2 = cpu_to_hc32(fusbh200, multi); in iso_stream_init()
4178 uframe->transaction = cpu_to_hc32(fusbh200, trans); in itd_sched_init()
4466 itd->hw_transaction[uframe] |= cpu_to_hc32(fusbh200, pg << 12); in itd_patch()
4467 itd->hw_bufp[pg] |= cpu_to_hc32(fusbh200, uf->bufp & ~(u32)0); in itd_patch()
4468 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fusbh200, (u32)(uf->bufp >> 32)); in itd_patch()
4475 itd->hw_bufp[pg] |= cpu_to_hc32(fusbh200, bufp & ~(u32)0); in itd_patch()
4476 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fusbh200, (u32)(bufp >> 32)); in itd_patch()
4491 if (type == cpu_to_hc32(fusbh200, Q_TYPE_QH)) in itd_link()
4503 *hw_p = cpu_to_hc32(fusbh200, itd->itd_dma | Q_TYPE_ITD); in itd_link()
5124 hw->hw_info1 = cpu_to_hc32(fusbh200, QH_HEAD); in hcd_fusbh200_init()
5125 hw->hw_token = cpu_to_hc32(fusbh200, QTD_STS_HALT); in hcd_fusbh200_init()