Lines Matching refs:address

134             uint64_t address = cvmx_ptr_to_phys(cvmx_cmd_queue_buffer(CVMX_CMD_QUEUE_DMA(engine)));
136 cvmx_write_csr(CVMX_NPI_HIGHP_IBUFF_SADDR, address);
138 cvmx_write_csr(CVMX_NPI_LOWP_IBUFF_SADDR, address);
352 /* DMA doorbells are 32bit writes in little endian space. This means we need to xor the address with 4 */
374 * internal address list.
377 * @param address Address to build list for
378 * @param size Length of the memory pointed to by address
382 static inline int __cvmx_dma_engine_build_internal_pointers(cvmx_dma_engine_buffer_t *buffers, uint64_t address, int size)
393 buffers[segments].internal.addr = address;
394 address += chunk;
404 * Function used by cvmx_dma_engine_transfer() to build the PCI / PCIe address
407 * @param address Address to build list for
408 * @param size Length of the memory pointed to by address
410 * @return Number of PCI / PCIe address chunks created. The number of words used
413 static inline int __cvmx_dma_engine_build_external_pointers(cvmx_dma_engine_buffer_t *buffers, uint64_t address, int size)
426 buffers[1].u64 = address;
435 buffers[1].u64 = address;
436 address += MAX_SIZE;
437 buffers[2].u64 = address;
447 buffers[1].u64 = address;
448 address += MAX_SIZE;
449 buffers[2].u64 = address;
450 address += MAX_SIZE;
451 buffers[3].u64 = address;
462 buffers[1].u64 = address;
463 address += MAX_SIZE;
464 buffers[2].u64 = address;
465 address += MAX_SIZE;
466 buffers[3].u64 = address;
467 address += MAX_SIZE;
468 buffers[4].u64 = address;
479 buffers[1].u64 = address;
480 address += MAX_SIZE;
481 buffers[2].u64 = address;
482 address += MAX_SIZE;
483 buffers[3].u64 = address;
484 address += MAX_SIZE;
485 buffers[4].u64 = address;
486 address += MAX_SIZE;
500 * converting a simple address and size into the apropriate internal
501 * or PCI / PCIe address list. This function does not support gather lists,
509 * INBOUND, and OUTBOUND this is an Octeon memory address. In the
510 * case of EXTERNAL, this is the source PCI / PCIe address.
513 * INBOUND, and OUTBOUND this is a PCI / PCIe address. In the
514 * case of INTERNAL, this is the Octeon memory destination address.