Searched refs:tcont (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/base/ |
H A D | transport_class.c | 125 struct transport_container *tcont = attribute_container_to_transport_container(cont); in transport_setup_classdev() local 128 tclass->setup(tcont, dev, classdev); in transport_setup_classdev() 160 struct transport_container *tcont = in transport_add_class_device() local 166 if (tcont->statistics) { in transport_add_class_device() 167 error = sysfs_create_group(&classdev->kobj, tcont->statistics); in transport_add_class_device() 178 tclass->remove(tcont, dev, classdev); in transport_add_class_device() 210 tclass->configure(tcont, dev, cdev); in transport_configure() 237 struct transport_container *tcont = in transport_remove_classdev() local 242 tclass->remove(tcont, dev, classdev); in transport_remove_classdev() 245 if (tcont->statistics) in transport_remove_classdev() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | raid_class.c | 40 #define tc_to_raid_internal(tcont) ({ \ argument 42 container_of(tcont, struct raid_template, raid_attrs); \
|