opnsense-src/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.c Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
fdt_reset.h
fdt_reset_if.m
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 Return the struct intr_pic pointer from intr_pic_register. This will be 2016-05-18 15:05:44 +00:00
mtk_intr_gic.c Return the struct intr_pic pointer from intr_pic_register. This will be 2016-05-18 15:05:44 +00:00
mtk_intr_v1.c Return the struct intr_pic pointer from intr_pic_register. This will be 2016-05-18 15:05:44 +00:00
mtk_intr_v2.c Return the struct intr_pic pointer from intr_pic_register. This will be 2016-05-18 15:05:44 +00:00
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 Move Mediatek/Ralink PCIe to NEW_PCIB 2016-04-12 07:21:22 +00:00
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 Initial import of Ralink/Mediatek MIPS SoC support #6 2016-04-07 11:21:42 +00:00
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 Initial import of Ralink/Mediatek MIPS SoC support #6 2016-04-07 11:21:42 +00:00
mtk_sysctl.c
mtk_sysctl.h Allow RT3350 CPU clock to be detected as part of RT3050/RT3052 detection 2016-04-18 06:15:58 +00:00
mtk_usb_phy.c Add compat strings used by OpenWRT to some Mediatek/Ralink drivers 2016-04-20 14:47:16 +00:00
mtk_usb_phy.h Initial import of Ralink/Mediatek MIPS SoC support #5 2016-04-07 11:20:03 +00:00
mtk_xhci.c Fix device delete child function. 2016-10-17 10:20:38 +00:00
palmbus.c Introduce palmbus for Mediatek/Ralink SoCs 2016-04-23 04:21:18 +00:00
std.mediatek Build etherswitch support for appropriate Ralink/Mediatek SoCs 2016-05-25 06:47:28 +00:00
std.rt2880 [mips] [rt2880] Add oldest Ralink MIPS SOC RT2880 support code. 2017-05-06 06:20:34 +00:00
uart_dev_mtk.c Initial import of Ralink/Mediatek MIPS SoC support #4 2016-04-07 11:16:32 +00:00
uart_dev_mtk.h Initial import of Ralink/Mediatek MIPS SoC support #4 2016-04-07 11:16:32 +00:00