Lines Matching refs:dir
109 struct dentry *dir; in mt76_register_debugfs_fops() local
111 dir = debugfs_create_dir("mt76", phy->hw->wiphy->debugfsdir); in mt76_register_debugfs_fops()
112 if (!dir) in mt76_register_debugfs_fops()
115 debugfs_create_u8("led_pin", 0600, dir, &phy->leds.pin); in mt76_register_debugfs_fops()
116 debugfs_create_u32("regidx", 0600, dir, &dev->debugfs_reg); in mt76_register_debugfs_fops()
117 debugfs_create_file_unsafe("regval", 0600, dir, dev, fops); in mt76_register_debugfs_fops()
118 debugfs_create_file_unsafe("napi_threaded", 0600, dir, dev, in mt76_register_debugfs_fops()
120 debugfs_create_blob("eeprom", 0400, dir, &dev->eeprom); in mt76_register_debugfs_fops()
122 debugfs_create_blob("otp", 0400, dir, &dev->otp); in mt76_register_debugfs_fops()
123 debugfs_create_devm_seqfile(dev->dev, "rx-queues", dir, in mt76_register_debugfs_fops()
126 return dir; in mt76_register_debugfs_fops()