Lines Matching refs:device_t
89 device_t sc_busdev; /* bus device */
90 device_t sc_owner; /* bus owner */
91 device_t sc_dev; /* driver device */
98 device_t dev; /* gpio device */
131 gpio_map_gpios(device_t bus, phandle_t dev, phandle_t gparent, int gcells, in gpio_map_gpios()
137 device_t ofw_gpiobus_add_fdt_child(device_t, const char *, phandle_t);
138 int ofw_gpiobus_parse_gpios(device_t, char *, struct gpiobus_pin **);
139 void ofw_gpiobus_register_provider(device_t);
140 void ofw_gpiobus_unregister_provider(device_t);
143 int gpio_pin_get_by_ofw_name(device_t consumer, phandle_t node,
145 int gpio_pin_get_by_ofw_idx(device_t consumer, phandle_t node,
147 int gpio_pin_get_by_ofw_property(device_t consumer, phandle_t node,
149 int gpio_pin_get_by_ofw_propidx(device_t consumer, phandle_t node,
154 int gpio_pin_get_by_bus_pinnum(device_t _bus, uint32_t _pinnum, gpio_pin_t *_gp);
157 int gpio_pin_get_by_child_index(device_t _child, uint32_t _idx, gpio_pin_t *_gp);
169 struct resource *gpio_alloc_intr_resource(device_t consumer_dev, int *rid,
173 device_t gpiobus_add_bus(device_t);
174 device_t gpiobus_attach_bus(device_t);
175 int gpiobus_detach_bus(device_t);