/haiku/src/add-ons/kernel/busses/mmc/ |
H A D | sdhci_pci.cpp | 40 #define SLOT_NUMBER "device/slot" 59 uint8_t bar, slot; local 60 if (gDeviceManager->get_attr_uint8(node, SLOT_NUMBER, &slot, false) < B_OK 65 TRACE("Register SD bus at slot %d, using bar %d\n", slot + 1, bar); 70 for (; bar < 6 && slot > 0; bar++, slot--) { 96 // map the slot registers 160 for (uint8_t slot = 0; slot < slotsCoun [all...] |
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 8237 uint32 slot = *_cookie; local 8240 while (slot < context->table_size 8241 && (descriptor = context->fds[slot]) == NULL) { 8242 slot++; 8245 if (slot >= context->table_size) 8248 info->number = slot; 8260 *_cookie = slot + 1;
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | pci.cpp | 172 pci_find_dbsf(uint32_t domain, uint8_t bus, uint8_t slot, uint8_t func) argument
|
/haiku/src/apps/deskbar/ |
H A D | Switcher.cpp | 190 int32 IndexAt(int32 slot) const; 421 // get the composed icon size for slot calculation but don't set it 1015 // if we're in the last slot already (the last usable team group) 1886 BRect slot(0, 0, fManager->SlotSize() - 1, fManager->SlotSize() - 1); 1888 fOffView = new BView(slot, "off_view", B_FOLLOW_NONE, B_WILL_DRAW); 1889 fOffBitmap = new BBitmap(slot, B_RGBA32, true); 1929 // scroll center rect to the draw slot 2060 TIconView::IndexAt(int32 slot) const 2062 if (slot < 0 || slot > [all...] |
/haiku/src/add-ons/kernel/busses/usb/ |
H A D | xhci.h | 72 uint8 slot; member in struct:xhci_device 140 status_t ConfigureEndpoint(xhci_endpoint* ep, uint8 slot, 182 void Ring(uint8 slot, uint8 endpoint); 186 status_t EnableSlot(uint8 *slot); 187 status_t DisableSlot(uint8 slot); 189 uint8 slot); 191 bool deconfigure, uint8 slot); 193 uint8 slot); 197 uint8 endpoint, uint8 slot); 198 status_t ResetDevice(uint8 slot); [all...] |
H A D | xhci.cpp | 1160 endpoint->device->slot); 1523 uint8 slot = XHCI_MAX_SLOTS; local 1524 status_t status = EnableSlot(&slot); 1526 TRACE_ERROR("failed to enable slot: %s\n", strerror(status)); 1530 if (slot == 0 || slot > fSlotCount) { 1531 TRACE_ERROR("AllocateDevice: bad slot\n"); 1535 if (fDevices[slot].slot != 0) { 1536 TRACE_ERROR("AllocateDevice: slot alread 2150 ConfigureEndpoint(xhci_endpoint* ep, uint8 slot, uint8 number, uint8 type, bool directionIn, uint16 interval, uint16 maxPacketSize, usb_speed speed, uint8 maxBurst, uint16 bytesPerInterval) argument 2548 Ring(uint8 slot, uint8 endpoint) argument 2624 slot = TRB_3_SLOT_GET(flags); local 2862 EnableSlot(uint8* slot) argument 2880 DisableSlot(uint8 slot) argument 2893 SetAddress(uint64 inputContext, bool bsr, uint8 slot) argument 2909 ConfigureEndpoint(uint64 inputContext, bool deconfigure, uint8 slot) argument 2925 EvaluateContext(uint64 inputContext, uint8 slot) argument 2993 SetTRDequeue(uint64 dequeue, uint16 stream, uint8 endpoint, uint8 slot) argument 3009 ResetDevice(uint8 slot) argument [all...] |
H A D | xhci_hardware.h | 450 struct xhci_slot_ctx slot; member in struct:xhci_input_device_ctx 456 struct xhci_slot_ctx slot; member in struct:xhci_device_ctx
|
/haiku/src/libs/compat/freebsd_iflib/ |
H A D | iflib.c | 951 struct netmap_slot *slot = &ring->slot[nm_i]; local 952 void *addr = PNMB(na, slot, &fl->ifl_bus_addrs[i]); 964 } else if (slot->flags & NS_BUF_CHANGED) { 971 slot->flags &= ~NS_BUF_CHANGED; 1047 * the corresponding slot in the NIC ring. Some drivers also 1048 * need to update the buffer's physical address in the NIC slot 1059 * to prefetch the next slot and txr entry. 1071 __builtin_prefetch(&ring->slot[nm_i]); 1076 struct netmap_slot *slot local 1363 struct netmap_slot *slot; local 1388 struct netmap_slot *slot; local [all...] |
/haiku/src/system/kernel/ |
H A D | sem.cpp | 91 // when slot in use 109 // when slot unused 242 uint32 slot = num % sMaxSems; local 243 if (sSems[slot].id != (int)num) { 248 dump_sem(&sSems[slot]); 268 /*! \brief Appends a semaphore slot to the free list. 271 The slot's id field is not changed. It should already be set to -1. 273 \param slot The index of the semaphore slot. 274 \param nextID The ID the slot wil 278 free_sem_slot(int slot, sem_id nextID) argument 730 int slot = id % sMaxSems; local 874 int32 slot = id % sMaxSems; local 997 int slot = id % sMaxSems; local 1023 int slot = id % sMaxSems; local 1131 int slot = id % sMaxSems; local [all...] |
H A D | team.cpp | 3802 char** slot = flatArgs; local 3809 *slot++ = stringSpace; 3813 *slot++ = NULL; 3818 *slot++ = stringSpace; 3822 *slot++ = NULL; 3892 int32 slot = *cookie; local 3893 if (slot < 1) 3894 slot = 1; 3903 while (slot < lastTeamID && !(team = team_get_team_struct_locked(slot))) [all...] |
/haiku/src/system/boot/platform/bios_ia32/ |
H A D | devices.cpp | 81 uint8 slot; member in struct:drive_parameters::__anon23::__anon25 302 disk.bus.pci.slot = parameters.interface.pci.slot;
|
/haiku/src/system/boot/platform/atari_m68k/ |
H A D | devices.cpp | 66 uint8 slot; member in struct:drive_parameters::__anon13::__anon15 252 disk.bus.pci.slot = parameters.interface.pci.slot;
|
/haiku/src/kits/interface/layouter/ |
H A D | ComplexLayouter.cpp | 237 Constraint** slot = fConstraints + end; local 238 while (*slot != NULL && (*slot)->start > element) 239 slot = &(*slot)->next; 241 if (*slot != NULL && (*slot)->start == element) { 243 (*slot)->Restrict(min, max); 250 constraint->next = *slot; 251 *slot [all...] |
/haiku/src/system/kernel/arch/arm/paging/ |
H A D | arm_physical_page_mapper_large_memory.cpp | 48 // One slot would suffice, since the map is locked while mapping a page table, 66 inline void PutSlot(PhysicalPageSlot* slot); 109 PhysicalPageSlot* slot; member in struct:LargeMemoryTranslationMapPhysicalPageMapper::page_slot 160 PhysicalPageSlot*& slot); 161 void PutSlot(PhysicalPageSlot* slot); 205 PhysicalPageSlot* slot = fSlots; local 206 fSlots = slot->next; 207 return slot; 212 PhysicalPageSlotPool::PutSlot(PhysicalPageSlot* slot) argument 214 slot 245 PhysicalPageSlot* slot = fSlots; local 274 PutSlot(PhysicalPageSlot* slot) argument 322 PhysicalPageSlot* slot; local 393 page_slot& slot = fSlots[i]; local 407 page_slot& slot = fSlots[fNextSlot]; local 491 PhysicalPageSlot* slot = fPerCPUData[smp_get_current_cpu()].interruptSlot; local 501 PhysicalPageSlot* slot; local 533 PhysicalPageSlot* slot = slotQueue.GetSlot(); local 585 PhysicalPageSlot* slot = slotQueue->GetSlot(); local 615 PhysicalPageSlot* slot = slotQueue->GetSlot(); local 655 PhysicalPageSlot* slot = slotQueue->GetSlot(); local 707 GetSlot(bool canWait, PhysicalPageSlot*& slot) argument 739 PutSlot(PhysicalPageSlot* slot) argument [all...] |
/haiku/src/system/kernel/arch/arm/paging/32bit/ |
H A D | ARMPagingMethod32Bit.cpp | 162 // init slot list 166 PhysicalPageSlot* slot = &fSlots[i]; local 167 slot->next = slot + 1; 168 slot->pool = this; 169 slot->address = slotAddress; 202 // create an area that can contain the page table and the slot
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | BTree.cpp | 88 BTree::Node::SearchSlot(const btrfs_key& key, int* slot, btree_traversing type) argument 91 // binary search for item slot in a node 111 *slot = mid; 128 *slot = mid; 129 TRACE("SearchSlot() found slot %" B_PRId32 " comp %" B_PRId32 "\n", 130 *slot, comp); 331 BTree::Path::SetNode(off_t block, int slot) argument 334 return SetNode(&node, slot); 339 BTree::Path::SetNode(const Node* node, int slot) argument 349 if (slot 370 GetEntry(int slot, btrfs_key* _key, void** _value, uint32* _size, uint32* _offset) argument 400 SetEntry(int slot, const btrfs_entry& entry, void* value) argument 580 int slot; local 679 int slot = status; local 704 status_t slot = MakeEntries(transaction, path, entries[0].key, num, local 739 int slot = status; local 765 int slot; local 804 int slot; local [all...] |
/haiku/headers/private/kernel/util/ |
H A D | OpenHashTable.h | 159 ValueType* slot = fTable[index]; local 161 while (slot) { 162 if (fDefinition.Compare(key, slot)) 164 slot = _Link(slot); 167 return slot; 228 ValueType* slot = fTable[index]; local 230 while (slot) { 231 ValueType* next = _Link(slot); 233 if (value == slot) { 408 ValueType* slot = fTable[index]; local [all...] |
/haiku/src/system/kernel/scheduler/ |
H A D | scheduling_analysis.cpp | 268 HashObject** slot = &fHashTable[index]; local 269 while (*slot != object) 270 slot = &(*slot)->next; 272 *slot = object->next;
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/ |
H A D | nvme.c | 78 struct pci_slot_match slot; local 84 memset(&slot, 0, sizeof(struct pci_slot_match)); 109 nvme_err("Malformed PCI device slot name %s\n", 115 slot.domain = (uint32_t)strtoul(domain, &end, 16); 116 if ((end && *end) || (slot.domain > 0xffff)) { 117 nvme_err("Invalid domain number: 0x%X\n", slot.domain); 121 slot.domain = PCI_MATCH_ANY; 124 slot.bus = (uint32_t)strtoul(bus, &end, 16); 125 if ((end && *end) || (slot.bus > 0xff)) { 126 nvme_err("Invalid bus number: 0x%X\n", slot 177 char *slot; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/ |
H A D | rt2860.c | 320 | IEEE80211_C_SHSLOT /* short slot time supported */ 552 continue; /* nothing mapped in this slot */ 591 continue; /* nothing mapped in this slot */ 1672 /* remove from the free pool and link it into the SW Tx slot */ 1917 /* remove from the free pool and link it into the SW Tx slot */ 2175 int slot, ntries; local 2197 /* find the command slot */ 2198 for (slot = 0; slot < 4; slot [all...] |
/haiku/src/system/runtime_loader/ |
H A D | images.cpp | 157 topological_sort(image_t* image, uint32 slot, image_t** initList, argument 161 return slot; 165 slot = topological_sort(image->needed[i], slot, initList, sortFlag); 167 initList[slot] = image; 168 return slot + 1;
|
/haiku/src/system/boot/platform/efi/arch/arm64/ |
H A D | arch_mmu.h | 116 void JumpTo(uint16 slot) { argument 117 fDescriptor += slot;
|
/haiku/src/system/libroot/os/ |
H A D | image.cpp | 79 void PrepareAdditionalSlots(char**& slot, char*& buffer) argument 83 *slot++ = buffer; 518 char** slot = flatArgs; local 525 *slot++ = stringSpace; 529 *slot++ = NULL; 533 *slot++ = stringSpace; 537 envFilter.PrepareAdditionalSlots(slot, stringSpace); 539 *slot++ = NULL;
|
/haiku/src/add-ons/kernel/drivers/network/ether/syskonnect/dev/sk/ |
H A D | if_sk.c | 707 sk_setfilt(sc_if, addr, slot) 710 int slot; 714 base = XM_RXFILT_ENTRY(slot);
|
/haiku/src/libs/compat/freebsd_network/compat/dev/pci/ |
H A D | pcivar.h | 45 device_t pci_find_dbsf(uint32_t domain, uint8_t bus, uint8_t slot,
|