• Home
  • Raw
  • Download

Lines Matching refs:cpu_to_hc32

253 		td->qt_buffer[idx] = cpu_to_hc32(virt_to_phys((void *)addr));  in ehci_td_buffer()
295 qh->qh_endpt2 |= cpu_to_hc32(QH_ENDPT2_PORTNUM(portnr) | in ehci_update_endpt2_dev_n_port()
406 qh->qh_link = cpu_to_hc32(virt_to_phys(&ctrl->qh_list) | QH_LINK_TYPE_QH); in ehci_submit_async()
415 qh->qh_endpt1 = cpu_to_hc32(endpt); in ehci_submit_async()
417 qh->qh_endpt2 = cpu_to_hc32(endpt); in ehci_submit_async()
419 qh->qh_overlay.qt_next = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
420 qh->qh_overlay.qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
433 qtd[qtd_counter].qt_next = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
434 qtd[qtd_counter].qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
439 qtd[qtd_counter].qt_token = cpu_to_hc32(token); in ehci_submit_async()
445 *tdp = cpu_to_hc32(virt_to_phys(&qtd[qtd_counter])); in ehci_submit_async()
487 cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
489 cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
497 qtd[qtd_counter].qt_token = cpu_to_hc32(token); in ehci_submit_async()
504 *tdp = cpu_to_hc32(virt_to_phys(&qtd[qtd_counter])); in ehci_submit_async()
526 qtd[qtd_counter].qt_next = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
527 qtd[qtd_counter].qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
533 qtd[qtd_counter].qt_token = cpu_to_hc32(token); in ehci_submit_async()
535 *tdp = cpu_to_hc32(virt_to_phys(&qtd[qtd_counter])); in ehci_submit_async()
539 ctrl->qh_list.qh_link = cpu_to_hc32(virt_to_phys(qh) | QH_LINK_TYPE_QH); in ehci_submit_async()
997 qh_list->qh_link = cpu_to_hc32(virt_to_phys(qh_list) | QH_LINK_TYPE_QH); in ehci_common_init()
998 qh_list->qh_endpt1 = cpu_to_hc32(QH_ENDPT1_H(1) | in ehci_common_init()
1000 qh_list->qh_overlay.qt_next = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_common_init()
1001 qh_list->qh_overlay.qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_common_init()
1003 cpu_to_hc32(QT_TOKEN_STATUS(QT_TOKEN_STATUS_HALTED)); in ehci_common_init()
1018 periodic->qh_link = cpu_to_hc32(QH_LINK_TERMINATE); in ehci_common_init()
1019 periodic->qh_overlay.qt_next = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_common_init()
1020 periodic->qh_overlay.qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_common_init()
1040 ctrl->periodic_list[i] = cpu_to_hc32((unsigned long)periodic in ehci_common_init()
1293 qh->qh_link = cpu_to_hc32((unsigned long)(qh+1) | QH_LINK_TYPE_QH); in _ehci_create_int_queue()
1295 qh->qh_link = cpu_to_hc32(QH_LINK_TERMINATE); in _ehci_create_int_queue()
1297 qh->qh_overlay.qt_next = cpu_to_hc32((unsigned long)td); in _ehci_create_int_queue()
1298 qh->qh_overlay.qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); in _ehci_create_int_queue()
1300 cpu_to_hc32((0 << 28) | /* No NAK reload (ehci 4.9) */ in _ehci_create_int_queue()
1306 qh->qh_endpt2 = cpu_to_hc32((1 << 30) | /* 1 Tx per mframe */ in _ehci_create_int_queue()
1311 qh->qh_endpt2 |= cpu_to_hc32((0x1c << 8)); in _ehci_create_int_queue()
1315 td->qt_next = cpu_to_hc32(QT_NEXT_TERMINATE); in _ehci_create_int_queue()
1316 td->qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); in _ehci_create_int_queue()
1319 td->qt_token = cpu_to_hc32( in _ehci_create_int_queue()
1325 cpu_to_hc32((unsigned long)buffer + i * elementsize); in _ehci_create_int_queue()
1327 cpu_to_hc32((td->qt_buffer[0] + 0x1000) & ~0xfff); in _ehci_create_int_queue()
1329 cpu_to_hc32((td->qt_buffer[0] + 0x2000) & ~0xfff); in _ehci_create_int_queue()
1331 cpu_to_hc32((td->qt_buffer[0] + 0x3000) & ~0xfff); in _ehci_create_int_queue()
1333 cpu_to_hc32((td->qt_buffer[0] + 0x4000) & ~0xfff); in _ehci_create_int_queue()
1359 list->qh_link = cpu_to_hc32((unsigned long)result->first | QH_LINK_TYPE_QH); in _ehci_create_int_queue()
1442 while (!(cur->qh_link & cpu_to_hc32(QH_LINK_TERMINATE))) { in _ehci_destroy_int_queue()