| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpio-bt8xx.c | 60 #define bgwrite(dat, adr) writel((dat), bg->mmio+(adr)) 61 #define bgread(adr) readl(bg->mmio+(adr)) 71 struct bt8xxgpio *bg = gpiochip_get_data(gpio); in bt8xxgpio_gpio_direction_input() local 75 spin_lock_irqsave(&bg->lock, flags); in bt8xxgpio_gpio_direction_input() 85 spin_unlock_irqrestore(&bg->lock, flags); in bt8xxgpio_gpio_direction_input() 92 struct bt8xxgpio *bg = gpiochip_get_data(gpio); in bt8xxgpio_gpio_get() local 96 spin_lock_irqsave(&bg->lock, flags); in bt8xxgpio_gpio_get() 98 spin_unlock_irqrestore(&bg->lock, flags); in bt8xxgpio_gpio_get() 106 struct bt8xxgpio *bg = gpiochip_get_data(gpio); in bt8xxgpio_gpio_direction_output() local 110 spin_lock_irqsave(&bg->lock, flags); in bt8xxgpio_gpio_direction_output() [all …]
|
| /OK3568_Linux_fs/app/lvgl_demo/rk_demo/smart_home/ |
| H A D | music_ui.c | 13 static lv_obj_t * bg; variable 41 bg = lv_img_create(parent); in menu_music_init() 42 lv_obj_remove_style_all(bg); in menu_music_init() 43 lv_obj_set_size(bg, lv_pct(90), lv_pct(30)); in menu_music_init() 44 lv_obj_clear_flag(bg, LV_OBJ_FLAG_SCROLLABLE); in menu_music_init() 45 lv_obj_clear_flag(bg, LV_OBJ_FLAG_ADV_HITTEST); in menu_music_init() 46 lv_obj_center(bg); in menu_music_init() 47 lv_obj_refr_size(bg); in menu_music_init() 48 lv_obj_refr_pos(bg); in menu_music_init() 54 x = lv_obj_get_x(bg); in menu_music_init() [all …]
|
| H A D | info_ui.c | 13 static lv_obj_t * bg; variable 32 bg = lv_obj_create(parent); in menu_info_init() 33 lv_obj_remove_style_all(bg); in menu_info_init() 34 lv_obj_set_size(bg, lv_pct(100), lv_pct(90)); in menu_info_init() 35 lv_obj_clear_flag(bg, LV_OBJ_FLAG_SCROLLABLE); in menu_info_init() 36 lv_obj_center(bg); in menu_info_init() 37 lv_obj_refr_size(bg); in menu_info_init() 38 lv_obj_refr_pos(bg); in menu_info_init() 49 area_date = lv_img_create(bg); in menu_info_init() 54 x = lv_obj_get_x(area_date) + lv_obj_get_x(bg); in menu_info_init() [all …]
|
| H A D | control_ui.c | 13 static lv_obj_t * bg; variable 58 x = lv_obj_get_x(light) + lv_obj_get_x(bg); in light_menu() 59 y = lv_obj_get_y(light) + lv_obj_get_y(bg); in light_menu() 123 x = lv_obj_get_x(area_aircond) + lv_obj_get_x(bg); in aircond_menu() 124 y = lv_obj_get_y(area_aircond) + lv_obj_get_y(bg); in aircond_menu() 203 bg = lv_obj_create(parent); in menu_control_init() 204 lv_obj_remove_style_all(bg); in menu_control_init() 205 lv_obj_set_size(bg, lv_pct(90), lv_pct(90)); in menu_control_init() 206 lv_obj_center(bg); in menu_control_init() 207 lv_obj_set_flex_flow(bg, LV_FLEX_FLOW_COLUMN); in menu_control_init() [all …]
|
| /OK3568_Linux_fs/app/lvgl_demo/rk_demo/setting/ |
| H A D | display_ui.c | 12 static lv_obj_t * bg; variable 29 bg = lv_obj_create(parent); in menu_display_init() 30 lv_obj_set_size(bg, lv_pct(100), LV_SIZE_CONTENT); in menu_display_init() 31 lv_obj_set_flex_flow(bg, LV_FLEX_FLOW_COLUMN); in menu_display_init() 32 lv_obj_center(bg); in menu_display_init() 34 bright_label = lv_label_create(bg); in menu_display_init() 38 bright_slider = lv_slider_create(bg); in menu_display_init() 44 bright_value = lv_label_create(bg); in menu_display_init() 50 return bg; in menu_display_init() 55 lv_obj_del(bg); in menu_display_deinit() [all …]
|
| H A D | volume_ui.c | 12 static lv_obj_t * bg; variable 29 bg = lv_obj_create(parent); in menu_volume_init() 30 lv_obj_set_size(bg, lv_pct(100), LV_SIZE_CONTENT); in menu_volume_init() 31 lv_obj_set_flex_flow(bg, LV_FLEX_FLOW_COLUMN); in menu_volume_init() 32 lv_obj_center(bg); in menu_volume_init() 34 volume_label = lv_label_create(bg); in menu_volume_init() 38 volume_slider = lv_slider_create(bg); in menu_volume_init() 44 volume_value = lv_label_create(bg); in menu_volume_init() 50 return bg; in menu_volume_init() 55 lv_obj_del(bg); in menu_volume_deinit() [all …]
|
| H A D | wallpaper_ui.c | 12 static lv_obj_t * bg; variable 30 bg = lv_obj_create(parent); in menu_wallpaper_init() 31 lv_obj_remove_style_all(bg); in menu_wallpaper_init() 32 lv_obj_set_size(bg, lv_pct(100), LV_SIZE_CONTENT); in menu_wallpaper_init() 33 lv_obj_set_flex_flow(bg, LV_FLEX_FLOW_COLUMN); in menu_wallpaper_init() 34 lv_obj_center(bg); in menu_wallpaper_init() 36 area_screen_timeout = lv_obj_create(bg); in menu_wallpaper_init() 47 area_locked_screen = lv_obj_create(bg); in menu_wallpaper_init() 68 area_wallpaper = lv_obj_create(bg); in menu_wallpaper_init() 89 return bg; in menu_wallpaper_init() [all …]
|
| H A D | bt_ui.c | 15 static lv_obj_t * bg; variable 139 bg = lv_obj_create(parent); in menu_bt_init() 140 lv_obj_remove_style_all(bg); in menu_bt_init() 141 lv_obj_set_size(bg, lv_pct(100), lv_pct(100)); in menu_bt_init() 142 lv_obj_set_flex_flow(bg, LV_FLEX_FLOW_COLUMN); in menu_bt_init() 143 lv_obj_center(bg); in menu_bt_init() 145 part_switch = lv_obj_create(bg); in menu_bt_init() 159 item_label_saved = lv_label_create(bg); in menu_bt_init() 163 part_saved = lv_obj_create(bg); in menu_bt_init() 169 item_label_scaned = lv_label_create(bg); in menu_bt_init() [all …]
|
| H A D | about_ui.c | 12 static lv_obj_t * bg; variable 34 bg = lv_obj_create(parent); in menu_about_init() 35 lv_obj_set_size(bg, lv_pct(100), lv_pct(100)); in menu_about_init() 36 lv_obj_set_flex_flow(bg, LV_FLEX_FLOW_ROW); in menu_about_init() 37 lv_obj_clear_flag(bg, LV_OBJ_FLAG_SCROLLABLE); in menu_about_init() 38 lv_obj_center(bg); in menu_about_init() 40 area_tag = lv_obj_create(bg); in menu_about_init() 45 area_info = lv_obj_create(bg); in menu_about_init() 84 cont_update = lv_obj_create(bg); in menu_about_init() 99 return bg; in menu_about_init() [all …]
|
| H A D | wifi_ui.c | 16 static lv_obj_t * bg; variable 307 bg = lv_img_create(parent); in menu_wifi_init() 308 lv_obj_remove_style_all(bg); in menu_wifi_init() 309 lv_obj_set_size(bg, lv_pct(100), lv_pct(100)); in menu_wifi_init() 310 lv_obj_set_flex_flow(bg, LV_FLEX_FLOW_COLUMN); in menu_wifi_init() 311 lv_obj_center(bg); in menu_wifi_init() 313 part_switch = lv_obj_create(bg); in menu_wifi_init() 327 item_label_saved = lv_label_create(bg); in menu_wifi_init() 331 part_saved = lv_obj_create(bg); in menu_wifi_init() 337 item_label_scaned = lv_label_create(bg); in menu_wifi_init() [all …]
|
| H A D | language_and_date_ui.c | 12 static lv_obj_t * bg; variable 132 bg = lv_obj_create(parent); in menu_language_init() 133 lv_obj_set_size(bg, lv_pct(100), LV_SIZE_CONTENT); in menu_language_init() 134 lv_obj_set_flex_flow(bg, LV_FLEX_FLOW_COLUMN); in menu_language_init() 135 lv_obj_center(bg); in menu_language_init() 137 area_language = lv_obj_create(bg); in menu_language_init() 148 area_date = lv_obj_create(bg); in menu_language_init() 162 area_time = lv_obj_create(bg); in menu_language_init() 176 return bg; in menu_language_init() 181 lv_obj_del(bg); in menu_language_deinit() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/filesystems/ext4/ |
| H A D | group_descr.rst | 31 bg\_checksum. On an ext4 filesystem with the 64bit feature enabled, the 55 - bg\_block\_bitmap\_lo 59 - bg\_inode\_bitmap\_lo 63 - bg\_inode\_table\_lo 67 - bg\_free\_blocks\_count\_lo 71 - bg\_free\_inodes\_count\_lo 75 - bg\_used\_dirs\_count\_lo 79 - bg\_flags 83 - bg\_exclude\_bitmap\_lo 87 - bg\_block\_bitmap\_csum\_lo [all …]
|
| /OK3568_Linux_fs/kernel/arch/sparc/kernel/ |
| H A D | btext.c | 246 int bg = 0x00000000UL; in draw_byte_32() local 251 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32() 252 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32() 253 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32() 254 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32() 255 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32() 256 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32() 257 base[6] = (-((bits >> 1) & 1) & fg) ^ bg; in draw_byte_32() 258 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32() 267 int bg = 0x00000000UL; in draw_byte_16() local [all …]
|
| /OK3568_Linux_fs/kernel/fs/ocfs2/ |
| H A D | suballoc.c | 106 static inline int ocfs2_block_group_reasonably_empty(struct ocfs2_group_desc *bg, 321 struct ocfs2_group_desc *bg, in ocfs2_bg_discontig_add_extent() argument 325 struct ocfs2_extent_list *el = &bg->bg_list; in ocfs2_bg_discontig_add_extent() 333 rec->e_cpos = cpu_to_le32(le16_to_cpu(bg->bg_bits) / in ocfs2_bg_discontig_add_extent() 336 le16_add_cpu(&bg->bg_bits, clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent() 337 le16_add_cpu(&bg->bg_free_bits_count, in ocfs2_bg_discontig_add_extent() 352 struct ocfs2_group_desc *bg = (struct ocfs2_group_desc *) bg_bh->b_data; in ocfs2_block_group_fill() local 372 memset(bg, 0, sb->s_blocksize); in ocfs2_block_group_fill() 373 strcpy(bg->bg_signature, OCFS2_GROUP_DESC_SIGNATURE); in ocfs2_block_group_fill() 374 bg->bg_generation = cpu_to_le32(osb->fs_generation); in ocfs2_block_group_fill() [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | btext.c | 415 int bg = 0x00000000UL; in draw_byte_32() local 420 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32() 421 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32() 422 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32() 423 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32() 424 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32() 425 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32() 426 base[6] = (-((bits >> 1) & 1) & fg) ^ bg; in draw_byte_32() 427 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32() 436 int bg = 0x00000000UL; in draw_byte_16() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/ipw2x00/ |
| H A D | libipw_geo.c | 45 if ((ieee->geo.bg[i].channel == channel) && in libipw_is_valid_channel() 46 !(ieee->geo.bg[i].flags & LIBIPW_CH_INVALID) && in libipw_is_valid_channel() 48 !(ieee->geo.bg[i].flags & LIBIPW_CH_B_ONLY))) in libipw_is_valid_channel() 71 if (ieee->geo.bg[i].channel == channel) in libipw_channel_to_index() 110 if (ieee->geo.bg[i].freq == freq) in libipw_freq_to_channel() 111 return ieee->geo.bg[i].channel; in libipw_freq_to_channel() 128 memcpy(ieee->geo.bg, geo->bg, geo->bg_channels * in libipw_set_geo() 147 return ieee->geo.bg[index].flags; in libipw_get_channel_flags() 167 return &ieee->geo.bg[index]; in libipw_get_channel()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | atafb_utils.h | 269 static inline void expand8_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) in expand8_2col2mask() argument 271 fgm[0] = four2long[fg & 15] ^ (bgm[0] = four2long[bg & 15]); in expand8_2col2mask() 273 fgm[1] = four2long[fg >> 4] ^ (bgm[1] = four2long[bg >> 4]); in expand8_2col2mask() 301 static inline void fill8_2col(u8 *dst, u8 fg, u8 bg, u32 mask) in fill8_2col() argument 305 expand8_2col2mask(fg, bg, fgm, bgm); in fill8_2col() 343 static inline void expand16_2col2mask(u8 fg, u8 bg, u32 fgm[], u32 bgm[]) in expand16_2col2mask() argument 345 bgm[0] = two2word[bg & 3]; in expand16_2col2mask() 348 bgm[1] = two2word[(bg >> 2) & 3]; in expand16_2col2mask() 352 bgm[2] = two2word[(bg >> 4) & 3]; in expand16_2col2mask() 354 bgm[3] = two2word[bg >> 6]; in expand16_2col2mask()
|
| /OK3568_Linux_fs/kernel/fs/btrfs/ |
| H A D | block-group.c | 281 struct btrfs_block_group *bg; in btrfs_inc_nocow_writers() local 284 bg = btrfs_lookup_block_group(fs_info, bytenr); in btrfs_inc_nocow_writers() 285 if (!bg) in btrfs_inc_nocow_writers() 288 spin_lock(&bg->lock); in btrfs_inc_nocow_writers() 289 if (bg->ro) in btrfs_inc_nocow_writers() 292 atomic_inc(&bg->nocow_writers); in btrfs_inc_nocow_writers() 293 spin_unlock(&bg->lock); in btrfs_inc_nocow_writers() 297 btrfs_put_block_group(bg); in btrfs_inc_nocow_writers() 304 struct btrfs_block_group *bg; in btrfs_dec_nocow_writers() local 306 bg = btrfs_lookup_block_group(fs_info, bytenr); in btrfs_dec_nocow_writers() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/ui/ |
| H A D | browser.c | 522 const char *name, *fg, *bg; member 529 .bg = "default", 535 .bg = "default", 541 .bg = "default", 547 .bg = "yellow", 553 .bg = "default", 559 .bg = "default", 565 .bg = "blue", 576 char *fg = NULL, *bg; in ui_browser__color_config() local 593 bg = strchr(fg, ','); in ui_browser__color_config() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/core/ |
| H A D | tileblit.c | 45 rect.bg = attr_bgcol_ec(bgshift, vc, info); in tile_clear() 57 int fg, int bg) in tile_putcs() argument 68 blit.bg = bg; in tile_putcs() 84 int fg, int bg) in tile_cursor() argument 93 cursor.bg = bg; in tile_cursor()
|
| H A D | fbcon.h | 63 int fg, int bg); 67 int fg, int bg); 127 int bg; in attr_col_ec() local 144 bg = is_mono01 ? 0 : col; in attr_col_ec() 148 bg = is_mono01 ? col : 0; in attr_col_ec() 151 return is_fg ? fg : bg; in attr_col_ec()
|
| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A D | wbt.h | 92 int step, unsigned long window, unsigned int bg, 95 TP_ARGS(bdi, msg, step, window, bg, normal, max), 102 __field(unsigned int, bg) 113 __entry->bg = bg; 120 __entry->bg, __entry->normal, __entry->max)
|
| /OK3568_Linux_fs/u-boot/fs/ext4/ |
| H A D | ext4_common.c | 72 (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 D | ext4_common.h | 79 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,
|
| /OK3568_Linux_fs/kernel/drivers/edac/ |
| H A D | al_mc_edac.c | 65 u8 rank, u32 row, u8 bg, u8 bank, u16 column, in prepare_msg() argument 71 rank, row, bg, bank, column, syn0, syn1, syn2); in prepare_msg() 81 u8 rank, bg, bank; in handle_ce() local 103 bg = FIELD_GET(AL_MC_ECC_CE_ADDR1_BG, ecccaddr1); in handle_ce() 108 rank, row, bg, bank, column, in handle_ce() 126 u8 rank, bg, bank; in handle_ue() local 148 bg = FIELD_GET(AL_MC_ECC_UE_ADDR1_BG, eccuaddr1); in handle_ue() 153 rank, row, bg, bank, column, in handle_ue()
|