Lines Matching refs:dir
134 struct dentry *dir; in mt76x02_init_debugfs() local
136 dir = mt76_register_debugfs(&dev->mt76); in mt76x02_init_debugfs()
137 if (!dir) in mt76x02_init_debugfs()
140 debugfs_create_devm_seqfile(dev->mt76.dev, "xmit-queues", dir, in mt76x02_init_debugfs()
142 debugfs_create_u8("temperature", 0400, dir, &dev->cal.temp); in mt76x02_init_debugfs()
143 debugfs_create_bool("tpc", 0600, dir, &dev->enable_tpc); in mt76x02_init_debugfs()
145 debugfs_create_file("edcca", 0600, dir, dev, &fops_edcca); in mt76x02_init_debugfs()
146 debugfs_create_file("ampdu_stat", 0400, dir, dev, &mt76x02_ampdu_stat_fops); in mt76x02_init_debugfs()
147 debugfs_create_file("dfs_stats", 0400, dir, dev, &mt76x02_dfs_stat_fops); in mt76x02_init_debugfs()
148 debugfs_create_devm_seqfile(dev->mt76.dev, "txpower", dir, in mt76x02_init_debugfs()
151 debugfs_create_devm_seqfile(dev->mt76.dev, "rate_txpower", dir, in mt76x02_init_debugfs()
153 debugfs_create_devm_seqfile(dev->mt76.dev, "agc", dir, read_agc); in mt76x02_init_debugfs()
155 debugfs_create_u32("tx_hang_reset", 0400, dir, &dev->tx_hang_reset); in mt76x02_init_debugfs()