Home
last modified time | relevance | path

Searched refs:to_option (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dapplesmc.c95 #define to_option(attr) (to_sensor_dev_attr(attr)->index >> 16) macro
846 scnprintf(newkey, sizeof(newkey), fan_speed_fmt[to_option(attr)], in applesmc_show_fan_speed()
869 scnprintf(newkey, sizeof(newkey), fan_speed_fmt[to_option(attr)], in applesmc_store_fan_speed()