Lines Matching defs:matches
117 i2c_of_match_device_sysfs(const struct of_device_id *matches,
122 for (; matches->compatible[0]; matches++) {
129 if (sysfs_streq(client->name, matches->compatible))
130 return matches;
132 name = strchr(matches->compatible, ',');
134 name = matches->compatible;
139 return matches;
146 *i2c_of_match_device(const struct of_device_id *matches,
151 if (!(client && matches))
154 match = of_match_device(matches, &client->dev);
158 return i2c_of_match_device_sysfs(matches, client);