|
@@ -10,6 +10,8 @@
|
|
|
#ifndef _ASM_POWERPC_VAS_H
|
|
|
#define _ASM_POWERPC_VAS_H
|
|
|
|
|
|
+struct vas_window;
|
|
|
+
|
|
|
/*
|
|
|
* Min and max FIFO sizes are based on Version 1.05 Section 3.1.4.25
|
|
|
* (Local FIFO Size Register) of the VAS workbook.
|
|
@@ -165,4 +167,9 @@ int vas_copy_crb(void *crb, int offset);
|
|
|
*/
|
|
|
int vas_paste_crb(struct vas_window *win, int offset, bool re);
|
|
|
|
|
|
+/*
|
|
|
+ * Return the power bus paste address associated with @win so the caller
|
|
|
+ * can map that address into their address space.
|
|
|
+ */
|
|
|
+extern u64 vas_win_paste_addr(struct vas_window *win);
|
|
|
#endif /* __ASM_POWERPC_VAS_H */
|