Home
last modified time | relevance | path

Searched hist:"217 d17bcd3f525fbdf124cfbc926f8033da69805" (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/sys/dev/gpio/
H A Dgpioled_fdt.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
H A Dgpiokeys.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
/freebsd/sys/arm/nvidia/
H A Dtegra_pinmux.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
H A Das3722_gpio.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
H A Das3722_regulators.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
H A Dtegra_usbphy.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
/freebsd/sys/arm/ti/usb/
H A Domap_host.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
/freebsd/sys/dev/neta/
H A Dif_mvneta_fdt.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
/freebsd/sys/dev/usb/controller/
H A Dehci_fsl.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
/freebsd/sys/dev/fdt/
H A Dfdt_pinctrl.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
H A Dfdt_slicer.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
/freebsd/sys/powerpc/mpc85xx/
H A Dfsl_diu.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
/freebsd/sys/arm/allwinner/
H A Daw_gpio.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
H A Dif_awg.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
/freebsd/sys/arm/nvidia/tegra124/
H A Dtegra124_xusbpadctl.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
/freebsd/sys/arm/freescale/vybrid/
H A Dvf_ccm.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
/freebsd/sys/dev/altera/avgen/
H A Daltera_avgen_fdt.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
/freebsd/sys/dev/vnic/
H A Dthunder_bgx_fdt.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
/freebsd/sys/powerpc/psim/
H A Diobus.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
/freebsd/sys/dev/etherswitch/e6000sw/
H A De6000sw.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_gpio.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
/freebsd/sys/dev/ofw/
H A Dopenfirm.hdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
H A Dopenfirm.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
H A Dofw_bus_subr.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850
/freebsd/sys/powerpc/powermac/
H A Duninorth.cdiff 217d17bcd3f525fbdf124cfbc926f8033da69805 Mon Apr 09 00:59:34 CEST 2018 Oleksandr Tymoshenko <gonzo@FreeBSD.org> Clean up OF_getprop_alloc API

OF_getprop_alloc takes element size argument and returns number of
elements in the property. There are valid use cases for such behavior
but mostly API consumers pass 1 as element size to get string
properties. What API users would expect from OF_getprop_alloc is to be
a combination of malloc + OF_getprop with the same semantic of return
value. This patch modifies API signature to match these expectations.

For the valid use cases with element size != 1 and to reduce
modification scope new OF_getprop_alloc_multi function has been
introduced that behaves the same way OF_getprop_alloc behaved prior to
this patch.

Reviewed by: ian, manu
Differential Revision: https://reviews.freebsd.org/D14850

12