Home
last modified time | relevance | path

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

123

/linux/scripts/dtc/libfdt/
H A Dfdt_ro.c13 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
298 fdt_path_offset(const void * fdt,const char * path) fdt_path_offset() argument
303 fdt_get_name(const void * fdt,int nodeoffset,int * len) fdt_get_name() argument
341 fdt_first_property_offset(const void * fdt,int nodeoffset) fdt_first_property_offset() argument
351 fdt_next_property_offset(const void * fdt,int offset) fdt_next_property_offset() argument
359 fdt_get_property_by_offset_(const void * fdt,int offset,int * lenp) fdt_get_property_by_offset_() argument
381 fdt_get_property_by_offset(const void * fdt,int offset,int * lenp) fdt_get_property_by_offset() argument
397 fdt_get_property_namelen_(const void * fdt,int offset,const char * name,int namelen,int * lenp,int * poffset) fdt_get_property_namelen_() argument
428 fdt_get_property_namelen(const void * fdt,int offset,const char * name,int namelen,int * lenp) fdt_get_property_namelen() argument
446 fdt_get_property(const void * fdt,int nodeoffset,const char * name,int * lenp) fdt_get_property() argument
454 fdt_getprop_namelen(const void * fdt,int nodeoffset,const char * name,int namelen,int * lenp) fdt_getprop_namelen() argument
472 fdt_getprop_by_offset(const void * fdt,int offset,const char ** namep,int * lenp) fdt_getprop_by_offset() argument
505 fdt_getprop(const void * fdt,int nodeoffset,const char * name,int * lenp) fdt_getprop() argument
511 fdt_get_phandle(const void * fdt,int nodeoffset) fdt_get_phandle() argument
528 fdt_path_getprop_namelen(const void * fdt,const char * path,const char * propname,int propnamelen,int * lenp) fdt_path_getprop_namelen() argument
540 fdt_get_alias_namelen(const void * fdt,const char * name,int namelen) fdt_get_alias_namelen() argument
555 fdt_get_alias(const void * fdt,const char * name) fdt_get_alias() argument
560 fdt_get_symbol_namelen(const void * fdt,const char * name,int namelen) fdt_get_symbol_namelen() argument
566 fdt_get_symbol(const void * fdt,const char * name) fdt_get_symbol() argument
571 fdt_get_path(const void * fdt,int nodeoffset,char * buf,int buflen) fdt_get_path() argument
623 fdt_supernode_atdepth_offset(const void * fdt,int nodeoffset,int supernodedepth,int * nodedepth) fdt_supernode_atdepth_offset() argument
661 fdt_node_depth(const void * fdt,int nodeoffset) fdt_node_depth() argument
673 fdt_parent_offset(const void * fdt,int nodeoffset) fdt_parent_offset() argument
683 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
710 fdt_node_offset_by_phandle(const void * fdt,uint32_t phandle) fdt_node_offset_by_phandle() argument
752 fdt_stringlist_count(const void * fdt,int nodeoffset,const char * property) fdt_stringlist_count() argument
777 fdt_stringlist_search(const void * fdt,int nodeoffset,const char * property,const char * string) fdt_stringlist_search() argument
807 fdt_stringlist_get(const void * fdt,int nodeoffset,const char * property,int idx,int * lenp) fdt_stringlist_get() argument
852 fdt_node_check_compatible(const void * fdt,int nodeoffset,const char * compatible) fdt_node_check_compatible() argument
865 fdt_node_offset_by_compatible(const void * fdt,int startoffset,const char * compatible) fdt_node_offset_by_compatible() argument
[all...]
H A Dfdt_sw.c13 static int fdt_sw_probe_(void *fdt) in fdt_sw_probe_()
25 #define FDT_SW_PROBE(fdt) \ argument
38 static int fdt_sw_probe_memrsv_(void *fdt) in fdt_sw_probe_memrsv_()
49 #define FDT_SW_PROBE_MEMRSV(fdt) \ argument
64 static int fdt_sw_probe_struct_(void *fdt) in fdt_sw_probe_struct_()
76 #define FDT_SW_PROBE_STRUCT(fdt) \ argument
83 static inline uint32_t sw_flags(void *fdt) in sw_flags()
94 static void *fdt_grab_space_(void *fdt, size_t len) in fdt_grab_space_()
113 void *fdt = buf; in fdt_create_with_flags() local
148 int fdt_resize(void *fdt, void *buf, int bufsize) in fdt_resize()
[all …]
H 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()
H 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()
/linux/fs/
H A Dfile.c103 static void __free_fdtable(struct fdtable *fdt) in __free_fdtable()
118 #define fdt_words(fdt) ((fdt)->max_fds / BITS_PER_LONG) // words in ->open_fds argument
164 struct fdtable *fdt; in alloc_fdtable() local
292 struct fdtable *fdt; in expand_files() local
322 static inline void __set_close_on_exec(unsigned int fd, struct fdtable *fdt, in __set_close_on_exec()
333 static inline void __set_open_fd(unsigned int fd, struct fdtable *fdt, bool set) in __set_open_fd()
342 static inline void __clear_open_fd(unsigned int fd, struct fdtable *fdt) in __clear_open_fd()
350 static inline bool fd_is_open(unsigned int fd, const struct fdtable *fdt) in fd_is_open()
364 static unsigned int sane_fdtable_size(struct fdtable *fdt, struct fd_range *punch_hole) in sane_fdtable_size()
481 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in close_files() local
[all …]
/linux/arch/arm/boot/compressed/
H A Datags_to_fdt.c15 static int node_offset(void *fdt, const char *node_path) in node_offset()
24 static int setprop(void *fdt, const char *node_path, const char *property, in setprop()
33 static int setprop_string(void *fdt, const char *node_path, in setprop_string()
42 static int setprop_cell(void *fdt, const char *node_path, in setprop_cell()
51 static const void *getprop(const void *fdt, const char *node_path, in getprop()
62 static uint32_t get_cell_size(const void *fdt) in get_cell_size()
73 static void merge_fdt_bootargs(void *fdt, const char *fdt_cmdline) in merge_fdt_bootargs()
130 int atags_to_fdt(void *atag_list, void *fdt, int total_space) in atags_to_fdt()
H A Dfdt_check_mem_start.c8 static const void *get_prop(const void *fdt, const char *node_path, in get_prop()
25 static uint32_t get_cells(const void *fdt, const char *name) in get_cells()
64 uint32_t fdt_check_mem_start(uint32_t mem_start, const void *fdt) in fdt_check_mem_start()
/linux/arch/powerpc/mm/nohash/
H A Dkaslr_booke.c40 static __init void kaslr_get_cmdline(void *fdt) in kaslr_get_cmdline()
64 static unsigned long __init get_boot_seed(void *fdt) in get_boot_seed()
75 static __init u64 get_kaslr_seed(void *fdt) in get_kaslr_seed()
99 static __init bool overlaps_reserved_region(const void *fdt, u32 start, in overlaps_reserved_region()
153 static __init bool overlaps_region(const void *fdt, u32 start, in overlaps_region()
174 static void __init get_crash_kernel(void *fdt, unsigned long size) in get_crash_kernel()
194 static void __init get_initrd_range(void *fdt) in get_initrd_range()
220 static __init unsigned long get_usable_address(const void *fdt, in get_usable_address()
237 static __init void get_cell_sizes(const void *fdt, int node, int *addr_cells, in get_cell_sizes()
/linux/arch/riscv/kernel/pi/
H A Dfdt_early.c38 static bool fdt_device_is_available(const void *fdt, int node) in fdt_device_is_available()
56 static int fdt_node_name_eq(const void *fdt, int offset, in fdt_node_name_eq()
138 static bool early_cpu_isa_ext_available(const void *fdt, int node, const char *ext_name) in early_cpu_isa_ext_available()
163 bool fdt_early_match_extension_isa(const void *fdt, const char *ext_name) in fdt_early_match_extension_isa()
198 const void *fdt = (const void *)dtb_pa; in set_satp_mode_from_fdt() local
/linux/kernel/liveupdate/
H A Dkexec_handover_debugfs.c27 const char *name, const void *fdt) in __kho_debugfs_fdt_add()
52 const void *fdt, bool root) in kho_debugfs_fdt_add()
64 void kho_debugfs_fdt_remove(struct kho_debugfs *dbg, void *fdt) in kho_debugfs_fdt_remove()
114 __init void kho_in_debugfs_init(struct kho_debugfs *dbg, const void *fdt) in kho_in_debugfs_init()
H A Dkexec_handover_internal.h38 const void *fdt) { } in kho_in_debugfs_init()
41 const void *fdt, bool root) { return 0; } in kho_debugfs_fdt_add()
43 void *fdt) { } in kho_debugfs_fdt_remove()
/linux/drivers/firmware/efi/libstub/
H A Dfdt.c19 static void fdt_update_cell_size(void *fdt) in fdt_update_cell_size()
31 void *fdt, int new_fdt_size, char *cmdline_ptr) in update_fdt()
147 static efi_status_t update_fdt_memmap(void *fdt, struct efi_boot_memmap *map) in update_fdt_memmap()
366 void *fdt; in get_fdt() local
H A Driscv.c20 const void *fdt; in get_boot_hartid_from_fdt() local
84 void __noreturn efi_enter_kernel(unsigned long entrypoint, unsigned long fdt, in efi_enter_kernel()
/linux/tools/testing/selftests/net/
H A Dtxring_overwrite.c90 int fdt; in setup_tx() local
122 static void send_pkt(int fdt, void *slot, char payload_char) in send_pkt()
162 int fdr, fdt, ret = 0; in main() local
H A Dso_txtime.c73 static void do_send_one(int fdt, struct timed_send *ts) in do_send_one() argument
154 static int do_recv_errqueue_timeout(int fdt) in do_recv_errqueue_timeout() argument
229 static void recv_errqueue_msgs(int fdt) in recv_errqueue_msgs() argument
327 int fdt, i; in do_test_tx() local
[all...]
/linux/arch/mips/generic/
H A Dboard-sead3.c43 static __init int append_memory(void *fdt) in append_memory()
48 static __init int remove_gic(void *fdt) in remove_gic()
159 static __init const void *sead3_fixup_fdt(const void *fdt, in sead3_fixup_fdt()
H A Dyamon-dt.c20 __init int yamon_dt_append_cmdline(void *fdt) in yamon_dt_append_cmdline()
75 __init int yamon_dt_append_memory(void *fdt, in yamon_dt_append_memory()
157 __init int yamon_dt_serial_config(void *fdt) in yamon_dt_serial_config()
H A Dboard-realtek.c14 static __init int realtek_add_initrd(void *fdt) in realtek_add_initrd()
53 static __init const void *realtek_fixup_fdt(const void *fdt, const void *match_data) in realtek_fixup_fdt()
H A Dboard-ocelot.its.S31 fdt = "fdt-ocelot_pcb123"; define
37 fdt = "fdt-ocelot_pcb120"; define
H A Dboard-jaguar2.its.S30 fdt = "fdt-jaguar2_pcb110"; define
36 fdt = "fdt-jaguar2_pcb111"; define
H A Dboard-ingenic.c68 static __init void ingenic_force_12M_ext(const void *fdt, unsigned int mask) in ingenic_force_12M_ext()
108 static __init const void *ingenic_fixup_fdt(const void *fdt, const void *match_data) in ingenic_fixup_fdt()
/linux/arch/mips/mti-malta/
H A Dmalta-dtshim.c131 static void __init append_memory(void *fdt, int root_off) in append_memory()
227 static void __init remove_gic(void *fdt) in remove_gic()
301 void __init *malta_dt_shim(void *fdt) in malta_dt_shim()
/linux/lib/
H A Dtest_kho.c39 struct folio *fdt; member
101 void *fdt = folio_address(state->fdt); in kho_test_prepare_fdt() local
234 static int kho_test_restore_data(const void *fdt, int node) in kho_test_restore_data()
288 void *fdt = phys_to_virt(fdt_phys); in kho_test_restore() local
/linux/arch/mips/include/asm/
H A Dmachine.h15 const void *fdt; member
44 mips_machine_is_compatible(const struct mips_machine *mach, const void *fdt) in mips_machine_is_compatible()
/linux/drivers/firmware/efi/
H A Dfdtparams.c60 static int __init efi_get_fdt_prop(const void *fdt, int node, const char *pname, in efi_get_fdt_prop()
86 const void *fdt = initial_boot_params; in efi_get_fdt_params() local

123