Lines Matching refs:smu_ad_sensor
52 struct smu_ad_sensor { struct
57 #define to_smu_ads(c) container_of(c, struct smu_ad_sensor, sens) argument
61 struct smu_ad_sensor *ads = to_smu_ads(sr); in smu_ads_release()
90 struct smu_ad_sensor *ads = to_smu_ads(sr); in smu_cputemp_get()
113 struct smu_ad_sensor *ads = to_smu_ads(sr); in smu_cpuamp_get()
134 struct smu_ad_sensor *ads = to_smu_ads(sr); in smu_cpuvolt_get()
155 struct smu_ad_sensor *ads = to_smu_ads(sr); in smu_slotspow_get()
197 static struct smu_ad_sensor *smu_ads_create(struct device_node *node) in smu_ads_create()
199 struct smu_ad_sensor *ads; in smu_ads_create()
203 ads = kmalloc(sizeof(struct smu_ad_sensor), GFP_KERNEL); in smu_ads_create()
412 struct smu_ad_sensor *volt_sensor = NULL, *curr_sensor = NULL; in smu_sensors_init()
434 struct smu_ad_sensor *ads; in smu_sensors_init()
459 struct smu_ad_sensor *ads; in smu_sensors_exit()
467 ads = list_entry(smu_ads.next, struct smu_ad_sensor, link); in smu_sensors_exit()