Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/gpio/
Dgpio-bt8xx.c72 #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-4.19.296/fs/ocfs2/
Dsuballoc.c120 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 …]
Dmove_extents.c386 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) << bits_per_unit))) { 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 …]
Dioctl.c446 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()
Dsuballoc.h100 struct ocfs2_group_desc *bg,
/linux-4.19.296/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-4.19.296/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1729 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-4.19.296/drivers/media/dvb-frontends/
Dzl10036.c281 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-4.19.296/fs/ext4/
Dsuper.c227 struct ext4_group_desc *bg) in ext4_block_bitmap() argument
229 return le32_to_cpu(bg->bg_block_bitmap_lo) | in ext4_block_bitmap()
231 (ext4_fsblk_t)le32_to_cpu(bg->bg_block_bitmap_hi) << 32 : 0); in ext4_block_bitmap()
235 struct ext4_group_desc *bg) in ext4_inode_bitmap() argument
237 return le32_to_cpu(bg->bg_inode_bitmap_lo) | in ext4_inode_bitmap()
239 (ext4_fsblk_t)le32_to_cpu(bg->bg_inode_bitmap_hi) << 32 : 0); in ext4_inode_bitmap()
243 struct ext4_group_desc *bg) in ext4_inode_table() argument
245 return le32_to_cpu(bg->bg_inode_table_lo) | in ext4_inode_table()
247 (ext4_fsblk_t)le32_to_cpu(bg->bg_inode_table_hi) << 32 : 0); in ext4_inode_table()
251 struct ext4_group_desc *bg) in ext4_free_group_clusters() argument
[all …]
Dext4.h2761 struct ext4_group_desc *bg);
2763 struct ext4_group_desc *bg);
2765 struct ext4_group_desc *bg);
2767 struct ext4_group_desc *bg);
2769 struct ext4_group_desc *bg);
2771 struct ext4_group_desc *bg);
2773 struct ext4_group_desc *bg);
2775 struct ext4_group_desc *bg, ext4_fsblk_t blk);
2777 struct ext4_group_desc *bg, ext4_fsblk_t blk);
2779 struct ext4_group_desc *bg, ext4_fsblk_t blk);
[all …]
/linux-4.19.296/fs/btrfs/
Dextent-tree.c3829 struct btrfs_block_group_cache *bg; in btrfs_inc_nocow_writers() local
3832 bg = btrfs_lookup_block_group(fs_info, bytenr); in btrfs_inc_nocow_writers()
3833 if (!bg) in btrfs_inc_nocow_writers()
3836 spin_lock(&bg->lock); in btrfs_inc_nocow_writers()
3837 if (bg->ro) in btrfs_inc_nocow_writers()
3840 atomic_inc(&bg->nocow_writers); in btrfs_inc_nocow_writers()
3841 spin_unlock(&bg->lock); in btrfs_inc_nocow_writers()
3845 btrfs_put_block_group(bg); in btrfs_inc_nocow_writers()
3853 struct btrfs_block_group_cache *bg; in btrfs_dec_nocow_writers() local
3855 bg = btrfs_lookup_block_group(fs_info, bytenr); in btrfs_dec_nocow_writers()
[all …]
Dctree.h2630 void btrfs_wait_block_group_reservations(struct btrfs_block_group_cache *bg);
2633 void btrfs_wait_nocow_writers(struct btrfs_block_group_cache *bg);
2814 void btrfs_mark_bg_unused(struct btrfs_block_group_cache *bg);
/linux-4.19.296/include/linux/
Dfb.h350 __u32 bg; /* background color */ member
369 __u32 bg; /* background color */ member
380 __u32 bg; /* background color */ member
/linux-4.19.296/fs/ext2/
Dsuper.c821 unsigned long bg, first_meta_bg; in descriptor_loc() local
829 bg = sbi->s_desc_per_block * nr; in descriptor_loc()
830 if (ext2_bg_has_super(sb, bg)) in descriptor_loc()
833 return ext2_group_first_block_no(sb, bg) + has_super; in descriptor_loc()
/linux-4.19.296/include/video/
Domapfb_dss.h321 s16 br, bg, bb; member
/linux-4.19.296/drivers/hid/
Dhid-wiimote-modules.c2209 __u8 sx, sy, tb, wb, bd, bm, bp, bo, br, bb, bg, by, bu; in wiimod_guitar_in_ext() local
2252 bg = !(ext[5] & 0x10); in wiimod_guitar_in_ext()
2269 bg); in wiimod_guitar_in_ext()
/linux-4.19.296/include/linux/mlx5/
Ddriver.h420 u16 bg; member
/linux-4.19.296/include/rdma/
Dib_verbs.h806 u16 bg; member
/linux-4.19.296/
DMAINTAINERS7675 M: Julian Anastasov <ja@ssi.bg>