Searched refs:slave_dir (Results 1 – 4 of 4) sorted by relevance
197 struct kobject *slave_dir; member
1254 if (WARN_ON(!disk->slave_dir || !bdev->bd_part->holder_dir)) in bd_link_disk_holder()1273 ret = add_symlink(disk->slave_dir, &part_to_dev(bdev->bd_part)->kobj); in bd_link_disk_holder()1290 del_symlink(disk->slave_dir, &part_to_dev(bdev->bd_part)->kobj); in bd_link_disk_holder()1318 del_symlink(disk->slave_dir, &part_to_dev(bdev->bd_part)->kobj); in bd_unlink_disk_holder()
332 u32 slave_dir; member1253 if (i2c_dev->slave_dir) { in stm32f7_i2c_slave_start()1307 i2c_dev->slave_dir = dir; in stm32f7_i2c_slave_addr()1446 if (i2c_dev->slave_dir) { in stm32f7_i2c_slave_isr_event()
741 disk->slave_dir = kobject_create_and_add("slaves", &ddev->kobj); in register_disk()954 kobject_put(disk->slave_dir); in del_gendisk()