Lines Matching defs:sensors
87 struct scmi_sensor_info *sensors;
134 /* Set the number of sensors to be skipped/already read */
145 dev_err(handle->dev, "No. of sensors can't exceed %d",
156 s = &si->sensors[desc_index + cnt];
237 struct scmi_sensor_info *s = si->sensors + sensor_id;
270 return si->sensors + sensor_id;
350 sinfo->sensors = devm_kcalloc(handle->dev, sinfo->num_sensors,
351 sizeof(*sinfo->sensors), GFP_KERNEL);
352 if (!sinfo->sensors)
370 DEFINE_SCMI_PROTOCOL_REGISTER_UNREGISTER(SCMI_PROTOCOL_SENSOR, sensors)