Lines Matching refs:cuint
173 const fdt32_t *cuint = NULL; in ckeck_gpio_bank() local
181 cuint = fdt_getprop(fdt, pinctrl_subnode, "reg", NULL); in ckeck_gpio_bank()
182 if (fdt32_to_cpu(*cuint) != stm32_get_gpio_bank_offset(bank)) in ckeck_gpio_bank()
204 const fdt32_t *cuint, *slewrate; in get_pinctrl_from_fdt() local
212 cuint = fdt_getprop(fdt, node, "pinmux", &len); in get_pinctrl_from_fdt()
213 if (!cuint) in get_pinctrl_from_fdt()
237 pincfg = fdt32_to_cpu(*cuint); in get_pinctrl_from_fdt()
238 cuint++; in get_pinctrl_from_fdt()
308 const fdt32_t *cuint = NULL; in stm32_pinctrl_fdt_get_pinctrl() local
313 cuint = fdt_getprop(fdt, device_node, "pinctrl-0", &lenp); in stm32_pinctrl_fdt_get_pinctrl()
314 if (!cuint) in stm32_pinctrl_fdt_get_pinctrl()
321 node = fdt_node_offset_by_phandle(fdt, fdt32_to_cpu(*cuint)); in stm32_pinctrl_fdt_get_pinctrl()
342 cuint++; in stm32_pinctrl_fdt_get_pinctrl()
351 const fdt32_t *cuint = NULL; in stm32_get_gpio_count() local
357 cuint = fdt_getprop(fdt, node, "reg", NULL); in stm32_get_gpio_count()
358 if (!cuint) in stm32_get_gpio_count()
361 if (fdt32_to_cpu(*cuint) != stm32_get_gpio_bank_offset(bank)) in stm32_get_gpio_count()
364 cuint = fdt_getprop(fdt, node, "ngpios", NULL); in stm32_get_gpio_count()
365 if (!cuint) in stm32_get_gpio_count()
368 return (int)fdt32_to_cpu(*cuint); in stm32_get_gpio_count()