pnv_vas_window
void vas_window_free_dbgdir(struct pnv_vas_window *pnv_win)
void vas_window_init_dbgdir(struct pnv_vas_window *window)
struct pnv_vas_window *window = s->private;
static inline void print_reg(struct seq_file *s, struct pnv_vas_window *win,
struct pnv_vas_window *window = s->private;
vinst->fault_win = container_of(win, struct pnv_vas_window, vas_win);
struct pnv_vas_window *window;
struct pnv_vas_window *win),
struct pnv_vas_window *rxwin;
struct pnv_vas_window *txwin;
txwin = container_of(vwin, struct pnv_vas_window, vas_win);
static void poll_window_credits(struct pnv_vas_window *window)
static void poll_window_busy_state(struct pnv_vas_window *window)
static void poll_window_castout(struct pnv_vas_window *window)
static void unpin_close_window(struct pnv_vas_window *window)
struct pnv_vas_window *window;
window = container_of(vwin, struct pnv_vas_window, vas_win);
void vas_return_credit(struct pnv_vas_window *window, bool tx)
static void unmap_paste_region(struct pnv_vas_window *window)
struct pnv_vas_window *vas_pswid_to_window(struct vas_instance *vinst,
struct pnv_vas_window *window;
struct pnv_vas_window *win;
win = container_of(txwin, struct pnv_vas_window, vas_win);
static void unmap_winctx_mmio_bars(struct pnv_vas_window *window)
static int map_winctx_mmio_bars(struct pnv_vas_window *window)
static void reset_window_regs(struct pnv_vas_window *window)
static void init_xlate_regs(struct pnv_vas_window *window, bool user_win)
void vas_win_paste_addr(struct pnv_vas_window *window, u64 *addr, int *len)
static void init_rsvd_tx_buf_count(struct pnv_vas_window *txwin,
static void init_winctx_regs(struct pnv_vas_window *window,
static inline void get_hvwc_mmio_bar(struct pnv_vas_window *window,
static void vas_window_free(struct pnv_vas_window *window)
static struct pnv_vas_window *vas_window_alloc(struct vas_instance *vinst)
struct pnv_vas_window *window;
static inline void get_uwc_mmio_bar(struct pnv_vas_window *window,
static void put_rx_win(struct pnv_vas_window *rxwin)
static struct pnv_vas_window *get_user_rxwin(struct vas_instance *vinst,
struct pnv_vas_window *rxwin;
static struct pnv_vas_window *get_vinst_rxwin(struct vas_instance *vinst,
struct pnv_vas_window *rxwin;
struct pnv_vas_window *window)
static void clear_vinst_win(struct pnv_vas_window *window)
static void init_winctx_for_rxwin(struct pnv_vas_window *rxwin,
static void *map_paste_region(struct pnv_vas_window *txwin)
struct pnv_vas_window *rxwin;
static void init_winctx_for_txwin(struct pnv_vas_window *txwin,
struct pnv_vas_window *txwin;
struct pnv_vas_window *fault_win; /* Fault window */
struct pnv_vas_window *rxwin[VAS_COP_TYPE_MAX];
struct pnv_vas_window *windows[VAS_WINDOWS_PER_CHIP];
struct pnv_vas_window *rxwin;
extern void vas_window_init_dbgdir(struct pnv_vas_window *win);
extern void vas_window_free_dbgdir(struct pnv_vas_window *win);
extern void vas_return_credit(struct pnv_vas_window *window, bool tx);
extern struct pnv_vas_window *vas_pswid_to_window(struct vas_instance *vinst,
extern void vas_win_paste_addr(struct pnv_vas_window *window, u64 *addr,
static inline void vas_log_write(struct pnv_vas_window *win, char *name,
static inline void write_uwc_reg(struct pnv_vas_window *win, char *name,
static inline void write_hvwc_reg(struct pnv_vas_window *win, char *name,
static inline u64 read_hvwc_reg(struct pnv_vas_window *win,