Lines Matching refs:bus_info
105 struct bus_info_gpio *bus_info;
108 bus_info = kmem_zalloc(sizeof(*bus_info), KM_SLEEP);
110 error = fdtbus_get_reg(bus->handle, 0, &bus_info->value, NULL);
114 kmem_free(bus_info, sizeof(*bus_info));
118 return bus_info;
135 struct bus_info_gpio * const bus_info = bus->bus_data;
137 iicmux_gpio_set_value(bus->mux, bus_info->value);
190 struct bus_info_pinctrl *bus_info;
193 bus_info = kmem_alloc(sizeof(*bus_info), KM_SLEEP);
195 error = fdtbus_get_reg(bus->handle, 0, &bus_info->idx, NULL);
199 kmem_free(bus_info, sizeof(*bus_info));
203 return bus_info;
211 struct bus_info_pinctrl * const bus_info = bus->bus_data;
213 return fdtbus_pinctrl_set_config_index(sc->sc_handle, bus_info->idx);