/netbsd/sys/external/bsd/drm2/drm/ |
H A D | drm_vm.c | 84 if (byte_offset != (byte_offset & ~(PAGE_SIZE-1))) in drm_legacy_mmap_paddr() 102 KASSERT(byte_offset == (byte_offset & ~(PAGE_SIZE-1))); in drm_legacy_mmap_paddr_locked() 105 (0 <= byte_offset) && in drm_legacy_mmap_paddr_locked() 126 if (!(map->offset <= byte_offset)) in drm_legacy_mmap_paddr_locked() 128 if (map->size < (map->offset - byte_offset)) in drm_legacy_mmap_paddr_locked() 141 KASSERT(byte_offset == (byte_offset & ~(PAGE_SIZE-1))); in drm_legacy_mmap_dma_paddr() 152 off_t byte_offset, int prot) in drm_legacy_mmap_map_paddr() argument 156 KASSERT(byte_offset <= map->size); in drm_legacy_mmap_map_paddr() 168 byte_offset, prot, flags); in drm_legacy_mmap_map_paddr() 174 byte_offset, prot, in drm_legacy_mmap_map_paddr() [all …]
|
H A D | drm_gem_vm.c | 68 drm_gem_or_legacy_mmap_object(struct drm_device *dev, off_t byte_offset, in drm_gem_or_legacy_mmap_object() argument 76 ret = drm_gem_mmap_object(dev, byte_offset, nbytes, prot, uobjp, in drm_gem_or_legacy_mmap_object() 83 return drm_legacy_mmap_object(dev, byte_offset, nbytes, prot, uobjp, in drm_gem_or_legacy_mmap_object() 88 drm_gem_mmap_object(struct drm_device *dev, off_t byte_offset, size_t nbytes, in drm_gem_mmap_object() argument 96 ret = drm_gem_mmap_object_locked(dev, byte_offset, nbytes, prot, in drm_gem_mmap_object() 104 drm_gem_mmap_object_locked(struct drm_device *dev, off_t byte_offset, in drm_gem_mmap_object_locked() argument 109 const unsigned long startpage = (byte_offset >> PAGE_SHIFT); in drm_gem_mmap_object_locked() 116 KASSERT(0 <= byte_offset); in drm_gem_mmap_object_locked() 117 KASSERT(byte_offset == (byte_offset & ~(PAGE_SIZE-1))); in drm_gem_mmap_object_locked()
|
/netbsd/usr.sbin/ndbootd/ |
H A D | ndbootd.c | 333 size_t byte_offset; in main() local 788 byte_offset = ntohl(nd_packet->ndboot_packet_current_byte_offset); in main() 794 block_number += (byte_offset / NDBOOT_BSIZE); in main() 795 byte_offset = byte_offset % NDBOOT_BSIZE; in main() 803 byte_count_read = MIN(NDBOOTD_BYTES_AVAIL(block_number, byte_offset, in main() 825 (long) byte_offset, in main() 842 (long) byte_offset, in main() 851 byte_count_read = MIN(NDBOOTD_BYTES_AVAIL(block_number, byte_offset, in main() 873 (long) byte_offset, in main() 890 (long) byte_offset, in main() [all …]
|
/netbsd/sys/dev/pci/ixgbe/ |
H A D | ixgbe_phy.h | 206 s32 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, 208 s32 ixgbe_read_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, 210 s32 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, 212 s32 ixgbe_write_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, 214 s32 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, 216 s32 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset,
|
H A D | ixgbe_api.c | 1482 s32 ixgbe_read_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, in ixgbe_read_i2c_byte() argument 1485 return ixgbe_call_func(hw, hw->phy.ops.read_i2c_byte, (hw, byte_offset, in ixgbe_read_i2c_byte() 1498 s32 ixgbe_read_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_unlocked() argument 1502 (hw, byte_offset, dev_addr, data), in ixgbe_read_i2c_byte_unlocked() 1546 s32 ixgbe_write_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, in ixgbe_write_i2c_byte() argument 1549 return ixgbe_call_func(hw, hw->phy.ops.write_i2c_byte, (hw, byte_offset, in ixgbe_write_i2c_byte() 1563 s32 ixgbe_write_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_byte_unlocked() argument 1567 (hw, byte_offset, dev_addr, data), in ixgbe_write_i2c_byte_unlocked() 1610 u8 byte_offset, u8 eeprom_data) in ixgbe_write_i2c_eeprom() argument 1613 (hw, byte_offset, eeprom_data), in ixgbe_write_i2c_eeprom() [all …]
|
H A D | ixgbe_api.h | 147 s32 ixgbe_read_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data); 180 s32 ixgbe_read_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, 182 s32 ixgbe_read_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, 186 s32 ixgbe_write_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, 189 s32 ixgbe_write_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, 193 s32 ixgbe_write_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data);
|
H A D | ixgbe_phy.c | 2006 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_eeprom_generic() 2022 return hw->phy.ops.read_i2c_byte(hw, byte_offset, in ixgbe_read_i2c_sff8472_generic() 2040 return hw->phy.ops.write_i2c_byte(hw, byte_offset, in ixgbe_write_i2c_eeprom_generic() 2085 if (ixgbe_is_sfp_probe(hw, byte_offset, dev_addr)) in ixgbe_read_i2c_byte_generic_int() 2103 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_read_i2c_byte_generic_int() 2160 s32 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_generic() argument 2163 return ixgbe_read_i2c_byte_generic_int(hw, byte_offset, dev_addr, in ixgbe_read_i2c_byte_generic() 2180 return ixgbe_read_i2c_byte_generic_int(hw, byte_offset, dev_addr, in ixgbe_read_i2c_byte_generic_unlocked() 2220 status = ixgbe_clock_out_i2c_byte(hw, byte_offset); in ixgbe_write_i2c_byte_generic_int() 2269 return ixgbe_write_i2c_byte_generic_int(hw, byte_offset, dev_addr, in ixgbe_write_i2c_byte_generic() [all …]
|
H A D | ixgbe_82598.c | 74 static s32 ixgbe_read_i2c_sff8472_82598(struct ixgbe_hw *hw, u8 byte_offset, 1132 u8 byte_offset, u8 *eeprom_data) in ixgbe_read_i2c_phy_82598() argument 1157 sfp_addr = (dev_addr << 8) + byte_offset; in ixgbe_read_i2c_phy_82598() 1204 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_eeprom_82598() argument 1208 byte_offset, eeprom_data); in ixgbe_read_i2c_eeprom_82598() 1219 static s32 ixgbe_read_i2c_sff8472_82598(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_sff8472_82598() argument 1223 byte_offset, sff8472_data); in ixgbe_read_i2c_sff8472_82598()
|
H A D | ixgbe_82598.h | 50 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
|
H A D | ixgbe_82599.c | 63 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 65 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 2551 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_read_i2c_byte_82599() argument 2584 status = ixgbe_read_i2c_byte_generic(hw, byte_offset, dev_addr, data); in ixgbe_read_i2c_byte_82599() 2609 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, in ixgbe_write_i2c_byte_82599() argument 2642 status = ixgbe_write_i2c_byte_generic(hw, byte_offset, dev_addr, data); in ixgbe_write_i2c_byte_82599()
|
/netbsd/external/gpl3/gcc/dist/gcc/ |
H A D | tree-dfa.c | 762 poly_int64 byte_offset = 0; in get_addr_base_and_unit_offset_1() local 778 byte_offset += this_byte_offset; in get_addr_base_and_unit_offset_1() 796 byte_offset += hthis_offset; in get_addr_base_and_unit_offset_1() 822 byte_offset += woffset.force_shwi (); in get_addr_base_and_unit_offset_1() 833 byte_offset += TREE_INT_CST_LOW (TYPE_SIZE_UNIT (TREE_TYPE (exp))); in get_addr_base_and_unit_offset_1() 852 byte_offset += off.force_shwi (); in get_addr_base_and_unit_offset_1() 874 byte_offset += off.force_shwi (); in get_addr_base_and_unit_offset_1() 889 *poffset = byte_offset; in get_addr_base_and_unit_offset_1()
|
H A D | tree-dfa.cc | 777 poly_int64 byte_offset = 0; in get_addr_base_and_unit_offset_1() local 793 byte_offset += this_byte_offset; in get_addr_base_and_unit_offset_1() 811 byte_offset += hthis_offset; in get_addr_base_and_unit_offset_1() 842 byte_offset += woffset.force_shwi (); in get_addr_base_and_unit_offset_1() 850 byte_offset += TREE_INT_CST_LOW (TYPE_SIZE_UNIT (TREE_TYPE (exp))); in get_addr_base_and_unit_offset_1() 869 byte_offset += off.force_shwi (); in get_addr_base_and_unit_offset_1() 891 byte_offset += off.force_shwi (); in get_addr_base_and_unit_offset_1() 906 *poffset = byte_offset; in get_addr_base_and_unit_offset_1()
|
H A D | tree-vect-data-refs.c | 4591 tree byte_offset) in vect_create_addr_base_for_vector_ref() argument 4629 if (byte_offset) in vect_create_addr_base_for_vector_ref() 4631 byte_offset = fold_convert (sizetype, byte_offset); in vect_create_addr_base_for_vector_ref() 4633 base_offset, byte_offset); in vect_create_addr_base_for_vector_ref() 4657 if (offset || byte_offset) in vect_create_addr_base_for_vector_ref() 4727 tree byte_offset, tree iv_step) in vect_create_data_ref_ptr() argument 4858 offset, byte_offset); in vect_create_data_ref_ptr()
|
/netbsd/external/gpl3/gcc.old/dist/gcc/ |
H A D | tree-dfa.c | 762 poly_int64 byte_offset = 0; in get_addr_base_and_unit_offset_1() local 778 byte_offset += this_byte_offset; in get_addr_base_and_unit_offset_1() 796 byte_offset += hthis_offset; in get_addr_base_and_unit_offset_1() 822 byte_offset += woffset.force_shwi (); in get_addr_base_and_unit_offset_1() 833 byte_offset += TREE_INT_CST_LOW (TYPE_SIZE_UNIT (TREE_TYPE (exp))); in get_addr_base_and_unit_offset_1() 852 byte_offset += off.force_shwi (); in get_addr_base_and_unit_offset_1() 874 byte_offset += off.force_shwi (); in get_addr_base_and_unit_offset_1() 889 *poffset = byte_offset; in get_addr_base_and_unit_offset_1()
|
H A D | tree-vect-data-refs.c | 4591 tree byte_offset) in vect_create_addr_base_for_vector_ref() argument 4629 if (byte_offset) in vect_create_addr_base_for_vector_ref() 4631 byte_offset = fold_convert (sizetype, byte_offset); in vect_create_addr_base_for_vector_ref() 4633 base_offset, byte_offset); in vect_create_addr_base_for_vector_ref() 4657 if (offset || byte_offset) in vect_create_addr_base_for_vector_ref() 4727 tree byte_offset, tree iv_step) in vect_create_data_ref_ptr() argument 4858 offset, byte_offset); in vect_create_data_ref_ptr()
|
/netbsd/external/bsd/iscsi/dist/src/lib/ |
H A D | disk.c | 1391 uint64_t byte_offset; in disk_write() local 1396 byte_offset = lba * disks.v[sess->d].blocklen; in disk_write() 1402 bytec, byte_offset); in disk_write() 1423 if (de_lseek(&disks.v[sess->d].lunv->v[lun].de, (off_t)byte_offset, in disk_write() 1427 byte_offset); in disk_write() 1435 bytec, byte_offset, in disk_write() 1445 bytec, byte_offset, in disk_write() 1462 uint64_t byte_offset; in disk_read() local 1471 byte_offset = lba * disks.v[sess->d].blocklen; in disk_read() 1496 (off_t)(n + byte_offset), SEEK_SET) == -1) { in disk_read()
|
/netbsd/external/bsd/pdisk/dist/ |
H A D | layout_dump.c | 99 for (i = entry->byte_offset; byte_length > 0;i++) { in dump_using_layout() 114 value = (((uint8_t *)buffer)[entry->byte_offset] in dump_using_layout()
|
H A D | layout_dump.h | 49 short byte_offset; member
|
/netbsd/external/gpl3/gcc/dist/gcc/analyzer/ |
H A D | region.h | 854 key_t (const region *parent, tree element_type, const svalue *byte_offset) 855 : m_parent (parent), m_element_type (element_type), m_byte_offset (byte_offset) 857 gcc_assert (byte_offset); 890 const svalue *byte_offset) 891 : region (complexity::from_pair (parent, byte_offset), id, parent, type), 892 m_byte_offset (byte_offset)
|
H A D | region.cc | 1295 tree byte_offset = DECL_FIELD_OFFSET (m_field); in get_relative_concrete_offset() local 1296 if (TREE_CODE (byte_offset) != INTEGER_CST) in get_relative_concrete_offset() 1302 + (wi::to_offset (byte_offset) << LOG2_BITS_PER_UNIT)); in get_relative_concrete_offset() 1420 HOST_WIDE_INT byte_offset in get_relative_concrete_offset() local 1422 HOST_WIDE_INT bit_offset = byte_offset * BITS_PER_UNIT; in get_relative_concrete_offset()
|
H A D | region-model-manager.cc | 1462 const svalue *byte_offset) in get_offset_region() argument 1469 if (tree cst_offset = byte_offset->maybe_get_constant ()) in get_offset_region() 1480 = get_or_create_binop (byte_offset->get_type (), in get_offset_region() 1481 PLUS_EXPR, sval_x, byte_offset); in get_offset_region() 1485 offset_region::key_t key (parent, type, byte_offset); in get_offset_region() 1490 = new offset_region (alloc_region_id (), parent, type, byte_offset); in get_offset_region()
|
/netbsd/external/gpl3/gdb/dist/gdb/dwarf2/ |
H A D | loc.c | 63 (sect_offset die, LONGEST byte_offset, 2018 if (byte_offset >= 0 in fetch_const_value_from_synthetic_pointer() 2019 && byte_offset + TYPE_LENGTH (TYPE_TARGET_TYPE (type)) <= len) in fetch_const_value_from_synthetic_pointer() 2021 bytes += byte_offset; in fetch_const_value_from_synthetic_pointer() 2036 indirect_synthetic_pointer (sect_offset die, LONGEST byte_offset, in indirect_synthetic_pointer() argument 2066 byte_offset); in indirect_synthetic_pointer() 2068 return fetch_const_value_from_synthetic_pointer (die, byte_offset, per_cu, in indirect_synthetic_pointer() 2085 LONGEST byte_offset; in indirect_pieced_value() local 2140 byte_offset = extract_signed_integer (value_contents (value), in indirect_pieced_value() 2142 byte_offset += piece->v.ptr.offset; in indirect_pieced_value() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdb/dwarf2/ |
H A D | loc.c | 63 (sect_offset die, LONGEST byte_offset, 2018 if (byte_offset >= 0 in fetch_const_value_from_synthetic_pointer() 2019 && byte_offset + TYPE_LENGTH (TYPE_TARGET_TYPE (type)) <= len) in fetch_const_value_from_synthetic_pointer() 2021 bytes += byte_offset; in fetch_const_value_from_synthetic_pointer() 2036 indirect_synthetic_pointer (sect_offset die, LONGEST byte_offset, in indirect_synthetic_pointer() argument 2066 byte_offset); in indirect_synthetic_pointer() 2068 return fetch_const_value_from_synthetic_pointer (die, byte_offset, per_cu, in indirect_synthetic_pointer() 2085 LONGEST byte_offset; in indirect_pieced_value() local 2140 byte_offset = extract_signed_integer (value_contents (value), in indirect_pieced_value() 2142 byte_offset += piece->v.ptr.offset; in indirect_pieced_value() [all …]
|
/netbsd/sys/external/bsd/drm2/dist/drm/i915/gem/ |
H A D | i915_gem_mman.c | 1043 i915_gem_mmap_object(struct drm_device *dev, off_t byte_offset, size_t nbytes, in i915_gem_mmap_object() argument 1046 const unsigned long startpage = byte_offset >> PAGE_SHIFT; in i915_gem_mmap_object()
|
/netbsd/external/gpl3/gcc/dist/gcc/config/tilepro/ |
H A D | tilepro.c | 1598 HOST_WIDE_INT byte_offset = bit_offset / BITS_PER_UNIT; in tilepro_expand_unaligned_load() local 1611 mem_lo = adjust_address (mem, QImode, byte_offset); in tilepro_expand_unaligned_load() 1612 mem_hi = adjust_address (mem, QImode, byte_offset + 1); in tilepro_expand_unaligned_load() 1649 addr_lo = force_reg (Pmode, plus_constant (Pmode, mema, byte_offset)); in tilepro_expand_unaligned_load() 1699 HOST_WIDE_INT byte_offset = bit_offset / BITS_PER_UNIT; in tilepro_expand_unaligned_store() local 1708 mem_addr = adjust_address (mem, QImode, byte_offset + i); in tilepro_expand_unaligned_store()
|