Home
last modified time | relevance | path

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

123

/optee_os-3.20.0/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-3.20.0/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-3.20.0/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()
52 static TEE_Result parse_clock_property(const void *fdt, int node) in parse_clock_property()
94 static TEE_Result clk_probe_clock_provider_node(const void *fdt, int node) in clk_probe_clock_provider_node()
120 static void clk_probe_node(const void *fdt, int parent_node) in clk_probe_node()
138 static void parse_assigned_clock(const void *fdt, int nodeoffset) in parse_assigned_clock()
180 static void clk_probe_assigned(const void *fdt, int parent_node) in clk_probe_assigned()
200 const void *fdt = get_secure_dt(); in clk_dt_probe() local
/optee_os-3.20.0/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()
170 paddr_t _fdt_reg_base_address(const void *fdt, int offs) in _fdt_reg_base_address()
192 size_t _fdt_reg_size(const void *fdt, int offs) in _fdt_reg_size()
234 int _fdt_get_status(const void *fdt, int offs) in _fdt_get_status()
296 int _fdt_read_uint32_array(const void *fdt, int node, const char *prop_name, in _fdt_read_uint32_array()
319 int _fdt_read_uint32(const void *fdt, int node, const char *prop_name, in _fdt_read_uint32()
[all …]
A Ddt_driver.c164 int fdt_get_dt_driver_cells(const void *fdt, int nodeoffset, in fdt_get_dt_driver_cells()
248 const void *fdt, int nodeoffset, in dt_driver_device_from_node_idx_prop()
333 static TEE_Result probe_driver_node(const void *fdt, in probe_driver_node()
378 static TEE_Result alloc_elt_and_probe(const void *fdt, int node, in alloc_elt_and_probe()
451 static TEE_Result process_probe_list(const void *fdt) in process_probe_list()
526 static TEE_Result add_node_to_probe(const void *fdt, int node, in add_node_to_probe()
644 static void parse_node(const void *fdt, int node) in parse_node()
678 const void *fdt = NULL; in probe_dt_drivers_early() local
699 const void *fdt = NULL; in probe_dt_drivers() local
725 const void *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()
132 void tpm_map_log_area(void *fdt) in tpm_map_log_area()
/optee_os-3.20.0/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-3.20.0/core/drivers/pm/sam/
A Dat91_pm.c159 static bool dev_is_wakeup_source(const void *fdt, int node) in dev_is_wakeup_source()
338 static TEE_Result at91_pm_dt_dram_init(const void *fdt) in at91_pm_dt_dram_init()
353 static TEE_Result at91_pm_backup_init(const void *fdt) in at91_pm_backup_init()
371 static TEE_Result at91_pm_sram_init(const void *fdt) in at91_pm_sram_init()
405 static TEE_Result at91_securam_init(const void *fdt) in at91_securam_init()
447 static TEE_Result sama5d2_pm_init_all(const void *fdt, vaddr_t shdwc) in sama5d2_pm_init_all()
478 TEE_Result sama5d2_pm_init(const void *fdt, vaddr_t shdwc) in sama5d2_pm_init()
/optee_os-3.20.0/core/arch/arm/plat-stm32mp1/drivers/
A Dstm32mp1_pmic.c46 static int dt_get_pmic_node(void *fdt) in dt_get_pmic_node()
58 void *fdt = get_embedded_dt(); in dt_pmic_status() local
102 static void dt_get_regu_boot_on_config(void *fdt, const char *regu_name, in dt_get_regu_boot_on_config()
236 static void dt_get_regu_low_power_config(void *fdt, const char *regu_name, in dt_get_regu_low_power_config()
341 void *fdt = NULL; in save_cpu_supply_name() local
415 void *fdt = NULL; in parse_regulator_fdt_nodes() local
469 void *fdt = NULL; in dt_pmic_i2c_config() local
/optee_os-3.20.0/core/arch/arm/plat-sam/
A Dfreq.c19 const void *fdt = get_embedded_dt(); in get_freq_from_dt() local
A Dsam_sfr.c42 static TEE_Result atmel_sfr_probe(const void *fdt, int node, in atmel_sfr_probe()
/optee_os-3.20.0/core/drivers/
A Datmel_shdwc.c87 static uint32_t at91_shdwc_get_wakeup_input(const void *fdt, int np) in at91_shdwc_get_wakeup_input()
119 static void at91_shdwc_dt_configure(const void *fdt, int np) in at91_shdwc_dt_configure()
142 static TEE_Result atmel_shdwc_probe(const void *fdt, int node, in atmel_shdwc_probe()
A Datmel_rstc.c42 static TEE_Result atmel_rstc_probe(const void *fdt, int node, in atmel_rstc_probe()
/optee_os-3.20.0/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-3.20.0/core/include/kernel/
A Dboot.h115 static inline bool is_embedded_dt(void *fdt) in is_embedded_dt()
/optee_os-3.20.0/core/arch/arm/kernel/
A Dsecure_partition.c364 static TEE_Result sp_dt_get_u64(const void *fdt, int node, const char *property, in sp_dt_get_u64()
379 static TEE_Result sp_dt_get_u32(const void *fdt, int node, const char *property, in sp_dt_get_u32()
394 static TEE_Result sp_dt_get_uuid(const void *fdt, int node, in sp_dt_get_uuid()
414 static TEE_Result check_fdt(const void * const fdt, const TEE_UUID *uuid) in check_fdt()
501 static TEE_Result handle_fdt_dev_regions(struct sp_ctx *ctx, void *fdt) in handle_fdt_dev_regions()
668 static TEE_Result handle_fdt_mem_regions(struct sp_ctx *ctx, void *fdt) in handle_fdt_mem_regions()
816 static TEE_Result handle_tpm_event_log(struct sp_ctx *ctx, void *fdt) in handle_tpm_event_log()
889 static TEE_Result sp_init_uuid(const TEE_UUID *uuid, const void * const fdt) in sp_init_uuid()
1209 const void *fdt = NULL; in fip_sp_map_all() local

Completed in 26 milliseconds

123