Lines Matching refs:consumer

59 gpio_pin_get_by_ofw_propidx(device_t consumer, phandle_t cnode,  in gpio_pin_get_by_ofw_propidx()  argument
68 KASSERT(consumer != NULL && cnode > 0, in gpio_pin_get_by_ofw_propidx()
109 gpio_pin_get_by_ofw_idx(device_t consumer, phandle_t node, in gpio_pin_get_by_ofw_idx() argument
113 return (gpio_pin_get_by_ofw_propidx(consumer, node, "gpios", idx, pin)); in gpio_pin_get_by_ofw_idx()
117 gpio_pin_get_by_ofw_property(device_t consumer, phandle_t node, in gpio_pin_get_by_ofw_property() argument
121 return (gpio_pin_get_by_ofw_propidx(consumer, node, name, 0, pin)); in gpio_pin_get_by_ofw_property()
125 gpio_pin_get_by_ofw_name(device_t consumer, phandle_t node, in gpio_pin_get_by_ofw_name() argument
130 KASSERT(consumer != NULL && node > 0, in gpio_pin_get_by_ofw_name()
136 return (gpio_pin_get_by_ofw_idx(consumer, node, idx, pin)); in gpio_pin_get_by_ofw_name()
184 ofw_gpiobus_parse_gpios(device_t consumer, char *pname, in ofw_gpiobus_parse_gpios() argument
188 return (ofw_gpiobus_parse_gpios_impl(consumer, in ofw_gpiobus_parse_gpios()
189 ofw_bus_get_node(consumer), pname, NULL, pins)); in ofw_gpiobus_parse_gpios()
280 ofw_gpiobus_parse_gpios_impl(device_t consumer, phandle_t cnode, char *pname, in ofw_gpiobus_parse_gpios_impl() argument
290 device_printf(consumer, in ofw_gpiobus_parse_gpios_impl()
321 device_printf(consumer, in ofw_gpiobus_parse_gpios_impl()
327 device_printf(consumer, in ofw_gpiobus_parse_gpios_impl()
336 device_printf(consumer, "no pin specified in %s.\n", in ofw_gpiobus_parse_gpios_impl()
361 device_printf(consumer, in ofw_gpiobus_parse_gpios_impl()
368 device_printf(consumer, in ofw_gpiobus_parse_gpios_impl()
379 device_printf(consumer, in ofw_gpiobus_parse_gpios_impl()
389 device_printf(consumer, in ofw_gpiobus_parse_gpios_impl()