Lines Matching full:matches
186 i2c_of_match_device_sysfs(const struct of_device_id *matches, in i2c_of_match_device_sysfs() argument
191 for (; matches->compatible[0]; matches++) { in i2c_of_match_device_sysfs()
198 if (sysfs_streq(client->name, matches->compatible)) in i2c_of_match_device_sysfs()
199 return matches; in i2c_of_match_device_sysfs()
201 name = strchr(matches->compatible, ','); in i2c_of_match_device_sysfs()
203 name = matches->compatible; in i2c_of_match_device_sysfs()
208 return matches; in i2c_of_match_device_sysfs()
215 *i2c_of_match_device(const struct of_device_id *matches, in i2c_of_match_device() argument
220 if (!(client && matches)) in i2c_of_match_device()
223 match = of_match_device(matches, &client->dev); in i2c_of_match_device()
227 return i2c_of_match_device_sysfs(matches, client); in i2c_of_match_device()