freebsd-dev/sys/dev/dpaa
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
..
bman_fdt.c Allow bman-portals and qman-portals to attach to simple-bus 2017-12-14 04:41:07 +00:00
bman_portals.c Use proper integer-pointer type conversions. 2016-10-18 00:55:15 +00:00
bman.c Update DPAA SDK to SDK 2.0 2017-10-30 03:41:04 +00:00
bman.h
fman_fdt.c Make DPAA work in 64-bit mode 2017-10-31 02:53:50 +00:00
fman_mdio.c Remove a singleton in the DPAA driver, to allow multiple fman instances 2017-11-01 00:46:48 +00:00
fman.c Remove a singleton in the DPAA driver, to allow multiple fman instances 2017-11-01 00:46:48 +00:00
fman.h Remove a singleton in the DPAA driver, to allow multiple fman instances 2017-11-01 00:46:48 +00:00
if_dtsec_fdt.c Fix interrupt handling for dtsec 2017-11-02 04:07:41 +00:00
if_dtsec_im.c Update DPAA SDK to SDK 2.0 2017-10-30 03:41:04 +00:00
if_dtsec_im.h
if_dtsec_rm.c Eliminate 1 XX_VirtToPhys() and 2 XX_PhysToVirt() calls from if_dtsec(4) 2017-11-20 04:32:01 +00:00
if_dtsec_rm.h
if_dtsec.c Add jumbo frame support to dtsec(4) 2017-11-17 04:29:32 +00:00
if_dtsec.h Fix interrupt handling for dtsec 2017-11-02 04:07:41 +00:00
portals_common.c Use proper integer-pointer type conversions. 2016-10-18 00:55:15 +00:00
portals.h Update DPAA SDK to SDK 2.0 2017-10-30 03:41:04 +00:00
qman_fdt.c Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
qman_portals.c Use proper integer-pointer type conversions. 2016-10-18 00:55:15 +00:00
qman.c Use proper integer-pointer type conversions. 2016-10-18 00:55:15 +00:00
qman.h