Lines Matching refs:cpu_to_hc32
258 td->qt_buffer[idx] = cpu_to_hc32(virt_to_phys((void *)addr)); in ehci_td_buffer()
300 qh->qh_endpt2 |= cpu_to_hc32(QH_ENDPT2_PORTNUM(portnr) | in ehci_update_endpt2_dev_n_port()
455 qh->qh_link = cpu_to_hc32(virt_to_phys(&ctrl->qh_list) | QH_LINK_TYPE_QH); in ehci_submit_async()
470 qh->qh_endpt1 = cpu_to_hc32(endpt); in ehci_submit_async()
472 qh->qh_endpt2 = cpu_to_hc32(endpt); in ehci_submit_async()
474 qh->qh_overlay.qt_next = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
475 qh->qh_overlay.qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
488 qtd[qtd_counter].qt_next = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
489 qtd[qtd_counter].qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
494 qtd[qtd_counter].qt_token = cpu_to_hc32(token); in ehci_submit_async()
500 *tdp = cpu_to_hc32(virt_to_phys(&qtd[qtd_counter])); in ehci_submit_async()
542 cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
544 cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
552 qtd[qtd_counter].qt_token = cpu_to_hc32(token); in ehci_submit_async()
559 *tdp = cpu_to_hc32(virt_to_phys(&qtd[qtd_counter])); in ehci_submit_async()
581 qtd[qtd_counter].qt_next = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
582 qtd[qtd_counter].qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
588 qtd[qtd_counter].qt_token = cpu_to_hc32(token); in ehci_submit_async()
590 *tdp = cpu_to_hc32(virt_to_phys(&qtd[qtd_counter])); in ehci_submit_async()
594 ctrl->qh_list.qh_link = cpu_to_hc32(virt_to_phys(qh) | QH_LINK_TYPE_QH); in ehci_submit_async()
630 ctrl->qh_list.qh_link = cpu_to_hc32(virt_to_phys(&ctrl->qh_list) | QH_LINK_TYPE_QH); in ehci_submit_async()
1041 qh_list->qh_link = cpu_to_hc32(virt_to_phys(qh_list) | QH_LINK_TYPE_QH); in ehci_common_init()
1042 qh_list->qh_endpt1 = cpu_to_hc32(QH_ENDPT1_H(1) | in ehci_common_init()
1044 qh_list->qh_overlay.qt_next = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_common_init()
1045 qh_list->qh_overlay.qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_common_init()
1047 cpu_to_hc32(QT_TOKEN_STATUS(QT_TOKEN_STATUS_HALTED)); in ehci_common_init()
1062 periodic->qh_link = cpu_to_hc32(QH_LINK_TERMINATE); in ehci_common_init()
1063 periodic->qh_overlay.qt_next = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_common_init()
1064 periodic->qh_overlay.qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_common_init()
1084 ctrl->periodic_list[i] = cpu_to_hc32((unsigned long)periodic in ehci_common_init()
1337 qh->qh_link = cpu_to_hc32((unsigned long)(qh+1) | QH_LINK_TYPE_QH); in _ehci_create_int_queue()
1339 qh->qh_link = cpu_to_hc32(QH_LINK_TERMINATE); in _ehci_create_int_queue()
1341 qh->qh_overlay.qt_next = cpu_to_hc32((unsigned long)td); in _ehci_create_int_queue()
1342 qh->qh_overlay.qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); in _ehci_create_int_queue()
1344 cpu_to_hc32((0 << 28) | /* No NAK reload (ehci 4.9) */ in _ehci_create_int_queue()
1350 qh->qh_endpt2 = cpu_to_hc32((1 << 30) | /* 1 Tx per mframe */ in _ehci_create_int_queue()
1355 qh->qh_endpt2 |= cpu_to_hc32((0x1c << 8)); in _ehci_create_int_queue()
1359 td->qt_next = cpu_to_hc32(QT_NEXT_TERMINATE); in _ehci_create_int_queue()
1360 td->qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); in _ehci_create_int_queue()
1363 td->qt_token = cpu_to_hc32( in _ehci_create_int_queue()
1369 cpu_to_hc32((unsigned long)buffer + i * elementsize); in _ehci_create_int_queue()
1371 cpu_to_hc32((td->qt_buffer[0] + 0x1000) & ~0xfff); in _ehci_create_int_queue()
1373 cpu_to_hc32((td->qt_buffer[0] + 0x2000) & ~0xfff); in _ehci_create_int_queue()
1375 cpu_to_hc32((td->qt_buffer[0] + 0x3000) & ~0xfff); in _ehci_create_int_queue()
1377 cpu_to_hc32((td->qt_buffer[0] + 0x4000) & ~0xfff); in _ehci_create_int_queue()
1403 list->qh_link = cpu_to_hc32((unsigned long)result->first | QH_LINK_TYPE_QH); in _ehci_create_int_queue()
1483 while (!(cur->qh_link & cpu_to_hc32(QH_LINK_TERMINATE))) { in _ehci_destroy_int_queue()