Searched refs:bit_sz (Results 1 - 6 of 6) sorted by relevance

/linux-master/tools/lib/bpf/
H A Dbtf_dump.c837 int max_align = 1, align, i, bit_sz; local
845 bit_sz = btf_member_bitfield_size(t, i);
846 if (align && bit_sz == 0 && m->offset % (8 * align) != 0)
1704 __u8 bit_sz);
1750 __u8 bit_sz,
1771 nr_copy_bits = bit_sz + bits_offset;
1780 right_shift_bits = 64 - bit_sz;
1791 __u8 bit_sz)
1796 err = btf_dump_get_bitfield_value(d, t, data, bits_offset, bit_sz, &check_num);
1808 __u8 bit_sz)
1746 btf_dump_get_bitfield_value(struct btf_dump *d, const struct btf_type *t, const void *data, __u8 bits_offset, __u8 bit_sz, __u64 *value) argument
1787 btf_dump_bitfield_check_zero(struct btf_dump *d, const struct btf_type *t, const void *data, __u8 bits_offset, __u8 bit_sz) argument
1804 btf_dump_bitfield_data(struct btf_dump *d, const struct btf_type *t, const void *data, __u8 bits_offset, __u8 bit_sz) argument
2105 __u8 bit_sz; local
2249 btf_dump_type_data_check_overflow(struct btf_dump *d, const struct btf_type *t, __u32 id, const void *data, __u8 bits_offset, __u8 bit_sz) argument
2308 btf_dump_type_data_check_zero(struct btf_dump *d, const struct btf_type *t, __u32 id, const void *data, __u8 bits_offset, __u8 bit_sz) argument
2416 btf_dump_dump_type_data(struct btf_dump *d, const char *fname, const struct btf_type *t, __u32 id, const void *data, __u8 bits_offset, __u8 bit_sz) argument
[all...]
H A Drelo_core.c686 __u32 byte_off, byte_sz, bit_off, bit_sz, field_type_id; local
733 bit_sz = btf_member_bitfield_size(t, acc->idx);
735 bitfield = bit_sz > 0;
740 while (bit_off + bit_sz - byte_off * 8 > byte_sz * 8) {
756 bit_sz = byte_sz * 8;
785 *val = 64 - (bit_off + bit_sz - byte_off * 8);
791 *val = 64 - bit_sz;
H A Dlibbpf.c2046 int bit_sz = ext->kcfg.sz * 8; local
2064 return v + (1ULL << (bit_sz - 1)) < (1ULL << bit_sz);
2066 return (v >> bit_sz) == 0;
/linux-master/tools/testing/selftests/bpf/
H A Dbtf_helpers.c130 __u32 bit_off, bit_sz; local
133 bit_sz = btf_member_bitfield_size(t, i);
136 if (bit_sz)
137 fprintf(out, " bitfield_size=%u", bit_sz);
/linux-master/tools/bpf/bpftool/
H A Dbtf.c177 __u32 bit_off, bit_sz; local
181 bit_sz = BTF_MEMBER_BITFIELD_SIZE(m->offset);
184 bit_sz = 0;
192 if (bit_sz) {
194 bit_sz);
200 if (bit_sz)
201 printf(" bitfield_size=%u", bit_sz);
/linux-master/drivers/pinctrl/sunplus/
H A Dsppctl.c227 static void sppctl_gmx_set(struct sppctl_pdata *pctl, u8 reg_off, u8 bit_off, u8 bit_sz, argument
237 mask = GENMASK(bit_sz - 1, 0) << SPPCTL_MOON_REG_MASK_SHIFT;

Completed in 285 milliseconds