Lines Matching refs:sdesc
597 const struct scmi_sensor_descriptor *sdesc = st->priv;
600 s->id = le32_to_cpu(sdesc->id);
602 attrl = le32_to_cpu(sdesc->attributes_low);
618 attrh = le32_to_cpu(sdesc->attributes_high);
655 strscpy(s->name, sdesc->name, SCMI_SHORT_NAME_MAX_SIZE);
668 s->sensor_power = le32_to_cpu(sdesc->power);
669 dsize += sizeof(sdesc->power);
673 unsigned int sres = le32_to_cpu(sdesc->resolution);
677 dsize += sizeof(sdesc->resolution);
680 &sdesc->scalar_attrs);
681 dsize += sizeof(sdesc->scalar_attrs);
688 st->priv = ((u8 *)sdesc + dsize);