Searched refs:link_dev (Results 1 – 2 of 2) sorted by relevance
/drivers/base/ |
D | core.c | 387 #define to_devlink(dev) container_of((dev), struct device_link, link_dev) 521 ret = sysfs_create_link(&link->link_dev.kobj, &sup->kobj, "supplier"); in devlink_add_symlinks() 525 ret = sysfs_create_link(&link->link_dev.kobj, &con->kobj, "consumer"); in devlink_add_symlinks() 530 ret = sysfs_create_link(&sup->kobj, &link->link_dev.kobj, buf); in devlink_add_symlinks() 535 ret = sysfs_create_link(&con->kobj, &link->link_dev.kobj, buf); in devlink_add_symlinks() 545 sysfs_remove_link(&link->link_dev.kobj, "consumer"); in devlink_add_symlinks() 547 sysfs_remove_link(&link->link_dev.kobj, "supplier"); in devlink_add_symlinks() 562 sysfs_remove_link(&link->link_dev.kobj, "consumer"); in devlink_remove_symlinks() 563 sysfs_remove_link(&link->link_dev.kobj, "supplier"); in devlink_remove_symlinks() 804 link->link_dev.class = &devlink_class; in device_link_add() [all …]
|
/drivers/ata/ |
D | libata-eh.c | 3235 struct ata_device *dev, *link_dev = NULL, *lpm_dev = NULL; in ata_eh_set_lpm() local 3258 if (!link_dev) in ata_eh_set_lpm() 3259 link_dev = dev; in ata_eh_set_lpm() 3298 dev = lpm_dev ? lpm_dev : link_dev; in ata_eh_set_lpm()
|