Files
rtems/bsps/include/grlib/grpci.h
Sebastian Huber 3172092576 grlib: Move header files
Update #3678.
2019-01-22 12:46:28 +01:00

32 lines
600 B
C

#ifndef __GRPCI_H__
#define __GRPCI_H__
#ifdef __cplusplus
extern "C" {
#endif
/* Register the GRPCI driver to the Driver Manager */
extern void grpci_register_drv(void);
/* Transfer data using GRPCI DMA unit from AMBA to PCI space. Blocks until
* operation completes.
*/
int grpci_dma_to_pci(
unsigned int ahb_addr,
unsigned int pci_addr,
unsigned int len);
/* Transfer data using GRPCI DMA unit from PCI to AMBA space. Blocks until
* operation completes.
*/
int grpci_dma_from_pci(
unsigned int ahb_addr,
unsigned int pci_addr,
unsigned int len);
#ifdef __cplusplus
}
#endif
#endif