smcreg 132 drivers/hwmon/applesmc.c } smcreg = { smcreg 133 drivers/hwmon/applesmc.c .mutex = __MUTEX_INITIALIZER(smcreg.mutex), smcreg 308 drivers/hwmon/applesmc.c mutex_lock(&smcreg.mutex); smcreg 310 drivers/hwmon/applesmc.c mutex_unlock(&smcreg.mutex); smcreg 322 drivers/hwmon/applesmc.c mutex_lock(&smcreg.mutex); smcreg 324 drivers/hwmon/applesmc.c mutex_unlock(&smcreg.mutex); smcreg 330 drivers/hwmon/applesmc.c struct applesmc_entry *cache = &smcreg.cache[index]; smcreg 338 drivers/hwmon/applesmc.c mutex_lock(&smcreg.mutex); smcreg 357 drivers/hwmon/applesmc.c mutex_unlock(&smcreg.mutex); smcreg 365 drivers/hwmon/applesmc.c int begin = 0, end = smcreg.key_count; smcreg 387 drivers/hwmon/applesmc.c int begin = 0, end = smcreg.key_count; smcreg 394 drivers/hwmon/applesmc.c *hi = smcreg.key_count; smcreg 482 drivers/hwmon/applesmc.c if (!smcreg.has_accelerometer) smcreg 527 drivers/hwmon/applesmc.c struct applesmc_registers *s = &smcreg; smcreg 599 drivers/hwmon/applesmc.c kfree(smcreg.index); smcreg 600 drivers/hwmon/applesmc.c smcreg.index = NULL; smcreg 601 drivers/hwmon/applesmc.c kfree(smcreg.cache); smcreg 602 drivers/hwmon/applesmc.c smcreg.cache = NULL; smcreg 603 drivers/hwmon/applesmc.c smcreg.init_complete = false; smcreg 648 drivers/hwmon/applesmc.c if (smcreg.has_key_backlight) smcreg 773 drivers/hwmon/applesmc.c const char *key = smcreg.index[to_index(devattr)]; smcreg 782 drivers/hwmon/applesmc.c const char *key = smcreg.index[to_index(devattr)]; smcreg 1022 drivers/hwmon/applesmc.c || newkey >= smcreg.key_count) smcreg 1140 drivers/hwmon/applesmc.c if (!smcreg.has_accelerometer) smcreg 1190 drivers/hwmon/applesmc.c if (!smcreg.has_accelerometer) smcreg 1199 drivers/hwmon/applesmc.c if (!smcreg.num_light_sensors) smcreg 1206 drivers/hwmon/applesmc.c if (!smcreg.num_light_sensors) smcreg 1213 drivers/hwmon/applesmc.c if (!smcreg.has_key_backlight) smcreg 1223 drivers/hwmon/applesmc.c if (!smcreg.has_key_backlight) smcreg 1302 drivers/hwmon/applesmc.c ret = applesmc_create_nodes(fan_group, smcreg.fan_count); smcreg 1306 drivers/hwmon/applesmc.c ret = applesmc_create_nodes(temp_group, smcreg.index_count);