Lines Matching defs:sensor
62 * @sensor_data: sensor private data used while reading temperature and trend
80 /* sensor interface */
375 /*** sensor API ***/
379 struct device_node *sensor, void *data,
417 * thermal_zone_of_get_sensor_id - get sensor ID from a DT thermal zone
419 * @sensor_np: a sensor node of a valid sensor device.
420 * @id: the sensor ID returned if success.
422 * This function will get sensor ID from a given thermal zone node and
423 * the sensor node must match the temperature provider @sensor_np.
437 "#thermal-sensor-cells",
449 pr_warn("%pOFn: too many cells in sensor specifier %d\n",
461 * thermal_zone_of_sensor_register - registers a sensor to a DT thermal zone
462 * @dev: a valid struct device pointer of a sensor device. Must contain
463 * a valid .of_node, for the sensor node.
464 * @sensor_id: a sensor identifier, in case the sensor IP has more
471 * tree and look for the zone that refer to the sensor device pointed by
473 * sensor node, the sensor will be added to the DT thermal zone device.
482 * 01 - This function must enqueue the new sensor instead of using
485 * 02 - There must be a way to match the sensor with all thermal zones
513 /* For now, thermal framework supports only 1 sensor per zone */
537 * thermal_zone_of_sensor_unregister - unregisters a sensor from a DT thermal zone
538 * @dev: a valid struct device pointer of a sensor device. Must contain
539 * a valid .of_node, for the sensor node.
540 * @tzd: a pointer to struct thermal_zone_device where the sensor is registered.
542 * This function removes the sensor callbacks and private data from the
548 * function must search the sensor list based on @dev parameter.
599 * @dev: a valid struct device pointer of a sensor device. Must contain
600 * a valid .of_node, for the sensor node.
601 * @sensor_id: a sensor identifier, in case the sensor IP has more
643 * @tzd: a pointer to struct thermal_zone_device where the sensor is registered.
645 * This function removes the sensor callbacks and private data from the
849 * TODO: Missing properties to parse: thermal-sensor-names
888 * one sensor per thermal zone. Thus, we are considering
1039 * Cooling devices and sensor devices nodes are supposed to be parsed