Searched refs:is_fw_unit (Results 1 – 2 of 2) sorted by relevance
107 KUNIT_ASSERT_FALSE(test, is_fw_unit(node_dev)); in device_attr_simple_avc()111 KUNIT_ASSERT_TRUE(test, is_fw_unit(unit0_dev)); in device_attr_simple_avc()188 KUNIT_ASSERT_FALSE(test, is_fw_unit(node_dev)); in device_attr_legacy_avc()192 KUNIT_ASSERT_TRUE(test, is_fw_unit(unit0_dev)); in device_attr_legacy_avc()
207 static bool is_fw_unit(const struct device *dev);212 return is_fw_unit(dev) && unit_match(dev, drv) != NULL; in fw_unit_match()292 if (is_fw_unit(dev)) { in show_immediate()341 if (is_fw_unit(dev)) { in show_text_leaf()755 static bool is_fw_unit(const struct device *dev) in is_fw_unit() function913 if (is_fw_unit(dev) && driver != NULL && driver->update != NULL) { in update_unit()