/src/sys/external/bsd/drm2/drm/ |
drm_vm.c | 80 drm_legacy_mmap_paddr(struct drm_device *dev, off_t byte_offset, int prot) 84 if (byte_offset != (byte_offset & ~(PAGE_SIZE-1))) 88 paddr = drm_legacy_mmap_paddr_locked(dev, byte_offset, prot); 95 drm_legacy_mmap_paddr_locked(struct drm_device *dev, off_t byte_offset, 98 const off_t page_offset = (byte_offset >> PAGE_SHIFT); 102 KASSERT(byte_offset == (byte_offset & ~(PAGE_SIZE-1))); 105 (0 <= byte_offset) && 107 return drm_legacy_mmap_dma_paddr(dev, byte_offset, prot) [all...] |
drm_gem_vm.c | 68 drm_gem_or_legacy_mmap_object(struct drm_device *dev, off_t byte_offset, 76 ret = drm_gem_mmap_object(dev, byte_offset, nbytes, prot, uobjp, 83 return drm_legacy_mmap_object(dev, byte_offset, nbytes, prot, uobjp, 88 drm_gem_mmap_object(struct drm_device *dev, off_t byte_offset, size_t nbytes, 96 ret = drm_gem_mmap_object_locked(dev, byte_offset, nbytes, prot, 104 drm_gem_mmap_object_locked(struct drm_device *dev, off_t byte_offset, 109 const unsigned long startpage = (byte_offset >> PAGE_SHIFT); 116 KASSERT(0 <= byte_offset); 117 KASSERT(byte_offset == (byte_offset & ~(PAGE_SIZE-1))) [all...] |
/src/sys/dev/pci/ixgbe/ |
ixgbe_82598.h | 50 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
|
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,
|
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);
|
ixgbe_api.c | 1474 * @byte_offset: byte offset to read 1480 s32 ixgbe_read_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, 1483 return ixgbe_call_func(hw, hw->phy.ops.read_i2c_byte, (hw, byte_offset, 1490 * @byte_offset: byte offset to read 1496 s32 ixgbe_read_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, 1500 (hw, byte_offset, dev_addr, data), 1537 * @byte_offset: byte offset to write 1544 s32 ixgbe_write_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, 1547 return ixgbe_call_func(hw, hw->phy.ops.write_i2c_byte, (hw, byte_offset, 1554 * @byte_offset: byte offset to writ [all...] |
ixgbe_phy.c | 58 static s32 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, 1996 * @byte_offset: EEPROM byte offset to read 2001 s32 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, 2006 return hw->phy.ops.read_i2c_byte(hw, byte_offset, 2014 * @byte_offset: byte offset at address 0xA2 2019 static s32 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, 2022 return hw->phy.ops.read_i2c_byte(hw, byte_offset, 2030 * @byte_offset: EEPROM byte offset to write 2035 s32 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, 2040 return hw->phy.ops.write_i2c_byte(hw, byte_offset, [all...] |
ixgbe_82598.c | 74 static s32 ixgbe_read_i2c_sff8472_82598(struct ixgbe_hw *hw, u8 byte_offset, 1126 * @byte_offset: byte offset to read from dev_addr 1132 u8 byte_offset, u8 *eeprom_data) 1157 sfp_addr = (dev_addr << 8) + byte_offset; 1199 * @byte_offset: EEPROM byte offset to read 1204 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, 1208 byte_offset, eeprom_data); 1214 * @byte_offset: byte offset at address 0xA2 1219 static s32 ixgbe_read_i2c_sff8472_82598(struct ixgbe_hw *hw, u8 byte_offset, 1223 byte_offset, sff8472_data) [all...] |
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, 2546 * @byte_offset: byte offset to read 2553 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 2586 status = ixgbe_read_i2c_byte_generic(hw, byte_offset, dev_addr, data); 2604 * @byte_offset: byte offset to write 2611 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, 2644 status = ixgbe_write_i2c_byte_generic(hw, byte_offset, dev_addr, data);
|
/src/usr.sbin/ndbootd/ |
ndbootd.c | 113 #define NDBOOTD_BYTES_AVAIL(block_number, byte_offset, obj_block_first, obj_block_count) \ 114 ((((ssize_t) (obj_block_count) - (ssize_t) ((block_number) - (obj_block_first))) * NDBOOT_BSIZE) - (ssize_t) (byte_offset)) 333 size_t byte_offset; local in function:main 788 byte_offset = ntohl(nd_packet->ndboot_packet_current_byte_offset); 794 block_number += (byte_offset / NDBOOT_BSIZE); 795 byte_offset = byte_offset % NDBOOT_BSIZE; 803 byte_count_read = MIN(NDBOOTD_BYTES_AVAIL(block_number, byte_offset, 815 byte_count_wanted = MIN(NDBOOTD_BYTES_AVAIL(block_number, byte_offset, 820 file_offset = ((block_number - NDBOOTD_BOOT1_BLOCK_FIRST) * NDBOOT_BSIZE) + byte_offset; [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
i915_gem_mman.c | 1053 i915_gem_mmap_object(struct drm_device *dev, off_t byte_offset, size_t nbytes, 1056 const unsigned long startpage = byte_offset >> PAGE_SHIFT;
|
/src/sys/external/bsd/drm/dist/shared-core/ |
radeon_state.c | 1676 u32 offset, byte_offset; local in function:radeon_cp_dispatch_texture 1861 byte_offset = (image->y & ~2047) * blit_width; 1876 OUT_RING((texpitch << 22) | ((tex->offset >> 10) + (byte_offset >> 10)));
|