Home | History | Annotate | Download | only in fdt

Lines Matching defs:bus_info

112 	struct bus_info_gpio *bus_info;
116 bus_info = kmem_zalloc(sizeof(*bus_info), KM_SLEEP);
118 error = fdtbus_get_reg(bus_phandle, 0, &bus_info->value, NULL);
122 kmem_free(bus_info, sizeof(*bus_info));
126 return bus_info;
143 struct bus_info_gpio * const bus_info = bus->bus_data;
145 iicmux_gpio_set_value(bus->mux, bus_info->value);
199 struct bus_info_pinctrl *bus_info;
203 bus_info = kmem_alloc(sizeof(*bus_info), KM_SLEEP);
205 error = fdtbus_get_reg(bus_phandle, 0, &bus_info->idx, NULL);
209 kmem_free(bus_info, sizeof(*bus_info));
213 return bus_info;
222 struct bus_info_pinctrl * const bus_info = bus->bus_data;
224 return fdtbus_pinctrl_set_config_index(phandle, bus_info->idx);