Searched hist:"642346 ae269c3c5c54cf7e15c426c42f4df031da" (Results 1 – 5 of 5) sorted by relevance
| /rk3399_rockchip-uboot/include/dm/ |
| H A D | of_access.h | 642346ae269c3c5c54cf7e15c426c42f4df031da Tue Jul 18 09:57:08 UTC 2017 Patrice Chotard <patrice.chotard@st.com> dm: core: add ofnode_count_phandle_with_args()
This function is usefull to get phandle number contained in a property list. For example, this allows to allocate the right amount of memory to keep clock's reference contained into the "clocks" property.
To implement it, either of_count_phandle_with_args() or fdtdec_parse_phandle_with_args() are used respectively for live tree and flat tree. By passing index = -1, these 2 functions returns the number of phandle contained into the property list.
Add also the dev_count_phandle_with_args() based on ofnode_count_phandle_with_args()
Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
| H A D | ofnode.h | 642346ae269c3c5c54cf7e15c426c42f4df031da Tue Jul 18 09:57:08 UTC 2017 Patrice Chotard <patrice.chotard@st.com> dm: core: add ofnode_count_phandle_with_args()
This function is usefull to get phandle number contained in a property list. For example, this allows to allocate the right amount of memory to keep clock's reference contained into the "clocks" property.
To implement it, either of_count_phandle_with_args() or fdtdec_parse_phandle_with_args() are used respectively for live tree and flat tree. By passing index = -1, these 2 functions returns the number of phandle contained into the property list.
Add also the dev_count_phandle_with_args() based on ofnode_count_phandle_with_args()
Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
| H A D | read.h | 642346ae269c3c5c54cf7e15c426c42f4df031da Tue Jul 18 09:57:08 UTC 2017 Patrice Chotard <patrice.chotard@st.com> dm: core: add ofnode_count_phandle_with_args()
This function is usefull to get phandle number contained in a property list. For example, this allows to allocate the right amount of memory to keep clock's reference contained into the "clocks" property.
To implement it, either of_count_phandle_with_args() or fdtdec_parse_phandle_with_args() are used respectively for live tree and flat tree. By passing index = -1, these 2 functions returns the number of phandle contained into the property list.
Add also the dev_count_phandle_with_args() based on ofnode_count_phandle_with_args()
Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
| /rk3399_rockchip-uboot/drivers/core/ |
| H A D | of_access.c | 642346ae269c3c5c54cf7e15c426c42f4df031da Tue Jul 18 09:57:08 UTC 2017 Patrice Chotard <patrice.chotard@st.com> dm: core: add ofnode_count_phandle_with_args()
This function is usefull to get phandle number contained in a property list. For example, this allows to allocate the right amount of memory to keep clock's reference contained into the "clocks" property.
To implement it, either of_count_phandle_with_args() or fdtdec_parse_phandle_with_args() are used respectively for live tree and flat tree. By passing index = -1, these 2 functions returns the number of phandle contained into the property list.
Add also the dev_count_phandle_with_args() based on ofnode_count_phandle_with_args()
Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|
| H A D | ofnode.c | 642346ae269c3c5c54cf7e15c426c42f4df031da Tue Jul 18 09:57:08 UTC 2017 Patrice Chotard <patrice.chotard@st.com> dm: core: add ofnode_count_phandle_with_args()
This function is usefull to get phandle number contained in a property list. For example, this allows to allocate the right amount of memory to keep clock's reference contained into the "clocks" property.
To implement it, either of_count_phandle_with_args() or fdtdec_parse_phandle_with_args() are used respectively for live tree and flat tree. By passing index = -1, these 2 functions returns the number of phandle contained into the property list.
Add also the dev_count_phandle_with_args() based on ofnode_count_phandle_with_args()
Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
|