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