| /linux/drivers/gpio/ |
| A D | gpio-bt8xx.c | 149 struct gpio_chip *c = &bg->gpio; in bt8xxgpio_gpio_setup() 166 struct bt8xxgpio *bg; in bt8xxgpio_probe() local 170 if (!bg) in bt8xxgpio_probe() 173 bg->pdev = dev; in bt8xxgpio_probe() 174 spin_lock_init(&bg->lock); in bt8xxgpio_probe() 190 pci_set_drvdata(dev, bg); in bt8xxgpio_probe() 193 if (!bg->mmio) { in bt8xxgpio_probe() 207 bt8xxgpio_gpio_setup(bg); in bt8xxgpio_probe() 208 err = gpiochip_add_data(&bg->gpio, bg); in bt8xxgpio_probe() 226 gpiochip_remove(&bg->gpio); in bt8xxgpio_remove() [all …]
|
| /linux/Documentation/filesystems/ext4/ |
| A D | group_descr.rst | 55 - bg\_block\_bitmap\_lo 59 - bg\_inode\_bitmap\_lo 63 - bg\_inode\_table\_lo 79 - bg\_flags 95 - bg\_itable\_unused\_lo 101 - bg\_checksum 115 - bg\_block\_bitmap\_hi 119 - bg\_inode\_bitmap\_hi 123 - bg\_inode\_table\_hi 139 - bg\_itable\_unused\_hi [all …]
|
| /linux/arch/sparc/kernel/ |
| 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() 258 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32() 267 int bg = 0x00000000UL; in draw_byte_16() local 273 base[0] = (eb[bits >> 6] & fg) ^ bg; in draw_byte_16() 276 base[3] = (eb[bits & 3] & fg) ^ bg; in draw_byte_16() 285 int bg = 0x00000000UL; in draw_byte_8() local 291 base[0] = (eb[bits >> 4] & fg) ^ bg; in draw_byte_8() [all …]
|
| /linux/fs/ocfs2/ |
| A D | suballoc.c | 387 bg->bg_free_bits_count = cpu_to_le16(le16_to_cpu(bg->bg_bits) - 1); in ocfs2_block_group_fill() 549 struct ocfs2_group_desc *bg; in ocfs2_bg_alloc_cleanup() local 557 el = &bg->bg_list; in ocfs2_bg_alloc_cleanup() 665 struct ocfs2_group_desc *bg; in ocfs2_block_group_alloc() local 1267 if (bg) in ocfs2_test_bg_bit_allocatable() 1294 bitmap = bg->bg_bitmap; in ocfs2_block_group_find_clear_bits() 1369 if (le16_to_cpu(bg->bg_free_bits_count) > le16_to_cpu(bg->bg_bits)) { in ocfs2_block_group_set_bits() 1776 if (!bg->bg_next_group) in ocfs2_search_chain() 1852 bg, in ocfs2_search_chain() 2166 bg, in ocfs2_claim_new_inode_at_loc() [all …]
|
| A D | move_extents.c | 386 struct ocfs2_group_desc *bg; in ocfs2_find_victim_alloc_group() local 425 bg = NULL; in ocfs2_find_victim_alloc_group() 428 if (!bg) in ocfs2_find_victim_alloc_group() 431 blkno = le64_to_cpu(bg->bg_next_group); in ocfs2_find_victim_alloc_group() 444 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_find_victim_alloc_group() 446 if (vict_blkno < (le64_to_cpu(bg->bg_blkno) + in ocfs2_find_victim_alloc_group() 447 le16_to_cpu(bg->bg_bits))) { in ocfs2_find_victim_alloc_group() 454 blkno, le16_to_cpu(bg->bg_bits), in ocfs2_find_victim_alloc_group() 459 } while (le64_to_cpu(bg->bg_next_group)); in ocfs2_find_victim_alloc_group() 481 struct ocfs2_group_desc *bg; in ocfs2_validate_and_adjust_move_goal() local [all …]
|
| /linux/fs/btrfs/ |
| A D | block-group.c | 288 if (!bg) in btrfs_inc_nocow_writers() 292 if (bg->ro) in btrfs_inc_nocow_writers() 310 ASSERT(bg); in btrfs_dec_nocow_writers() 332 ASSERT(bg); in btrfs_dec_block_group_reservations() 1551 if (bg->reserved || bg->pinned || bg->ro) { in btrfs_reclaim_bgs_work() 1584 bg->start, div_u64(bg->used * 100, bg->length), in btrfs_reclaim_bgs_work() 1956 if (!bg) { in check_chunk_block_group_mappings() 1964 if (bg->start != em->start || bg->length != em->len || in check_chunk_block_group_mappings() 1971 bg->start, bg->length, in check_chunk_block_group_mappings() 2125 if (!bg) { in fill_dummy_bgs() [all …]
|
| A D | block-group.h | 251 void btrfs_wait_block_group_reservations(struct btrfs_block_group *bg); 254 void btrfs_wait_nocow_writers(struct btrfs_block_group *bg); 271 void btrfs_mark_bg_unused(struct btrfs_block_group *bg); 274 void btrfs_mark_bg_to_reclaim(struct btrfs_block_group *bg); 332 bool btrfs_inc_block_group_swap_extents(struct btrfs_block_group *bg); 333 void btrfs_dec_block_group_swap_extents(struct btrfs_block_group *bg, int amount);
|
| A D | zoned.h | 78 void btrfs_clear_data_reloc_bg(struct btrfs_block_group *bg); 233 static inline void btrfs_clear_data_reloc_bg(struct btrfs_block_group *bg) { } in btrfs_clear_data_reloc_bg() argument 340 static inline void btrfs_clear_treelog_bg(struct btrfs_block_group *bg) in btrfs_clear_treelog_bg() argument 342 struct btrfs_fs_info *fs_info = bg->fs_info; in btrfs_clear_treelog_bg() 348 if (fs_info->treelog_bg == bg->start) in btrfs_clear_treelog_bg()
|
| /linux/arch/powerpc/kernel/ |
| A D | btext.c | 413 int bg = 0x00000000UL; in draw_byte_32() local 418 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32() 419 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32() 420 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32() 425 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32() 434 int bg = 0x00000000UL; in draw_byte_16() local 440 base[0] = (eb[bits >> 6] & fg) ^ bg; in draw_byte_16() 443 base[3] = (eb[bits & 3] & fg) ^ bg; in draw_byte_16() 452 int bg = 0x00000000UL; in draw_byte_8() local 458 base[0] = (eb[bits >> 4] & fg) ^ bg; in draw_byte_8() [all …]
|
| /linux/drivers/net/wireless/intel/ipw2x00/ |
| 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()
|
| /linux/drivers/video/fbdev/ |
| 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()
|
| /linux/drivers/video/fbdev/core/ |
| A D | tileblit.c | 29 rect.bg = attr_bgcol_ec(bgshift, vc, info); in tile_clear() 41 int fg, int bg) in tile_putcs() argument 52 blit.bg = bg; in tile_putcs() 68 int fg, int bg) in tile_cursor() argument 77 cursor.bg = bg; in tile_cursor()
|
| A D | fbcon.h | 58 int fg, int bg); 62 int fg, int bg); 122 int bg; in attr_col_ec() local 139 bg = is_mono01 ? 0 : col; in attr_col_ec() 143 bg = is_mono01 ? col : 0; in attr_col_ec() 146 return is_fg ? fg : bg; in attr_col_ec()
|
| /linux/tools/perf/ui/ |
| A D | browser.c | 529 .bg = "default", 535 .bg = "default", 541 .bg = "default", 547 .bg = "yellow", 553 .bg = "default", 559 .bg = "default", 565 .bg = "blue", 594 if (bg == NULL) in ui_browser__color_config() 597 *bg = '\0'; in ui_browser__color_config() 598 bg = skip_spaces(bg + 1); in ui_browser__color_config() [all …]
|
| A D | libslang.h | 27 #define sltt_set_color(obj, name, fg, bg) \ argument 28 SLtt_set_color(obj,(char *)(name), (char *)(fg), (char *)(bg))
|
| /linux/include/trace/events/ |
| 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)
|
| /linux/drivers/edac/ |
| 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()
|
| /linux/drivers/video/fbdev/savage/ |
| A D | savagefb_accel.c | 95 int fg, bg, size, i, width; in savagefb_imageblit() local 109 bg = image->bg_color; in savagefb_imageblit() 112 bg = ((u32 *)info->pseudo_palette)[image->bg_color]; in savagefb_imageblit() 130 BCI_SEND(bg); in savagefb_imageblit()
|
| /linux/drivers/scsi/bnx2fc/ |
| A D | bnx2fc_fcoe.c | 151 struct fcoe_percpu_s *bg; in bnx2fc_clean_rx_queue() local 156 bg = &bnx2fc_global; in bnx2fc_clean_rx_queue() 158 list = &bg->fcoe_rx_list; in bnx2fc_clean_rx_queue() 434 struct fcoe_percpu_s *bg; in bnx2fc_rcv() local 471 bg = &bnx2fc_global; in bnx2fc_rcv() 2724 bg = &bnx2fc_global; in bnx2fc_mod_init() 2727 (void *)bg, in bnx2fc_mod_init() 2735 bg->kthread = l2_thread; in bnx2fc_mod_init() 2800 bg = &bnx2fc_global; in bnx2fc_mod_exit() 2802 l2_thread = bg->kthread; in bnx2fc_mod_exit() [all …]
|
| /linux/drivers/video/fbdev/i810/ |
| A D | i810_accel.c | 237 int dest, const u32 *src, int bg, in mono_src_copy_imm_blit() argument 248 PUT_RING(bg); in mono_src_copy_imm_blit() 370 u32 fg = 0, bg = 0, size, dst; in i810fb_imageblit() local 381 bg = image->bg_color; in i810fb_imageblit() 386 bg = ((u32 *)(info->pseudo_palette))[image->bg_color]; in i810fb_imageblit() 402 bg, fg, info); in i810fb_imageblit()
|
| /linux/drivers/media/common/v4l2-tpg/ |
| A D | v4l2-tpg-core.c | 1879 PIXTYPE bg; \ 1894 pos[3] = (chr & (0x01 << 6) ? fg : bg); \ 1895 pos[2] = (chr & (0x01 << 4) ? fg : bg); \ 1896 pos[1] = (chr & (0x01 << 2) ? fg : bg); \ 1897 pos[0] = (chr & (0x01 << 0) ? fg : bg); \ 1899 pos[0] = (chr & (0x01 << 7) ? fg : bg); \ 1900 pos[1] = (chr & (0x01 << 5) ? fg : bg); \ 1901 pos[2] = (chr & (0x01 << 3) ? fg : bg); \ 1902 pos[3] = (chr & (0x01 << 1) ? fg : bg); \ 1904 pos[7] = (chr & (0x01 << 7) ? fg : bg); \ [all …]
|
| /linux/drivers/gpu/drm/nouveau/ |
| A D | nv04_fbcon.c | 84 uint32_t bg; in nv04_fbcon_imageblit() local 99 bg = ((uint32_t *) info->pseudo_palette)[image->bg_color]; in nv04_fbcon_imageblit() 102 bg = image->bg_color; in nv04_fbcon_imageblit() 108 0x0bec, bg, in nv04_fbcon_imageblit()
|
| A D | nvc0_fbcon.c | 112 uint32_t *palette = info->pseudo_palette, bg, fg; in nvc0_fbcon_imageblit() local 120 bg = palette[image->bg_color] | mask; in nvc0_fbcon_imageblit() 123 bg = image->bg_color; in nvc0_fbcon_imageblit() 131 PUSH_MTHD(push, NV902D, SET_PIXELS_FROM_CPU_COLOR0, bg, in nvc0_fbcon_imageblit()
|
| A D | nv50_fbcon.c | 112 uint32_t *palette = info->pseudo_palette, bg, fg; in nv50_fbcon_imageblit() local 120 bg = palette[image->bg_color] | mask; in nv50_fbcon_imageblit() 123 bg = image->bg_color; in nv50_fbcon_imageblit() 131 PUSH_MTHD(push, NV502D, SET_PIXELS_FROM_CPU_COLOR0, bg, in nv50_fbcon_imageblit()
|
| /linux/drivers/video/fbdev/aty/ |
| A D | mach64_cursor.c | 126 u32 fg_idx, bg_idx, fg, bg; in atyfb_cursor() local 135 bg = ((info->cmap.red[bg_idx] & 0xff) << 24) | in atyfb_cursor() 140 aty_st_le32(CUR_CLR0, bg, par); in atyfb_cursor()
|