freebsd-nq/sys/dev/gpio
Oleksandr Tymoshenko f7604b1b27 Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc
Change OF_getencprop_alloc semantics to be combination of malloc and
OF_getencprop and return size of the property, not number of elements
allocated.

For the use cases where number of elements is preferred introduce
OF_getencprop_alloc_multi helper function that copies semantics
of OF_getencprop_alloc prior to this change.

This is to make OF_getencprop_alloc and OF_getencprop_alloc_multi
function signatures consistent with OF_getencprop_alloc and
OF_getencprop_alloc_multi.

Functionality-wise this patch is mostly rename of OF_getencprop_alloc
to OF_getencprop_alloc_multi except two calls in ofw_bus_setup_iinfo
where 1 was used as a block size.
2018-04-09 22:06:16 +00:00
..
bytgpio.c
chvgpio_reg.h Add SPDX tags for chvgpio driver sources 2018-02-24 20:19:31 +00:00
chvgpio.c Add SPDX tags for chvgpio driver sources 2018-02-24 20:19:31 +00:00
gpio_if.m Add gpio methods to read/write/configure up to 32 pins simultaneously. 2017-09-10 18:08:25 +00:00
gpiobacklight.c
gpiobus_if.m
gpiobus.c Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
gpiobusvar.h Provide a public function to acquire a gpio pin by giving the property name 2018-02-18 23:08:43 +00:00
gpioc.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
gpioiic.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
gpiokeys_codes.c
gpiokeys.c Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
gpiokeys.h
gpioled_fdt.c Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
gpioled.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
gpiopower.c
gpiopps.c
gpioregulator.c Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
gpiospi.c
gpioths.c [gpioths] new driver for temperature/humidity sensor DHT11 2017-01-16 15:36:36 +00:00
ofw_gpiobus.c Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00