Home
last modified time | relevance | path

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

123

/linux/scripts/dtc/libfdt/
H A 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 …]
H A 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 …]
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_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 …]
H 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 …]
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 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_()
H 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()
331 static int overlay_fixup_one_phandle(void *fdt, void *fdto, in overlay_fixup_one_phandle()
375 static int overlay_fixup_phandle(void *fdt, void *fdto, int symbols_off, in overlay_fixup_phandle()
473 static int overlay_fixup_phandles(void *fdt, void *fdto) in overlay_fixup_phandles()
656 static int overlay_prevent_phandle_overwrite_node(void *fdt, int fdtnode, in overlay_prevent_phandle_overwrite_node()
715 static int overlay_prevent_phandle_overwrite(void *fdt, void *fdto) in overlay_prevent_phandle_overwrite()
769 static int overlay_apply_node(void *fdt, int target, in overlay_apply_node()
831 static int overlay_merge(void *fdt, void *fdto) in overlay_merge()
863 static int get_path_len(const void *fdt, int nodeoffset) in get_path_len()
[all …]
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/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/fs/
H A Dfile.c97 static void __free_fdtable(struct fdtable *fdt) in __free_fdtable()
112 #define fdt_words(fdt) ((fdt)->max_fds / BITS_PER_LONG) // words in ->open_fds argument
158 struct fdtable *fdt; in alloc_fdtable() local
271 struct fdtable *fdt; in expand_files() local
301 static inline void __set_close_on_exec(unsigned int fd, struct fdtable *fdt, in __set_close_on_exec()
312 static inline void __set_open_fd(unsigned int fd, struct fdtable *fdt, bool set) in __set_open_fd()
321 static inline void __clear_open_fd(unsigned int fd, struct fdtable *fdt) in __clear_open_fd()
329 static inline bool fd_is_open(unsigned int fd, const struct fdtable *fdt) in fd_is_open()
343 static unsigned int sane_fdtable_size(struct fdtable *fdt, struct fd_range *punch_hole) in sane_fdtable_size()
452 struct fdtable *fdt = rcu_dereference_raw(files->fdt); in close_files() local
[all …]
/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.c37 static bool fdt_device_is_available(const void *fdt, int node) in fdt_device_is_available()
55 static int fdt_node_name_eq(const void *fdt, int offset, in fdt_node_name_eq()
137 static bool early_cpu_isa_ext_available(const void *fdt, int node, const char *ext_name) in early_cpu_isa_ext_available()
162 bool fdt_early_match_extension_isa(const void *fdt, const char *ext_name) in fdt_early_match_extension_isa()
/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
/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
/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/arch/arm64/kernel/pi/
H A Dkaslr_early.c23 static u64 __init get_kaslr_seed(void *fdt, int node) in get_kaslr_seed()
42 u64 __init kaslr_early_init(void *fdt, int chosen) in kaslr_early_init()
/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()

123