freebsd-dev/sys/arm/nvidia
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
..
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 TEGRA: Prepare Tegra subtree for inclusion into ARM generic kernel. 2016-09-30 05:25:15 +00:00
as3722.h
tegra_abpmisc.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00
tegra_ahci.c Convert extres/phy to kobj model. 2018-01-20 17:02:17 +00:00
tegra_efuse.c Add the missing void to function signatures in much of the arm code. 2016-12-13 13:43:22 +00:00
tegra_efuse.h
tegra_ehci.c Convert extres/phy to kobj model. 2018-01-20 17:02:17 +00:00
tegra_gpio.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00
tegra_i2c.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00
tegra_lic.c TEGRA: Prepare Tegra subtree for inclusion into ARM generic kernel. 2016-09-30 05:25:15 +00:00
tegra_mc.c TEGRA: Add basic driver for memory controller. 2016-11-04 11:39:19 +00:00
tegra_pcie.c Convert extres/phy to kobj model. 2018-01-20 17:02:17 +00:00
tegra_pinmux.c Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
tegra_pmc.h
tegra_rtc.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00
tegra_sdhci.c Fix build when option MMCCAM is defined. 2018-03-08 22:49:36 +00:00
tegra_soctherm_if.m
tegra_soctherm.c TEGRA: Prepare Tegra subtree for inclusion into ARM generic kernel. 2016-09-30 05:25:15 +00:00
tegra_uart.c Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
tegra_usbphy.c Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
tegra_xhci.c Convert extres/phy to kobj model. 2018-01-20 17:02:17 +00:00