Home
last modified time | relevance | path

Searched refs:bit_offset (Results 1 – 25 of 74) sorted by relevance

123

/netbsd-src/external/bsd/pdisk/dist/
H A Dlayout_dump.c93 if (entry->bit_offset != 0 || (entry->bit_length % 8) != 0) { in dump_using_layout()
105 if (entry->bit_offset < 0 || entry->bit_offset > 8) { in dump_using_layout()
106 printf("entry %d, bad bit offset (%d).\n", (int)(entry - desc), entry->bit_offset); in dump_using_layout()
109 || entry->bit_length > (entry->bit_offset + 1)) { in dump_using_layout()
111 entry->bit_offset, entry->bit_length); in dump_using_layout()
115 & bitmasks[entry->bit_offset]) in dump_using_layout()
116 >> ((entry->bit_offset + 1) - entry->bit_length); in dump_using_layout()
H A Dlayout_dump.h50 short bit_offset; member
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/
H A Dnouveau_nvkm_subdev_bios_bit.c35 if (likely(bios->bit_offset)) { in bit_entry()
36 u8 entries = nvbios_rd08(bios, bios->bit_offset + 10); in bit_entry()
37 u32 entry = bios->bit_offset + 12; in bit_entry()
47 entry += nvbios_rd08(bios, bios->bit_offset + 9); in bit_entry()
H A Dnouveau_nvkm_subdev_bios_base.c185 bios->bit_offset = nvbios_findstr(bios->data, bios->size, in nvkm_bios_new()
187 if (bios->bit_offset) in nvkm_bios_new()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree-dfa.c388 poly_offset_int bit_offset = 0; in get_ref_base_and_extent() local
422 bit_offset += wi::to_poly_offset (TREE_OPERAND (exp, 2)); in get_ref_base_and_extent()
435 bit_offset += woffset; in get_ref_base_and_extent()
483 maxsize = wi::to_poly_offset (csize) - bit_offset; in get_ref_base_and_extent()
509 bit_offset += woffset; in get_ref_base_and_extent()
525 maxsize = wi::to_poly_offset (asize) - bit_offset; in get_ref_base_and_extent()
570 bit_offset += woffset; in get_ref_base_and_extent()
583 bit_offset += bitsize; in get_ref_base_and_extent()
596 bit_offset = 0; in get_ref_base_and_extent()
617 (bit_offset + maxsize, in get_ref_base_and_extent()
[all …]
H A Dtree-ssa-loop-prefetch.c494 HOST_WIDE_INT bit_offset; in analyze_ref() local
518 bit_offset = TREE_INT_CST_LOW (off); in analyze_ref()
519 gcc_assert (bit_offset % BITS_PER_UNIT == 0); in analyze_ref()
521 *delta += bit_offset / BITS_PER_UNIT; in analyze_ref()
H A Dggc-page.c1641 unsigned int bit_offset, word, bit; in ggc_free() local
1646 bit_offset = OFFSET_TO_BIT (((const char *) p) - pe->page, order); in ggc_free()
1647 word = bit_offset / HOST_BITS_PER_LONG; in ggc_free()
1648 bit = bit_offset % HOST_BITS_PER_LONG; in ggc_free()
1685 pe->next_bit_hint = bit_offset; in ggc_free()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-dfa.cc389 poly_offset_int bit_offset = 0; in get_ref_base_and_extent() local
428 bit_offset += wi::to_poly_offset (TREE_OPERAND (exp, 2)); in get_ref_base_and_extent()
441 bit_offset += woffset; in get_ref_base_and_extent()
489 maxsize = wi::to_poly_offset (csize) - bit_offset; in get_ref_base_and_extent()
515 bit_offset += woffset; in get_ref_base_and_extent()
531 maxsize = wi::to_poly_offset (asize) - bit_offset; in get_ref_base_and_extent()
585 bit_offset += woffset; in get_ref_base_and_extent()
598 bit_offset += bitsize; in get_ref_base_and_extent()
611 bit_offset = 0; in get_ref_base_and_extent()
632 (bit_offset + maxsize, in get_ref_base_and_extent()
[all …]
H A Ddwarf2ctf.cc577 HOST_WIDE_INT bit_offset; in gen_ctf_sou_type() local
585 bit_offset = AT_unsigned (attr); in gen_ctf_sou_type()
587 bit_offset = AT_int (attr); in gen_ctf_sou_type()
590 bitpos = field_location + bit_offset; in gen_ctf_sou_type()
605 - bit_offset in gen_ctf_sou_type()
H A Dctfc.cc493 uint32_t bit_offset, uint32_t bit_size, dw_die_ref die) in ctf_add_slice() argument
499 gcc_assert ((bit_size <= 255) && (bit_offset <= 255)); in ctf_add_slice()
519 dtd->dtd_u.dtu_slice.cts_offset = bit_offset; in ctf_add_slice()
663 uint64_t bit_offset) in ctf_add_member_offset() argument
688 dmd->dmd_offset = bit_offset; in ctf_add_member_offset()
H A Dtree-ssa-loop-prefetch.cc494 HOST_WIDE_INT bit_offset; in analyze_ref() local
518 bit_offset = TREE_INT_CST_LOW (off); in analyze_ref()
519 gcc_assert (bit_offset % BITS_PER_UNIT == 0); in analyze_ref()
521 *delta += bit_offset / BITS_PER_UNIT; in analyze_ref()
H A Dggc-page.cc1647 unsigned int bit_offset, word, bit; in ggc_free() local
1652 bit_offset = OFFSET_TO_BIT (((const char *) p) - pe->page, order); in ggc_free()
1653 word = bit_offset / HOST_BITS_PER_LONG; in ggc_free()
1654 bit = bit_offset % HOST_BITS_PER_LONG; in ggc_free()
1691 pe->next_bit_hint = bit_offset; in ggc_free()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/
H A Dbios.h17 u32 bit_offset; member
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/
H A Dtc-tic54x.c1220 int bit_offset = 0; in tic54x_space() local
1255 bit_offset = frag_now->tc_frag_data; in tic54x_space()
1256 if (bit_offset != 0 && bit_offset < 16) in tic54x_space()
1258 int spare_bits = bits_per_byte - bit_offset; in tic54x_space()
1286 bit_offset = expn.X_add_number % bits_per_byte; in tic54x_space()
1305 frag_now->tc_frag_data = bit_offset; in tic54x_space()
1315 frag_now->tc_frag_data = bit_offset; in tic54x_space()
1741 int bit_offset = frag_bit_offset (frag_now, now_seg); in tic54x_field() local
1744 if (bit_offset == -1) in tic54x_field()
1762 else if (bit_offset == 0 || bit_offset + size > 16) in tic54x_field()
[all …]
/netbsd-src/external/gpl3/binutils/dist/gas/config/
H A Dtc-tic54x.c1275 int bit_offset = 0; in tic54x_space() local
1310 bit_offset = frag_now->tc_frag_data; in tic54x_space()
1311 if (bit_offset != 0 && bit_offset < 16) in tic54x_space()
1313 int spare_bits = bits_per_byte - bit_offset; in tic54x_space()
1341 bit_offset = expn.X_add_number % bits_per_byte; in tic54x_space()
1360 frag_now->tc_frag_data = bit_offset; in tic54x_space()
1370 frag_now->tc_frag_data = bit_offset; in tic54x_space()
1796 int bit_offset = frag_bit_offset (frag_now, now_seg); in tic54x_field() local
1799 if (bit_offset == -1) in tic54x_field()
1817 else if (bit_offset == 0 || bit_offset + size > 16) in tic54x_field()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/
H A Dregion.cc384 get_field_at_bit_offset (tree record_type, bit_offset_t bit_offset) in get_field_at_bit_offset() argument
387 if (bit_offset < 0) in get_field_at_bit_offset()
400 if (bit_offset < iter_field_offset) in get_field_at_bit_offset()
1422 HOST_WIDE_INT bit_offset = byte_offset * BITS_PER_UNIT; in get_relative_concrete_offset() local
1423 *out = bit_offset; in get_relative_concrete_offset()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_allocator_primary64.h374 uptr bit_offset = (i & bit_offset_mask) << counter_size_bits_log; in Get() local
375 return (buffer[index] >> bit_offset) & counter_mask; in Get()
381 uptr bit_offset = (i & bit_offset_mask) << counter_size_bits_log; in Inc() local
382 buffer[index] += 1ULL << bit_offset; in Inc()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_allocator_primary64.h369 uptr bit_offset = (i & bit_offset_mask) << counter_size_bits_log; in Get() local
370 return (buffer[index] >> bit_offset) & counter_mask; in Get()
376 uptr bit_offset = (i & bit_offset_mask) << counter_size_bits_log; in Inc() local
377 buffer[index] += 1ULL << bit_offset; in Inc()
/netbsd-src/sys/external/mit/xen-include-public/dist/xen/include/public/
H A Dplatform.h391 uint32_t bit_offset; member
434 uint8_t bit_offset; member
/netbsd-src/sys/arch/ia64/include/
H A Ddig64.h43 uint8_t bit_offset; member
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_allocator_primary64.h443 uptr bit_offset = (i & bit_offset_mask) << counter_size_bits_log; in Get() local
444 return (buffer[index] >> bit_offset) & counter_mask; in Get()
450 uptr bit_offset = (i & bit_offset_mask) << counter_size_bits_log; in Inc() local
451 buffer[index] += 1ULL << bit_offset; in Inc()
/netbsd-src/external/gpl3/binutils/dist/libctf/
H A Dctf-create.c1120 ctf_id_t type, unsigned long bit_offset) in ctf_add_member_offset() argument
1216 if (bit_offset == (unsigned long) - 1) in ctf_add_member_offset()
1280 memb[vlen].ctlm_offsethi = CTF_OFFSET_TO_LMEMHI (bit_offset); in ctf_add_member_offset()
1281 memb[vlen].ctlm_offsetlo = CTF_OFFSET_TO_LMEMLO (bit_offset); in ctf_add_member_offset()
1283 ssize = MAX (ssize, ((signed) bit_offset / CHAR_BIT) + msize); in ctf_add_member_offset()
1305 ctf_id_t type, unsigned long bit_offset, in ctf_add_member_encoded() argument
1323 return ctf_add_member_offset (fp, souid, name, type, bit_offset); in ctf_add_member_encoded()
/netbsd-src/external/gpl3/binutils.old/dist/libctf/
H A Dctf-create.c1110 ctf_id_t type, unsigned long bit_offset) in ctf_add_member_offset() argument
1191 if (bit_offset == (unsigned long) - 1) in ctf_add_member_offset()
1255 memb[vlen].ctlm_offsethi = CTF_OFFSET_TO_LMEMHI (bit_offset); in ctf_add_member_offset()
1256 memb[vlen].ctlm_offsetlo = CTF_OFFSET_TO_LMEMLO (bit_offset); in ctf_add_member_offset()
1258 ssize = MAX (ssize, ((signed) bit_offset / CHAR_BIT) + msize); in ctf_add_member_offset()
1280 ctf_id_t type, unsigned long bit_offset, in ctf_add_member_encoded() argument
1293 return ctf_add_member_offset (fp, souid, name, type, bit_offset); in ctf_add_member_encoded()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/tilegx/
H A Dtilegx.md818 HOST_WIDE_INT bit_offset, bit_width;
825 bit_offset = INTVAL (operands[3]);
827 /* NOTE: bit_offset is relative to the mode of operand
831 bit_offset = GET_MODE_BITSIZE (QImode) - bit_width - bit_offset;
834 if (MEM_ALIGN (operands[1]) >= bit_offset + bit_width)
838 first_byte_offset = bit_offset / BITS_PER_UNIT;
839 last_byte_offset = (bit_offset + bit_width - 1) / BITS_PER_UNIT;
844 bit_width, bit_offset, 1);
860 HOST_WIDE_INT bit_offset = INTVAL (operands[3]);
869 /* NOTE: bit_offset is relative to the mode of operand
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/tilegx/
H A Dtilegx.md818 HOST_WIDE_INT bit_offset, bit_width;
825 bit_offset = INTVAL (operands[3]);
827 /* NOTE: bit_offset is relative to the mode of operand
831 bit_offset = GET_MODE_BITSIZE (QImode) - bit_width - bit_offset;
834 if (MEM_ALIGN (operands[1]) >= bit_offset + bit_width)
838 first_byte_offset = bit_offset / BITS_PER_UNIT;
839 last_byte_offset = (bit_offset + bit_width - 1) / BITS_PER_UNIT;
844 bit_width, bit_offset, 1);
860 HOST_WIDE_INT bit_offset = INTVAL (operands[3]);
869 /* NOTE: bit_offset is relative to the mode of operand
[all …]

123