/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/auich/ |
H A D | util.c | 105 uint32 offset; local 112 offset = (uint32)phy & (B_PAGE_SIZE - 1); 113 phyadr = phy - offset; 114 size = round_to_pagesize(size + offset); 117 *log = mapadr + offset; 119 LOG(("physical = %p, logical = %p, offset = %#x, phyadr = %p, mapadr = %p, size = %#x, area = %#x\n", 120 phy, *log, offset, phyadr, mapadr, size, area));
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/es1370/ |
H A D | util.c | 105 * makes the whole offset calculation and relocation obsolete. But the code 111 uint32 offset; local 118 offset = (uint32)phy & (B_PAGE_SIZE - 1); 119 phyadr = phy - offset; 120 size = round_to_pagesize(size + offset); 123 *log = mapadr + offset; 125 LOG(("physical = %p, logical = %p, offset = %#x, phyadr = %p, mapadr = %p, size = %#x, area = %#x\n", 126 phy, *log, offset, phyadr, mapadr, size, area));
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/ich/ |
H A D | util.c | 104 * makes the whole offset calculation and relocation obsolete. But the code 110 uint32 offset; local 117 offset = (uint32)phy & (B_PAGE_SIZE - 1); 118 phyadr = (char *)phy - offset; 119 size = round_to_pagesize(size + offset); 122 *log = (char *)mapadr + offset; 124 LOG(("physical = %p, logical = %p, offset = %#x, phyadr = %p, mapadr = %p, size = %#x, area = %#x\n", 125 phy, *log, offset, phyadr, mapadr, size, area));
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/ichaudio/lala/ |
H A D | util.c | 85 * makes the whole offset calculation and relocation obsolete. But the code 91 uint32 offset; local 98 offset = (uint32)phy & (B_PAGE_SIZE - 1); 99 phyadr = (char *)phy - offset; 100 size = round_to_pagesize(size + offset); 103 *virt = (char *)mapadr + offset; 105 LOG(("physical = %p, virtual = %p, offset = %ld, phyadr = %p, mapadr = %p, size = %ld, area = 0x%08lx\n", 106 phy, *virt, offset, phyadr, mapadr, size, area));
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/echo/ |
H A D | util.c | 105 uint32 offset; local 112 offset = phy & (B_PAGE_SIZE - 1); 113 phyadr = phy - offset; 114 size = round_to_pagesize(size + offset); 117 *log = (void*) ((uint32)mapadr + offset); 119 LOG(("physical = %p, logical = %p, offset = %#x, phyadr = %p, mapadr = %p, size = %#x, area = %#x\n", 120 phy, *log, offset, phyadr, mapadr, size, area));
|
/haiku-fatelf/src/add-ons/kernel/drivers/dvb/cx23882/ |
H A D | util.c | 43 uint32 offset; local 51 offset = (uint32)phy & (B_PAGE_SIZE - 1); 52 phyadr = (char *)phy - offset; 53 size = ROUNDUP(size + offset, B_PAGE_SIZE); 61 *virt = (char *)mapadr + offset; 63 TRACE("physical = %p, virtual = %p, offset = %ld, phyadr = %p, mapadr = %p, size = %ld, area = 0x%08lx\n", 64 phy, *virt, offset, phyadr, mapadr, size, area);
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/dp83815/ |
H A D | util.c | 101 * makes the whole offset calculation and relocation obsolete. But the code 107 uint32 offset; local 114 offset = (uint32)phy & (B_PAGE_SIZE - 1); 115 phyadr = (void *) ( (uint32)phy - offset ); 116 size = round_to_pagesize(size + offset); 119 *log = (void *) ( (uint32)mapadr + offset ); 121 dprintf("physical = %p, logical = %p, offset = %#lx, phyadr = %p, mapadr = %p, size = %#lx, area = %#lx\n", 122 phy, *log, offset, phyadr, mapadr, size, area);
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/rtl8169/ |
H A D | util.c | 77 uint32 offset; local 84 offset = (uint32)phy & (B_PAGE_SIZE - 1); 85 phyadr = (char *)phy - offset; 86 size = round_to_pagesize(size + offset); 94 *virt = (char *)mapadr + offset; 96 TRACE("physical = %p, virtual = %p, offset = %ld, phyadr = %p, mapadr = " 97 "%p, size = %ld, area = 0x%08lx\n", phy, *virt, offset, phyadr, mapadr,
|
/haiku-fatelf/src/add-ons/kernel/file_systems/packagefs/ |
H A D | AutoPackageAttributes.cpp | 41 virtual status_t ReadAttribute(off_t offset, void* buffer, argument 52 // check and clamp offset and size 53 if (offset < 0 || offset > size) 57 if (offset + toCopy > size) 58 toCopy = size - offset; 61 memcpy(buffer, (const uint8*)value + offset, toCopy);
|
/haiku-fatelf/src/bin/gdb/gdb/ |
H A D | amd64-nat.c | 52 /* Return the offset of REGNUM within the appropriate native 110 int offset = amd64_native_gregset_reg_offset (i); local 112 if (offset != -1) 113 regcache_raw_supply (regcache, i, regs + offset); 157 int offset = amd64_native_gregset_reg_offset (i); local 159 if (offset != -1) 160 regcache_raw_collect (regcache, i, regs + offset);
|
/haiku-fatelf/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | SuperBlock.cpp | 45 read_super_block(int device, off_t offset, const char *magic, argument 59 if (read_pos(device, offset, superBlock, size) != (int32)size) 97 SuperBlock::Init(int device, off_t offset) argument 101 if (read_super_block(device, REISERFS_OLD_DISK_OFFSET_IN_BYTES + offset, 106 } else if (read_super_block(device, REISERFS_DISK_OFFSET_IN_BYTES + offset, 111 } else if (read_super_block(device, REISERFS_DISK_OFFSET_IN_BYTES + offset,
|
/haiku-fatelf/headers/private/kernel/boot/platform/cfe/ |
H A D | cfe.h | 42 int cfe_readblk(int handle, int64 offset, void *buffer, int length); 43 int cfe_writeblk(int handle, int64 offset, const void *buffer, int length);
|
/haiku-fatelf/src/add-ons/accelerants/radeon_hd/atombios/ |
H A D | atom.h | 39 void (*reg_write)(uint32 offset, uint32 data); 40 uint32 (*reg_read)(uint32 offset); 41 void (*ioreg_write)(uint32 offset, uint32 data); 42 uint32 (*ioreg_read)(uint32 offset); 43 void (*mc_write)(uint32 offset, uint32 data); 44 uint32 (*mc_read)(uint32 offset); 45 void (*pll_write)(uint32 offset, uint32 data); 46 uint32 (*pll_read)(uint32 offset);
|
/haiku-fatelf/src/add-ons/kernel/bus_managers/pci/arch/x86/ |
H A D | pci_bios.cpp | 20 uint8 offset, uint8 size, uint32 *value) 28 uint8 offset, uint8 size, uint32 value) 19 pci_bios_read_config(void *cookie, uint8 bus, uint8 device, uint8 function, uint8 offset, uint8 size, uint32 *value) argument 27 pci_bios_write_config(void *cookie, uint8 bus, uint8 device, uint8 function, uint8 offset, uint8 size, uint32 value) argument
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/wwan/usb_beceemwmx/ |
H A D | BeceemNVM.h | 86 int NVMRead(uint32 offset, uint32 size, 88 int NVMWrite(uint32 offset, uint32 size, 112 status_t NVMChipSelect(uint32 offset); 114 unsigned long DisableBlockProtect(uint32 offset, 122 status_t FlashBulkRead(uint32 offset, 124 status_t FlashBulkWrite(uint32 offset, 132 status_t EEPROMRead(uint32 offset, 134 status_t EEPROMBulkRead( uint32 offset,
|
/haiku-fatelf/src/add-ons/kernel/file_systems/ramfs/ |
H A D | File.h | 16 virtual status_t ReadAt(off_t offset, void *buffer, size_t size, 18 virtual status_t WriteAt(off_t offset, const void *buffer, size_t size,
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | lseek.c | 38 rpl_lseek (int fd, off_t offset, int whence) argument 64 return lseek (fd, offset, whence);
|
/haiku-fatelf/src/bin/findutils/gnulib/lib/ |
H A D | lseek.c | 35 rpl_lseek (int fd, off_t offset, int whence) argument 61 return lseek (fd, offset, whence);
|
/haiku-fatelf/src/bin/network/wget/lib/ |
H A D | lseek.c | 35 rpl_lseek (int fd, off_t offset, int whence) argument 61 return lseek (fd, offset, whence);
|
/haiku-fatelf/src/kits/package/hpkg/ |
H A D | AttributeDataReader.cpp | 30 BAttributeDataReader::ReadData(off_t offset, void* buffer, size_t size) argument 32 ssize_t bytesRead = fs_read_attr(fFD, fAttribute, fType, offset, buffer,
|
H A D | PackageData.cpp | 34 BPackageData::SetData(uint64 size, uint64 offset) argument 37 fOffset = offset;
|
/haiku-fatelf/src/system/kernel/vm/ |
H A D | VMDeviceCache.cpp | 24 VMDeviceCache::Read(off_t offset, const iovec* vecs, size_t count, argument 33 VMDeviceCache::Write(off_t offset, const iovec* vecs, size_t count, argument
|
H A D | VMDeviceCache.h | 21 virtual status_t Read(off_t offset, const iovec* vecs, 24 virtual status_t Write(off_t offset, const iovec* vecs,
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/btree/ |
H A D | Inode.cpp | 30 Inode::FindBlockRun(off_t pos, block_run &run, off_t &offset) argument 34 offset = 0;
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/ |
H A D | File.h | 16 virtual status_t ReadAt(off_t offset, void *buffer, size_t size, 18 virtual status_t WriteAt(off_t offset, const void *buffer, size_t size,
|