Lines Matching refs:si
76 struct sensors_info *si) in scmi_sensor_attributes_get() argument
91 si->num_sensors = le16_to_cpu(attr->num_sensors); in scmi_sensor_attributes_get()
92 si->max_requests = attr->max_requests; in scmi_sensor_attributes_get()
93 si->reg_addr = le32_to_cpu(attr->reg_addr_low) | in scmi_sensor_attributes_get()
95 si->reg_size = le32_to_cpu(attr->reg_size); in scmi_sensor_attributes_get()
103 struct sensors_info *si) in scmi_sensor_description_get() argument
129 if (desc_index + num_returned > si->num_sensors) { in scmi_sensor_description_get()
131 si->num_sensors); in scmi_sensor_description_get()
140 s = &si->sensors[desc_index + cnt]; in scmi_sensor_description_get()
237 struct sensors_info *si = handle->sensor_priv; in scmi_sensor_info_get() local
239 return si->sensors + sensor_id; in scmi_sensor_info_get()
244 struct sensors_info *si = handle->sensor_priv; in scmi_sensor_count_get() local
246 return si->num_sensors; in scmi_sensor_count_get()