• Home
  • Raw
  • Download

Lines Matching refs:dir

36 void cxl_debugfs_add_adapter_regs_psl9(struct cxl *adapter, struct dentry *dir)  in cxl_debugfs_add_adapter_regs_psl9()  argument
38 debugfs_create_io_x64("fir1", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL9_FIR1)); in cxl_debugfs_add_adapter_regs_psl9()
39 debugfs_create_io_x64("fir_mask", 0400, dir, in cxl_debugfs_add_adapter_regs_psl9()
41 debugfs_create_io_x64("fir_cntl", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL9_FIR_CNTL)); in cxl_debugfs_add_adapter_regs_psl9()
42 debugfs_create_io_x64("trace", S_IRUSR | S_IWUSR, dir, _cxl_p1_addr(adapter, CXL_PSL9_TRACECFG)); in cxl_debugfs_add_adapter_regs_psl9()
43 debugfs_create_io_x64("debug", 0600, dir, in cxl_debugfs_add_adapter_regs_psl9()
45 debugfs_create_io_x64("xsl-debug", 0600, dir, in cxl_debugfs_add_adapter_regs_psl9()
49 void cxl_debugfs_add_adapter_regs_psl8(struct cxl *adapter, struct dentry *dir) in cxl_debugfs_add_adapter_regs_psl8() argument
51 debugfs_create_io_x64("fir1", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_FIR1)); in cxl_debugfs_add_adapter_regs_psl8()
52 debugfs_create_io_x64("fir2", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_FIR2)); in cxl_debugfs_add_adapter_regs_psl8()
53 debugfs_create_io_x64("fir_cntl", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_FIR_CNTL)); in cxl_debugfs_add_adapter_regs_psl8()
54 debugfs_create_io_x64("trace", S_IRUSR | S_IWUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_TRACE)); in cxl_debugfs_add_adapter_regs_psl8()
59 struct dentry *dir; in cxl_debugfs_adapter_add() local
66 dir = debugfs_create_dir(buf, cxl_debugfs); in cxl_debugfs_adapter_add()
67 adapter->debugfs = dir; in cxl_debugfs_adapter_add()
69 debugfs_create_io_x64("err_ivte", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_ErrIVTE)); in cxl_debugfs_adapter_add()
72 adapter->native->sl_ops->debugfs_add_adapter_regs(adapter, dir); in cxl_debugfs_adapter_add()
80 void cxl_debugfs_add_afu_regs_psl9(struct cxl_afu *afu, struct dentry *dir) in cxl_debugfs_add_afu_regs_psl9() argument
82 debugfs_create_io_x64("serr", S_IRUSR, dir, _cxl_p1n_addr(afu, CXL_PSL_SERR_An)); in cxl_debugfs_add_afu_regs_psl9()
85 void cxl_debugfs_add_afu_regs_psl8(struct cxl_afu *afu, struct dentry *dir) in cxl_debugfs_add_afu_regs_psl8() argument
87 debugfs_create_io_x64("sstp0", S_IRUSR, dir, _cxl_p2n_addr(afu, CXL_SSTP0_An)); in cxl_debugfs_add_afu_regs_psl8()
88 debugfs_create_io_x64("sstp1", S_IRUSR, dir, _cxl_p2n_addr(afu, CXL_SSTP1_An)); in cxl_debugfs_add_afu_regs_psl8()
90 debugfs_create_io_x64("fir", S_IRUSR, dir, _cxl_p1n_addr(afu, CXL_PSL_FIR_SLICE_An)); in cxl_debugfs_add_afu_regs_psl8()
91 debugfs_create_io_x64("serr", S_IRUSR, dir, _cxl_p1n_addr(afu, CXL_PSL_SERR_An)); in cxl_debugfs_add_afu_regs_psl8()
92 debugfs_create_io_x64("afu_debug", S_IRUSR, dir, _cxl_p1n_addr(afu, CXL_AFU_DEBUG_An)); in cxl_debugfs_add_afu_regs_psl8()
93 debugfs_create_io_x64("trace", S_IRUSR | S_IWUSR, dir, _cxl_p1n_addr(afu, CXL_PSL_SLICE_TRACE)); in cxl_debugfs_add_afu_regs_psl8()
98 struct dentry *dir; in cxl_debugfs_afu_add() local
105 dir = debugfs_create_dir(buf, afu->adapter->debugfs); in cxl_debugfs_afu_add()
106 afu->debugfs = dir; in cxl_debugfs_afu_add()
108 debugfs_create_io_x64("sr", S_IRUSR, dir, _cxl_p1n_addr(afu, CXL_PSL_SR_An)); in cxl_debugfs_afu_add()
109 debugfs_create_io_x64("dsisr", S_IRUSR, dir, _cxl_p2n_addr(afu, CXL_PSL_DSISR_An)); in cxl_debugfs_afu_add()
110 debugfs_create_io_x64("dar", S_IRUSR, dir, _cxl_p2n_addr(afu, CXL_PSL_DAR_An)); in cxl_debugfs_afu_add()
112 debugfs_create_io_x64("err_status", S_IRUSR, dir, _cxl_p2n_addr(afu, CXL_PSL_ErrStat_An)); in cxl_debugfs_afu_add()
115 afu->adapter->native->sl_ops->debugfs_add_afu_regs(afu, dir); in cxl_debugfs_afu_add()