/fuchsia/zircon/system/dev/bus/virtio/backends/ |
H A D | pci_modern.cpp | 17 static void ReadVirtioCap(pci_protocol_t* pci, uint8_t offset, virtio_pci_cap& cap) { argument 18 pci_config_read8(pci, cap_field(offset, cap_vndr), &cap.cap_vndr); 19 pci_config_read8(pci, cap_field(offset, cap_next), &cap.cap_next); 20 pci_config_read8(pci, cap_field(offset, cap_len), &cap.cap_len); 21 pci_config_read8(pci, cap_field(offset, cfg_type), &cap.cfg_type); 22 pci_config_read8(pci, cap_field(offset, bar), &cap.bar); 23 pci_config_read32(pci, cap_field(offset, offset), &cap.offset); 24 pci_config_read32(pci, cap_field(offset, length), &cap.length); 100 virtio_pci_cap_t cap; local 102 ReadVirtioCap(&pci_, off, cap); 205 CommonCfgCallbackLocked(const virtio_pci_cap_t& cap) argument 219 NotifyCfgCallbackLocked(const virtio_pci_cap_t& cap) argument 228 IsrCfgCallbackLocked(const virtio_pci_cap_t& cap) argument 238 DeviceCfgCallbackLocked(const virtio_pci_cap_t& cap) argument 247 PciCfgCallbackLocked(const virtio_pci_cap_t& cap) argument [all...] |
H A D | pci.h | 110 void CommonCfgCallbackLocked(const virtio_pci_cap_t& cap) TA_REQ(lock_); 111 void NotifyCfgCallbackLocked(const virtio_pci_cap_t& cap) TA_REQ(lock_); 112 void IsrCfgCallbackLocked(const virtio_pci_cap_t& cap) TA_REQ(lock_); 113 void DeviceCfgCallbackLocked(const virtio_pci_cap_t& cap) TA_REQ(lock_); 114 void PciCfgCallbackLocked(const virtio_pci_cap_t& cap) TA_REQ(lock_);
|
/fuchsia/zircon/kernel/dev/pcie/ |
H A D | pcie_caps.cpp | 315 PciStdCapability* cap; local 318 cap = irq_.msi = new (&ac) PciCapMsi(*this, cap_offset, id); break; 320 cap = pcie_ = new (&ac) PciCapPcie(*this, cap_offset, id); break; 322 cap = pci_af_ = new (&ac) PciCapAdvFeatures(*this, cap_offset, id); break; 325 cap = new (&ac) PciStdCapability(*this, cap_offset, id); break; 333 caps_.detected.push_front(fbl::unique_ptr<PciStdCapability>(cap));
|
H A D | debug.cpp | 449 for (const auto& cap : dev->capabilities()) { 451 printf(" %s (%#02x)\n", get_cap_str(cap.id()), cap.id()); 455 LSPCI_PRINTF("%s (%#02x)\n", get_cap_str(cap.id()), cap.id());
|
/fuchsia/zircon/system/dev/block/nvme/ |
H A D | nvme-hw.h | 25 #define NVME_REG_SQnTDBL(n, cap) (0x1000 + (2*(n) + 0) * (4 << (NVME_CAP_DSTRD(cap) - 2))) 26 #define NVME_REG_CQnHDBL(n, cap) (0x1000 + (2*(n) + 1) * (4 << (NVME_CAP_DSTRD(cap) - 2)))
|
H A D | nvme.c | 778 uint64_t cap = rd64(CAP); local 782 (unsigned) (1 << NVME_CAP_MPSMIN(cap)), 783 (unsigned) (1 << NVME_CAP_MPSMAX(cap))); 784 zxlogf(INFO, "nvme: doorbell stride: %u\n", (unsigned) (1 << NVME_CAP_DSTRD(cap))); 785 zxlogf(INFO, "nvme: timeout: %u ms\n", (unsigned) (1 << NVME_CAP_TO(cap))); 786 zxlogf(INFO, "nvme: boot partition support (BPS): %c\n", NVME_CAP_BPS(cap) ? 'Y' : 'N'); 787 zxlogf(INFO, "nvme: supports NVM command set (CSS:NVM): %c\n", NVME_CAP_CSS_NVM(cap) ? 'Y' : 'N'); 788 zxlogf(INFO, "nvme: subsystem reset supported (NSSRS): %c\n", NVME_CAP_NSSRS(cap) ? 'Y' : 'N'); 789 zxlogf(INFO, "nvme: weighted-round-robin (AMS:WRR): %c\n", NVME_CAP_AMS_WRR(cap) ? 'Y' : 'N'); 790 zxlogf(INFO, "nvme: vendor-specific arbitration (AMS:VS): %c\n", NVME_CAP_AMS_VS(cap) [all...] |
/fuchsia/zircon/system/dev/block/ahci/ |
H A D | sata.c | 138 uint16_t cap = *(devinfo + SATA_DEVINFO_CAP); local 139 if (cap & (1 << 8)) { 150 if (cap & (1 << 9)) {
|
H A D | ahci.h | 97 uint32_t cap; // host capabilities member in struct:__anon187
|
H A D | ahci.c | 91 uint32_t cap; member in struct:ahci_device 275 if (dev->cap & AHCI_CAP_NCQ) { 565 int max = MIN(port->devinfo.max_cmd, (int)((dev->cap >> 8) & 0x1f)); 720 dev->cap = ahci_read(&dev->regs->cap);
|
/fuchsia/zircon/system/ulib/virtio/include/virtio/ |
H A D | virtio.h | 80 virtio_pci_cap_t cap; member in struct:virtio_pci_notify_cap
|
/fuchsia/zircon/system/dev/audio/intel-hda/controller/ |
H A D | intel-hda-controller-init.cpp | 517 uint32_t cap; local 521 cap = REG_RD(&pp_regs->ppch); 522 if ((cap & HDA_CAP_ID_MASK) == HDA_CAP_PP_ID) { 526 offset = cap & HDA_CAP_PTR_MASK;
|
/fuchsia/zircon/system/dev/usb/xhci/ |
H A D | xhci.c | 110 xhci_usb_legacy_support_cap_t* cap = xhci->usb_legacy_support_cap; local 111 if (cap == NULL) { 122 cap->os_owned_sem |= 1; 125 while ((cap->bios_owned_sem & 1) && now < deadline) { 130 if (cap->bios_owned_sem & 1) { 131 cap->os_owned_sem &= ~1;
|
/fuchsia/zircon/third_party/ulib/musl/third_party/tre/ |
H A D | regcomp.c | 415 int cap; member in struct:literals 420 if (p->len >= p->cap) { 421 if (p->cap >= 1 << 15) 423 p->cap *= 2; 424 a = xrealloc(p->a, p->cap * sizeof *p->a); 587 ls.cap = 32; 588 ls.a = xmalloc(ls.cap * sizeof *ls.a);
|