Lines Matching refs:id

134 	int id;  in ti_thermal_bind()  local
143 id = data->sensor_id; in ti_thermal_bind()
246 int id, tr, ret = 0; in __ti_thermal_get_trend() local
249 id = data->sensor_id; in __ti_thermal_get_trend()
251 ret = ti_bandgap_get_trend(bgp, id, &tr); in __ti_thermal_get_trend()
307 *ti_thermal_build_data(struct ti_bandgap *bgp, int id) in ti_thermal_build_data() argument
316 data->sensor_id = id; in ti_thermal_build_data()
326 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, in ti_thermal_expose_sensor() argument
331 data = ti_bandgap_get_sensor_data(bgp, id); in ti_thermal_expose_sensor()
334 data = ti_thermal_build_data(bgp, id); in ti_thermal_expose_sensor()
340 data->ti_thermal = thermal_zone_of_sensor_register(bgp->dev, id, in ti_thermal_expose_sensor()
355 ti_bandgap_set_sensor_data(bgp, id, data); in ti_thermal_expose_sensor()
362 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id) in ti_thermal_remove_sensor() argument
366 data = ti_bandgap_get_sensor_data(bgp, id); in ti_thermal_remove_sensor()
379 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id) in ti_thermal_report_sensor_temperature() argument
383 data = ti_bandgap_get_sensor_data(bgp, id); in ti_thermal_report_sensor_temperature()
390 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_register_cpu_cooling() argument
403 data = ti_bandgap_get_sensor_data(bgp, id); in ti_thermal_register_cpu_cooling()
405 data = ti_thermal_build_data(bgp, id); in ti_thermal_register_cpu_cooling()
422 ti_bandgap_set_sensor_data(bgp, id, data); in ti_thermal_register_cpu_cooling()
427 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_unregister_cpu_cooling() argument
431 data = ti_bandgap_get_sensor_data(bgp, id); in ti_thermal_unregister_cpu_cooling()