Lines Matching +full:user +full:- +full:selected
1 // SPDX-License-Identifier: GPL-2.0+
16 if (!ops->get) in dm_bootcount_get()
17 return -ENOSYS; in dm_bootcount_get()
18 return ops->get(dev, bootcount); in dm_bootcount_get()
26 if (!ops->set) in dm_bootcount_set()
27 return -ENOSYS; in dm_bootcount_set()
28 return ops->set(dev, bootcount); in dm_bootcount_set()
36 const char *propname = "u-boot,bootcount-device"; in bootcount_store()
37 int ret = -ENODEV; in bootcount_store()
40 * If there's a preferred bootcount device selected by the user (by in bootcount_store()
41 * setting '/chosen/u-boot,bootcount-device' in the DTS), try to use in bootcount_store()
48 /* If there was no user-selected device, use the first available one */ in bootcount_store()
63 const char *propname = "u-boot,bootcount-device"; in bootcount_load()
64 int ret = -ENODEV; in bootcount_load()
68 * If there's a preferred bootcount device selected by the user (by in bootcount_load()
69 * setting '/chosen/u-boot,bootcount-device' in the DTS), try to use in bootcount_load()
76 /* If there was no user-selected device, use the first available one */ in bootcount_load()