Home
last modified time | relevance | path

Searched refs:vas_window (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/arch/powerpc/include/asm/
Dvas.h13 struct vas_window;
129 struct vas_window *vas_rx_win_open(int vasid, enum vas_cop_type cop,
148 struct vas_window *vas_tx_win_open(int vasid, enum vas_cop_type cop,
156 int vas_win_close(struct vas_window *win);
168 int vas_paste_crb(struct vas_window *win, int offset, bool re);
173 extern u32 vas_win_id(struct vas_window *win);
179 extern u64 vas_win_paste_addr(struct vas_window *win);
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dvas.h321 struct vas_window *rxwin[VAS_COP_TYPE_MAX];
322 struct vas_window *windows[VAS_WINDOWS_PER_CHIP];
331 struct vas_window { struct
349 struct vas_window *rxwin; argument
411 extern void vas_window_init_dbgdir(struct vas_window *win);
412 extern void vas_window_free_dbgdir(struct vas_window *win);
414 static inline void vas_log_write(struct vas_window *win, char *name, in vas_log_write()
423 static inline void write_uwc_reg(struct vas_window *win, char *name, in write_uwc_reg()
434 static inline void write_hvwc_reg(struct vas_window *win, char *name, in write_hvwc_reg()
445 static inline u64 read_hvwc_reg(struct vas_window *win, in read_hvwc_reg()
Dvas-window.c31 static void compute_paste_address(struct vas_window *window, u64 *addr, int *len) in compute_paste_address()
47 u64 vas_win_paste_addr(struct vas_window *win) in vas_win_paste_addr()
57 static inline void get_hvwc_mmio_bar(struct vas_window *window, in get_hvwc_mmio_bar()
67 static inline void get_uwc_mmio_bar(struct vas_window *window, in get_uwc_mmio_bar()
82 static void *map_paste_region(struct vas_window *txwin) in map_paste_region()
147 static void unmap_paste_region(struct vas_window *window) in unmap_paste_region()
168 static void unmap_winctx_mmio_bars(struct vas_window *window) in unmap_winctx_mmio_bars()
201 int map_winctx_mmio_bars(struct vas_window *window) in map_winctx_mmio_bars()
229 void reset_window_regs(struct vas_window *window) in reset_window_regs()
285 static void init_xlate_regs(struct vas_window *window, bool user_win) in init_xlate_regs()
[all …]
Dvas-debug.c35 struct vas_window *window = s->private; in info_dbg_show()
64 static inline void print_reg(struct seq_file *s, struct vas_window *win, in print_reg()
72 struct vas_window *window = s->private; in hvwc_dbg_show()
130 void vas_window_free_dbgdir(struct vas_window *window) in vas_window_free_dbgdir()
140 void vas_window_init_dbgdir(struct vas_window *window) in vas_window_init_dbgdir()
Dvas-trace.h83 struct vas_window *win),
89 __field(struct vas_window *, win)
/Linux-v4.19/drivers/crypto/nx/
Dnx-842-powernv.c59 struct vas_window *rxwin;
69 static DEFINE_PER_CPU(struct vas_window *, cpu_txwin);
570 struct vas_window *txwin; in nx842_exec_vas()
688 static struct vas_window *nx842_alloc_txwin(struct nx842_coproc *coproc) in nx842_alloc_txwin()
690 struct vas_window *txwin = NULL; in nx842_alloc_txwin()
724 struct vas_window *txwin = NULL; in nx842_open_percpu_txwins()
760 struct vas_window *rxwin = NULL; in vas_cfg_coproc_info()
954 struct vas_window *txwin; in nx842_delete_coprocs()