Lines Matching full:window

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