Home
last modified time | relevance | path

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

1234

/Linux-v5.10/drivers/gpio/
Dgpio-bt8xx.c60 #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 …]
/Linux-v5.10/Documentation/filesystems/ext4/
Dgroup_descr.rst31 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-v5.10/arch/sparc/kernel/
Dbtext.c246 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-v5.10/fs/ocfs2/
Dsuballoc.c106 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 …]
Dmove_extents.c388 struct ocfs2_group_desc *bg; in ocfs2_find_victim_alloc_group() local
427 bg = NULL; in ocfs2_find_victim_alloc_group()
430 if (!bg) in ocfs2_find_victim_alloc_group()
433 blkno = le64_to_cpu(bg->bg_next_group); in ocfs2_find_victim_alloc_group()
446 bg = (struct ocfs2_group_desc *)gd_bh->b_data; in ocfs2_find_victim_alloc_group()
448 if (vict_blkno < (le64_to_cpu(bg->bg_blkno) + in ocfs2_find_victim_alloc_group()
449 le16_to_cpu(bg->bg_bits))) { in ocfs2_find_victim_alloc_group()
456 blkno, le16_to_cpu(bg->bg_bits), in ocfs2_find_victim_alloc_group()
461 } while (le64_to_cpu(bg->bg_next_group)); in ocfs2_find_victim_alloc_group()
483 struct ocfs2_group_desc *bg; in ocfs2_validate_and_adjust_move_goal() local
[all …]
/Linux-v5.10/drivers/net/wireless/intel/ipw2x00/
Dlibipw_geo.c45 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-v5.10/arch/powerpc/kernel/
Dbtext.c413 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()
421 base[3] = (-((bits >> 4) & 1) & fg) ^ bg; in draw_byte_32()
422 base[4] = (-((bits >> 3) & 1) & fg) ^ bg; in draw_byte_32()
423 base[5] = (-((bits >> 2) & 1) & fg) ^ bg; in draw_byte_32()
424 base[6] = (-((bits >> 1) & 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
[all …]
/Linux-v5.10/drivers/video/fbdev/
Datafb_utils.h269 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-v5.10/drivers/video/fbdev/core/
Dtileblit.c45 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()
Dfbcon.h61 int fg, int bg);
65 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-v5.10/include/trace/events/
Dwbt.h92 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-v5.10/tools/perf/ui/
Dbrowser.c522 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 …]
Dlibslang.h27 #define sltt_set_color(obj, name, fg, bg) \ argument
28 SLtt_set_color(obj,(char *)(name), (char *)(fg), (char *)(bg))
/Linux-v5.10/fs/btrfs/
Dblock-group.c281 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 …]
Dblock-group.h227 void btrfs_wait_block_group_reservations(struct btrfs_block_group *bg);
230 void btrfs_wait_nocow_writers(struct btrfs_block_group *bg);
247 void btrfs_mark_bg_unused(struct btrfs_block_group *bg);
/Linux-v5.10/drivers/edac/
Dal_mc_edac.c65 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-v5.10/drivers/video/fbdev/savage/
Dsavagefb_accel.c95 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-v5.10/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c149 struct fcoe_percpu_s *bg; in bnx2fc_clean_rx_queue() local
154 bg = &bnx2fc_global; in bnx2fc_clean_rx_queue()
155 spin_lock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_clean_rx_queue()
156 list = &bg->fcoe_rx_list; in bnx2fc_clean_rx_queue()
164 spin_unlock_bh(&bg->fcoe_rx_list.lock); in bnx2fc_clean_rx_queue()
432 struct fcoe_percpu_s *bg; in bnx2fc_rcv() local
469 bg = &bnx2fc_global; in bnx2fc_rcv()
470 spin_lock(&bg->fcoe_rx_list.lock); in bnx2fc_rcv()
472 __skb_queue_tail(&bg->fcoe_rx_list, skb); in bnx2fc_rcv()
473 if (bg->fcoe_rx_list.qlen == 1) in bnx2fc_rcv()
[all …]
/Linux-v5.10/drivers/video/fbdev/i810/
Di810_accel.c237 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-v5.10/drivers/gpu/drm/nouveau/
Dnv04_fbcon.c84 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()
Dnv50_fbcon.c112 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()
Dnvc0_fbcon.c112 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()
/Linux-v5.10/drivers/video/fbdev/aty/
Dmach64_cursor.c126 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-v5.10/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1879 PIXTYPE bg; \
1881 memcpy(&bg, tpg->textbg[p], sizeof(PIXTYPE)); \
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); \
[all …]
/Linux-v5.10/drivers/media/dvb-frontends/
Dzl10036.c273 u8 rfg, ba, bg; in zl10036_set_gain_params() local
278 bg = 1; in zl10036_set_gain_params()
282 | ((ba << 3) & 0x18) | ((bg << 1) & 0x06); in zl10036_set_gain_params()
290 deb_info("%s: c=%u rfg=%u ba=%u bg=%u\n", __func__, c, rfg, ba, bg); in zl10036_set_gain_params()

1234