Home
last modified time | relevance | path

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

/Linux-v5.15/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.h17 int cxd2880_convert2s_complement(u32 value, u32 bitlen);
/Linux-v5.15/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-v5.15/drivers/net/wireguard/
Dallowedips.c30 node->bitlen = bits; in copy_and_assign_cidr()
343 swap_endian(ip, node->bits, node->bitlen); in wg_allowedips_read_node()
344 memset(ip + cidr_bytes, 0, node->bitlen / 8U - cidr_bytes); in wg_allowedips_read_node()
349 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-v5.15/drivers/media/platform/
Drcar_drif.c148 u32 bitlen; member
158 .bitlen = 16,
165 .bitlen = 18,
172 .bitlen = 20,
345 sdr->fmt->bitlen, sdr->fmt->wdcnt, sdr->fmt->num_ch); in rcar_drif_set_format()
360 RCAR_DRIF_MDR_BITLEN(sdr->fmt->bitlen) | in rcar_drif_set_format()
364 mdr = RCAR_DRIF_MDR_BITLEN(sdr->fmt->bitlen) | in rcar_drif_set_format()
/Linux-v5.15/arch/s390/include/uapi/asm/
Dpkey.h105 __u16 bitlen; /* clear key bit len, 0 for unknown */ member
/Linux-v5.15/fs/btrfs/
Dcompression.c1437 int bitlen; in radix_sort() local
1453 bitlen = ALIGN(buf_num, RADIX_BASE * 2); in radix_sort()
1456 while (shift < bitlen) { in radix_sort()