Home
last modified time | relevance | path

Searched refs:ahci_ctlp (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/uts/common/io/sata/adapters/ahci/
H A Dahci.c518 ahci_ctl_t *ahci_ctlp = NULL; in ahci_attach() local
533 AHCIDBG(AHCIDBG_INIT|AHCIDBG_ENTRY, ahci_ctlp, "ahci_attach enter", in ahci_attach()
548 ahci_ctlp = ddi_get_soft_state(ahci_statep, instance); in ahci_attach()
549 mutex_enter(&ahci_ctlp->ahcictl_mutex); in ahci_attach()
555 ghc_control = ddi_get32(ahci_ctlp->ahcictl_ahci_acc_handle, in ahci_attach()
556 (uint32_t *)AHCI_GLOBAL_GHC(ahci_ctlp)); in ahci_attach()
558 ddi_put32(ahci_ctlp->ahcictl_ahci_acc_handle, in ahci_attach()
559 (uint32_t *)AHCI_GLOBAL_GHC(ahci_ctlp), ghc_control); in ahci_attach()
562 if (ahci_ctlp->ahcictl_timeout_id == 0) in ahci_attach()
563 ahci_ctlp->ahcictl_timeout_id = timeout( in ahci_attach()
[all …]
/titanic_50/usr/src/uts/common/sys/sata/adapters/ahci/
H A Dahcireg.h119 #define AHCI_GLOBAL_OFFSET(ahci_ctlp) (ahci_ctlp->ahcictl_ahci_addr) argument
121 #define AHCI_GLOBAL_CAP(ahci_ctlp) (AHCI_GLOBAL_OFFSET(ahci_ctlp) + 0x00) argument
123 #define AHCI_GLOBAL_GHC(ahci_ctlp) (AHCI_GLOBAL_OFFSET(ahci_ctlp) + 0x04) argument
125 #define AHCI_GLOBAL_IS(ahci_ctlp) (AHCI_GLOBAL_OFFSET(ahci_ctlp) + 0x08) argument
127 #define AHCI_GLOBAL_PI(ahci_ctlp) (AHCI_GLOBAL_OFFSET(ahci_ctlp) + 0x0c) argument
129 #define AHCI_GLOBAL_VS(ahci_ctlp) (AHCI_GLOBAL_OFFSET(ahci_ctlp) + 0x10) argument
131 #define AHCI_GLOBAL_CCC_CTL(ahci_ctlp) (AHCI_GLOBAL_OFFSET(ahci_ctlp) + 0x14) argument
133 #define AHCI_GLOBAL_CCC_PORTS(ahci_ctlp) \ argument
134 (AHCI_GLOBAL_OFFSET(ahci_ctlp) + 0x18)
136 #define AHCI_GLOBAL_EM_LOC(ahci_ctlp) (AHCI_GLOBAL_OFFSET(ahci_ctlp) + 0x1c) argument
[all …]
H A Dahcivar.h590 #define AHCIDBG(flag, ahci_ctlp, fmt, args ...) \ argument
592 ahci_log(ahci_ctlp, CE_WARN, fmt, ## args); \
593 if (ahci_ctlp == NULL) \
596 sata_trace_debug(ahci_ctlp->ahcictl_dip,\
602 #define AHCIDBG(flag, ahci_ctlp, fmt, args ...) \ argument
604 if (ahci_ctlp == NULL) \
607 sata_trace_debug(ahci_ctlp->ahcictl_dip,\