Searched refs:ahci_ctlp (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/common/io/sata/adapters/ahci/ |
H A D | ahci.c | 582 ahci_ctl_t *ahci_ctlp = NULL; in ahci_attach() local 597 AHCIDBG(AHCIDBG_INIT|AHCIDBG_ENTRY, ahci_ctlp, "ahci_attach enter", in ahci_attach() 612 ahci_ctlp = ddi_get_soft_state(ahci_statep, instance); in ahci_attach() 613 mutex_enter(&ahci_ctlp->ahcictl_mutex); in ahci_attach() 619 ghc_control = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle, in ahci_attach() 620 (uint32_t *)AHCI_GLOBAL_GHC(ahci_ctlp)); in ahci_attach() 622 ddi_put32(ahci_ctlp->ahcictl_ahci_acc_handle, in ahci_attach() 623 (uint32_t *)AHCI_GLOBAL_GHC(ahci_ctlp), ghc_control); in ahci_attach() 626 if (ahci_ctlp->ahcictl_timeout_id == 0) in ahci_attach() 627 ahci_ctlp->ahcictl_timeout_id = timeout( in ahci_attach() [all …]
|
/illumos-gate/usr/src/uts/common/sys/sata/adapters/ahci/ |
H A D | ahcireg.h | 125 #define AHCI_GLOBAL_OFFSET(ahci_ctlp) (ahci_ctlp->ahcictl_ahci_addr) argument 127 #define AHCI_GLOBAL_CAP(ahci_ctlp) (AHCI_GLOBAL_OFFSET(ahci_ctlp) + 0x00) argument 129 #define AHCI_GLOBAL_GHC(ahci_ctlp) (AHCI_GLOBAL_OFFSET(ahci_ctlp) + 0x04) argument 131 #define AHCI_GLOBAL_IS(ahci_ctlp) (AHCI_GLOBAL_OFFSET(ahci_ctlp) + 0x08) argument 133 #define AHCI_GLOBAL_PI(ahci_ctlp) (AHCI_GLOBAL_OFFSET(ahci_ctlp) + 0x0c) argument 135 #define AHCI_GLOBAL_VS(ahci_ctlp) (AHCI_GLOBAL_OFFSET(ahci_ctlp) + 0x10) argument 137 #define AHCI_GLOBAL_CCC_CTL(ahci_ctlp) (AHCI_GLOBAL_OFFSET(ahci_ctlp) + 0x14) argument 139 #define AHCI_GLOBAL_CCC_PORTS(ahci_ctlp) \ argument 140 (AHCI_GLOBAL_OFFSET(ahci_ctlp) + 0x18) 142 #define AHCI_GLOBAL_EM_LOC(ahci_ctlp) (AHCI_GLOBAL_OFFSET(ahci_ctlp) + 0x1c) argument [all …]
|
H A D | ahcivar.h | 619 #define AHCIDBG(flag, ahci_ctlp, fmt, args ...) \ argument 621 ahci_log(ahci_ctlp, CE_WARN, fmt, ## args); \ 622 if (ahci_ctlp == NULL) \ 625 sata_trace_debug(ahci_ctlp->ahcictl_dip,\ 631 #define AHCIDBG(flag, ahci_ctlp, fmt, args ...) \ argument 633 if (ahci_ctlp == NULL) \ 636 sata_trace_debug(ahci_ctlp->ahcictl_dip,\
|