Home
last modified time | relevance | path

Searched defs:fdt (Results 1 – 25 of 51) sorted by relevance

123

/optee_os/core/lib/libfdt/include/
A Dlibfdt.h226 #define fdt_for_each_subnode(node, fdt, parent) \ argument
234 #define fdt_get_header(fdt, field) \ argument
236 #define fdt_magic(fdt) (fdt_get_header(fdt, magic)) argument
237 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) argument
241 #define fdt_version(fdt) (fdt_get_header(fdt, version)) argument
270 static inline size_t fdt_header_size(const void *fdt) in fdt_header_size()
380 static inline uint32_t fdt_get_max_phandle(const void *fdt) in fdt_get_max_phandle()
605 #define fdt_for_each_property_offset(property, fdt, node) \ argument
1468 #define fdt_property_string(fdt, name, str) \ argument
1726 #define fdt_setprop_string(fdt, nodeoffset, name, str) \ argument
[all …]
/optee_os/core/lib/libfdt/
A Dfdt_sw.c13 static int fdt_sw_probe_(void *fdt) in fdt_sw_probe_()
22 #define FDT_SW_PROBE(fdt) \ argument
35 static int fdt_sw_probe_memrsv_(void *fdt) in fdt_sw_probe_memrsv_()
46 #define FDT_SW_PROBE_MEMRSV(fdt) \ argument
61 static int fdt_sw_probe_struct_(void *fdt) in fdt_sw_probe_struct_()
72 #define FDT_SW_PROBE_STRUCT(fdt) \ argument
79 static inline uint32_t sw_flags(void *fdt) in sw_flags()
109 void *fdt = buf; in fdt_create_with_flags() local
200 int fdt_finish_reservemap(void *fdt) in fdt_finish_reservemap()
228 int fdt_end_node(void *fdt) in fdt_end_node()
[all …]
A Dfdt_ro.c13 static int fdt_nodename_eq_(const void *fdt, int offset, in fdt_nodename_eq_()
89 const char *fdt_string(const void *fdt, int stroffset) in fdt_string()
94 static int fdt_string_eq_(const void *fdt, int stroffset, in fdt_string_eq_()
175 int fdt_num_mem_rsv(const void *fdt) in fdt_num_mem_rsv()
187 static int nextprop_(const void *fdt, int offset) in nextprop_()
230 int fdt_subnode_offset(const void *fdt, int parentoffset, in fdt_subnode_offset()
281 int fdt_path_offset(const void *fdt, const char *path) in fdt_path_offset()
504 const char *fdt_get_alias_namelen(const void *fdt, in fdt_get_alias_namelen()
609 int fdt_node_depth(const void *fdt, int nodeoffset) in fdt_node_depth()
620 int fdt_parent_offset(const void *fdt, int nodeoffset) in fdt_parent_offset()
[all …]
A Dfdt_rw.c13 static int fdt_blocks_misordered_(const void *fdt, in fdt_blocks_misordered_()
25 static int fdt_rw_probe_(void *fdt) in fdt_rw_probe_()
40 #define FDT_RW_PROBE(fdt) \ argument
47 static inline int fdt_data_size_(void *fdt) in fdt_data_size_()
80 static int fdt_splice_struct_(void *fdt, void *p, in fdt_splice_struct_()
95 static void fdt_del_last_string_(void *fdt, const char *s) in fdt_del_last_string_()
102 static int fdt_splice_string_(void *fdt, int newlen) in fdt_splice_string_()
158 int fdt_del_mem_rsv(void *fdt, int n) in fdt_del_mem_rsv()
318 int fdt_add_subnode_namelen(void *fdt, int parentoffset, in fdt_add_subnode_namelen()
364 int fdt_del_node(void *fdt, int nodeoffset) in fdt_del_node()
[all …]
A Dlibfdt_internal.h14 #define FDT_RO_PROBE(fdt) \ argument
26 static inline const void *fdt_offset_ptr_(const void *fdt, int offset) in fdt_offset_ptr_()
31 static inline void *fdt_offset_ptr_w_(void *fdt, int offset) in fdt_offset_ptr_w_()
36 static inline const struct fdt_reserve_entry *fdt_mem_rsv_(const void *fdt, int n) in fdt_mem_rsv_()
44 static inline struct fdt_reserve_entry *fdt_mem_rsv_w_(void *fdt, int n) in fdt_mem_rsv_w_()
A Dfdt.c18 int32_t fdt_ro_probe_(const void *fdt) in fdt_ro_probe_()
73 int fdt_check_header(const void *fdt) in fdt_check_header()
114 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) in fdt_offset_ptr()
131 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag()
184 int fdt_check_node_offset_(const void *fdt, int offset) in fdt_check_node_offset_()
193 int fdt_check_prop_offset_(const void *fdt, int offset) in fdt_check_prop_offset_()
202 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node()
242 int fdt_first_subnode(const void *fdt, int offset) in fdt_first_subnode()
253 int fdt_next_subnode(const void *fdt, int offset) in fdt_next_subnode()
282 int fdt_move(const void *fdt, void *buf, int bufsize) in fdt_move()
A Dfdt_wip.c13 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, in fdt_setprop_inplace_namelen_partial()
33 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, in fdt_setprop_inplace()
59 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) in fdt_nop_property()
73 int fdt_node_end_offset_(void *fdt, int offset) in fdt_node_end_offset_()
83 int fdt_nop_node(void *fdt, int nodeoffset) in fdt_nop_node()
A Dfdt_addresses.c14 static int fdt_cells(const void *fdt, int nodeoffset, const char *name) in fdt_cells()
34 int fdt_address_cells(const void *fdt, int nodeoffset) in fdt_address_cells()
46 int fdt_size_cells(const void *fdt, int nodeoffset) in fdt_size_cells()
57 int fdt_appendprop_addrrange(void *fdt, int parent, int nodeoffset, in fdt_appendprop_addrrange()
A Dfdt_overlay.c58 static int overlay_get_target(const void *fdt, const void *fdto, in overlay_get_target()
116 static int overlay_phandle_add_offset(void *fdt, int node, in overlay_phandle_add_offset()
367 static int overlay_fixup_one_phandle(void *fdt, void *fdto, in overlay_fixup_one_phandle()
427 static int overlay_fixup_phandle(void *fdt, void *fdto, int symbols_off, in overlay_fixup_phandle()
509 static int overlay_fixup_phandles(void *fdt, void *fdto) in overlay_fixup_phandles()
556 static int overlay_apply_node(void *fdt, int target, in overlay_apply_node()
618 static int overlay_merge(void *fdt, void *fdto) in overlay_merge()
650 static int get_path_len(const void *fdt, int nodeoffset) in get_path_len()
694 static int overlay_symbol_update(void *fdt, void *fdto) in overlay_symbol_update()
829 int fdt_overlay_apply(void *fdt, void *fdto) in fdt_overlay_apply()
/optee_os/core/drivers/clk/
A Dclk_dt.c16 TEE_Result clk_dt_get_by_name(const void *fdt, int nodeoffset, in clk_dt_get_by_name()
30 static TEE_Result clk_dt_get_by_idx_prop(const char *prop_name, const void *fdt, in clk_dt_get_by_idx_prop()
42 TEE_Result clk_dt_get_by_index(const void *fdt, int nodeoffset, in clk_dt_get_by_index()
51 static TEE_Result parse_clock_property(const void *fdt, int node) in parse_clock_property()
93 static TEE_Result clk_probe_clock_provider_node(const void *fdt, int node) in clk_probe_clock_provider_node()
119 static void clk_probe_node(const void *fdt, int parent_node) in clk_probe_node()
137 static void parse_assigned_clock(const void *fdt, int nodeoffset) in parse_assigned_clock()
179 static void clk_probe_assigned(const void *fdt, int parent_node) in clk_probe_assigned()
199 const void *fdt = get_embedded_dt(); in clk_dt_probe() local
A Dfixed_clk.c28 static TEE_Result fixed_clock_probe(const void *fdt, int offs, in fixed_clock_probe()
/optee_os/core/kernel/
A Ddt.c16 const struct dt_driver *dt_find_compatible_driver(const void *fdt, int offs) in dt_find_compatible_driver()
36 bool dt_have_prop(const void *fdt, int offs, const char *propname) in dt_have_prop()
45 int dt_disable_status(void *fdt, int node) in dt_disable_status()
76 int dt_enable_secure_status(void *fdt, int node) in dt_enable_secure_status()
89 int dt_map_dev(const void *fdt, int offs, vaddr_t *base, size_t *size) in dt_map_dev()
159 paddr_t _fdt_reg_base_address(const void *fdt, int offs) in _fdt_reg_base_address()
181 size_t _fdt_reg_size(const void *fdt, int offs) in _fdt_reg_size()
223 int _fdt_get_status(const void *fdt, int offs) in _fdt_get_status()
251 void _fdt_fill_device_info(const void *fdt, struct dt_node_info *info, int offs) in _fdt_fill_device_info()
A Ddt_driver.c161 int fdt_get_dt_driver_cells(const void *fdt, int nodeoffset, in fdt_get_dt_driver_cells()
245 const void *fdt, int nodeoffset, in dt_driver_device_from_node_idx_prop()
323 static TEE_Result probe_driver_node(const void *fdt, in probe_driver_node()
365 static TEE_Result alloc_elt_and_probe(const void *fdt, int node, in alloc_elt_and_probe()
438 static TEE_Result process_probe_list(const void *fdt) in process_probe_list()
513 static TEE_Result add_node_to_probe(const void *fdt, int node, in add_node_to_probe()
631 static void parse_node(const void *fdt, int node) in parse_node()
665 const void *fdt = NULL; in probe_dt_drivers_early() local
688 const void *fdt = NULL; in probe_dt_drivers() local
716 const void * __maybe_unused fdt = NULL; in release_probe_lists() local
[all …]
A Dconsole.c43 static int find_chosen_node(void *fdt) in find_chosen_node()
58 TEE_Result get_console_node_from_dt(void *fdt, int *offs_out, in get_console_node_from_dt()
126 void *fdt; in configure_console_from_dt() local
A Dtpm.c26 static int read_dt_tpm_log_info(void *fdt, int node, paddr_t *buf, in read_dt_tpm_log_info()
120 void tpm_map_log_area(void *fdt) in tpm_map_log_area()
/optee_os/core/drivers/crypto/caam/hal/common/
A Dhal_cfg_dt.c33 static paddr_t find_jr_offset(void *fdt, int status, int *find_node) in find_jr_offset()
54 void caam_hal_cfg_get_ctrl_dt(void *fdt, vaddr_t *ctrl_base) in caam_hal_cfg_get_ctrl_dt()
94 void caam_hal_cfg_get_jobring_dt(void *fdt, struct caam_jrcfg *jrcfg) in caam_hal_cfg_get_jobring_dt()
122 void caam_hal_cfg_disable_jobring_dt(void *fdt, struct caam_jrcfg *jrcfg) in caam_hal_cfg_disable_jobring_dt()
A Dhal_cfg.c21 void *fdt = NULL; in caam_hal_cfg_get_conf() local
/optee_os/core/arch/arm/plat-stm32mp1/drivers/
A Dstm32mp1_pmic.c45 static int dt_get_pmic_node(void *fdt) in dt_get_pmic_node()
57 void *fdt = get_embedded_dt(); in dt_pmic_status() local
101 static void dt_get_regu_boot_on_config(void *fdt, const char *regu_name, in dt_get_regu_boot_on_config()
235 static void dt_get_regu_low_power_config(void *fdt, const char *regu_name, in dt_get_regu_low_power_config()
340 void *fdt = NULL; in save_cpu_supply_name() local
414 void *fdt = NULL; in parse_regulator_fdt_nodes() local
468 void *fdt = NULL; in dt_pmic_i2c_config() local
/optee_os/core/drivers/
A Datmel_shdwc.c84 static uint32_t at91_shdwc_get_wakeup_input(const void *fdt, int np) in at91_shdwc_get_wakeup_input()
116 static void at91_shdwc_dt_configure(const void *fdt, int np) in at91_shdwc_dt_configure()
139 static TEE_Result atmel_shdwc_probe(const void *fdt, int node, in atmel_shdwc_probe()
A Datmel_rstc.c40 static TEE_Result atmel_rstc_probe(const void *fdt, int node, in atmel_rstc_probe()
A Dstm32_gpio.c167 static void ckeck_gpio_bank(void *fdt, uint32_t bank, int pinctrl_node) in ckeck_gpio_bank()
201 static int get_pinctrl_from_fdt(void *fdt, int node, in get_pinctrl_from_fdt()
305 int stm32_pinctrl_fdt_get_pinctrl(void *fdt, int device_node, in stm32_pinctrl_fdt_get_pinctrl()
348 int stm32_get_gpio_count(void *fdt, int pinctrl_node, unsigned int bank) in stm32_get_gpio_count()
A Dimx_wdog.c98 void *fdt = NULL; in imx_wdog_base() local
/optee_os/core/drivers/rstctrl/
A Drstctrl.c42 TEE_Result rstctrl_dt_get_by_name(const void *fdt, int nodeoffset, in rstctrl_dt_get_by_name()
/optee_os/core/arch/arm/include/kernel/
A Dboot.h93 static inline bool is_embedded_dt(void *fdt) in is_embedded_dt()
/optee_os/core/arch/arm/kernel/
A Dboot.c574 void *fdt = get_embedded_dt(); in get_dt() local
766 static int append_psci_compatible(void *fdt, int offs, const char *str) in append_psci_compatible()
970 static int get_nsec_memory_helper(void *fdt, struct core_mmu_phys_mem *mem) in get_nsec_memory_helper()
1030 static struct core_mmu_phys_mem *get_nsec_memory(void *fdt, size_t *nelems) in get_nsec_memory()
1072 void *fdt; in init_external_dt() local
1167 void *fdt = get_external_dt(); in discover_nsec_memory() local
1278 void __weak boot_init_primary_late(unsigned long fdt) in boot_init_primary_late()
1405 unsigned long __weak get_aslr_seed(void *fdt) in get_aslr_seed()

Completed in 29 milliseconds

123