Lines Matching refs:data
91 u8 *data = buf;
101 (data - buf + sizeof(struct dmi_header)) <= dmi_len) {
102 const struct dmi_header *dm = (const struct dmi_header *)data;
109 data += dm->length;
110 while ((data - buf < dmi_len - 1) && (data[0] || data[1]))
111 data++;
112 if (data - buf < dmi_len - 1)
115 data += 2;
131 if (dmi_len > data - buf)
132 dmi_len = data - buf;
338 void *data;
340 data = dmi_alloc(dm->length);
341 if (data == NULL)
344 memcpy(data, dm, dm->length);
352 dev->device_data = data;
831 * dmi_matches - check if dmi_system_id structure matches system DMI data
878 * dmi_check_system - check system DMI data
881 * their slot's (field index's) data (i.e., each
883 * DMI slot's string data) to be considered a
909 * dmi_first_match - find dmi_system_id structure matching system DMI data
912 * their slot's (field index's) data (i.e., each
914 * DMI slot's string data) to be considered a
935 * dmi_get_system_info - return DMI data value
936 * @field: data index (see enum dmi_field)
938 * Returns one DMI data value, can be used to perform
939 * complex DMI data checks.
1009 * @field: data index (see enum dmi_field)
1102 * @private_data: Private data to be passed to the callback function