Lines Matching refs:chgset
817 struct of_changeset chgset; in of_unittest_changeset() local
855 of_changeset_init(&chgset); in of_unittest_changeset()
857 unittest(!of_changeset_attach_node(&chgset, n1), "fail attach n1\n"); in of_unittest_changeset()
858 unittest(!of_changeset_add_property(&chgset, n1, ppname_n1), "fail add prop name\n"); in of_unittest_changeset()
860 unittest(!of_changeset_attach_node(&chgset, n2), "fail attach n2\n"); in of_unittest_changeset()
861 unittest(!of_changeset_add_property(&chgset, n2, ppname_n2), "fail add prop name\n"); in of_unittest_changeset()
863 unittest(!of_changeset_detach_node(&chgset, nremove), "fail remove node\n"); in of_unittest_changeset()
864 unittest(!of_changeset_add_property(&chgset, n21, ppname_n21), "fail add prop name\n"); in of_unittest_changeset()
866 unittest(!of_changeset_attach_node(&chgset, n21), "fail attach n21\n"); in of_unittest_changeset()
868 unittest(!of_changeset_add_property(&chgset, parent, ppadd), "fail add prop prop-add\n"); in of_unittest_changeset()
869 unittest(!of_changeset_update_property(&chgset, parent, ppupdate), "fail update prop\n"); in of_unittest_changeset()
870 unittest(!of_changeset_remove_property(&chgset, parent, ppremove), "fail remove prop\n"); in of_unittest_changeset()
872 unittest(!of_changeset_apply(&chgset), "apply failed\n"); in of_unittest_changeset()
881 unittest(!of_changeset_revert(&chgset), "revert failed\n"); in of_unittest_changeset()
883 of_changeset_destroy(&chgset); in of_unittest_changeset()