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