Lines Matching +full:platform +full:- +full:data
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
77 if (strcmp(name, "timebase-enable") != 0) in tbgpio_probe()
80 res = OF_getencprop(node, "platform-do-cpu-timebase", pfunc, in tbgpio_probe()
82 if (res == -1) in tbgpio_probe()
90 printf("\nUnknown platform function detected!\n"); in tbgpio_probe()
91 printf("Please send a PR including the following data:\n"); in tbgpio_probe()
93 printf("Func: platform-do-cpu-timebase\n"); in tbgpio_probe()
122 OF_getencprop(node, "platform-do-cpu-timebase", pfunc, sizeof(pfunc)); in tbgpio_attach()
124 sc->sc_value = pfunc[3]; in tbgpio_attach()
125 sc->sc_mask = pfunc[4]; in tbgpio_attach()
139 val = sc->sc_value; in tbgpio_freeze_timebase()
142 val &= sc->sc_mask; in tbgpio_freeze_timebase()