Searched refs:has_device (Results 1 – 4 of 4) sorted by relevance
165 if (unlikely(ams_info.has_device)) in ams_i2c_probe()223 ams_info.has_device = 1; in ams_i2c_probe()235 if (ams_info.has_device) { in ams_i2c_remove()246 ams_info.has_device = 0; in ams_i2c_remove()
140 ams_info.has_device = 0; in ams_pmu_exit()189 ams_info.has_device = 1; in ams_pmu_init()
28 char has_device; member
859 int has_device = HAS_DEVICE(path);870 + if (has_device) {877 if (ISSLASH(*p) && ((!has_device && len > 0) || (has_device && len > 2))) {