Lines Matching defs:handle

126 	 * built into the the compilation system to handle variable argument
372 ddi_acc_handle_t handle;
377 handle = Adapter->osdep.cfg_handle;
383 pci_config_get16(handle, PCI_CONF_VENID));
386 pci_config_get16(handle, PCI_CONF_DEVID));
389 pci_config_get16(handle, PCI_CONF_COMM));
392 pci_config_get16(handle, PCI_CONF_STAT));
395 pci_config_get8(handle, PCI_CONF_REVID));
398 pci_config_get8(handle, PCI_CONF_PROGCLASS));
401 pci_config_get8(handle, PCI_CONF_SUBCLASS));
404 pci_config_get8(handle, PCI_CONF_BASCLASS));
407 pci_config_get8(handle, PCI_CONF_CACHE_LINESZ));
410 pci_config_get8(handle, PCI_CONF_LATENCY_TIMER));
413 pci_config_get8(handle, PCI_CONF_HEADER));
416 pci_config_get8(handle, PCI_CONF_BIST));
427 pci_config_get32(handle, PCI_CONF_CIS));
430 pci_config_get16(handle, PCI_CONF_SUBVENID));
433 pci_config_get16(handle, PCI_CONF_SUBSYSID));
436 pci_config_get32(handle, PCI_CONF_ROM));
438 cap_ptr = pci_config_get8(handle, PCI_CONF_CAP_PTR);
444 pci_config_get8(handle, PCI_CONF_ILINE));
447 pci_config_get8(handle, PCI_CONF_IPIN));
450 pci_config_get8(handle, PCI_CONF_MIN_G));
453 pci_config_get8(handle, PCI_CONF_MAX_L));
460 pci_config_get8(handle, offset));
462 next_ptr = pci_config_get8(handle, offset + 1);
468 pci_config_get16(handle, offset + PCI_PMCAP));
471 pci_config_get16(handle, offset + PCI_PMCSR));
474 pci_config_get8(handle, offset + PCI_PMCSR_BSE));
477 pci_config_get8(handle, offset + PCI_PMDATA));
484 pci_config_get8(handle, offset));
486 next_ptr = pci_config_get8(handle, offset + 1);
492 pci_config_get16(handle, offset + PCI_MSI_CTRL));
495 pci_config_get32(handle, offset + PCI_MSI_ADDR_OFFSET));
498 pci_config_get32(handle, offset + 0x8));
501 pci_config_get16(handle, offset + 0xC));
508 pci_config_get8(handle, offset + PCIE_CAP_ID));
510 next_ptr = pci_config_get8(handle, offset + PCIE_CAP_NEXT_PTR);
516 pci_config_get16(handle, offset + PCIE_PCIECAP));
519 pci_config_get32(handle, offset + PCIE_DEVCAP));
522 pci_config_get16(handle, offset + PCIE_DEVCTL));
525 pci_config_get16(handle, offset + PCIE_DEVSTS));
528 pci_config_get32(handle, offset + PCIE_LINKCAP));
531 pci_config_get16(handle, offset + PCIE_LINKCTL));
534 pci_config_get16(handle, offset + PCIE_LINKSTS));
541 ddi_acc_handle_t handle = Adapter->osdep.cfg_handle;
542 uint32_t base = pci_config_get32(handle, offset);
543 uint16_t comm = pci_config_get16(handle, PCI_CONF_COMM);
578 pci_config_put16(handle, PCI_CONF_COMM, (comm & ~bits_comm));
581 pci_config_put32(handle, offset, 0xffffffff);
584 size = pci_config_get32(handle, offset);
589 pci_config_put32(handle, offset, base);
592 pci_config_put16(handle, PCI_CONF_COMM, comm);