Home
last modified time | relevance | path

Searched refs:n_bits (Results 1 – 20 of 20) sorted by relevance

/linux/tools/testing/selftests/bpf/
A Dtest_lpm_map.c33 size_t n_bits; member
39 size_t n_bits);
43 size_t n_bits) in tlpm_add() argument
48 n = (n_bits + 7) / 8; in tlpm_add()
52 if (node && node->n_bits == n_bits) { in tlpm_add()
63 node->n_bits = n_bits; in tlpm_add()
83 size_t n_bits) in tlpm_match() argument
95 for (i = 0; i < n_bits && i < list->n_bits; ++i) { in tlpm_match()
112 size_t n_bits) in tlpm_delete() argument
117 if (!best || best->n_bits != n_bits) in tlpm_delete()
[all …]
/linux/drivers/net/ppp/
A Dbsd_comp.c569 unsigned int n_bits; in bsd_compress() local
598 bitno -= n_bits; \ in bsd_compress()
624 n_bits = db->n_bits; in bsd_compress()
707 db->n_bits = ++n_bits; in bsd_compress()
778 db->n_bits++; in bsd_compress()
834 unsigned int n_bits; in bsd_decompress() local
854 n_bits = db->n_bits; in bsd_decompress()
928 accm <<= n_bits; in bsd_decompress()
929 bitno += n_bits; in bsd_decompress()
1105 db->n_bits = ++n_bits; in bsd_decompress()
[all …]
/linux/drivers/clk/ingenic/
A Dx1830-cgu.c122 .n_bits = 6,
145 .n_bits = 6,
168 .n_bits = 6,
191 .n_bits = 6,
A Djz4760-cgu.c67 n = clamp_val(n, 2, 1 << pll_info->n_bits); in jz4760_cgu_calc_m_n_od()
104 .n_bits = 4,
129 .n_bits = 4,
A Djz4770-cgu.c112 .n_bits = 5,
136 .n_bits = 5,
A Dx1000-cgu.c194 .n_bits = 5,
217 .n_bits = 5,
A Dcgu.h52 u8 n_shift, n_bits, n_offset; member
A Djz4725b-cgu.c64 .n_bits = 5,
A Djz4740-cgu.c79 .n_bits = 5,
A Dcgu.c97 n = (ctl >> pll_info->n_shift) & GENMASK(pll_info->n_bits - 1, 0); in ingenic_pll_recalc_rate()
134 n = min_t(unsigned int, n, 1 << pll_info->n_bits); in ingenic_pll_calc_m_n_od()
215 ctl &= ~(GENMASK(pll_info->n_bits - 1, 0) << pll_info->n_shift); in ingenic_pll_set_rate()
A Djz4780-cgu.c280 .n_bits = 6, \
/linux/net/wireless/
A Dradiotap.c53 .n_bits = ARRAY_SIZE(rtap_namespace_sizes),
241 iterator->_arg_index >= iterator->current_namespace->n_bits) { in ieee80211_radiotap_iterator_next()
/linux/fs/sysv/
A Dsuper.c308 u_char n_bits = size+8; in complete_read_super() local
309 int bsize = 1 << n_bits; in complete_read_super()
319 sbi->s_inodes_per_block_bits = n_bits-6; in complete_read_super()
323 sbi->s_ind_per_block_bits = n_bits-2; in complete_read_super()
/linux/lib/
A Dtest_scanf.c272 u32 n_bits = hweight32(prandom_u32_state(&rnd_state)) % (max_bits + 1); in next_test_random() local
274 return prandom_u32_state(&rnd_state) & GENMASK(n_bits, 0); in next_test_random()
280 u32 n_bits = (hweight32(rand1) * 3) % 64; in next_test_random_ull() local
283 return val & GENMASK_ULL(n_bits, 0); in next_test_random_ull()
/linux/drivers/comedi/drivers/
A Dni_mio_common.c4347 int n_bits; member
4437 int n_bits; in caldac_setup() local
4445 n_bits = caldacs[type].n_bits; in caldac_setup()
4450 if (caldacs[type].n_bits != n_bits) in caldac_setup()
4469 (1 << caldacs[type].n_bits) - 1; in caldac_setup()
4478 s->maxdata = (1 << caldacs[type].n_bits) - 1; in caldac_setup()
/linux/drivers/spi/
A Dspi-imx.c1076 static void spi_imx_set_burst_len(struct spi_imx_data *spi_imx, int n_bits) in spi_imx_set_burst_len() argument
1082 ctrl |= ((n_bits - 1) << MX51_ECSPI_CTRL_BL_OFFSET); in spi_imx_set_burst_len()
/linux/net/sched/
A Dact_ct.c1512 unsigned int n_bits = sizeof_field(struct tcf_ct_params, labels) * 8; in ct_init_net() local
1515 if (nf_connlabels_get(net, n_bits - 1)) { in ct_init_net()
/linux/net/openvswitch/
A Dconntrack.c2281 unsigned int n_bits = sizeof(struct ovs_key_ct_labels) * BITS_PER_BYTE; in ovs_ct_init() local
2284 if (nf_connlabels_get(net, n_bits - 1)) { in ovs_ct_init()
/linux/net/ethtool/
A Dioctl.c779 int i, idx = 0, n_bits = 0, ret, rc; in ethtool_get_sset_info() local
791 n_bits = hweight64(sset_mask); in ethtool_get_sset_info()
796 info_buf = kcalloc(n_bits, sizeof(u32), GFP_USER); in ethtool_get_sset_info()
/linux/include/net/
A Dcfg80211.h5743 int n_bits; member

Completed in 76 milliseconds