Lines Matching refs:id_format
32 id->format == device->id_format) && in ipack_match_one_device()
89 "MODALIAS=ipack:f%02Xv%08Xd%08X", idev->id_format, in ipack_uevent()
112 switch (idev->id_format) { in id_show()
139 switch (idev->id_format) { in id_vendor_show()
153 switch (idev->id_format) { in id_device_show()
168 return sprintf(buf, "ipac:f%02Xv%08Xd%08X", idev->id_format, in modalias_show()
172 ipack_device_attr(id_format, "0x%hhx\n");
176 static DEVICE_ATTR_RO(id_format);
367 dev->id_format = IPACK_ID_VERSION_1; in ipack_device_read_id()
379 dev->id_format = IPACK_ID_VERSION_2; in ipack_device_read_id()
386 dev->id_format = IPACK_ID_VERSION_INVALID; in ipack_device_read_id()
403 if (dev->id_format == IPACK_ID_VERSION_1) in ipack_device_read_id()
410 switch (dev->id_format) { in ipack_device_read_id()