Lines Matching refs:uid
28 sdev->uid.domain, sdev->uid.category, sdev->uid.target, in modalias_show()
29 sdev->uid.instance, sdev->uid.function); in modalias_show()
46 sdev->uid.domain, sdev->uid.category, in ssam_device_uevent()
47 sdev->uid.target, sdev->uid.instance, in ssam_device_uevent()
48 sdev->uid.function); in ssam_device_uevent()
82 struct ssam_device_uid uid) in ssam_device_alloc() argument
95 sdev->uid = uid; in ssam_device_alloc()
98 sdev->uid.domain, sdev->uid.category, sdev->uid.target, in ssam_device_alloc()
99 sdev->uid.instance, sdev->uid.function); in ssam_device_alloc()
190 struct ssam_device_uid uid) in ssam_device_id_compatible() argument
192 if (id->domain != uid.domain || id->category != uid.category) in ssam_device_id_compatible()
195 if ((id->match_flags & SSAM_MATCH_TARGET) && id->target != uid.target) in ssam_device_id_compatible()
198 if ((id->match_flags & SSAM_MATCH_INSTANCE) && id->instance != uid.instance) in ssam_device_id_compatible()
201 if ((id->match_flags & SSAM_MATCH_FUNCTION) && id->function != uid.function) in ssam_device_id_compatible()
237 const struct ssam_device_uid uid) in ssam_device_id_match() argument
242 if (ssam_device_id_compatible(id, uid)) in ssam_device_id_match()
276 return ssam_device_id_match(sdrv->match_table, dev->uid); in ssam_device_get_match()
318 return !!ssam_device_id_match(sdrv->match_table, sdev->uid); in ssam_bus_match()
395 static int ssam_device_uid_from_string(const char *str, struct ssam_device_uid *uid) in ssam_device_uid_from_string() argument
404 uid->domain = d; in ssam_device_uid_from_string()
405 uid->category = tc; in ssam_device_uid_from_string()
406 uid->target = tid; in ssam_device_uid_from_string()
407 uid->instance = iid; in ssam_device_uid_from_string()
408 uid->function = fn; in ssam_device_uid_from_string()
413 static int ssam_get_uid_for_node(struct fwnode_handle *node, struct ssam_device_uid *uid) in ssam_get_uid_for_node() argument
425 return ssam_device_uid_from_string(str, uid); in ssam_get_uid_for_node()
431 struct ssam_device_uid uid; in ssam_add_client_device() local
435 status = ssam_get_uid_for_node(node, &uid); in ssam_add_client_device()
439 sdev = ssam_device_alloc(ctrl, uid); in ssam_add_client_device()