Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/scripts/dtc/libfdt/
A Dlibfdt.h239 #define fdt_for_each_subnode(node, fdt, parent) \ argument
247 #define fdt_get_header(fdt, field) \ argument
249 #define fdt_magic(fdt) (fdt_get_header(fdt, magic)) argument
250 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) argument
254 #define fdt_version(fdt) (fdt_get_header(fdt, version)) argument
398 static inline uint32_t fdt_get_max_phandle(const void *fdt) in fdt_get_max_phandle()
628 #define fdt_for_each_property_offset(property, fdt, node) \ argument
821 static inline void *fdt_getprop_w(void *fdt, int nodeoffset, in fdt_getprop_w()
1513 #define fdt_property_string(fdt, name, str) \ argument
1778 #define fdt_setprop_string(fdt, nodeoffset, name, str) \ argument
[all …]
A Dfdt_ro.c13 static int fdt_nodename_eq_(const void *fdt, int offset, in fdt_nodename_eq_()
100 const char *fdt_string(const void *fdt, int stroffset) in fdt_string()
105 static int fdt_string_eq_(const void *fdt, int stroffset, in fdt_string_eq_()
189 int fdt_num_mem_rsv(const void *fdt) in fdt_num_mem_rsv()
201 static int nextprop_(const void *fdt, int offset) in nextprop_()
244 int fdt_subnode_offset(const void *fdt, int parentoffset, in fdt_subnode_offset()
295 int fdt_path_offset(const void *fdt, const char *path) in fdt_path_offset()
502 const void *fdt_getprop(const void *fdt, int nodeoffset, in fdt_getprop()
525 const char *fdt_get_alias_namelen(const void *fdt, in fdt_get_alias_namelen()
632 int fdt_node_depth(const void *fdt, int nodeoffset) in fdt_node_depth()
[all …]
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()
113 void *fdt = buf; in fdt_create_with_flags() local
208 int fdt_finish_reservemap(void *fdt) in fdt_finish_reservemap()
236 int fdt_end_node(void *fdt) in fdt_end_node()
[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_()
42 #define FDT_RW_PROBE(fdt) \ argument
49 static inline unsigned int fdt_data_size_(void *fdt) in fdt_data_size_()
83 static int fdt_splice_struct_(void *fdt, void *p, in fdt_splice_struct_()
98 static void fdt_del_last_string_(void *fdt, const char *s) in fdt_del_last_string_()
105 static int fdt_splice_string_(void *fdt, int newlen) in fdt_splice_string_()
172 int fdt_del_mem_rsv(void *fdt, int n) in fdt_del_mem_rsv()
333 int fdt_add_subnode_namelen(void *fdt, int parentoffset, in fdt_add_subnode_namelen()
382 int fdt_del_node(void *fdt, int nodeoffset) in fdt_del_node()
[all …]
A Dfdt.c18 int32_t fdt_ro_probe_(const void *fdt) in fdt_ro_probe_()
83 size_t fdt_header_size(const void *fdt) in fdt_header_size()
89 int fdt_check_header(const void *fdt) in fdt_check_header()
140 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) in fdt_offset_ptr()
162 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag()
223 int fdt_check_node_offset_(const void *fdt, int offset) in fdt_check_node_offset_()
235 int fdt_check_prop_offset_(const void *fdt, int offset) in fdt_check_prop_offset_()
247 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node()
287 int fdt_first_subnode(const void *fdt, int offset) in fdt_first_subnode()
298 int fdt_next_subnode(const void *fdt, int offset) in fdt_next_subnode()
[all …]
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 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_overlay.c43 int fdt_overlay_target_offset(const void *fdt, const void *fdto, in fdt_overlay_target_offset()
101 static int overlay_phandle_add_offset(void *fdt, int node, in overlay_phandle_add_offset()
353 static int overlay_fixup_one_phandle(void *fdt, void *fdto, in overlay_fixup_one_phandle()
413 static int overlay_fixup_phandle(void *fdt, void *fdto, int symbols_off, in overlay_fixup_phandle()
495 static int overlay_fixup_phandles(void *fdt, void *fdto) in overlay_fixup_phandles()
542 static int overlay_apply_node(void *fdt, int target, in overlay_apply_node()
604 static int overlay_merge(void *fdt, void *fdto) in overlay_merge()
636 static int get_path_len(const void *fdt, int nodeoffset) in get_path_len()
680 static int overlay_symbol_update(void *fdt, void *fdto) in overlay_symbol_update()
815 int fdt_overlay_apply(void *fdt, void *fdto) in fdt_overlay_apply()
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-6.3-rc2/fs/
A Dfile.c34 static void __free_fdtable(struct fdtable *fdt) in __free_fdtable()
107 struct fdtable *fdt; in alloc_fdtable() local
218 struct fdtable *fdt; in expand_files() local
504 struct fdtable *fdt; in alloc_fd() local
605 struct fdtable *fdt; in fd_install() local
685 struct fdtable *fdt; in __range_cloexec() local
821 struct fdtable *fdt; in do_close_on_exec() local
1067 struct fdtable *fdt; in set_close_on_exec() local
1080 struct fdtable *fdt; in get_close_on_exec() local
1094 struct fdtable *fdt; in do_dup2() local
[all …]
/linux-6.3-rc2/arch/arm/boot/compressed/
A Datags_to_fdt.c14 static int node_offset(void *fdt, const char *node_path) in node_offset()
23 static int setprop(void *fdt, const char *node_path, const char *property, in setprop()
32 static int setprop_string(void *fdt, const char *node_path, in setprop_string()
41 static int setprop_cell(void *fdt, const char *node_path, in setprop_cell()
50 static const void *getprop(const void *fdt, const char *node_path, in getprop()
61 static uint32_t get_cell_size(const void *fdt) in get_cell_size()
72 static void merge_fdt_bootargs(void *fdt, const char *fdt_cmdline) in merge_fdt_bootargs()
129 int atags_to_fdt(void *atag_list, void *fdt, int total_space) in atags_to_fdt()
A Dfdt_check_mem_start.c7 static const void *get_prop(const void *fdt, const char *node_path, in get_prop()
24 static uint32_t get_cells(const void *fdt, const char *name) in get_cells()
63 uint32_t fdt_check_mem_start(uint32_t mem_start, const void *fdt) in fdt_check_mem_start()
/linux-6.3-rc2/arch/powerpc/mm/nohash/
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-6.3-rc2/drivers/of/
A Dkexec.c40 static int fdt_find_and_del_mem_rsv(void *fdt, unsigned long start, unsigned long size) in fdt_find_and_del_mem_rsv()
200 static void remove_ima_buffer(void *fdt, int chosen_node) in remove_ima_buffer()
233 static int setup_ima_buffer(const struct kimage *image, void *fdt, in setup_ima_buffer()
259 static inline int setup_ima_buffer(const struct kimage *image, void *fdt, in setup_ima_buffer()
283 void *fdt; in of_kexec_alloc_and_setup_fdt() local
/linux-6.3-rc2/arch/arm64/kernel/pi/
A Dkaslr_early.c43 static bool is_kaslr_disabled_cmdline(void *fdt) in is_kaslr_disabled_cmdline()
69 static u64 get_kaslr_seed(void *fdt) in get_kaslr_seed()
88 asmlinkage u64 kaslr_early_init(void *fdt) in kaslr_early_init()
/linux-6.3-rc2/drivers/firmware/efi/libstub/
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
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-6.3-rc2/include/linux/
A Dfdtable.h36 static inline bool close_on_exec(unsigned int fd, const struct fdtable *fdt) in close_on_exec()
41 static inline bool fd_is_open(unsigned int fd, const struct fdtable *fdt) in fd_is_open()
57 struct fdtable __rcu *fdt; member
85 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in files_lookup_fd_raw() local
/linux-6.3-rc2/tools/testing/selftests/net/
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
/linux-6.3-rc2/arch/mips/generic/
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()
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()
A Dboard-ocelot.its.S31 fdt = "fdt-ocelot_pcb123"; define
37 fdt = "fdt-ocelot_pcb120"; define
A Dboard-jaguar2.its.S30 fdt = "fdt-jaguar2_pcb110"; define
36 fdt = "fdt-jaguar2_pcb111"; define
/linux-6.3-rc2/arch/powerpc/kexec/
A Dfile_load_64.c563 static int add_usable_mem_property(void *fdt, struct device_node *dn, in add_usable_mem_property()
653 static int update_usable_mem_fdt(void *fdt, struct crash_mem *usable_mem) in update_usable_mem_fdt()
879 const void *fdt, unsigned long kernel_load_addr, in setup_purgatory_ppc64()
1030 static int add_node_props(void *fdt, int node_offset, const struct device_node *dn) in add_node_props()
1055 static int update_cpus_node(void *fdt) in update_cpus_node()
1108 static int copy_property(void *fdt, int node_offset, const struct device_node *dn, in copy_property()
1125 static int update_pci_dma_nodes(void *fdt, const char *dmapropname) in update_pci_dma_nodes()
1162 int setup_new_fdt_ppc64(const struct kimage *image, void *fdt, in setup_new_fdt_ppc64()
/linux-6.3-rc2/arch/mips/mti-malta/
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()

Completed in 49 milliseconds

1234