/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | e1000_i210.h | 43 s32 e1000_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, 45 s32 e1000_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, 89 /* NVM offset defaults for I211 devices */
|
H A D | e1000_i210.c | 41 static s32 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, 83 * @offset: offset of word in the Shadow Ram to read 90 s32 e1000_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words, argument 105 status = e1000_read_nvm_eerd(hw, offset, count, 122 * @offset: offset within the Shadow RAM to be written to 126 * Writes data to Shadow RAM at offset using EEWR register. 135 s32 e1000_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 words, argument 150 status = e1000_write_nvm_srwr(hw, offset, coun 176 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 275 e1000_read_invm_i210(struct e1000_hw *hw, u16 offset, u16 E1000_UNUSEDARG words, u16 *data) argument [all...] |
H A D | e1000_api.c | 589 * @offset: the 32-bit offset in which to write the value to. 590 * @value: the 32-bit value to write at location offset. 592 * This writes a 32-bit value to a 32-bit offset in the VLAN filter 595 void e1000_write_vfta(struct e1000_hw *hw, u32 offset, u32 value) argument 598 hw->mac.ops.write_vfta(hw, offset, value); 944 * @offset: location in the buffer to write to 947 * This function writes the buffer content at the offset given on the host if. 952 u16 offset, u8 *sum) 954 return e1000_mng_host_if_write_generic(hw, buffer, length, offset, su 951 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, u16 length, u16 offset, u8 *sum) argument 1024 e1000_read_phy_reg(struct e1000_hw *hw, u32 offset, u16 *data) argument 1041 e1000_write_phy_reg(struct e1000_hw *hw, u32 offset, u16 data) argument 1099 e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data) argument 1114 e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data) argument 1340 e1000_read_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 1358 e1000_write_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument 1376 e1000_write_8bit_ctrl_reg(struct e1000_hw *hw, u32 reg, u32 offset, u8 data) argument [all...] |
/haiku/src/tools/gensyscalls/ |
H A D | gensyscalls.h | 43 int usedSize, int offset, 78 int usedSize, int offset,
|
/haiku/src/add-ons/kernel/file_systems/nfs/ |
H A D | XDRInPacket.c | 70 XDRInPacketSetTo(struct XDRInPacket *packet, uint8 *buffer, size_t offset) argument 74 packet->fOffset=offset;
|
/haiku/src/add-ons/screen_savers/ifs/ |
H A D | IFS.cpp | 441 int32 offset = bpr * p.y + p.x * 4; local 442 *(uint32*)&bits[offset] = 0; 466 int32 offset = bpr * p.y + p.x * 4; local 468 if (bits[offset + 0] < 255) { 469 bits[offset + 0] += 51; 470 bits[offset + 1] += 51; 471 bits[offset + 2] += 51; 474 *(uint32*)&bits[offset] = 0xffffffff; 483 int32 offset = bpr * p.y + p.x * 4; local 485 if (bits[offset 535 int32 offset = bpr * p.y + p.x * 4; local 577 int32 offset = bpr * p.y + p.x * 4; local [all...] |
/haiku/src/add-ons/disk_systems/gpt/ |
H A D | GPTPartitionHandle.h | 42 virtual status_t ValidateCreateChild(off_t* offset, 45 virtual status_t CreateChild(off_t offset, off_t size,
|
/haiku/src/system/kernel/ |
H A D | real_time_clock.cpp | 256 bigtime_t offset = (bigtime_t)timezoneOffset * 1000000LL; local 263 offset, sIsGMT)); 271 // We only need to update our time offset if the hardware clock 277 - offset); 281 + sTimezoneOffset - offset); 286 sTimezoneOffset = offset; 298 int32 offset = (int32)(sTimezoneOffset / 1000000LL); local 302 || user_memcpy(_timezoneOffset, &offset, sizeof(offset)) < B_OK))
|
/haiku/src/system/libroot/posix/time/ |
H A D | localtime_fallback.c | 16 __secs_to_zone(long long t, int local, int *isdst, int *offset, long *oppoff, const char **zonename) argument 19 *offset = -__timezone;
|
/haiku/src/add-ons/kernel/drivers/audio/usb/ |
H A D | Stream.h | 37 status_t GetEnabledChannels(uint32& offset, 39 status_t SetEnabledChannels(uint32& offset,
|
/haiku/src/system/boot/loader/file_systems/bfs/ |
H A D | Stream.cpp | 31 uint8* SetTo(off_t offset); 198 Stream::FindBlockRun(off_t pos, block_run& run, off_t& offset) argument 234 offset = data.MaxIndirectRange() + (index * indirectSize) 260 offset = runBlockEnd 263 //printf("### indirect-run[%ld] = (%ld,%d,%d), offset = %lld\n",fCurrent,fRun.allocation_group,fRun.start,fRun.length,fRunFileOffset); 283 offset = runBlockEnd - ((uint32)run.Length() << fVolume.BlockShift()); 284 //printf("### run[%ld] = (%ld,%d,%d), offset = %lld\n",fCurrent,fRun.allocation_group,fRun.start,fRun.length,fRunFileOffset); 313 off_t offset; local 314 if (FindBlockRun(pos, run, offset) < B_OK) { 327 // pos % block_size == (pos - offset) [all...] |
/haiku/src/tools/fs_shell/ |
H A D | list.cpp | 10 #define GET_ITEM(list, item) ((void *)((uint8_t *)item - list->offset)) 11 #define GET_LINK(list, item) ((list_link *)((uint8_t *)item + list->offset)) 17 /** Initializes the list with a specified offset to the link 22 list_init_etc(struct list *list, int32_t offset) argument 25 list->offset = offset;
|
H A D | partition_support.cpp | 179 fssh_lseek(int fd, fssh_off_t offset, int whence) argument 183 return lseek(fd, offset, to_platform_seek_mode(whence)); 193 pos += offset; 197 pos = restriction->endOffset + offset; 201 pos = restriction->startOffset + offset;
|
/haiku/src/add-ons/kernel/busses/scsi/usb/ |
H A D | sg_buffer.c | 78 sg_access_byte(sg_buffer *sgb, off_t offset, uchar *byte, bool b_set) argument 83 if(offset >= sgb->piov[i].iov_len){ 84 offset -= sgb->piov[i].iov_len; 88 ptr[offset] = *byte; 90 *byte = ptr[offset];
|
/haiku/src/apps/mediaplayer/supplier/ |
H A D | MediaTrackAudioSupplier.cpp | 31 int64 offset; member in struct:MediaTrackAudioSupplier::Buffer 45 if (buffer1->offset < buffer2->offset) 47 else if (buffer1->offset > buffer2->offset) 142 // convert pos according to our offset 325 _CopyFrames(buffer->data, buffer->offset, target, targetOffset, position, 349 buffer->offset = 0; 380 // If any buffer starts at offset /frame/, it is returned, NULL otherwise. 386 ((buffer = _BufferAt(i))) && buffer->offset ! [all...] |
/haiku/src/tools/mbrtool/ |
H A D | mbrtool.cpp | 44 printf(" <start> Partition start offset (KiB)\n"); 95 uint64_t offset, uint64_t size) 108 uint32_t partitionOffset = (uint32_t)(offset / kSectorSize); 113 active ? 'b' : '-', offset, offset + size, partitionOffset, 121 written = pwrite(handle, &partitionOffset, 4, offset + 512 - 2 - 4);
|
/haiku/src/add-ons/kernel/power/cpuidle/intel_cstates/ |
H A D | intel_cstates.cpp | 148 unsigned int offset = 0; local 155 if (offset < sizeof(cStates)) { 156 offset += snprintf(cStates + offset, sizeof(cStates) - offset,
|
/haiku/src/libs/compat/openbsd_network/compat/dev/pci/ |
H A D | pcivar.h | 32 #define pci_get_capability(pct, pcitag, capability, offset, value) \ 33 pci_get_capability_openbsd(SC_DEV_FOR_PCI, capability, offset, value) 44 pci_get_capability_openbsd(device_t dev, int capability, int* offset, pcireg_t* value) argument 46 int res = pci_find_cap(dev, capability, offset); 51 *value = pci_read_config(dev, *offset, sizeof(pcireg_t));
|
/haiku/src/bin/ |
H A D | fstrim.cpp | 27 {"offset", required_argument, 0, 'o'}, 50 fprintf(stderr, " -o, --offset <num> Start of the trimmed region in bytes (default: 0)\n"); 160 uint64 offset = 0; local 169 if (!ParseUint64(optarg, &offset)) { 170 fprintf(stderr, "%s: Invalid offset value\n", kProgramName); 249 trimData.ranges[0].offset = offset; 254 printf("Range to trim (bytes): offset = %" B_PRIu64 255 ", length = %" B_PRIu64 "\n", offset, length);
|
/haiku/src/add-ons/kernel/busses/pci/ecam/ |
H A D | ECAMPCIController.h | 47 uint32 offset: 8; member in struct:PciAddress::__anon20 58 uint32 offset: 12; member in struct:PciAddressEcam::__anon21 97 uint16 offset, uint8 size, uint32 &value); 101 uint16 offset, uint8 size, uint32 value); 118 inline addr_t ConfigAddress(uint8 bus, uint8 device, uint8 function, uint16 offset);
|
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/ |
H A D | igc_api.c | 238 * @offset: the 32-bit offset in which to write the value to. 239 * @value: the 32-bit value to write at location offset. 241 * This writes a 32-bit value to a 32-bit offset in the VLAN filter 244 void igc_write_vfta(struct igc_hw *hw, u32 offset, u32 value) argument 247 hw->mac.ops.write_vfta(hw, offset, value); 448 * @offset: the register to read 454 s32 igc_read_phy_reg(struct igc_hw *hw, u32 offset, u16 *data) argument 457 return hw->phy.ops.read_reg(hw, offset, data); 465 * @offset 471 igc_write_phy_reg(struct igc_hw *hw, u32 offset, u16 data) argument 667 igc_read_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data) argument 685 igc_write_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data) argument [all...] |
/haiku/src/system/kernel/util/ |
H A D | ring_buffer.cpp | 234 \param offset The offset relative to the beginning of the data in the ring 241 ring_buffer_peek(struct ring_buffer* buffer, size_t offset, void* data, argument 246 if (offset >= available || length == 0) 249 if (offset + length > available) 250 length = available - offset; 252 if ((offset += buffer->first) >= (size_t)buffer->size) 253 offset -= buffer->size; 255 if (offset + length <= (size_t)buffer->size) { 257 memcpy(data, buffer->buffer + offset, lengt [all...] |
/haiku/src/add-ons/kernel/file_systems/udf/ |
H A D | Icb.cpp | 46 off_t offset = fPosition; local 52 status = Parent()->Read(offset, entry, &entryLength, &block); 56 offset += entry->total_length(); 75 fPosition = offset; 248 TRACE_ERROR(("Icb::FindBlock: error finding extent for offset " 261 TRACE_ERROR(("Icb::FindBlock: error finding extent for offset " 389 TRACE_ERROR(("Icb::_Read: error finding extent for offset %" 395 TRACE(("Icb::_Read(): found extent for offset %" B_PRIdOFF ": (block: " 437 TRACE(("Icb::_Read: reading block. offset = %" B_PRIdOFF 476 Icb::GetFileMap(off_t offset, size_ argument 505 _GetFileMap(DescriptorList &list, off_t offset, size_t size, struct file_io_vec *vecs, size_t *count) argument [all...] |
/haiku/src/system/boot/platform/atari_m68k/ |
H A D | devices.cpp | 301 && parameters.device_table.offset == 0xffff) 305 parameters.device_table.offset); 341 compute_check_sum(BlockHandle *drive, off_t offset) argument 344 ssize_t bytesRead = drive->ReadAt(NULL, offset, buffer, sizeof(buffer)); 421 off_t offset = get_next_check_sum_offset(index, minSize); local 429 disk.device.unknown.check_sums[i].offset = offset; 430 disk.device.unknown.check_sums[i].sum = compute_check_sum(drive, offset); 432 TRACE(("disk %x, offset %lld, sum %lu\n", drive->DriveID(), offset, 607 uint32 offset = pos % fBlockSize; local 806 hexdump(uint8 *buf, uint32 offset) argument 1196 off_t offset = (off_t)gBootPartitionOffset * drive->BlockSize(); local [all...] |
/haiku/src/add-ons/decorators/WinDecorator/ |
H A D | WinDecorator.cpp | 546 WinDecorator::_MoveBy(BPoint offset) argument 552 tab->zoomRect.OffsetBy(offset); 553 tab->closeRect.OffsetBy(offset); 554 tab->minimizeRect.OffsetBy(offset); 555 tab->tabRect.OffsetBy(offset); 559 fFrame.OffsetBy(offset); 560 fTitleBarRect.OffsetBy(offset); 561 fResizeRect.OffsetBy(offset); 562 fBorderRect.OffsetBy(offset); 567 WinDecorator::_ResizeBy(BPoint offset, BRegio argument [all...] |