Searched refs:shift_bits (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/net/netfilter/ |
H A D | xt_connmark.c | 44 newmark >>= info->shift_bits; in connmark_tg_shift() 46 newmark <<= info->shift_bits; in connmark_tg_shift() 56 new_targetmark >>= info->shift_bits; in connmark_tg_shift() 58 new_targetmark <<= info->shift_bits; in connmark_tg_shift() 70 new_targetmark >>= info->shift_bits; in connmark_tg_shift() 72 new_targetmark <<= info->shift_bits; in connmark_tg_shift()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_bloom_filter.c | 314 static void right_shift_array(char *arr, u8 len, u8 shift_bits) in right_shift_array() argument 316 u8 byte_mask = 0xff >> shift_bits; in right_shift_array() 319 if (WARN_ON(!shift_bits || shift_bits >= 8)) in right_shift_array() 329 arr[i + 1] |= arr[i] << (8 - shift_bits); in right_shift_array() 330 arr[i] = arr[i] >> shift_bits; in right_shift_array()
|
/openbmc/linux/sound/pci/oxygen/ |
H A D | xonar_dg.c | 231 static inline unsigned int shift_bits(unsigned int value, in shift_bits() function 260 shift_bits(play_routing, in adjust_dg_dac_routing() 264 shift_bits(play_routing, in adjust_dg_dac_routing() 268 shift_bits(play_routing, in adjust_dg_dac_routing()
|
/openbmc/linux/fs/nilfs2/ |
H A D | the_nilfs.c | 211 unsigned int shift_bits = le32_to_cpu(sbp->s_log_block_size); in nilfs_get_blocksize() local 213 if (unlikely(shift_bits > in nilfs_get_blocksize() 216 shift_bits); in nilfs_get_blocksize() 219 *blocksize = BLOCK_SIZE << shift_bits; in nilfs_get_blocksize() 547 unsigned int shift_bits = le32_to_cpu(sbp->s_log_block_size); in nilfs_sb2_bad_offset() local 553 shift_bits > ilog2(NILFS_MAX_BLOCK_SIZE) - BLOCK_SIZE_BITS) in nilfs_sb2_bad_offset() 556 index = offset >> (shift_bits + BLOCK_SIZE_BITS); in nilfs_sb2_bad_offset()
|
/openbmc/linux/include/uapi/linux/netfilter/ |
H A D | xt_connmark.h | 29 __u8 shift_dir, shift_bits, mode; member
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 5716 u8 cur_pos = 0, tuple_size, shift_bits; in hclge_fd_convert_meta_data() local 5743 shift_bits = sizeof(meta_data) * 8 - cur_pos; in hclge_fd_convert_meta_data() 5745 *key_x = cpu_to_le32(tmp_x << shift_bits); in hclge_fd_convert_meta_data() 5746 *key_y = cpu_to_le32(tmp_y << shift_bits); in hclge_fd_convert_meta_data()
|