Searched refs:chgset (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/i2c/muxes/ |
H A D | i2c-demux-pinctrl.c | 25 struct of_changeset chgset; member 60 ret = of_changeset_apply(&priv->chan[new_chan].chgset); in i2c_demux_activate_master() 123 of_changeset_revert(&priv->chan[new_chan].chgset); in i2c_demux_activate_master() 140 ret = of_changeset_revert(&priv->chan[cur].chgset); in i2c_demux_deactivate_master() 254 of_changeset_init(&priv->chan[i].chgset); in i2c_demux_pinctrl_probe() 255 of_changeset_update_property(&priv->chan[i].chgset, adap_np, &props[i]); in i2c_demux_pinctrl_probe() 283 of_changeset_destroy(&priv->chan[j].chgset); in i2c_demux_pinctrl_probe() 301 of_changeset_destroy(&priv->chan[i].chgset); in i2c_demux_pinctrl_remove()
|
/linux/drivers/of/ |
H A D | unittest.c | 819 struct of_changeset chgset; in of_unittest_changeset() local 858 of_changeset_init(&chgset); in of_unittest_changeset() 860 unittest(!of_changeset_attach_node(&chgset, n1), "fail attach n1\n"); in of_unittest_changeset() 861 unittest(!of_changeset_add_property(&chgset, n1, ppname_n1), "fail add prop name\n"); in of_unittest_changeset() 863 unittest(!of_changeset_attach_node(&chgset, n2), "fail attach n2\n"); in of_unittest_changeset() 864 unittest(!of_changeset_add_property(&chgset, n2, ppname_n2), "fail add prop name\n"); in of_unittest_changeset() 866 unittest(!of_changeset_detach_node(&chgset, nremove), "fail remove node\n"); in of_unittest_changeset() 867 unittest(!of_changeset_add_property(&chgset, n21, ppname_n21), "fail add prop name\n"); in of_unittest_changeset() 869 unittest(!of_changeset_attach_node(&chgset, n21), "fail attach n21\n"); in of_unittest_changeset() 871 unittest(!of_changeset_add_property(&chgset, parent, ppadd), "fail add prop prop-add\n"); in of_unittest_changeset() [all …]
|