Lines Matching refs:eic
36 * @eic: cached electronic identification code text
45 char eic[18];
164 u8 eic[8];
186 eic[2] = rx[0];
187 eic[3] = rx[2];
188 eic[4] = rx[4];
189 eic[5] = rx[6];
197 eic[0] = rx[3];
198 eic[1] = rx[4];
199 eic[6] = rx[0];
200 eic[7] = rx[1];
202 ret = snprintf(sht21->eic, sizeof(sht21->eic),
204 eic[0], eic[1], eic[2], eic[3],
205 eic[4], eic[5], eic[6], eic[7]);
208 sht21->eic[0] = 0;
219 * Will be called on read access to eic sysfs attribute.
229 ret = sizeof(sht21->eic) - 1;
231 if (!sht21->eic[0])
234 memcpy(buf, sht21->eic, ret);
242 static DEVICE_ATTR_RO(eic);