Lines Matching refs:uid

27 			sdev->uid.domain, sdev->uid.category, sdev->uid.target,  in modalias_show()
28 sdev->uid.instance, sdev->uid.function); in modalias_show()
43 sdev->uid.domain, sdev->uid.category, in ssam_device_uevent()
44 sdev->uid.target, sdev->uid.instance, in ssam_device_uevent()
45 sdev->uid.function); in ssam_device_uevent()
79 struct ssam_device_uid uid) in ssam_device_alloc() argument
92 sdev->uid = uid; in ssam_device_alloc()
95 sdev->uid.domain, sdev->uid.category, sdev->uid.target, in ssam_device_alloc()
96 sdev->uid.instance, sdev->uid.function); in ssam_device_alloc()
187 struct ssam_device_uid uid) in ssam_device_id_compatible() argument
189 if (id->domain != uid.domain || id->category != uid.category) in ssam_device_id_compatible()
192 if ((id->match_flags & SSAM_MATCH_TARGET) && id->target != uid.target) in ssam_device_id_compatible()
195 if ((id->match_flags & SSAM_MATCH_INSTANCE) && id->instance != uid.instance) in ssam_device_id_compatible()
198 if ((id->match_flags & SSAM_MATCH_FUNCTION) && id->function != uid.function) in ssam_device_id_compatible()
234 const struct ssam_device_uid uid) in ssam_device_id_match() argument
239 if (ssam_device_id_compatible(id, uid)) in ssam_device_id_match()
273 return ssam_device_id_match(sdrv->match_table, dev->uid); in ssam_device_get_match()
315 return !!ssam_device_id_match(sdrv->match_table, sdev->uid); in ssam_bus_match()
393 static int ssam_device_uid_from_string(const char *str, struct ssam_device_uid *uid) in ssam_device_uid_from_string() argument
402 uid->domain = d; in ssam_device_uid_from_string()
403 uid->category = tc; in ssam_device_uid_from_string()
404 uid->target = tid; in ssam_device_uid_from_string()
405 uid->instance = iid; in ssam_device_uid_from_string()
406 uid->function = fn; in ssam_device_uid_from_string()
411 static int ssam_get_uid_for_node(struct fwnode_handle *node, struct ssam_device_uid *uid) in ssam_get_uid_for_node() argument
423 return ssam_device_uid_from_string(str, uid); in ssam_get_uid_for_node()
429 struct ssam_device_uid uid; in ssam_add_client_device() local
433 status = ssam_get_uid_for_node(node, &uid); in ssam_add_client_device()
437 sdev = ssam_device_alloc(ctrl, uid); in ssam_add_client_device()