freebsd-skq/sys/arm/nvidia
gonzo 3308d36a5e 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
..
drm2 Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
tegra124 Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
as3722_gpio.c Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
as3722_regulators.c Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
as3722_rtc.c
as3722.c
as3722.h
tegra_abpmisc.c
tegra_ahci.c
tegra_efuse.c
tegra_efuse.h
tegra_ehci.c
tegra_gpio.c
tegra_i2c.c
tegra_lic.c
tegra_mc.c
tegra_pcie.c
tegra_pinmux.c Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
tegra_pmc.h
tegra_rtc.c
tegra_sdhci.c
tegra_soctherm_if.m
tegra_soctherm.c
tegra_uart.c
tegra_usbphy.c Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
tegra_xhci.c