Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/media/dvb-frontends/cxd2880/
A 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()
A Dcxd2880_common.h18 int cxd2880_convert2s_complement(u32 value, u32 bitlen);
/linux-6.3-rc2/samples/pktgen/
A 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.3-rc2/net/netfilter/
A Dnft_cmp.c289 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 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()
A Dallowedips.h18 u8 cidr, bit_at_a, bit_at_b, bitlen; member
/linux-6.3-rc2/drivers/media/platform/renesas/
A 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.3-rc2/arch/s390/include/uapi/asm/
A Dpkey.h105 __u16 bitlen; /* clear key bit len, 0 for unknown */ member
/linux-6.3-rc2/fs/btrfs/
A Dcompression.c1241 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