Searched refs:shift_bits (Results 1 – 6 of 6) sorted by relevance
| /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()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_acl_bloom_filter.c | 331 static void right_shift_array(char *arr, u8 len, u8 shift_bits) in right_shift_array() argument 333 u8 byte_mask = 0xff >> shift_bits; in right_shift_array() 336 if (WARN_ON(!shift_bits || shift_bits >= 8)) in right_shift_array() 346 arr[i + 1] |= arr[i] << (8 - shift_bits); in right_shift_array() 347 arr[i] = arr[i] >> shift_bits; in right_shift_array()
|
| /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()
|
| /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() 558 unsigned int shift_bits = le32_to_cpu(sbp->s_log_block_size); in nilfs_sb2_bad_offset() local 564 shift_bits > ilog2(NILFS_MAX_BLOCK_SIZE) - BLOCK_SIZE_BITS) in nilfs_sb2_bad_offset() 567 index = offset >> (shift_bits + BLOCK_SIZE_BITS); in nilfs_sb2_bad_offset()
|
| /linux/drivers/leds/blink/ |
| H A D | leds-bcm63138.c | 261 u32 shift_bits; in bcm63138_leds_probe() local 276 if (!of_property_read_u32(np, "brcm,serial-shift-bits", &shift_bits)) { in bcm63138_leds_probe() 278 GENMASK(shift_bits - 1, 0)); in bcm63138_leds_probe()
|
| /linux/include/uapi/linux/netfilter/ |
| H A D | xt_connmark.h | 29 __u8 shift_dir, shift_bits, mode; member
|