| /arm-trusted-firmware/lib/libfdt/ |
| H A D | fdt_sw.c | 13 static int fdt_sw_probe_(void *fdt) in fdt_sw_probe_() argument 25 #define FDT_SW_PROBE(fdt) \ argument 38 static int fdt_sw_probe_memrsv_(void *fdt) in fdt_sw_probe_memrsv_() argument 49 #define FDT_SW_PROBE_MEMRSV(fdt) \ argument 64 fdt_sw_probe_struct_(void * fdt) fdt_sw_probe_struct_() argument 76 FDT_SW_PROBE_STRUCT(fdt) global() argument 83 sw_flags(void * fdt) sw_flags() argument 94 fdt_grab_space_(void * fdt,size_t len) fdt_grab_space_() argument 113 void *fdt = buf; fdt_create_with_flags() local 148 fdt_resize(void * fdt,void * buf,int bufsize) fdt_resize() argument 188 fdt_add_reservemap_entry(void * fdt,uint64_t addr,uint64_t size) fdt_add_reservemap_entry() argument 208 fdt_finish_reservemap(void * fdt) fdt_finish_reservemap() argument 219 fdt_begin_node(void * fdt,const char * name) fdt_begin_node() argument 236 fdt_end_node(void * fdt) fdt_end_node() argument 250 fdt_add_string_(void * fdt,const char * s) fdt_add_string_() argument 268 fdt_del_last_string_(void * fdt,const char * s) fdt_del_last_string_() argument 276 fdt_find_add_string_(void * fdt,const char * s,int * allocated) fdt_find_add_string_() argument 293 fdt_property_placeholder(void * fdt,const char * name,int len,void ** valp) fdt_property_placeholder() argument 325 fdt_property(void * fdt,const char * name,const void * val,int len) fdt_property() argument 337 fdt_finish(void * fdt) fdt_finish() argument [all...] |
| H A D | fdt_ro.c | 13 static int fdt_nodename_eq_(const void *fdt, int offset, in fdt_nodename_eq_() argument 34 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp) in fdt_get_string() argument 100 fdt_string(const void * fdt,int stroffset) fdt_string() argument 105 fdt_string_eq_(const void * fdt,int stroffset,const char * s,int len) fdt_string_eq_() argument 114 fdt_find_max_phandle(const void * fdt,uint32_t * phandle) fdt_find_max_phandle() argument 142 fdt_generate_phandle(const void * fdt,uint32_t * phandle) fdt_generate_phandle() argument 160 fdt_mem_rsv(const void * fdt,int n) fdt_mem_rsv() argument 175 fdt_get_mem_rsv(const void * fdt,int n,uint64_t * address,uint64_t * size) fdt_get_mem_rsv() argument 189 fdt_num_mem_rsv(const void * fdt) fdt_num_mem_rsv() argument 201 nextprop_(const void * fdt,int offset) nextprop_() argument 225 fdt_subnode_offset_namelen(const void * fdt,int offset,const char * name,int namelen) fdt_subnode_offset_namelen() argument 244 fdt_subnode_offset(const void * fdt,int parentoffset,const char * name) fdt_subnode_offset() argument 250 fdt_path_offset_namelen(const void * fdt,const char * path,int namelen) fdt_path_offset_namelen() argument 295 fdt_path_offset(const void * fdt,const char * path) fdt_path_offset() argument 300 fdt_get_name(const void * fdt,int nodeoffset,int * len) fdt_get_name() argument 338 fdt_first_property_offset(const void * fdt,int nodeoffset) fdt_first_property_offset() argument 348 fdt_next_property_offset(const void * fdt,int offset) fdt_next_property_offset() argument 356 fdt_get_property_by_offset_(const void * fdt,int offset,int * lenp) fdt_get_property_by_offset_() argument 378 fdt_get_property_by_offset(const void * fdt,int offset,int * lenp) fdt_get_property_by_offset() argument 394 fdt_get_property_namelen_(const void * fdt,int offset,const char * name,int namelen,int * lenp,int * poffset) fdt_get_property_namelen_() argument 425 fdt_get_property_namelen(const void * fdt,int offset,const char * name,int namelen,int * lenp) fdt_get_property_namelen() argument 443 fdt_get_property(const void * fdt,int nodeoffset,const char * name,int * lenp) fdt_get_property() argument 451 fdt_getprop_namelen(const void * fdt,int nodeoffset,const char * name,int namelen,int * lenp) fdt_getprop_namelen() argument 469 fdt_getprop_by_offset(const void * fdt,int offset,const char ** namep,int * lenp) fdt_getprop_by_offset() argument 502 fdt_getprop(const void * fdt,int nodeoffset,const char * name,int * lenp) fdt_getprop() argument 508 fdt_get_phandle(const void * fdt,int nodeoffset) fdt_get_phandle() argument 525 fdt_get_alias_namelen(const void * fdt,const char * name,int namelen) fdt_get_alias_namelen() argument 537 fdt_get_alias(const void * fdt,const char * name) fdt_get_alias() argument 542 fdt_get_path(const void * fdt,int nodeoffset,char * buf,int buflen) fdt_get_path() argument 594 fdt_supernode_atdepth_offset(const void * fdt,int nodeoffset,int supernodedepth,int * nodedepth) fdt_supernode_atdepth_offset() argument 632 fdt_node_depth(const void * fdt,int nodeoffset) fdt_node_depth() argument 644 fdt_parent_offset(const void * fdt,int nodeoffset) fdt_parent_offset() argument 654 fdt_node_offset_by_prop_value(const void * fdt,int startoffset,const char * propname,const void * propval,int proplen) fdt_node_offset_by_prop_value() argument 681 fdt_node_offset_by_phandle(const void * fdt,uint32_t phandle) fdt_node_offset_by_phandle() argument 723 fdt_stringlist_count(const void * fdt,int nodeoffset,const char * property) fdt_stringlist_count() argument 748 fdt_stringlist_search(const void * fdt,int nodeoffset,const char * property,const char * string) fdt_stringlist_search() argument 778 fdt_stringlist_get(const void * fdt,int nodeoffset,const char * property,int idx,int * lenp) fdt_stringlist_get() argument 823 fdt_node_check_compatible(const void * fdt,int nodeoffset,const char * compatible) fdt_node_check_compatible() argument 836 fdt_node_offset_by_compatible(const void * fdt,int startoffset,const char * compatible) fdt_node_offset_by_compatible() argument [all...] |
| H A D | fdt_rw.c | 13 static int fdt_blocks_misordered_(const void *fdt, in fdt_blocks_misordered_() argument 25 fdt_rw_probe_(void * fdt) fdt_rw_probe_() argument 42 FDT_RW_PROBE(fdt) global() argument 49 fdt_data_size_(void * fdt) fdt_data_size_() argument 54 fdt_splice_(void * fdt,void * splicepoint,int oldlen,int newlen) fdt_splice_() argument 70 fdt_splice_mem_rsv_(void * fdt,struct fdt_reserve_entry * p,int oldn,int newn) fdt_splice_mem_rsv_() argument 83 fdt_splice_struct_(void * fdt,void * p,int oldlen,int newlen) fdt_splice_struct_() argument 98 fdt_del_last_string_(void * fdt,const char * s) fdt_del_last_string_() argument 105 fdt_splice_string_(void * fdt,int newlen) fdt_splice_string_() argument 127 fdt_find_add_string_(void * fdt,const char * s,int * allocated) fdt_find_add_string_() argument 155 fdt_add_mem_rsv(void * fdt,uint64_t address,uint64_t size) fdt_add_mem_rsv() argument 172 fdt_del_mem_rsv(void * fdt,int n) fdt_del_mem_rsv() argument 184 fdt_resize_property_(void * fdt,int nodeoffset,const char * name,int len,struct fdt_property ** prop) fdt_resize_property_() argument 202 fdt_add_property_(void * fdt,int nodeoffset,const char * name,int len,struct fdt_property ** prop) fdt_add_property_() argument 235 fdt_set_name(void * fdt,int nodeoffset,const char * name) fdt_set_name() argument 258 fdt_setprop_placeholder(void * fdt,int nodeoffset,const char * name,int len,void ** prop_data) fdt_setprop_placeholder() argument 276 fdt_setprop(void * fdt,int nodeoffset,const char * name,const void * val,int len) fdt_setprop() argument 291 fdt_appendprop(void * fdt,int nodeoffset,const char * name,const void * val,int len) fdt_appendprop() argument 318 fdt_delprop(void * fdt,int nodeoffset,const char * name) fdt_delprop() argument 333 fdt_add_subnode_namelen(void * fdt,int parentoffset,const char * name,int namelen) fdt_add_subnode_namelen() argument 377 fdt_add_subnode(void * fdt,int parentoffset,const char * name) fdt_add_subnode() argument 382 fdt_del_node(void * fdt,int nodeoffset) fdt_del_node() argument 419 fdt_open_into(const void * fdt,void * buf,int bufsize) fdt_open_into() argument 487 fdt_pack(void * fdt) fdt_pack() argument [all...] |
| H A D | fdt.c | 18 int32_t fdt_ro_probe_(const void *fdt) in fdt_ro_probe_() argument 83 size_t fdt_header_size(const void *fdt) in fdt_header_size() argument 89 fdt_check_header(const void * fdt) fdt_check_header() argument 140 fdt_offset_ptr(const void * fdt,int offset,unsigned int len) fdt_offset_ptr() argument 162 fdt_next_tag(const void * fdt,int startoffset,int * nextoffset) fdt_next_tag() argument 223 fdt_check_node_offset_(const void * fdt,int offset) fdt_check_node_offset_() argument 235 fdt_check_prop_offset_(const void * fdt,int offset) fdt_check_prop_offset_() argument 247 fdt_next_node(const void * fdt,int offset,int * depth) fdt_next_node() argument 287 fdt_first_subnode(const void * fdt,int offset) fdt_first_subnode() argument 298 fdt_next_subnode(const void * fdt,int offset) fdt_next_subnode() argument 327 fdt_move(const void * fdt,void * buf,int bufsize) fdt_move() argument [all...] |
| H A D | fdt_wip.c | 13 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, in fdt_setprop_inplace_namelen_partial() argument 33 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, in fdt_setprop_inplace() argument 59 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) in fdt_nop_property() argument 73 int fdt_node_end_offset_(void *fdt, int offset) in fdt_node_end_offset_() argument 83 fdt_nop_node(void * fdt,int nodeoffset) fdt_nop_node() argument [all...] |
| H A D | fdt_addresses.c | 14 static int fdt_cells(const void *fdt, int nodeoffset, const char *name) in fdt_cells() argument 34 int fdt_address_cells(const void *fdt, int nodeoffset) in fdt_address_cells() argument 46 int fdt_size_cells(const void *fdt, int nodeoffset) in fdt_size_cells() argument 57 int fdt_appendprop_addrrange(void *fdt, int parent, int nodeoffset, in fdt_appendprop_addrrange() argument [all...] |
| H A D | libfdt_internal.h | 14 #define FDT_RO_PROBE(fdt) \ argument 26 static inline const void *fdt_offset_ptr_(const void *fdt, int offset) in fdt_offset_ptr_() argument 31 fdt_offset_ptr_w_(void * fdt,int offset) fdt_offset_ptr_w_() argument 36 fdt_mem_rsv_(const void * fdt,int n) fdt_mem_rsv_() argument 44 fdt_mem_rsv_w_(void * fdt,int n) fdt_mem_rsv_w_() argument [all...] |
| H A D | fdt_overlay.c | 43 int fdt_overlay_target_offset(const void *fdt, const void *fdto, in fdt_overlay_target_offset() argument 101 static int overlay_phandle_add_offset(void *fdt, int node, in overlay_phandle_add_offset() argument 353 static int overlay_fixup_one_phandle(void *fdt, voi argument 413 overlay_fixup_phandle(void * fdt,void * fdto,int symbols_off,int property) overlay_fixup_phandle() argument 495 overlay_fixup_phandles(void * fdt,void * fdto) overlay_fixup_phandles() argument 542 overlay_apply_node(void * fdt,int target,void * fdto,int node) overlay_apply_node() argument 604 overlay_merge(void * fdt,void * fdto) overlay_merge() argument 636 get_path_len(const void * fdt,int nodeoffset) get_path_len() argument 680 overlay_symbol_update(void * fdt,void * fdto) overlay_symbol_update() argument 815 fdt_overlay_apply(void * fdt,void * fdto) fdt_overlay_apply() argument [all...] |
| /arm-trusted-firmware/include/lib/libfdt/ |
| H A D | libfdt.h | 122 static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen) in fdt_offset_ptr_w() argument 239 fdt_for_each_subnode(node,fdt,parent) global() argument 247 fdt_get_header(fdt,field) global() argument 249 fdt_magic(fdt) global() argument 250 fdt_totalsize(fdt) global() argument 251 fdt_off_dt_struct(fdt) global() argument 252 fdt_off_dt_strings(fdt) global() argument 253 fdt_off_mem_rsvmap(fdt) global() argument 254 fdt_version(fdt) global() argument 255 fdt_last_comp_version(fdt) global() argument 256 fdt_boot_cpuid_phys(fdt) global() argument 257 fdt_size_dt_strings(fdt) global() argument 258 fdt_size_dt_struct(fdt) global() argument 398 fdt_get_max_phandle(const void * fdt) fdt_get_max_phandle() argument 628 fdt_for_each_property_offset(property,fdt,node) global() argument 663 fdt_get_property_by_offset_w(void * fdt,int offset,int * lenp) fdt_get_property_by_offset_w() argument 722 fdt_get_property_w(void * fdt,int nodeoffset,const char * name,int * lenp) fdt_get_property_w() argument 782 fdt_getprop_namelen_w(void * fdt,int nodeoffset,const char * name,int namelen,int * lenp) fdt_getprop_namelen_w() argument 821 fdt_getprop_w(void * fdt,int nodeoffset,const char * name,int * lenp) fdt_getprop_w() argument 1324 fdt_setprop_inplace_u32(void * fdt,int nodeoffset,const char * name,uint32_t val) fdt_setprop_inplace_u32() argument 1359 fdt_setprop_inplace_u64(void * fdt,int nodeoffset,const char * name,uint64_t val) fdt_setprop_inplace_u64() argument 1376 fdt_setprop_inplace_cell(void * fdt,int nodeoffset,const char * name,uint32_t val) fdt_setprop_inplace_cell() argument 1480 fdt_property_u32(void * fdt,const char * name,uint32_t val) fdt_property_u32() argument 1485 fdt_property_u64(void * fdt,const char * name,uint64_t val) fdt_property_u64() argument 1492 fdt_property_cell(void * fdt,const char * name,uint32_t val) fdt_property_cell() argument 1513 fdt_property_string(fdt,name,str) global() argument 1691 fdt_setprop_u32(void * fdt,int nodeoffset,const char * name,uint32_t val) fdt_setprop_u32() argument 1726 fdt_setprop_u64(void * fdt,int nodeoffset,const char * name,uint64_t val) fdt_setprop_u64() argument 1744 fdt_setprop_cell(void * fdt,int nodeoffset,const char * name,uint32_t val) fdt_setprop_cell() argument 1778 fdt_setprop_string(fdt,nodeoffset,name,str) global() argument 1808 fdt_setprop_empty(fdt,nodeoffset,name) global() argument 1869 fdt_appendprop_u32(void * fdt,int nodeoffset,const char * name,uint32_t val) fdt_appendprop_u32() argument 1904 fdt_appendprop_u64(void * fdt,int nodeoffset,const char * name,uint64_t val) fdt_appendprop_u64() argument 1922 fdt_appendprop_cell(void * fdt,int nodeoffset,const char * name,uint32_t val) fdt_appendprop_cell() argument 1955 fdt_appendprop_string(fdt,nodeoffset,name,str) global() argument [all...] |
| /arm-trusted-firmware/drivers/st/clk/ |
| H A D | stm32mp_clkfunc.c | 29 void *fdt; in fdt_osc_read_freq() local 79 void *fdt; in fdt_clk_read_bool() local 122 void *fdt; fdt_clk_read_uint32_default() local 158 fdt_get_rcc_node(void * fdt) fdt_get_rcc_node() argument 180 void *fdt; fdt_rcc_read_uint32_array() local 202 void *fdt; fdt_rcc_subnode_offset() local 231 void *fdt; fdt_rcc_read_prop() local 258 void *fdt; fdt_get_rcc_secure_state() local 280 void *fdt; fdt_get_clock_id() local 302 void *fdt; fdt_get_uart_clock_freq() local [all...] |
| /arm-trusted-firmware/drivers/allwinner/axp/ |
| H A D | common.c | 58 static int fdt_get_regulator_millivolt(const void *fdt, int node) in fdt_get_regulator_millivolt() argument 78 static int setup_regulator(const void *fdt, int node, in setup_regulator() argument 101 static bool should_enable_regulator(const void *fdt, int node) in should_enable_regulator() argument 115 static bool board_uses_usb0_host_mode(const void *fdt) in board_uses_usb0_host_mode() argument 134 axp_setup_regulators(const void * fdt) axp_setup_regulators() argument [all...] |
| /arm-trusted-firmware/plat/arm/common/fconf/ |
| H A D | fconf_ethosn_getter.c | 23 static int fdt_node_read_reserved_memory_addr(const void *fdt, in fdt_node_read_reserved_memory_addr() argument 55 static bool fdt_node_has_reserved_memory(const void *fdt, int dev_node) in fdt_node_has_reserved_memory() argument 60 static int fdt_node_get_iommus_stream_id(const void *fdt, int node, uint32_t *stream_id) in fdt_node_get_iommus_stream_id() argument 74 static int fdt_node_populate_sub_allocators(const void *fdt, in fdt_node_populate_sub_allocators() argument 141 fdt_node_populate_main_allocator(const void * fdt,int alloc_node,struct ethosn_main_allocator_t * allocator) fdt_node_populate_main_allocator() argument 163 fdt_node_populate_asset_allocator(const void * fdt,int alloc_node,struct ethosn_asset_allocator_t * allocator) fdt_node_populate_asset_allocator() argument 189 fdt_node_populate_core(const void * fdt,int device_node,int core_node,bool has_reserved_memory,uint32_t core_index,struct ethosn_core_t * core) fdt_node_populate_core() argument [all...] |
| /arm-trusted-firmware/drivers/st/ddr/ |
| H A D | stm32mp_ram.c | 17 int stm32mp_ddr_dt_get_info(void *fdt, int node, struct stm32mp_ddr_info *info) in stm32mp_ddr_dt_get_info() argument 42 int stm32mp_ddr_dt_get_param(void *fdt, int node, const struct stm32mp_ddr_param *param, in stm32mp_ddr_dt_get_param() argument
|
| /arm-trusted-firmware/plat/common/ |
| H A D | plat_spmd_manifest.c | 27 const void *fdt, in manifest_parse_attribute() argument 95 const void *fdt, in manifest_parse_root() argument [all...] |
| /arm-trusted-firmware/plat/allwinner/common/ |
| H A D | sunxi_prepare_dtb.c | 15 void sunxi_prepare_dtb(void *fdt) in sunxi_prepare_dtb() argument [all...] |
| /arm-trusted-firmware/lib/fconf/ |
| H A D | fconf_amu_getter.c | 27 static int fconf_populate_amu_cpu_amu(const void *fdt, int parent, in fconf_populate_amu_cpu_amu() argument 73 static int fconf_populate_amu_cpu(const void *fdt, int node, uintptr_t mpidr) in fconf_populate_amu_cpu() argument
|
| H A D | fconf_mpmm_getter.c | 27 static int fconf_populate_mpmm_cpu(const void *fdt, int off, uintptr_t mpidr) in fconf_populate_mpmm_cpu() argument
|
| /arm-trusted-firmware/plat/arm/board/arm_fpga/ |
| H A D | fpga_bl31_setup.c | 163 const void *fdt = (void *)(uintptr_t)FPGA_PRELOADED_DTB_BASE; in fpga_get_system_frequency() local 218 static void fpga_dtb_update_clock(void *fdt, unsigned int freq) in fpga_dtb_update_clock() argument 258 fpga_dtb_set_commandline(void * fdt,const char * cmdline) fpga_dtb_set_commandline() argument 309 void *fdt = (void *)(uintptr_t)FPGA_PRELOADED_DTB_BASE; fpga_prepare_dtb() local [all...] |
| H A D | fpga_console.c | 20 const void *fdt = (void *)(uintptr_t)FPGA_PRELOADED_DTB_BASE; in fpga_console_init() local
|
| /arm-trusted-firmware/plat/allwinner/sun50i_r329/ |
| H A D | sunxi_power.c | 13 int sunxi_pmic_setup(uint16_t socid, const void *fdt) in sunxi_pmic_setup() argument
|
| /arm-trusted-firmware/drivers/st/regulator/ |
| H A D | regulator_core.c | 83 static int32_t get_supply_phandle(const void *fdt, int node, const char *name) in get_supply_phandle() argument 110 struct rdev *regulator_get_by_supply_name(const void *fdt, int node, const char *name) in regulator_get_by_supply_name() argument 421 static int parse_properties(const void *fdt, struct rdev *rdev, int node) in parse_properties() argument 450 void *fdt; in parse_dt() local [all...] |
| /arm-trusted-firmware/common/ |
| H A D | fdt_fixup.c | 32 static int append_psci_compatible(void *fdt, int offs, const char *str) in append_psci_compatible() argument 64 int dt_add_psci_node(void *fdt) in dt_add_psci_node() argument 108 dt_update_one_cpu_node(void * fdt,int offset) dt_update_one_cpu_node() argument 158 dt_add_psci_cpu_enable_methods(void * fdt) dt_add_psci_cpu_enable_methods() argument [all...] |
| /arm-trusted-firmware/plat/allwinner/common/include/ |
| H A D | sunxi_private.h | 56 static inline void sunxi_prepare_dtb(void *fdt) in sunxi_prepare_dtb() argument
|
| /arm-trusted-firmware/drivers/st/pmic/ |
| H A D | stm32mp_pmic.c | 30 static int dt_get_pmic_node(void *fdt) in dt_get_pmic_node() argument 45 void *fdt; in dt_pmic_status() local 84 void *fdt; in dt_pmic_i2c_config() local 483 void *fdt; register_pmic() local [all...] |
| /arm-trusted-firmware/drivers/st/gpio/ |
| H A D | stm32_gpio.c | 36 static int ckeck_gpio_bank(void *fdt, uint32_t bank, int pinctrl_node) in ckeck_gpio_bank() argument 68 static int dt_set_gpio_config(void *fdt, int node, uint8_t status) in dt_set_gpio_config() argument 187 void *fdt; dt_set_pinctrl_config() local [all...] |