Home
last modified time | relevance | path

Searched refs:bitlen (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_common.c12 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()
Dcxd2880_common.h18 int cxd2880_convert2s_complement(u32 value, u32 bitlen);
/linux-6.1.9/samples/pktgen/
Dfunctions.sh212 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.1.9/net/netfilter/
Dnft_cmp.c287 static u32 nft_cmp_mask(u32 bitlen) in nft_cmp_mask() argument
289 return (__force u32)cpu_to_le32(~0U >> (sizeof(u32) * BITS_PER_BYTE - bitlen)); in nft_cmp_mask()
292 static void nft_cmp16_fast_mask(struct nft_data *data, unsigned int bitlen) in nft_cmp16_fast_mask() argument
294 int len = bitlen / BITS_PER_BYTE; in nft_cmp16_fast_mask()
299 bitlen -= sizeof(u32) * BITS_PER_BYTE; in nft_cmp16_fast_mask()
303 data->data[i++] = nft_cmp_mask(bitlen); in nft_cmp16_fast_mask()
/linux-6.1.9/drivers/net/wireguard/
Dallowedips.c32 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()
Dallowedips.h18 u8 cidr, bit_at_a, bit_at_b, bitlen; member
/linux-6.1.9/drivers/media/platform/renesas/
Drcar_drif.c143 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.1.9/arch/s390/include/uapi/asm/
Dpkey.h105 __u16 bitlen; /* clear key bit len, 0 for unknown */ member
/linux-6.1.9/fs/btrfs/
Dcompression.c1423 int bitlen; in radix_sort() local
1439 bitlen = ALIGN(buf_num, RADIX_BASE * 2); in radix_sort()
1442 while (shift < bitlen) { in radix_sort()