Lines Matching refs:window
32 struct pnv_vas_window *window = s->private;
36 /* ensure window is not unmapped */
37 if (!window->hvwc_map)
40 seq_printf(s, "Type: %s, %s\n", cop_to_str(window->vas_win.cop),
41 window->tx_win ? "Send" : "Receive");
42 seq_printf(s, "Pid : %d\n", vas_window_pid(&window->vas_win));
59 struct pnv_vas_window *window = s->private;
63 /* ensure window is not unmapped */
64 if (!window->hvwc_map)
67 print_reg(s, window, VREG(LPID));
68 print_reg(s, window, VREG(PID));
69 print_reg(s, window, VREG(XLATE_MSR));
70 print_reg(s, window, VREG(XLATE_LPCR));
71 print_reg(s, window, VREG(XLATE_CTL));
72 print_reg(s, window, VREG(AMR));
73 print_reg(s, window, VREG(SEIDR));
74 print_reg(s, window, VREG(FAULT_TX_WIN));
75 print_reg(s, window, VREG(OSU_INTR_SRC_RA));
76 print_reg(s, window, VREG(HV_INTR_SRC_RA));
77 print_reg(s, window, VREG(PSWID));
78 print_reg(s, window, VREG(LFIFO_BAR));
79 print_reg(s, window, VREG(LDATA_STAMP_CTL));
80 print_reg(s, window, VREG(LDMA_CACHE_CTL));
81 print_reg(s, window, VREG(LRFIFO_PUSH));
82 print_reg(s, window, VREG(CURR_MSG_COUNT));
83 print_reg(s, window, VREG(LNOTIFY_AFTER_COUNT));
84 print_reg(s, window, VREG(LRX_WCRED));
85 print_reg(s, window, VREG(LRX_WCRED_ADDER));
86 print_reg(s, window, VREG(TX_WCRED));
87 print_reg(s, window, VREG(TX_WCRED_ADDER));
88 print_reg(s, window, VREG(LFIFO_SIZE));
89 print_reg(s, window, VREG(WINCTL));
90 print_reg(s, window, VREG(WIN_STATUS));
91 print_reg(s, window, VREG(WIN_CTX_CACHING_CTL));
92 print_reg(s, window, VREG(TX_RSVD_BUF_COUNT));
93 print_reg(s, window, VREG(LRFIFO_WIN_PTR));
94 print_reg(s, window, VREG(LNOTIFY_CTL));
95 print_reg(s, window, VREG(LNOTIFY_PID));
96 print_reg(s, window, VREG(LNOTIFY_LPID));
97 print_reg(s, window, VREG(LNOTIFY_TID));
98 print_reg(s, window, VREG(LNOTIFY_SCOPE));
99 print_reg(s, window, VREG(NX_UTIL_ADDER));
109 struct vas_window *window = &pnv_win->vas_win;
111 if (window->dbgdir) {
112 debugfs_remove_recursive(window->dbgdir);
113 kfree(window->dbgname);
114 window->dbgdir = NULL;
115 window->dbgname = NULL;
119 void vas_window_init_dbgdir(struct pnv_vas_window *window)
123 if (!window->vinst->dbgdir)
126 window->vas_win.dbgname = kzalloc(16, GFP_KERNEL);
127 if (!window->vas_win.dbgname)
130 snprintf(window->vas_win.dbgname, 16, "w%d", window->vas_win.winid);
132 d = debugfs_create_dir(window->vas_win.dbgname, window->vinst->dbgdir);
133 window->vas_win.dbgdir = d;
135 debugfs_create_file("info", 0444, d, window, &info_fops);
136 debugfs_create_file("hvwc", 0444, d, window, &hvwc_fops);