Home
last modified time | relevance | path

Searched refs:bg (Results 1 – 10 of 10) sorted by relevance

/rk3399_rockchip-uboot/fs/ext4/
H A Dext4_common.h79 uint64_t ext4fs_bg_get_block_id(const struct ext2_block_group *bg,
81 uint64_t ext4fs_bg_get_inode_id(const struct ext2_block_group *bg,
83 uint64_t ext4fs_bg_get_inode_table_id(const struct ext2_block_group *bg,
87 uint32_t ext4fs_bg_get_free_blocks(const struct ext2_block_group *bg,
H A Dext4_common.c72 (struct ext2_block_group *bg, const struct ext_filesystem *fs) in ext4fs_bg_free_inodes_dec() argument
74 uint32_t free_inodes = le16_to_cpu(bg->free_inodes); in ext4fs_bg_free_inodes_dec()
76 free_inodes += le16_to_cpu(bg->free_inodes_high) << 16; in ext4fs_bg_free_inodes_dec()
79 bg->free_inodes = cpu_to_le16(free_inodes & 0xffff); in ext4fs_bg_free_inodes_dec()
81 bg->free_inodes_high = cpu_to_le16(free_inodes >> 16); in ext4fs_bg_free_inodes_dec()
85 (struct ext2_block_group *bg, const struct ext_filesystem *fs) in ext4fs_bg_free_blocks_dec() argument
87 uint32_t free_blocks = le16_to_cpu(bg->free_blocks); in ext4fs_bg_free_blocks_dec()
89 free_blocks += le16_to_cpu(bg->free_blocks_high) << 16; in ext4fs_bg_free_blocks_dec()
92 bg->free_blocks = cpu_to_le16(free_blocks & 0xffff); in ext4fs_bg_free_blocks_dec()
94 bg->free_blocks_high = cpu_to_le16(free_blocks >> 16); in ext4fs_bg_free_blocks_dec()
[all …]
H A Dext4_write.c42 (struct ext2_block_group *bg, const struct ext_filesystem *fs) in ext4fs_bg_free_inodes_inc() argument
44 uint32_t free_inodes = le16_to_cpu(bg->free_inodes); in ext4fs_bg_free_inodes_inc()
46 free_inodes += le16_to_cpu(bg->free_inodes_high) << 16; in ext4fs_bg_free_inodes_inc()
49 bg->free_inodes = cpu_to_le16(free_inodes & 0xffff); in ext4fs_bg_free_inodes_inc()
51 bg->free_inodes_high = cpu_to_le16(free_inodes >> 16); in ext4fs_bg_free_inodes_inc()
55 (struct ext2_block_group *bg, const struct ext_filesystem *fs) in ext4fs_bg_free_blocks_inc() argument
57 uint32_t free_blocks = le16_to_cpu(bg->free_blocks); in ext4fs_bg_free_blocks_inc()
59 free_blocks += le16_to_cpu(bg->free_blocks_high) << 16; in ext4fs_bg_free_blocks_inc()
62 bg->free_blocks = cpu_to_le16(free_blocks & 0xffff); in ext4fs_bg_free_blocks_inc()
64 bg->free_blocks_high = cpu_to_le16(free_blocks >> 16); in ext4fs_bg_free_blocks_inc()
/rk3399_rockchip-uboot/drivers/ram/rockchip/
H A Dsdram_common.c57 u32 bg; in sdram_print_ddr_info() local
59 bg = (cap_info->dbw == 0) ? 2 : 1; in sdram_print_ddr_info()
75 printdec(1 << bg); in sdram_print_ddr_info()
133 u32 bg; in sdram_get_cs_cap() local
140 bg = (cap_info->dbw == 0) ? 2 : 1; in sdram_get_cs_cap()
142 bg = 0; in sdram_get_cs_cap()
144 bg + cap_info->bk + cap_info->cs0_row); in sdram_get_cs_cap()
148 bg + cap_info->bk + cap_info->cs1_row); in sdram_get_cs_cap()
154 bg + cap_info->bk + cap_info->cs2_row); in sdram_get_cs_cap()
156 bg + cap_info->bk + cap_info->cs3_row); in sdram_get_cs_cap()
H A Dsdram_px30.c174 u32 cs_pst, bg, max_row, ddrconf; in set_ctl_address_map() local
182 bg = (cap_info->dbw == 0) ? 2 : 1; in set_ctl_address_map()
184 bg = 0; in set_ctl_address_map()
187 bg + cap_info->bk + cap_info->cs0_row; in set_ctl_address_map()
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/
H A Dsdram.c28 u32 bg = 0; in rockchip_sdram_size() local
85 bg = (dbw == 2) ? 2 : 1; in rockchip_sdram_size()
87 chipsize_mb = (1 << (cs0_row + cs0_col + bk + bg + bw - 20)); in rockchip_sdram_size()
/rk3399_rockchip-uboot/include/
H A Dvideo_fb.h47 unsigned int bg; member
/rk3399_rockchip-uboot/scripts/kconfig/lxdialog/
H A Ddialog.h93 int bg; /* background */ member
H A Dutil.c55 dlg.dialog.bg = (b); \
172 init_pair(pair, color->fg, color->bg); in init_one_color()
/rk3399_rockchip-uboot/scripts/kconfig/
H A Dgconf.c121 &style->bg[GTK_STATE_NORMAL], in replace_button_icon()