Home
last modified time | relevance | path

Searched refs:val_64 (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/drivers/usb/host/
H A Dxhci-mem.c218 u64 val_64 = 0; in xhci_link_segments() local
224 val_64 = (uintptr_t)next->trbs; in xhci_link_segments()
225 prev->trbs[TRBS_PER_SEGMENT-1].link.segment_ptr = val_64; in xhci_link_segments()
505 uint64_t val_64; in xhci_mem_init() local
520 val_64 = (uintptr_t)ctrl->dcbaa; in xhci_mem_init()
522 xhci_writeq(&hcor->or_dcbaap, val_64); in xhci_mem_init()
529 val_64 = xhci_readq(&hcor->or_crcr); in xhci_mem_init()
530 val_64 = (val_64 & (u64) CMD_RING_RSVD_BITS) | in xhci_mem_init()
533 xhci_writeq(&hcor->or_crcr, val_64); in xhci_mem_init()
582 val_64 = xhci_readq(&ctrl->ir_set->erst_base); in xhci_mem_init()
[all …]
H A Dxhci-ring.c275 u64 val_64 = (uintptr_t)ptr; in xhci_queue_command() local
279 fields[0] = lower_32_bits(val_64); in xhci_queue_command()
280 fields[1] = upper_32_bits(val_64); in xhci_queue_command()
577 u64 val_64 = (uintptr_t)buffer; in xhci_bulk_tx() local
598 (lower_32_bits(val_64) & (TRB_MAX_BUFF_SIZE - 1)); in xhci_bulk_tx()
645 addr = val_64; in xhci_bulk_tx()
/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c1215 u64 val_64; in cdnsp_mem_init() local
1266 val_64 = cdnsp_read_64(&pdev->op_regs->cmd_ring); in cdnsp_mem_init()
1267 val_64 = (val_64 & (u64)CMD_RING_RSVD_BITS) | in cdnsp_mem_init()
1270 cdnsp_write_64(val_64, &pdev->op_regs->cmd_ring); in cdnsp_mem_init()
1299 val_64 = cdnsp_read_64(&pdev->ir_set->erst_base); in cdnsp_mem_init()
1300 val_64 &= ERST_PTR_MASK; in cdnsp_mem_init()
1301 val_64 |= (pdev->erst.erst_dma_addr & (u64)~ERST_PTR_MASK); in cdnsp_mem_init()
1302 cdnsp_write_64(val_64, &pdev->ir_set->erst_base); in cdnsp_mem_init()
H A Dcdnsp-gadget.c1366 u64 val_64; in cdnsp_clear_cmd_ring() local
1379 val_64 = cdnsp_read_64(&pdev->op_regs->cmd_ring); in cdnsp_clear_cmd_ring()
1380 val_64 = (val_64 & (u64)CMD_RING_RSVD_BITS) | in cdnsp_clear_cmd_ring()
1383 cdnsp_write_64(val_64, &pdev->op_regs->cmd_ring); in cdnsp_clear_cmd_ring()
/openbmc/linux/drivers/usb/host/
H A Dxhci-mem.c2308 u64 val_64; in xhci_mem_init() local
2406 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_mem_init()
2407 val_64 = (val_64 & (u64) CMD_RING_RSVD_BITS) | in xhci_mem_init()
2411 "// Setting command ring address to 0x%016llx", val_64); in xhci_mem_init()
2412 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); in xhci_mem_init()
H A Dxhci.c706 u64 val_64; in xhci_set_cmd_ring_deq() local
709 val_64 = xhci_read_64(xhci, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq()
710 val_64 = (val_64 & (u64) CMD_RING_RSVD_BITS) | in xhci_set_cmd_ring_deq()
717 (long unsigned long) val_64); in xhci_set_cmd_ring_deq()
718 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); in xhci_set_cmd_ring_deq()
/openbmc/linux/tools/testing/selftests/sgx/
H A Dmain.c1236 uint64_t val_64; in TEST_F() local
1359 val_64 = encl_get_entry(&self->encl, "encl_dyn_entry"); in TEST_F()
1360 EXPECT_NE(val_64, 0); in TEST_F()
1364 init_tcs_page_op.entry = val_64; in TEST_F()