Home
last modified time | relevance | path

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

123

/linux-6.1.9/scripts/dtc/libfdt/
Dlibfdt.h122 static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen) in fdt_offset_ptr_w()
239 #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
251 #define fdt_off_dt_struct(fdt) (fdt_get_header(fdt, off_dt_struct)) argument
252 #define fdt_off_dt_strings(fdt) (fdt_get_header(fdt, off_dt_strings)) argument
253 #define fdt_off_mem_rsvmap(fdt) (fdt_get_header(fdt, off_mem_rsvmap)) argument
254 #define fdt_version(fdt) (fdt_get_header(fdt, version)) argument
255 #define fdt_last_comp_version(fdt) (fdt_get_header(fdt, last_comp_version)) argument
[all …]
Dfdt_ro.c13 static int fdt_nodename_eq_(const void *fdt, int offset, in fdt_nodename_eq_()
34 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp) in fdt_get_string()
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_()
114 int fdt_find_max_phandle(const void *fdt, uint32_t *phandle) in fdt_find_max_phandle()
142 int fdt_generate_phandle(const void *fdt, uint32_t *phandle) in fdt_generate_phandle()
160 static const struct fdt_reserve_entry *fdt_mem_rsv(const void *fdt, int n) in fdt_mem_rsv()
175 int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size) in fdt_get_mem_rsv()
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_()
[all …]
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 …]
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_()
54 static int fdt_splice_(void *fdt, void *splicepoint, int oldlen, int newlen) in fdt_splice_()
70 static int fdt_splice_mem_rsv_(void *fdt, struct fdt_reserve_entry *p, in fdt_splice_mem_rsv_()
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_()
127 static int fdt_find_add_string_(void *fdt, const char *s, int *allocated) in fdt_find_add_string_()
[all …]
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()
143 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) in fdt_offset_ptr()
165 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag()
219 int fdt_check_node_offset_(const void *fdt, int offset) in fdt_check_node_offset_()
231 int fdt_check_prop_offset_(const void *fdt, int offset) in fdt_check_prop_offset_()
243 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node()
283 int fdt_first_subnode(const void *fdt, int offset) in fdt_first_subnode()
294 int fdt_next_subnode(const void *fdt, int offset) in fdt_next_subnode()
[all …]
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()
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_()
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()
368 static int overlay_fixup_one_phandle(void *fdt, void *fdto, in overlay_fixup_one_phandle()
428 static int overlay_fixup_phandle(void *fdt, void *fdto, int symbols_off, in overlay_fixup_phandle()
510 static int overlay_fixup_phandles(void *fdt, void *fdto) in overlay_fixup_phandles()
557 static int overlay_apply_node(void *fdt, int target, in overlay_apply_node()
619 static int overlay_merge(void *fdt, void *fdto) in overlay_merge()
651 static int get_path_len(const void *fdt, int nodeoffset) in get_path_len()
695 static int overlay_symbol_update(void *fdt, void *fdto) in overlay_symbol_update()
830 int fdt_overlay_apply(void *fdt, void *fdto) in fdt_overlay_apply()
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.1.9/fs/
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
249 static inline void __set_close_on_exec(unsigned int fd, struct fdtable *fdt) in __set_close_on_exec()
254 static inline void __clear_close_on_exec(unsigned int fd, struct fdtable *fdt) in __clear_close_on_exec()
260 static inline void __set_open_fd(unsigned int fd, struct fdtable *fdt) in __set_open_fd()
268 static inline void __clear_open_fd(unsigned int fd, struct fdtable *fdt) in __clear_open_fd()
274 static unsigned int count_open_files(struct fdtable *fdt) in count_open_files()
301 static unsigned int sane_fdtable_size(struct fdtable *fdt, unsigned int max_fds) in sane_fdtable_size()
419 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in close_files() local
[all …]
/linux-6.1.9/arch/arm/boot/compressed/
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()
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.1.9/arch/powerpc/mm/nohash/
Dkaslr_booke.c41 static __init void kaslr_get_cmdline(void *fdt) in kaslr_get_cmdline()
65 static unsigned long __init get_boot_seed(void *fdt) in get_boot_seed()
76 static __init u64 get_kaslr_seed(void *fdt) in get_kaslr_seed()
100 static __init bool overlaps_reserved_region(const void *fdt, u32 start, in overlaps_reserved_region()
154 static __init bool overlaps_region(const void *fdt, u32 start, in overlaps_region()
175 static void __init get_crash_kernel(void *fdt, unsigned long size) in get_crash_kernel()
195 static void __init get_initrd_range(void *fdt) in get_initrd_range()
221 static __init unsigned long get_usable_address(const void *fdt, in get_usable_address()
238 static __init void get_cell_sizes(const void *fdt, int node, int *addr_cells, in get_cell_sizes()
/linux-6.1.9/drivers/of/
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.1.9/arch/arm64/kernel/pi/
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.1.9/drivers/firmware/efi/libstub/
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
/linux-6.1.9/include/linux/
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.1.9/tools/testing/selftests/net/
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.1.9/arch/mips/generic/
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()
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()
Dboard-ocelot.its.S31 fdt = "fdt-ocelot_pcb123"; define
37 fdt = "fdt-ocelot_pcb120"; define
Dboard-jaguar2.its.S30 fdt = "fdt-jaguar2_pcb110"; define
36 fdt = "fdt-jaguar2_pcb111"; define
/linux-6.1.9/arch/powerpc/kexec/
Dfile_load_64.c560 static int add_usable_mem_property(void *fdt, struct device_node *dn, in add_usable_mem_property()
650 static int update_usable_mem_fdt(void *fdt, struct crash_mem *usable_mem) in update_usable_mem_fdt()
875 const void *fdt, unsigned long kernel_load_addr, in setup_purgatory_ppc64()
964 static int add_node_props(void *fdt, int node_offset, const struct device_node *dn) in add_node_props()
989 static int update_cpus_node(void *fdt) in update_cpus_node()
1042 static int copy_property(void *fdt, int node_offset, const struct device_node *dn, in copy_property()
1059 static int update_pci_dma_nodes(void *fdt, const char *dmapropname) in update_pci_dma_nodes()
1096 int setup_new_fdt_ppc64(const struct kimage *image, void *fdt, in setup_new_fdt_ppc64()
/linux-6.1.9/arch/mips/mti-malta/
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-6.1.9/arch/mips/include/asm/
Dmachine.h15 const void *fdt; member
44 mips_machine_is_compatible(const struct mips_machine *mach, const void *fdt) in mips_machine_is_compatible()

123