Lines Matching defs:matches
183 i2c_of_match_device_sysfs(const struct of_device_id *matches,
188 for (; matches->compatible[0]; matches++) {
195 if (sysfs_streq(client->name, matches->compatible))
196 return matches;
198 name = strchr(matches->compatible, ',');
200 name = matches->compatible;
205 return matches;
212 *i2c_of_match_device(const struct of_device_id *matches,
217 if (!(client && matches))
220 match = of_match_device(matches, &client->dev);
224 return i2c_of_match_device_sysfs(matches, client);