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