Searched refs:bitlen (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/drivers/media/dvb-frontends/cxd2880/ |
A D | cxd2880_common.c | 12 int cxd2880_convert2s_complement(u32 value, u32 bitlen) in cxd2880_convert2s_complement() argument 14 if (!bitlen || bitlen >= 32) in cxd2880_convert2s_complement() 17 if (value & (u32)(1 << (bitlen - 1))) in cxd2880_convert2s_complement() 18 return (int)(GENMASK(31, bitlen) | value); in cxd2880_convert2s_complement() 20 return (int)(GENMASK(bitlen - 1, 0) & value); in cxd2880_convert2s_complement()
|
A D | cxd2880_common.h | 18 int cxd2880_convert2s_complement(u32 value, u32 bitlen);
|
/linux-6.3-rc2/samples/pktgen/ |
A D | functions.sh | 212 local bitlen=$[ IP6 ? 128 : 32 ] 223 if ! (in_between $prefix 0 $bitlen); then 271 local bitlen=$[ IP6 ? 128 : 32 ] 272 local remain=$[ bitlen-prefix ]
|
/linux-6.3-rc2/net/netfilter/ |
A D | nft_cmp.c | 289 static u32 nft_cmp_mask(u32 bitlen) in nft_cmp_mask() argument 291 return (__force u32)cpu_to_le32(~0U >> (sizeof(u32) * BITS_PER_BYTE - bitlen)); in nft_cmp_mask() 294 static void nft_cmp16_fast_mask(struct nft_data *data, unsigned int bitlen) in nft_cmp16_fast_mask() argument 296 int len = bitlen / BITS_PER_BYTE; in nft_cmp16_fast_mask() 301 bitlen -= sizeof(u32) * BITS_PER_BYTE; in nft_cmp16_fast_mask() 305 data->data[i++] = nft_cmp_mask(bitlen); in nft_cmp16_fast_mask()
|
/linux-6.3-rc2/drivers/net/wireguard/ |
A D | allowedips.c | 32 node->bitlen = bits; in copy_and_assign_cidr() 346 swap_endian(ip, node->bits, node->bitlen); in wg_allowedips_read_node() 347 memset(ip + cidr_bytes, 0, node->bitlen / 8U - cidr_bytes); in wg_allowedips_read_node() 352 return node->bitlen == 32 ? AF_INET : AF_INET6; in wg_allowedips_read_node()
|
A D | allowedips.h | 18 u8 cidr, bit_at_a, bit_at_b, bitlen; member
|
/linux-6.3-rc2/drivers/media/platform/renesas/ |
A D | rcar_drif.c | 143 u32 bitlen; member 153 .bitlen = 16, 160 .bitlen = 18, 167 .bitlen = 20, 340 sdr->fmt->bitlen, sdr->fmt->wdcnt, sdr->fmt->num_ch); in rcar_drif_set_format() 355 RCAR_DRIF_MDR_BITLEN(sdr->fmt->bitlen) | in rcar_drif_set_format() 359 mdr = RCAR_DRIF_MDR_BITLEN(sdr->fmt->bitlen) | in rcar_drif_set_format()
|
/linux-6.3-rc2/arch/s390/include/uapi/asm/ |
A D | pkey.h | 105 __u16 bitlen; /* clear key bit len, 0 for unknown */ member
|
/linux-6.3-rc2/fs/btrfs/ |
A D | compression.c | 1241 int bitlen; in radix_sort() local 1257 bitlen = ALIGN(buf_num, RADIX_BASE * 2); in radix_sort() 1260 while (shift < bitlen) { in radix_sort()
|
Completed in 23 milliseconds