设为首页 加入收藏

TOP

Linux 运用debugfs调试方法(二)
2014-11-24 07:34:55 来源: 作者: 【 】 浏览:2
Tags:Linux 运用 debugfs 调试 方法
hip->dent,

(void *)CHG_VBAT_DET, _fops);

debugfs_create_file("CHG_IBAT_MAX", 0644, chip->dent,

(void *)CHG_IBAT_MAX, _fops);

debugfs_create_file("CHG_IBAT_SAFE", 0644, chip->dent,

(void *)CHG_IBAT_SAFE, _fops);

debugfs_create_file("CHG_VIN_MIN", 0644, chip->dent,

(void *)CHG_VIN_MIN, _fops);

debugfs_create_file("CHG_VTRICKLE", 0644, chip->dent,

(void *)CHG_VTRICKLE, _fops);

debugfs_create_file("CHG_ITRICKLE", 0644, chip->dent,

(void *)CHG_ITRICKLE, _fops);

debugfs_create_file("CHG_ITERM", 0644, chip->dent,

(void *)CHG_ITERM, _fops);

debugfs_create_file("CHG_TCHG_MAX", 0644, chip->dent,

(void *)CHG_TCHG_MAX, _fops);

debugfs_create_file("CHG_TWDOG", 0644, chip->dent,

(void *)CHG_TWDOG, _fops);

debugfs_create_file("CHG_TEMP_THRESH", 0644, chip->dent,

(void *)CHG_TEMP_THRESH, _fops);

debugfs_create_file("CHG_COMP_OVR", 0644, chip->dent,

(void *)CHG_COMP_OVR, _fops);

debugfs_create_file("CHG_BUCK_CTRL_TEST1", 0644, chip->dent,

(void *)CHG_BUCK_CTRL_TEST1, _fops);

debugfs_create_file("CHG_BUCK_CTRL_TEST2", 0644, chip->dent,

(void *)CHG_BUCK_CTRL_TEST2, _fops);

debugfs_create_file("CHG_BUCK_CTRL_TEST3", 0644, chip->dent,

(void *)CHG_BUCK_CTRL_TEST3, _fops);

debugfs_create_file("CHG_TEST", 0644, chip->dent,

(void *)CHG_TEST, _fops);


debugfs_create_file("FSM_STATE", 0644, chip->dent, NULL,

&fsm_fops);


debugfs_create_file("REGULATION_LOOP_CONTROL", 0644, chip->dent, NULL,

_loop_fops);


debugfs_create_file("BAT_WARM_ZONE", 0644, chip->dent,

(void *)BAT_WARM_ZONE, &warm_cool_fops);

debugfs_create_file("BAT_COOL_ZONE", 0644, chip->dent,

(void *)BAT_COOL_ZONE, &warm_cool_fops);


for (i = 0; i < ARRAY_SIZE(chg_irq_data); i++) {

if (chip->pmic_chg_irq[chg_irq_data[i].irq_id])

debugfs_create_file(chg_irq_data[i].name, 0444,

chip->dent,

(void *)chg_irq_data[i].irq_id,

&rt_fops);

}

}


首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Android Layout布局 下一篇Linux系统ioctl使用示例 ioctl实验

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·Redis 分布式锁全解 (2025-12-25 17:19:51)
·SpringBoot 整合 Red (2025-12-25 17:19:48)
·MongoDB 索引 - 菜鸟 (2025-12-25 17:19:45)
·What Is Linux (2025-12-25 16:57:17)
·Linux小白必备:超全 (2025-12-25 16:57:14)