/********************************************************************************* * * Routine Description: Config SB After PCI INIT * * Arguments: * * pConfig - SBconfiguration * * Returns: void * * Reference: atiSbAfterPciInit * **********************************************************************************/ void sbAfterPciInit(AMDSBCFG* pConfig){ BUILDPARAM *pStaticOptions; TRACE((DMSG_SB_TRACE, "CIMx - Entering sbAfterPciInit \n")); pStaticOptions = &pConfig->BuildParameters; usbInitMidPost(pConfig); //usb initialization which is required only during post usbInitAfterPciInit(pConfig); // Init USB MMIO sataInitAfterPciEnum(pConfig); // SATA port enumeration azaliaInitAfterPciEnum(pConfig); // Detect and configure High Definition Audio TRACE((DMSG_SB_TRACE, "CIMx - Exiting sbAfterPciInit \n")); }
/** * sbAfterPciInit - Config Southbridge after PCI emulation * * * * @param[in] pConfig Southbridge configuration structure pointer. * */ VOID sbAfterPciInit ( IN AMDSBCFG* pConfig ) { usbInitAfterPciInit (pConfig); // Init USB MMIO sataInitAfterPciEnum (pConfig); // SATA port enumeration gecInitAfterPciEnum (pConfig); azaliaInitAfterPciEnum (pConfig); // Detect and configure High Definition Audio #ifndef NO_HWM_SUPPORT hwmInit (pConfig); #endif }
/** * sbAfterPciInit - Config Southbridge after PCI emulation * * * * @param[in] pConfig Southbridge configuration structure pointer. * */ VOID sbAfterPciInit ( IN AMDSBCFG* pConfig ) { TRACE ((DMSG_SB_TRACE, "CIMx - Entering sbAfterPciInit \n")); imcEnableSurebootTimer (pConfig); usbInitAfterPciInit (pConfig); // Init USB MMIO sataInitAfterPciEnum (pConfig); // SATA port enumeration gecInitAfterPciEnum (pConfig); azaliaInitAfterPciEnum (pConfig); // Detect and configure High Definition Audio hwmUpdateData (pConfig); TRACE ((DMSG_SB_TRACE, "CIMx - Exiting sbAfterPciInit \n")); }
static void usb_init(struct device *dev) { usbInitAfterPciInit(sb_config); commonInitLateBoot(sb_config); }