Home
last modified time | relevance | path

Searched refs:bit_off (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/drivers/pinctrl/
Dpinctrl-digicolor.c134 int bit_off, reg_off; in dc_set_mux() local
137 dc_client_sel(group, &reg_off, &bit_off); in dc_set_mux()
140 reg &= ~(3 << bit_off); in dc_set_mux()
141 reg |= (selector << bit_off); in dc_set_mux()
152 int bit_off, reg_off; in dc_pmx_request_gpio() local
155 dc_client_sel(offset, &reg_off, &bit_off); in dc_pmx_request_gpio()
158 if ((reg & (3 << bit_off)) != 0) in dc_pmx_request_gpio()
176 int bit_off = gpio % PINS_PER_COLLECTION; in dc_gpio_direction_input() local
182 drive &= ~BIT(bit_off); in dc_gpio_direction_input()
196 int bit_off = gpio % PINS_PER_COLLECTION; in dc_gpio_direction_output() local
[all …]
/linux-4.4.14/fs/ocfs2/
Dlocalalloc.h55 u32 *bit_off,
61 u32 bit_off,
Dlocalalloc.c731 u32 *bit_off, in ocfs2_claim_local_alloc_bits() argument
756 *bit_off = le32_to_cpu(la->la_bm_off) + start; in ocfs2_claim_local_alloc_bits()
786 u32 bit_off, in ocfs2_free_local_alloc_bits() argument
803 start = bit_off - le32_to_cpu(la->la_bm_off); in ocfs2_free_local_alloc_bits()
969 int bit_off, left, count, start; in ocfs2_sync_local_to_main() local
991 start = count = bit_off = 0; in ocfs2_sync_local_to_main()
994 while ((bit_off = ocfs2_find_next_zero_bit(bitmap, left, start)) in ocfs2_sync_local_to_main()
996 if ((bit_off < left) && (bit_off == start)) { in ocfs2_sync_local_to_main()
1020 if (bit_off >= left) in ocfs2_sync_local_to_main()
1023 start = bit_off + 1; in ocfs2_sync_local_to_main()
Dsuballoc.c441 u32 bit_off, num_bits; in ocfs2_block_group_alloc_contig() local
447 le16_to_cpu(cl->cl_cpg), &bit_off, in ocfs2_block_group_alloc_contig()
456 bg_blkno = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_block_group_alloc_contig()
483 u32 *bit_off, u32 *num_bits) in ocfs2_block_group_claim_bits() argument
489 bit_off, num_bits); in ocfs2_block_group_claim_bits()
598 u32 bit_off, num_bits; in ocfs2_block_group_alloc_discontig() local
627 &bit_off, &num_bits); in ocfs2_block_group_alloc_discontig()
636 bg_blkno = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_block_group_alloc_discontig()
1329 unsigned int bit_off, in ocfs2_block_group_set_bits() argument
1341 trace_ocfs2_block_group_set_bits(bit_off, num_bits); in ocfs2_block_group_set_bits()
[all …]
Dsuballoc.h102 unsigned int bit_off,
Dalloc.c4764 u32 bit_off, num_bits; in ocfs2_add_clusters_in_btree() local
4802 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_clusters_in_btree()
4820 block = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_add_clusters_in_btree()
4823 bit_off, num_bits); in ocfs2_add_clusters_in_btree()
4847 bit_off, num_bits); in ocfs2_add_clusters_in_btree()
4852 ocfs2_clusters_to_blocks(osb->sb, bit_off), in ocfs2_add_clusters_in_btree()
6856 u32 bit_off, num; in ocfs2_convert_inline_data_to_extents() local
6913 ret = ocfs2_claim_clusters(handle, data_ac, 1, &bit_off, in ocfs2_convert_inline_data_to_extents()
6924 block = phys = ocfs2_clusters_to_blocks(inode->i_sb, bit_off); in ocfs2_convert_inline_data_to_extents()
7000 bit_off, num); in ocfs2_convert_inline_data_to_extents()
[all …]
Ddir.c2797 u32 alloc, dx_alloc, bit_off, len, num_dx_entries = 0; in ocfs2_expand_inline_dir() local
2906 ret = ocfs2_claim_clusters(handle, data_ac, 1, &bit_off, &len); in ocfs2_expand_inline_dir()
2918 blkno = ocfs2_clusters_to_blocks(dir->i_sb, bit_off); in ocfs2_expand_inline_dir()
3047 ret = ocfs2_claim_clusters(handle, data_ac, 1, &bit_off, in ocfs2_expand_inline_dir()
3053 blkno = ocfs2_clusters_to_blocks(dir->i_sb, bit_off); in ocfs2_expand_inline_dir()
Dxattr.c4263 u32 bit_off, len; in ocfs2_xattr_create_index_block() local
4294 1, 1, &bit_off, &len); in ocfs2_xattr_create_index_block()
4305 blkno = ocfs2_clusters_to_blocks(inode->i_sb, bit_off); in ocfs2_xattr_create_index_block()
5093 u32 clusters_to_add = 1, bit_off, num_bits, v_start = 0; in ocfs2_add_new_xattr_cluster() local
5114 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_new_xattr_cluster()
5123 block = ocfs2_clusters_to_blocks(osb->sb, bit_off); in ocfs2_add_new_xattr_cluster()
/linux-4.4.14/drivers/thermal/samsung/
Dexynos_tmu.c667 unsigned int reg_off, bit_off; in exynos7_tmu_initialize() local
706 bit_off = ((8 - i) % 2); in exynos7_tmu_initialize()
718 rising_threshold &= ~(EXYNOS7_TMU_TEMP_MASK << (16 * bit_off)); in exynos7_tmu_initialize()
719 rising_threshold |= threshold_code << (16 * bit_off); in exynos7_tmu_initialize()
725 falling_threshold &= ~(EXYNOS7_TMU_TEMP_MASK << (16 * bit_off)); in exynos7_tmu_initialize()
726 falling_threshold |= threshold_code << (16 * bit_off); in exynos7_tmu_initialize()
/linux-4.4.14/fs/btrfs/
Dfree-space-cache.c3648 u64 bit_off, bit_bytes; in test_check_exists() local
3652 bit_off = offset; in test_check_exists()
3654 ret = search_bitmap(ctl, info, &bit_off, &bit_bytes, false); in test_check_exists()
3656 if (bit_off == offset) { in test_check_exists()
3659 } else if (bit_off > offset && in test_check_exists()
3660 offset + bytes > bit_off) { in test_check_exists()