freebsd-dev/sys/mips/mediatek
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
..
fdt_reset_if.m
fdt_reset.c Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
fdt_reset.h
files.mediatek Move intrng includes to the main MIPS includes file. 2016-11-19 17:01:06 +00:00
mtk_clock.c
mtk_dotg.c Fix device delete child function. 2016-10-17 10:20:38 +00:00
mtk_ehci.c Fix device delete child function. 2016-10-17 10:20:38 +00:00
mtk_gpio_v1.c [mediatek] [gpio] add PPS / interrupt support. 2017-05-06 06:22:14 +00:00
mtk_gpio_v2.c
mtk_intr_gic.c
mtk_intr_v1.c
mtk_intr_v2.c
mtk_machdep.c [mips] [rt2880] Add oldest Ralink MIPS SOC RT2880 support code. 2017-05-06 06:20:34 +00:00
mtk_ohci.c Fix device delete child function. 2016-10-17 10:20:38 +00:00
mtk_pcie.c Convert PCIe Hot Plug to using pci_request_feature 2017-02-25 06:11:59 +00:00
mtk_pcie.h
mtk_pinctrl.c Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
mtk_pinctrl.h [mips] Pin control configuration for MediaTek RT2880 2017-10-31 11:29:16 +00:00
mtk_reset.c
mtk_soc.c [mips] [rt2880] Add oldest Ralink MIPS SOC RT2880 support code. 2017-05-06 06:20:34 +00:00
mtk_soc.h [mips] [rt2880] Add oldest Ralink MIPS SOC RT2880 support code. 2017-05-06 06:20:34 +00:00
mtk_spi_v1.c ofw_spi: Parse property for the SPI mode and CS polarity. 2016-12-18 14:54:20 +00:00
mtk_spi_v1.h
mtk_spi_v2.c ofw_spi: Parse property for the SPI mode and CS polarity. 2016-12-18 14:54:20 +00:00
mtk_spi_v2.h
mtk_sysctl.c
mtk_sysctl.h
mtk_usb_phy.c
mtk_usb_phy.h
mtk_xhci.c Fix device delete child function. 2016-10-17 10:20:38 +00:00
palmbus.c
std.mediatek
std.rt2880 [mips] [rt2880] Add oldest Ralink MIPS SOC RT2880 support code. 2017-05-06 06:20:34 +00:00
uart_dev_mtk.c
uart_dev_mtk.h