Searched refs:pstates (Results 1 – 1 of 1) sorted by relevance
198 uint32_t *pstates, mask; in gpioregulator_parse_fdt() local204 pstates = NULL; in gpioregulator_parse_fdt()213 len = OF_getencprop_alloc_multi(node, "states", sizeof(*pstates), in gpioregulator_parse_fdt()214 (void **)&pstates); in gpioregulator_parse_fdt()224 sc->init_def.states[n].val = pstates[n * 2 + 0]; in gpioregulator_parse_fdt()225 sc->init_def.states[n].mask = pstates[n * 2 + 1]; in gpioregulator_parse_fdt()266 OF_prop_free(pstates); in gpioregulator_parse_fdt()