Searched refs:n_bits (Results 1 - 22 of 22) sorted by relevance

/linux-master/drivers/net/ppp/
H A Dbsd_comp.c140 unsigned char n_bits; /* current bits/code */ member in struct:bsd_db
226 db->n_bits = BSD_INIT_BITS;
569 unsigned int n_bits; local
598 bitno -= n_bits; \
624 n_bits = db->n_bits;
627 mxcode = MAXCODE (n_bits);
707 db->n_bits = ++n_bits;
708 mxcode = MAXCODE (n_bits);
834 unsigned int n_bits; local
928 accm <<= n_bits; local
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dtest_lpm_map.c32 size_t n_bits; member in struct:tlpm_node
38 size_t n_bits);
42 size_t n_bits)
47 n = (n_bits + 7) / 8;
50 node = tlpm_match(list, key, n_bits);
51 if (node && node->n_bits == n_bits) {
56 /* add new entry with @key/@n_bits to @list and return new head */
62 node->n_bits = n_bits;
40 tlpm_add(struct tlpm_node *list, const uint8_t *key, size_t n_bits) argument
80 tlpm_match(struct tlpm_node *list, const uint8_t *key, size_t n_bits) argument
109 tlpm_delete(struct tlpm_node *list, const uint8_t *key, size_t n_bits) argument
[all...]
/linux-master/drivers/clk/ingenic/
H A Dx1830-cgu.c122 .n_bits = 6,
145 .n_bits = 6,
168 .n_bits = 6,
191 .n_bits = 6,
H A Dcgu.h30 * @n_bits: the size of the divider field in bits
57 u8 n_shift, n_bits, n_offset; member in struct:ingenic_cgu_pll_info
H A Djz4760-cgu.c67 n = clamp_val(n, 2, 1 << pll_info->n_bits);
102 .n_bits = 4,
127 .n_bits = 4,
H A Dx1000-cgu.c178 const unsigned long n_max = GENMASK(pll_info->n_bits - 1, 0);
227 .n_bits = 5,
250 .n_bits = 5,
370 .n_bits = 13,
H A Djz4740-cgu.c79 .n_bits = 5,
H A Djz4725b-cgu.c64 .n_bits = 5,
H A Djz4770-cgu.c112 .n_bits = 5,
136 .n_bits = 5,
H A Djz4755-cgu.c61 .n_bits = 5,
H A Dcgu.c97 n = (ctl >> pll_info->n_shift) & GENMASK(pll_info->n_bits - 1, 0);
141 n = min_t(unsigned int, n, 1 << pll_info->n_bits);
225 ctl &= ~(GENMASK(pll_info->n_bits - 1, 0) << pll_info->n_shift);
H A Djz4780-cgu.c280 .n_bits = 6, \
/linux-master/net/wireless/
H A Dradiotap.c53 .n_bits = ARRAY_SIZE(rtap_namespace_sizes),
241 iterator->_arg_index >= iterator->current_namespace->n_bits) {
/linux-master/fs/sysv/
H A Dsuper.c308 u_char n_bits = size+8; local
309 int bsize = 1 << n_bits;
321 sbi->s_inodes_per_block_bits = n_bits-6;
325 sbi->s_ind_per_block_bits = n_bits-2;
/linux-master/lib/
H A Dtest_scanf.c272 u32 n_bits = hweight32(prandom_u32_state(&rnd_state)) % (max_bits + 1); local
274 return prandom_u32_state(&rnd_state) & GENMASK(n_bits, 0);
280 u32 n_bits = (hweight32(rand1) * 3) % 64; local
283 return val & GENMASK_ULL(n_bits, 0);
/linux-master/drivers/comedi/drivers/
H A Dni_mio_common.c4371 int n_bits; member in struct:caldac_struct
4461 int n_bits; local
4469 n_bits = caldacs[type].n_bits;
4474 if (caldacs[type].n_bits != n_bits)
4493 (1 << caldacs[type].n_bits) - 1;
4502 s->maxdata = (1 << caldacs[type].n_bits) - 1;
/linux-master/net/sched/
H A Dact_ct.c1237 unsigned int n_bits = sizeof_field(struct tcf_ct_params, labels) * 8; local
1244 if (nf_connlabels_get(net, n_bits - 1)) {
/linux-master/drivers/spi/
H A Dspi-imx.c1129 static void spi_imx_set_burst_len(struct spi_imx_data *spi_imx, int n_bits) argument
1135 ctrl |= ((n_bits - 1) << MX51_ECSPI_CTRL_BL_OFFSET);
/linux-master/net/openvswitch/
H A Dconntrack.c1973 unsigned int n_bits = sizeof(struct ovs_key_ct_labels) * BITS_PER_BYTE; local
1976 if (nf_connlabels_get(net, n_bits - 1)) {
/linux-master/drivers/tty/
H A Dn_gsm.c202 __le16 n_bits; member in struct:gsm_dlci_param_bits
626 params->n_bits = cpu_to_le16(FIELD_PREP(PN_N_FIELD_N1, dlci->mtu));
1576 n1 = FIELD_GET(PN_N_FIELD_N1, get_unaligned_le16(&params->n_bits));
/linux-master/net/ethtool/
H A Dioctl.c776 int i, idx = 0, n_bits = 0, ret, rc; local
788 n_bits = hweight64(sset_mask);
793 info_buf = kcalloc(n_bits, sizeof(u32), GFP_USER);
/linux-master/include/net/
H A Dcfg80211.h6471 int n_bits; member in struct:ieee80211_radiotap_namespace

Completed in 327 milliseconds