/fuchsia/zircon/third_party/ulib/musl/src/exit/ |
H A D | atexit.c | 16 static int slot; variable 26 for (; head; head = head->next, slot = COUNT) { 27 while (slot-- > 0) { 28 func = head->f[slot]; 29 arg = head->a[slot]; 60 if (slot == COUNT) { 68 slot = 0; 72 head->f[slot] = func; 73 head->a[slot] = arg; 74 slot [all...] |
/fuchsia/zircon/system/ulib/zxcrypt/include/zxcrypt/ |
H A D | volume.h | 69 // which will be associated with key slot 0. This method takes ownership of |fd|. 74 // given key |slot|. The |fd| parameter means this method can be used from libzxcrypt. This 76 static zx_status_t Unlock(fbl::unique_fd fd, const crypto::Secret& key, key_slot_t slot, 83 // Adds a given |key| to the given key |slot|. This key can then be used to |Open| the 85 zx_status_t Enroll(const crypto::Secret& key, key_slot_t slot); 87 // Removes the root key in the given key |slot|. This key can no longer be used to |Open| the 89 zx_status_t Revoke(key_slot_t slot); 99 // to given key |slot|. The |dev| parameter means this method can be used from the driver. 100 static zx_status_t Unlock(zx_device_t* dev, const crypto::Secret& key, key_slot_t slot, 123 // Derives intermediate keys for the given key |slot| fro [all...] |
/fuchsia/zircon/system/dev/usb/xhci/ |
H A D | xhci-device-manager.c | 19 // list of devices pending result of enable slot command 67 xhci_slot_t* slot = &xhci->slots[slot_id]; local 68 if (slot->sc) 70 slot->hub_address = hub_address; 71 slot->port = port; 72 slot->rh_port = (hub_address == 0 ? port : xhci->slots[hub_address].rh_port); 73 slot->speed = speed; 77 zx_status_t status = io_buffer_init(&slot->buffer, xhci->bti_handle, dc_length, 80 zxlogf(ERROR, "xhci_address_device: failed to allocate io_buffer for slot\n"); 83 uint8_t* device_context = (uint8_t *)io_buffer_virt(&slot 277 xhci_slot_t* slot = &xhci->slots[slot_id]; local 385 xhci_slot_t* slot = &xhci->slots[slot_id]; local 433 xhci_slot_t* slot = NULL; local 599 xhci_slot_t* slot = &xhci->slots[slot_id]; local [all...] |
H A D | xhci-transfer.c | 24 xhci_slot_t* slot = &xhci->slots[slot_id]; local 25 xhci_endpoint_t* ep = &slot->eps[ep_index]; 46 static void xhci_process_transactions_locked(xhci_t* xhci, xhci_slot_t* slot, uint8_t ep_index, 50 xhci_slot_t* slot = &xhci->slots[slot_id]; local 52 xhci_endpoint_t* ep = &slot->eps[ep_index]; 64 int ep_ctx_state = xhci_get_ep_ctx_state(slot, ep); 120 ep_ctx_state = xhci_get_ep_ctx_state(slot, ep); 149 xhci_process_transactions_locked(xhci, slot, ep_index, &completed_reqs); 163 static zx_status_t xhci_start_transfer_locked(xhci_t* xhci, xhci_slot_t* slot, uint32_t ep_index, argument 165 xhci_endpoint_t* ep = &slot 217 xhci_continue_transfer_locked(xhci_t* xhci, xhci_slot_t* slot, uint32_t ep_index, usb_request_t* req) argument 305 xhci_process_transactions_locked(xhci_t* xhci, xhci_slot_t* slot, uint8_t ep_index, list_node_t* completed_reqs) argument 374 xhci_slot_t* slot = &xhci->slots[slot_id]; local 438 xhci_slot_t* slot = &xhci->slots[slot_id]; local 593 xhci_slot_t* slot = &xhci->slots[slot_id]; local [all...] |
H A D | xhci.c | 323 xhci_slot_t* slot = &xhci->slots[i]; local 324 xhci_endpoint_t* eps = slot->eps; 354 int xhci_get_slot_ctx_state(xhci_slot_t* slot) { argument 355 return XHCI_GET_BITS32(&slot->sc->sc3, SLOT_CTX_SLOT_STATE_START, 359 int xhci_get_ep_ctx_state(xhci_slot_t* slot, xhci_endpoint_t* ep) { argument 466 static void xhci_slot_stop(xhci_slot_t* slot) { argument 468 xhci_endpoint_t* ep = &slot->eps[i]; 505 xhci_slot_t* slot = &xhci->slots[i]; local 506 io_buffer_release(&slot->buffer); 509 xhci_endpoint_t* ep = &slot [all...] |
H A D | xhci.h | 210 int xhci_get_slot_ctx_state(xhci_slot_t* slot); 211 int xhci_get_ep_ctx_state(xhci_slot_t* slot, xhci_endpoint_t* ep);
|
/fuchsia/zircon/system/dev/audio/gauss-tdm/ |
H A D | tas57xx.cpp | 62 zx_status_t Tas57xx::Init(uint8_t slot) { argument 63 if (slot > 7) 68 status = WriteReg(41, static_cast<uint8_t>(1 + 32*slot));
|
H A D | tas57xx.h | 20 zx_status_t Init(uint8_t slot);
|
/fuchsia/zircon/system/dev/block/ahci/ |
H A D | ahci.c | 190 static bool ahci_port_cmd_busy(ahci_port_t* port, int slot) { argument 191 // a command slot is busy if a transaction is in flight or pending to be completed 192 return ((ahci_read(&port->regs->sact) | ahci_read(&port->regs->ci)) & (1 << slot)) || 193 (port->commands[slot] != NULL) || 194 (port->running & (1 << slot)) || (port->completed & (1 << slot)); 226 // assert if a command slot without an outstanding transaction is active 234 static zx_status_t ahci_do_txn(ahci_device_t* dev, ahci_port_t* port, int slot, sata_txn_t* txn) { argument 235 assert(slot < AHCI_MAX_COMMANDS); 236 assert(!ahci_port_cmd_busy(port, slot)); 523 unsigned slot = 32 - __builtin_clz(port->completed) - 1; local 625 unsigned slot = 32 - __builtin_clz(pending) - 1; local [all...] |
/fuchsia/zircon/system/ulib/zxcrypt/ |
H A D | volume.cpp | 48 // derived from the caller-provided root key and specific slot. 185 zx_status_t Volume::Unlock(fbl::unique_fd fd, const crypto::Secret& key, key_slot_t slot, argument 200 if ((rc = volume->Init()) != ZX_OK || (rc = volume->Unseal(key, slot)) != ZX_OK) { 250 zx_status_t Volume::Enroll(const crypto::Secret& key, key_slot_t slot) { argument 258 if (slot >= num_key_slots_) { 259 xprintf("bad parameter(s): slot=%" PRIu64 "\n", slot); 262 if ((rc = SealBlock(key, slot)) != ZX_OK || (rc = CommitBlock()) != ZX_OK) { 269 zx_status_t Volume::Revoke(key_slot_t slot) { argument 277 if (slot > 314 Unlock(zx_device_t* dev, const crypto::Secret& key, key_slot_t slot, fbl::unique_ptr<Volume>* out) argument 473 DeriveSlotKeys(const crypto::Secret& key, key_slot_t slot) argument 588 SealBlock(const crypto::Secret& key, key_slot_t slot) argument 620 Unseal(const crypto::Secret& key, key_slot_t slot) argument 636 UnsealBlock(const crypto::Secret& key, key_slot_t slot) argument [all...] |
/fuchsia/zircon/kernel/lib/fbl/ |
H A D | arena.cpp | 194 char* slot = top_; variable 196 return slot; 200 // Can only push the most-recently-popped slot. 223 printf(" pool '%s' slot size %zu, %zu pages committed:\n", 238 // Prefers to return the most-recently-freed slot in the hopes that 245 auto slot = node->slot; 247 allocation = slot;
|
/fuchsia/zircon/kernel/lib/fbl/include/fbl/ |
H A D | arena.h | 62 : slot(s) {} 63 void* slot; member in struct:fbl::Arena::Node
|
/fuchsia/zircon/kernel/dev/pcie/ |
H A D | pcie_caps.cpp | 107 slot.caps_ = PciReg32(static_cast<uint16_t>(base_ + kCapsOffset(kSlotOffset))); 108 slot.ctrl_ = PciReg16(static_cast<uint16_t>(base_ + kControlOffset(kSlotOffset))); 109 slot.status_ = PciReg16(static_cast<uint16_t>(base_ + kStatusOffset(kSlotOffset)));
|
/fuchsia/zircon/kernel/dev/pcie/include/dev/ |
H A D | pcie_caps.h | 61 #define PCS_CAPS_V1_UPSTREAM_PORT_SIZE ((uint)offsetof(pcie_capabilities_t, slot)) 318 PcieCapChunk slot; member in class:PciCapPcie
|
/fuchsia/zircon/third_party/ulib/chromiumos-platform-ec/include/chromiumos-platform-ec/ |
H A D | ec_commands.h | 2599 /* Number of bytes in a vstore slot */ 2622 uint8_t slot; /* Slot to read from */ member in struct:ec_params_vstore_read 2635 uint8_t slot; /* Slot to write to */ member in struct:ec_params_vstore_write
|
/fuchsia/zircon/third_party/tools/android/avb/ |
H A D | avbtool | 2111 AvbError: If slot data is malformed. 2115 raise AvbError('Malformed slot data "{}".'.format(slot_data)) 4091 'slot A followed by the same for slot B, '
|
/fuchsia/zircon/third_party/ulib/jemalloc/bin/ |
H A D | jeprof.in | 3627 # Provides an interface to get one 'slot', correctly handling 3628 # endian-ness differences. A slot is one 32-bit or 64-bit word 3631 # the second slot is always 3 (we'll accept anything that's not 0). 3667 # perl. Otherwise, each slot will be represented as a float
|