/Linux-v4.19/drivers/gpio/ |
D | gpio-bt8xx.c | 72 #define bgwrite(dat, adr) writel((dat), bg->mmio+(adr)) 73 #define bgread(adr) readl(bg->mmio+(adr)) 83 struct bt8xxgpio *bg = gpiochip_get_data(gpio); in bt8xxgpio_gpio_direction_input() local 87 spin_lock_irqsave(&bg->lock, flags); in bt8xxgpio_gpio_direction_input() 97 spin_unlock_irqrestore(&bg->lock, flags); in bt8xxgpio_gpio_direction_input() 104 struct bt8xxgpio *bg = gpiochip_get_data(gpio); in bt8xxgpio_gpio_get() local 108 spin_lock_irqsave(&bg->lock, flags); in bt8xxgpio_gpio_get() 110 spin_unlock_irqrestore(&bg->lock, flags); in bt8xxgpio_gpio_get() 118 struct bt8xxgpio *bg = gpiochip_get_data(gpio); in bt8xxgpio_gpio_direction_output() local 122 spin_lock_irqsave(&bg->lock, flags); in bt8xxgpio_gpio_direction_output() [all …]
|
/Linux-v4.19/arch/sparc/kernel/ |
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 …]
|
/Linux-v4.19/Documentation/filesystems/ext4/ondisk/ |
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 …]
|
/Linux-v4.19/fs/ocfs2/ |
D | suballoc.c | 120 static inline int ocfs2_block_group_reasonably_empty(struct ocfs2_group_desc *bg, 335 struct ocfs2_group_desc *bg, in ocfs2_bg_discontig_add_extent() argument 339 struct ocfs2_extent_list *el = &bg->bg_list; in ocfs2_bg_discontig_add_extent() 347 rec->e_cpos = cpu_to_le32(le16_to_cpu(bg->bg_bits) / in ocfs2_bg_discontig_add_extent() 350 le16_add_cpu(&bg->bg_bits, clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent() 351 le16_add_cpu(&bg->bg_free_bits_count, in ocfs2_bg_discontig_add_extent() 366 struct ocfs2_group_desc *bg = (struct ocfs2_group_desc *) bg_bh->b_data; in ocfs2_block_group_fill() local 386 memset(bg, 0, sb->s_blocksize); in ocfs2_block_group_fill() 387 strcpy(bg->bg_signature, OCFS2_GROUP_DESC_SIGNATURE); in ocfs2_block_group_fill() 388 bg->bg_generation = cpu_to_le32(osb->fs_generation); in ocfs2_block_group_fill() [all …]
|
D | move_extents.c | 375 struct ocfs2_group_desc *bg; in ocfs2_find_victim_alloc_group() local 414 bg = NULL; in ocfs2_find_victim_alloc_group() 417 if (!bg) in ocfs2_find_victim_alloc_group() 420 blkno = le64_to_cpu(bg->bg_next_group); in ocfs2_find_victim_alloc_group() 433 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_find_victim_alloc_group() 435 if (vict_blkno < (le64_to_cpu(bg->bg_blkno) + in ocfs2_find_victim_alloc_group() 436 le16_to_cpu(bg->bg_bits))) { in ocfs2_find_victim_alloc_group() 443 blkno, le16_to_cpu(bg->bg_bits), in ocfs2_find_victim_alloc_group() 448 } while (le64_to_cpu(bg->bg_next_group)); in ocfs2_find_victim_alloc_group() 470 struct ocfs2_group_desc *bg; in ocfs2_validate_and_adjust_move_goal() local [all …]
|
D | ioctl.c | 446 struct ocfs2_group_desc *bg = NULL; in ocfs2_info_freefrag_scan_chain() local 456 if (!bg) in ocfs2_info_freefrag_scan_chain() 459 blkno = le64_to_cpu(bg->bg_next_group); in ocfs2_info_freefrag_scan_chain() 480 bg = (struct ocfs2_group_desc *)bh->b_data; in ocfs2_info_freefrag_scan_chain() 482 if (!le16_to_cpu(bg->bg_free_bits_count)) in ocfs2_info_freefrag_scan_chain() 485 max_bits = le16_to_cpu(bg->bg_bits); in ocfs2_info_freefrag_scan_chain() 500 (unsigned long *)bg->bg_bitmap); in ocfs2_info_freefrag_scan_chain() 530 } while (le64_to_cpu(bg->bg_next_group)); in ocfs2_info_freefrag_scan_chain()
|
/Linux-v4.19/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_geo.c | 59 if ((ieee->geo.bg[i].channel == channel) && in libipw_is_valid_channel() 60 !(ieee->geo.bg[i].flags & LIBIPW_CH_INVALID) && in libipw_is_valid_channel() 62 !(ieee->geo.bg[i].flags & LIBIPW_CH_B_ONLY))) in libipw_is_valid_channel() 85 if (ieee->geo.bg[i].channel == channel) in libipw_channel_to_index() 124 if (ieee->geo.bg[i].freq == freq) in libipw_freq_to_channel() 125 return ieee->geo.bg[i].channel; in libipw_freq_to_channel() 142 memcpy(ieee->geo.bg, geo->bg, geo->bg_channels * in libipw_set_geo() 161 return ieee->geo.bg[index].flags; in libipw_get_channel_flags() 181 return &ieee->geo.bg[index]; in libipw_get_channel()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | btext.c | 430 int bg = 0x00000000UL; in draw_byte_32() local 435 base[0] = (-(bits >> 7) & fg) ^ bg; in draw_byte_32() 436 base[1] = (-((bits >> 6) & 1) & fg) ^ bg; in draw_byte_32() 437 base[2] = (-((bits >> 5) & 1) & fg) ^ bg; in draw_byte_32() 438 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32() 439 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32() 440 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32() 441 base[6] = (-((bits >> 1) & 1) & fg) ^ bg; in draw_byte_32() 442 base[7] = (-(bits & 1) & fg) ^ bg; in draw_byte_32() 451 int bg = 0x00000000UL; in draw_byte_16() local [all …]
|
/Linux-v4.19/drivers/video/fbdev/ |
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()
|
D | pmag-aa-fb.c | 122 u8 bg = cursor->image.bg_color ? 0xf : 0x0; in aafb_cursor() local 124 bt455_write_cmap_entry(par->bt455, 8, bg); in aafb_cursor() 125 bt455_write_cmap_next(par->bt455, bg); in aafb_cursor()
|
/Linux-v4.19/drivers/video/fbdev/core/ |
D | tileblit.c | 44 rect.bg = attr_bgcol_ec(bgshift, vc, info); in tile_clear() 56 int fg, int bg) in tile_putcs() argument 67 blit.bg = bg; in tile_putcs() 83 int softback_lines, int fg, int bg) in tile_cursor() argument 92 cursor.bg = bg; in tile_cursor()
|
D | fbcon.h | 61 int fg, int bg); 65 int softback_lines, int fg, int bg); 125 int bg; in attr_col_ec() local 142 bg = is_mono01 ? 0 : col; in attr_col_ec() 146 bg = is_mono01 ? col : 0; in attr_col_ec() 149 return is_fg ? fg : bg; in attr_col_ec()
|
/Linux-v4.19/include/trace/events/ |
D | wbt.h | 90 int step, unsigned long window, unsigned int bg, 93 TP_ARGS(bdi, msg, step, window, bg, normal, max), 100 __field(unsigned int, bg) 110 __entry->bg = bg; 117 __entry->bg, __entry->normal, __entry->max)
|
/Linux-v4.19/tools/perf/ui/ |
D | browser.c | 521 const char *name, *fg, *bg; member 528 .bg = "default", 534 .bg = "default", 540 .bg = "default", 546 .bg = "yellow", 552 .bg = "default", 558 .bg = "default", 564 .bg = "blue", 575 char *fg = NULL, *bg; in ui_browser__color_config() local 592 bg = strchr(fg, ','); in ui_browser__color_config() [all …]
|
D | libslang.h | 22 #define sltt_set_color(obj, name, fg, bg) \ argument 23 SLtt_set_color(obj,(char *)(name), (char *)(fg), (char *)(bg))
|
/Linux-v4.19/drivers/video/fbdev/savage/ |
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-v4.19/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 149 struct fcoe_percpu_s *bg; in bnx2fc_clean_rx_queue() local 155 bg = &bnx2fc_global; in bnx2fc_clean_rx_queue() 156 spin_lock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_clean_rx_queue() 157 list = &bg->fcoe_rx_list; in bnx2fc_clean_rx_queue() 168 spin_unlock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_clean_rx_queue() 437 struct fcoe_percpu_s *bg; in bnx2fc_rcv() local 478 bg = &bnx2fc_global; in bnx2fc_rcv() 479 spin_lock(&bg->fcoe_rx_list.lock); in bnx2fc_rcv() 481 __skb_queue_tail(&bg->fcoe_rx_list, skb); in bnx2fc_rcv() 482 if (bg->fcoe_rx_list.qlen == 1) in bnx2fc_rcv() [all …]
|
/Linux-v4.19/drivers/video/fbdev/i810/ |
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-v4.19/drivers/video/fbdev/aty/ |
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()
|
/Linux-v4.19/drivers/media/common/v4l2-tpg/ |
D | v4l2-tpg-core.c | 1729 PIXTYPE bg; \ 1731 memcpy(&bg, tpg->textbg[p], sizeof(PIXTYPE)); \ 1744 pos[3] = (chr & (0x01 << 6) ? fg : bg); \ 1745 pos[2] = (chr & (0x01 << 4) ? fg : bg); \ 1746 pos[1] = (chr & (0x01 << 2) ? fg : bg); \ 1747 pos[0] = (chr & (0x01 << 0) ? fg : bg); \ 1749 pos[0] = (chr & (0x01 << 7) ? fg : bg); \ 1750 pos[1] = (chr & (0x01 << 5) ? fg : bg); \ 1751 pos[2] = (chr & (0x01 << 3) ? fg : bg); \ 1752 pos[3] = (chr & (0x01 << 1) ? fg : bg); \ [all …]
|
/Linux-v4.19/drivers/gpu/drm/nouveau/ |
D | nv04_fbcon.c | 83 uint32_t bg; in nv04_fbcon_imageblit() local 98 bg = ((uint32_t *) info->pseudo_palette)[image->bg_color]; in nv04_fbcon_imageblit() 101 bg = image->bg_color; in nv04_fbcon_imageblit() 108 OUT_RING(chan, bg); in nv04_fbcon_imageblit()
|
/Linux-v4.19/drivers/media/dvb-frontends/ |
D | zl10036.c | 281 u8 rfg, ba, bg; in zl10036_set_gain_params() local 286 bg = 1; in zl10036_set_gain_params() 290 | ((ba << 3) & 0x18) | ((bg << 1) & 0x06); in zl10036_set_gain_params() 298 deb_info("%s: c=%u rfg=%u ba=%u bg=%u\n", __func__, c, rfg, ba, bg); in zl10036_set_gain_params()
|
/Linux-v4.19/arch/sparc/lib/ |
D | strncmp_32.S | 89 bg,a 0b 114 bg,a 9b
|
/Linux-v4.19/fs/ext4/ |
D | super.c | 204 struct ext4_group_desc *bg) in ext4_block_bitmap() argument 206 return le32_to_cpu(bg->bg_block_bitmap_lo) | in ext4_block_bitmap() 208 (ext4_fsblk_t)le32_to_cpu(bg->bg_block_bitmap_hi) << 32 : 0); in ext4_block_bitmap() 212 struct ext4_group_desc *bg) in ext4_inode_bitmap() argument 214 return le32_to_cpu(bg->bg_inode_bitmap_lo) | in ext4_inode_bitmap() 216 (ext4_fsblk_t)le32_to_cpu(bg->bg_inode_bitmap_hi) << 32 : 0); in ext4_inode_bitmap() 220 struct ext4_group_desc *bg) in ext4_inode_table() argument 222 return le32_to_cpu(bg->bg_inode_table_lo) | in ext4_inode_table() 224 (ext4_fsblk_t)le32_to_cpu(bg->bg_inode_table_hi) << 32 : 0); in ext4_inode_table() 228 struct ext4_group_desc *bg) in ext4_free_group_clusters() argument [all …]
|
/Linux-v4.19/drivers/video/fbdev/nvidia/ |
D | nv_accel.c | 356 u32 fg, bg, mask = ~(~0 >> (32 - info->var.bits_per_pixel)); in nvidiafb_mono_color_expand() local 365 bg = image->bg_color | mask; in nvidiafb_mono_color_expand() 368 bg = ((u32 *) info->pseudo_palette)[image->bg_color] | mask; in nvidiafb_mono_color_expand() 375 NVDmaNext(par, bg); in nvidiafb_mono_color_expand()
|