Home
last modified time | relevance | path

Searched refs:dev_bus_name (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/base/
Dcore.c390 len = max(strlen(dev_bus_name(sup)) + strlen(dev_name(sup)), in devlink_add_symlinks()
391 strlen(dev_bus_name(con)) + strlen(dev_name(con))); in devlink_add_symlinks()
406 snprintf(buf, len, "consumer:%s:%s", dev_bus_name(con), dev_name(con)); in devlink_add_symlinks()
411 snprintf(buf, len, "supplier:%s:%s", dev_bus_name(sup), dev_name(sup)); in devlink_add_symlinks()
419 snprintf(buf, len, "consumer:%s:%s", dev_bus_name(con), dev_name(con)); in devlink_add_symlinks()
442 len = max(strlen(dev_bus_name(sup)) + strlen(dev_name(sup)), in devlink_remove_symlinks()
443 strlen(dev_bus_name(con)) + strlen(dev_name(con))); in devlink_remove_symlinks()
453 snprintf(buf, len, "supplier:%s:%s", dev_bus_name(sup), dev_name(sup)); in devlink_remove_symlinks()
456 snprintf(buf, len, "consumer:%s:%s", dev_bus_name(con), dev_name(con)); in devlink_remove_symlinks()
668 dev_bus_name(supplier), dev_name(supplier), in device_link_add()
[all …]
/kernel/linux/linux-5.10/include/linux/
Ddevice.h625 static inline const char *dev_bus_name(const struct device *dev) in dev_bus_name() function