/u-boot/include/linux/ |
A D | ctype.h | 23 #define isalpha(c) ((__ismask(c)&(_U|_L)) != 0) argument 24 #define iscntrl(c) ((__ismask(c)&(_C)) != 0) argument 25 #define isdigit(c) ((__ismask(c)&(_D)) != 0) argument 27 #define islower(c) ((__ismask(c)&(_L)) != 0) argument 29 #define ispunct(c) ((__ismask(c)&(_P)) != 0) argument 30 #define isspace(c) ((__ismask(c)&(_S)) != 0) argument 31 #define isupper(c) ((__ismask(c)&(_U)) != 0) argument 38 #define isblank(c) (c == ' ' || c == '\t') argument 41 #define toascii(c) (((unsigned char)(c))&0x7f) argument 57 #define tolower(c) __tolower(c) argument [all …]
|
/u-boot/include/ |
A D | ctype.h | 23 #define isalpha(c) ((__ismask(c)&(_U|_L)) != 0) argument 24 #define iscntrl(c) ((__ismask(c)&(_C)) != 0) argument 25 #define isdigit(c) ((__ismask(c)&(_D)) != 0) argument 27 #define islower(c) ((__ismask(c)&(_L)) != 0) argument 29 #define ispunct(c) ((__ismask(c)&(_P)) != 0) argument 30 #define isspace(c) ((__ismask(c)&(_S)) != 0) argument 31 #define isupper(c) ((__ismask(c)&(_U)) != 0) argument 38 #define isblank(c) (c == ' ' || c == '\t') argument 41 #define toascii(c) (((unsigned char)(c))&0x7f) argument 57 #define tolower(c) __tolower(c) argument [all …]
|
/u-boot/fs/ubifs/ |
A D | key.h | 84 static inline void ino_key_init(const struct ubifs_info *c, in ino_key_init() 113 static inline void lowest_ino_key(const struct ubifs_info *c, in lowest_ino_key() 140 static inline void dent_key_init(const struct ubifs_info *c, in dent_key_init() 208 static inline void xent_key_init(const struct ubifs_info *c, in xent_key_init() 315 static inline int key_type(const struct ubifs_info *c, in key_type() 362 static inline uint32_t key_hash(const struct ubifs_info *c, in key_hash() 425 static inline void key_write(const struct ubifs_info *c, in key_write() 456 static inline void key_copy(const struct ubifs_info *c, in key_copy() 471 static inline int keys_cmp(const struct ubifs_info *c, in keys_cmp() 496 static inline int keys_eq(const struct ubifs_info *c, in keys_eq() [all …]
|
A D | budget.c | 72 static int run_gc(struct ubifs_info *c) in run_gc() 98 static long long get_liability(struct ubifs_info *c) in get_liability() 126 static int make_free_space(struct ubifs_info *c) in make_free_space() 173 int ubifs_calc_min_idx_lebs(struct ubifs_info *c) in ubifs_calc_min_idx_lebs() 269 static int can_use_rp(struct ubifs_info *c) in can_use_rp() 302 static int do_budget_space(struct ubifs_info *c) in do_budget_space() 370 static int calc_idx_growth(const struct ubifs_info *c, in calc_idx_growth() 386 static int calc_data_growth(const struct ubifs_info *c, in calc_data_growth() 406 static int calc_dd_growth(const struct ubifs_info *c, in calc_dd_growth() 579 void ubifs_convert_page_budget(struct ubifs_info *c) in ubifs_convert_page_budget() [all …]
|
A D | lpt_commit.c | 192 static int layout_cnodes(struct ubifs_info *c) in layout_cnodes() 371 static int write_cnodes(struct ubifs_info *c) in write_cnodes() 701 static int make_tree_dirty(struct ubifs_info *c) in make_tree_dirty() 725 static int need_write_all(struct ubifs_info *c) in need_write_all() 752 static void lpt_tgc_start(struct ubifs_info *c) in lpt_tgc_start() 778 static int lpt_tgc_end(struct ubifs_info *c) in lpt_tgc_end() 1196 static int lpt_gc(struct ubifs_info *c) in lpt_gc() 1326 int ubifs_lpt_end_commit(struct ubifs_info *c) in ubifs_lpt_end_commit() 1354 int ubifs_lpt_post_commit(struct ubifs_info *c) in ubifs_lpt_post_commit() 1707 int dbg_check_ltab(struct ubifs_info *c) in dbg_check_ltab() [all …]
|
A D | lprops.c | 219 static void remove_from_lpt_heap(struct ubifs_info *c, in remove_from_lpt_heap() 249 static void lpt_heap_replace(struct ubifs_info *c, in lpt_heap_replace() 268 void ubifs_add_to_cat(struct ubifs_info *c, struct ubifs_lprops *lprops, in ubifs_add_to_cat() 311 static void ubifs_remove_from_cat(struct ubifs_info *c, in ubifs_remove_from_cat() 403 int ubifs_categorize_lprops(const struct ubifs_info *c, in ubifs_categorize_lprops() 474 int ubifs_calc_dark(const struct ubifs_info *c, int spc) in ubifs_calc_dark() 527 const struct ubifs_lprops *ubifs_change_lp(struct ubifs_info *c, in ubifs_change_lp() 761 const struct ubifs_lprops *ubifs_fast_find_free(struct ubifs_info *c) in ubifs_fast_find_free() 858 int dbg_check_cats(struct ubifs_info *c) in dbg_check_cats() 1022 static int scan_check_cb(struct ubifs_info *c, in scan_check_cb() [all …]
|
A D | misc.h | 56 static inline void ubifs_wake_up_bgt(struct ubifs_info *c) in ubifs_wake_up_bgt() 166 static inline int ubifs_add_dirt(struct ubifs_info *c, int lnum, int dirty) in ubifs_add_dirt() 180 static inline int ubifs_return_leb(struct ubifs_info *c, int lnum) in ubifs_return_leb() 191 static inline int ubifs_idx_node_sz(const struct ubifs_info *c, int child_cnt) in ubifs_idx_node_sz() 203 struct ubifs_branch *ubifs_idx_branch(const struct ubifs_info *c, in ubifs_idx_branch() 216 static inline void *ubifs_idx_key(const struct ubifs_info *c, in ubifs_idx_key() 250 static inline int ubifs_tnc_lookup(struct ubifs_info *c, in ubifs_tnc_lookup() 263 static inline void ubifs_get_lprops(struct ubifs_info *c) in ubifs_get_lprops() 275 static inline void ubifs_release_lprops(struct ubifs_info *c) in ubifs_release_lprops() 291 static inline int ubifs_next_log_lnum(const struct ubifs_info *c, int lnum) in ubifs_next_log_lnum()
|
A D | io.c | 79 void ubifs_ro_mode(struct ubifs_info *c, int err) in ubifs_ro_mode() 159 int ubifs_leb_unmap(struct ubifs_info *c, int lnum) in ubifs_leb_unmap() 180 int ubifs_leb_map(struct ubifs_info *c, int lnum) in ubifs_leb_map() 201 int ubifs_is_mapped(const struct ubifs_info *c, int lnum) in ubifs_is_mapped() 323 void ubifs_pad(const struct ubifs_info *c, void *buf, int pad) in ubifs_pad() 353 static unsigned long long next_sqnum(struct ubifs_info *c) in next_sqnum() 504 struct ubifs_info *c = wbuf->c; in ubifs_wbuf_sync_nolock() local 579 const struct ubifs_info *c = wbuf->c; in ubifs_wbuf_seek_nolock() local 613 int ubifs_bg_wbufs_sync(struct ubifs_info *c) in ubifs_bg_wbufs_sync() 687 struct ubifs_info *c = wbuf->c; in ubifs_wbuf_write_nolock() local [all …]
|
A D | super.c | 247 struct ubifs_info *c = sb->s_fs_info; in ubifs_iget() local 638 struct ubifs_info *c = sb->s_fs_info; in ubifs_sync_fs() local 1061 static void free_buds(struct ubifs_info *c) in free_buds() 1285 static void bu_init(struct ubifs_info *c) in bu_init() 1989 struct ubifs_info *c = sb->s_fs_info; in ubifs_put_super() local 2071 struct ubifs_info *c = sb->s_fs_info; in ubifs_remount_fs() local 2200 struct ubifs_info *c; in alloc_ubifs_info() local 2246 struct ubifs_info *c = sb->s_fs_info; in ubifs_fill_super() local 2345 struct ubifs_info *c = sb->s_fs_info; in sb_test() local 2455 struct ubifs_info *c; in ubifs_mount() local [all …]
|
A D | tnc.c | 139 static int ins_clr_old_idx_znode(struct ubifs_info *c, in ins_clr_old_idx_znode() 178 void destroy_old_idx(struct ubifs_info *c) in destroy_old_idx() 195 static struct ubifs_znode *copy_znode(struct ubifs_info *c, in copy_znode() 571 static struct ubifs_znode *get_znode(struct ubifs_info *c, in get_znode() 808 static int fallible_matches_name(struct ubifs_info *c, in fallible_matches_name() 878 static int fallible_resolve_collision(struct ubifs_info *c, in fallible_resolve_collision() 1022 static int resolve_collision_directly(struct ubifs_info *c, in resolve_collision_directly() 1642 const struct ubifs_info *c = wbuf->c; in read_wbuf() local 2672 int ubifs_tnc_remove_ino(struct ubifs_info *c, ino_t inum) in ubifs_tnc_remove_ino() 2840 static void tnc_destroy_cnext(struct ubifs_info *c) in tnc_destroy_cnext() [all …]
|
A D | debug.c | 745 void ubifs_dump_lprops(struct ubifs_info *c) in ubifs_dump_lprops() 767 void ubifs_dump_lpt_info(struct ubifs_info *c) in ubifs_dump_lpt_info() 932 void ubifs_dump_tnc(struct ubifs_info *c) in ubifs_dump_tnc() 967 void ubifs_dump_index(struct ubifs_info *c) in ubifs_dump_index() 980 void dbg_save_space_info(struct ubifs_info *c) in dbg_save_space_info() 1030 int dbg_check_space_info(struct ubifs_info *c) in dbg_check_space_info() 1477 void dbg_debugfs_exit_fs(struct ubifs_info *c) in dbg_debugfs_exit_fs() 1493 int dbg_debugfs_init_fs(struct ubifs_info *c) in dbg_debugfs_init_fs() 2731 struct ubifs_info *c = file->private_data; in dfs_file_read() local 2784 struct ubifs_info *c = file->private_data; in dfs_file_write() local [all …]
|
A D | orphan.c | 56 int ubifs_add_orphan(struct ubifs_info *c, ino_t inum) in ubifs_add_orphan() 159 int ubifs_orphan_start_commit(struct ubifs_info *c) in ubifs_orphan_start_commit() 193 static int avail_orphs(struct ubifs_info *c) in avail_orphs() 213 static int tot_avail_orphs(struct ubifs_info *c) in tot_avail_orphs() 360 static int consolidate(struct ubifs_info *c) in consolidate() 405 static int commit_orphans(struct ubifs_info *c) in commit_orphans() 431 static void erase_deleted(struct ubifs_info *c) in erase_deleted() 458 int ubifs_orphan_end_commit(struct ubifs_info *c) in ubifs_orphan_end_commit() 480 int ubifs_clear_orphans(struct ubifs_info *c) in ubifs_clear_orphans() 638 static int kill_orphans(struct ubifs_info *c) in kill_orphans() [all …]
|
A D | gc.c | 73 static int switch_gc_head(struct ubifs_info *c) in switch_gc_head() 120 struct ubifs_info *c = priv; in data_nodes_cmp() local 164 struct ubifs_info *c = priv; in nondata_nodes_cmp() local 239 static int sort_nodes(struct ubifs_info *c, struct ubifs_scan_leb *sleb, in sort_nodes() 313 static int move_node(struct ubifs_info *c, struct ubifs_scan_leb *sleb, in move_node() 438 static int gc_sync_wbufs(struct ubifs_info *c) in gc_sync_wbufs() 640 int ubifs_garbage_collect(struct ubifs_info *c, int anyway) in ubifs_garbage_collect() 831 int ubifs_gc_start_commit(struct ubifs_info *c) in ubifs_gc_start_commit() 910 int ubifs_gc_end_commit(struct ubifs_info *c) in ubifs_gc_end_commit() 944 void ubifs_destroy_idx_gc(struct ubifs_info *c) in ubifs_destroy_idx_gc() [all …]
|
A D | lpt.c | 55 static void do_calc_lpt_geom(struct ubifs_info *c) in do_calc_lpt_geom() 134 int ubifs_calc_lpt_geom(struct ubifs_info *c) in ubifs_calc_lpt_geom() 347 void ubifs_pack_pnode(struct ubifs_info *c, void *buf, in ubifs_pack_pnode() 380 void ubifs_pack_nnode(struct ubifs_info *c, void *buf, in ubifs_pack_nnode() 412 void ubifs_pack_ltab(struct ubifs_info *c, void *buf, in ubifs_pack_ltab() 1171 static void set_pnode_lnum(const struct ubifs_info *c, in set_pnode_lnum() 1325 static int read_ltab(struct ubifs_info *c) in read_ltab() 1349 static int read_lsave(struct ubifs_info *c) in read_lsave() 1628 static int lpt_init_rd(struct ubifs_info *c) in lpt_init_rd() 1691 static int lpt_init_wr(struct ubifs_info *c) in lpt_init_wr() [all …]
|
A D | recovery.c | 199 static int write_rcvrd_mst_node(struct ubifs_info *c, in write_rcvrd_mst_node() 231 int ubifs_recover_master_node(struct ubifs_info *c) in ubifs_recover_master_node() 383 int ubifs_write_rcvrd_mst_node(struct ubifs_info *c) in ubifs_write_rcvrd_mst_node() 993 static int clean_an_unclean_leb(struct ubifs_info *c, in clean_an_unclean_leb() 1086 int ubifs_clean_lebs(struct ubifs_info *c, void *sbuf) in ubifs_clean_lebs() 1113 static int grab_empty_leb(struct ubifs_info *c) in grab_empty_leb() 1170 int ubifs_rcvry_gc_commit(struct ubifs_info *c) in ubifs_rcvry_gc_commit() 1232 int ubifs_rcvry_gc_commit(struct ubifs_info *c) in ubifs_rcvry_gc_commit() 1321 static void remove_ino(struct ubifs_info *c, ino_t inum) in remove_ino() 1335 void ubifs_destroy_size_tree(struct ubifs_info *c) in ubifs_destroy_size_tree() [all …]
|
A D | log.c | 35 struct ubifs_bud *ubifs_search_bud(struct ubifs_info *c, int lnum) in ubifs_search_bud() 64 struct ubifs_wbuf *ubifs_get_wbuf(struct ubifs_info *c, int lnum) in ubifs_get_wbuf() 95 static inline long long empty_log_bytes(const struct ubifs_info *c) in empty_log_bytes() 117 void ubifs_add_bud(struct ubifs_info *c, struct ubifs_bud *bud) in ubifs_add_bud() 293 static void remove_buds(struct ubifs_info *c) in remove_buds() 352 int ubifs_log_start_commit(struct ubifs_info *c, int *ltail_lnum) in ubifs_log_start_commit() 451 int ubifs_log_end_commit(struct ubifs_info *c, int ltail_lnum) in ubifs_log_end_commit() 500 int ubifs_log_post_commit(struct ubifs_info *c, int old_ltail_lnum) in ubifs_log_post_commit() 595 static int add_node(struct ubifs_info *c, void *buf, int *lnum, int *offs, in add_node() 626 int ubifs_consolidate_log(struct ubifs_info *c) in ubifs_consolidate_log() [all …]
|
A D | replay.c | 92 static int set_bud_lprops(struct ubifs_info *c, struct bud_entry *b) in set_bud_lprops() 166 static int set_buds_lprops(struct ubifs_info *c) in set_buds_lprops() 295 static int apply_replay_list(struct ubifs_info *c) in apply_replay_list() 319 static void destroy_replay_list(struct ubifs_info *c) in destroy_replay_list() 445 int ubifs_validate_entry(struct ubifs_info *c, in ubifs_validate_entry() 479 static int is_last_bud(struct ubifs_info *c, struct ubifs_bud *bud) in is_last_bud() 536 static int replay_bud(struct ubifs_info *c, struct bud_entry *b) in replay_bud() 696 static int replay_buds(struct ubifs_info *c) in replay_buds() 718 static void destroy_bud_list(struct ubifs_info *c) in destroy_bud_list() 967 static int take_ihead(struct ubifs_info *c) in take_ihead() [all …]
|
A D | master.c | 31 static int scan_for_master(struct ubifs_info *c) in scan_for_master() 93 static int validate_master(const struct ubifs_info *c) in validate_master() 251 int ubifs_read_master(struct ubifs_info *c) in ubifs_read_master() 357 int ubifs_write_master(struct ubifs_info *c) in ubifs_write_master()
|
A D | sb.c | 72 static int create_default_filesystem(struct ubifs_info *c) in create_default_filesystem() 352 static int validate_sb(struct ubifs_info *c, struct ubifs_sb_node *sup) in validate_sb() 484 struct ubifs_sb_node *ubifs_read_sb_node(struct ubifs_info *c) in ubifs_read_sb_node() 510 int ubifs_write_sb_node(struct ubifs_info *c, struct ubifs_sb_node *sup) in ubifs_write_sb_node() 526 int ubifs_read_superblock(struct ubifs_info *c) in ubifs_read_superblock() 681 static int fixup_leb(struct ubifs_info *c, int lnum, int len) in fixup_leb() 709 static int fixup_free_space(struct ubifs_info *c) in fixup_free_space() 792 int ubifs_fixup_free_space(struct ubifs_info *c) in ubifs_fixup_free_space()
|
A D | scan.c | 63 int ubifs_scan_a_node(const struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_scan_a_node() 131 struct ubifs_scan_leb *ubifs_start_scan(const struct ubifs_info *c, int lnum, in ubifs_start_scan() 169 void ubifs_end_scan(const struct ubifs_info *c, struct ubifs_scan_leb *sleb, in ubifs_end_scan() 188 int ubifs_add_snod(const struct ubifs_info *c, struct ubifs_scan_leb *sleb, in ubifs_add_snod() 232 void ubifs_scanned_corruption(const struct ubifs_info *c, int lnum, int offs, in ubifs_scanned_corruption() 261 struct ubifs_scan_leb *ubifs_scan(const struct ubifs_info *c, int lnum, in ubifs_scan()
|
/u-boot/scripts/dtc/ |
A D | checks.c | 24 #define TRACE(c, ...) \ argument 31 #define TRACE(c, fmt, ...) do { } while (0) argument 100 #define FAIL(c, dti, node, ...) \ argument 107 #define FAIL_PROP(c, dti, node, prop, ...) \ argument 127 static bool run_check(struct check *c, struct dt_info *dti) in run_check() 1147 static void check_property_phandle_args(struct check *c, in check_property_phandle_args() 1224 static void check_provider_cells_property(struct check *c, in check_provider_cells_property() 1280 static void check_gpios_property(struct check *c, in check_gpios_property() 1342 static void check_interrupts_property(struct check *c, in check_interrupts_property() 1667 struct check *c = check_table[i]; in parse_checks_option() local [all …]
|
/u-boot/arch/arm/cpu/armv7/bcm281xx/ |
A D | clk-core.c | 31 struct clk *c; in clk_get_and_enable() local 79 static int peri_clk_enable(struct clk *c, int enable) in peri_clk_enable() 206 static unsigned long peri_clk_get_rate(struct clk *c) in peri_clk_get_rate() 258 static int ccu_clk_enable(struct clk *c, int enable) in ccu_clk_enable() 321 static unsigned long ccu_clk_get_rate(struct clk *c) in ccu_clk_get_rate() 336 static int bus_clk_enable(struct clk *c, int enable) in bus_clk_enable() 376 static unsigned long bus_clk_get_rate(struct clk *c) in bus_clk_get_rate() 438 int clk_enable(struct clk *c) in clk_enable() 462 void clk_disable(struct clk *c) in clk_disable() 479 unsigned long clk_get_rate(struct clk *c) in clk_get_rate() [all …]
|
/u-boot/arch/arm/cpu/armv7/bcm235xx/ |
A D | clk-core.c | 31 struct clk *c; in clk_get_and_enable() local 79 static int peri_clk_enable(struct clk *c, int enable) in peri_clk_enable() 206 static unsigned long peri_clk_get_rate(struct clk *c) in peri_clk_get_rate() 258 static int ccu_clk_enable(struct clk *c, int enable) in ccu_clk_enable() 321 static unsigned long ccu_clk_get_rate(struct clk *c) in ccu_clk_get_rate() 336 static int bus_clk_enable(struct clk *c, int enable) in bus_clk_enable() 376 static unsigned long bus_clk_get_rate(struct clk *c) in bus_clk_get_rate() 438 int clk_enable(struct clk *c) in clk_enable() 461 void clk_disable(struct clk *c) in clk_disable() 479 unsigned long clk_get_rate(struct clk *c) in clk_get_rate() [all …]
|
/u-boot/arch/arc/include/asm/ |
A D | io.h | 86 #define __raw_writeb(v, c) ({ __iowmb(); __arch_putb(v, c); }) argument 87 #define __raw_writew(v, c) ({ __iowmb(); __arch_putw(v, c); }) argument 88 #define __raw_writel(v, c) ({ __iowmb(); __arch_putl(v, c); }) argument 89 #define __raw_writeq(v, c) ({ __iowmb(); __arch_putq(v, c); }) argument 165 #define readb_relaxed(c) ({ u8 __r = __arch_getb(c); __r; }) argument 170 #define writeb_relaxed(v, c) ((void)__arch_putb((v), (c))) argument 187 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; }) argument 192 #define writeb(v, c) ({ __iowmb(); writeb_relaxed(v, c); }) argument 193 #define writew(v, c) ({ __iowmb(); writew_relaxed(v, c); }) argument 194 #define writel(v, c) ({ __iowmb(); writel_relaxed(v, c); }) argument [all …]
|
/u-boot/drivers/clk/microchip/ |
A D | mpfs_clk.c | 22 struct clk *c; in mpfs_clk_get_rate() local 32 struct clk *c; in mpfs_clk_set_rate() local 42 struct clk *c, *p; in mpfs_clk_set_parent() local 57 struct clk *c; in mpfs_clk_endisable() local
|