Searched refs:unit0 (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/firewire/ |
D | device-attribute-test.c | 91 static const struct fw_unit unit0 = { in device_attr_simple_avc() local 99 struct device *unit0_dev = (struct device *)&unit0.device; in device_attr_simple_avc() 112 KUNIT_ASSERT_PTR_EQ(test, fw_parent_device((&unit0)), &node); in device_attr_simple_avc() 113 KUNIT_ASSERT_PTR_EQ(test, fw_unit(unit0_dev), &unit0); in device_attr_simple_avc() 159 get_modalias_ids(&unit0, ids); in device_attr_simple_avc() 172 static const struct fw_unit unit0 = { in device_attr_legacy_avc() local 180 struct device *unit0_dev = (struct device *)&unit0.device; in device_attr_legacy_avc() 193 KUNIT_ASSERT_PTR_EQ(test, fw_parent_device((&unit0)), &node); in device_attr_legacy_avc() 194 KUNIT_ASSERT_PTR_EQ(test, fw_unit(unit0_dev), &unit0); in device_attr_legacy_avc() 237 get_modalias_ids(&unit0, ids); in device_attr_legacy_avc()
|