Lines Matching refs:match
59 asd->match.i2c.adapter_id == client->adapter->nr && in match_i2c()
60 asd->match.i2c.address == client->addr; in match_i2c()
69 return !strcmp(asd->match.device_name, dev_name(sd->dev)); in match_devname()
74 return sd->fwnode == asd->match.fwnode; in match_fwnode()
79 if (!asd->match.custom.match) in match_custom()
83 return asd->match.custom.match(sd->dev, asd); in match_custom()
94 bool (*match)(struct v4l2_subdev *sd, struct v4l2_async_subdev *asd); in v4l2_async_find_match() local
101 match = match_custom; in v4l2_async_find_match()
104 match = match_devname; in v4l2_async_find_match()
107 match = match_i2c; in v4l2_async_find_match()
110 match = match_fwnode; in v4l2_async_find_match()
119 if (match(sd, asd)) in v4l2_async_find_match()
135 return strcmp(asd_x->match.device_name, in asd_equal()
136 asd_y->match.device_name) == 0; in asd_equal()
138 return asd_x->match.i2c.adapter_id == in asd_equal()
139 asd_y->match.i2c.adapter_id && in asd_equal()
140 asd_x->match.i2c.address == in asd_equal()
141 asd_y->match.i2c.address; in asd_equal()
143 return asd_x->match.fwnode == asd_y->match.fwnode; in asd_equal()
543 fwnode_handle_put(asd->match.fwnode); in __v4l2_async_notifier_cleanup()
596 asd->match.fwnode = fwnode_handle_get(fwnode); in v4l2_async_notifier_add_fwnode_subdev()
622 asd->match.fwnode = remote; in v4l2_async_notifier_add_fwnode_remote_subdev()
645 asd->match.i2c.adapter_id = adapter_id; in v4l2_async_notifier_add_i2c_subdev()
646 asd->match.i2c.address = address; in v4l2_async_notifier_add_i2c_subdev()
671 asd->match.device_name = device_name; in v4l2_async_notifier_add_devname_subdev()