summaryrefslogtreecommitdiffstats
path: root/hwp/perv/p9_sbe_chiplet_pll_initf.H
blob: da74468267690d4f9168baebca8838c238d78e9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//------------------------------------------------------------------------------
/// @file  p9_sbe_chiplet_pll_initf.H
///
/// @brief procedure for scan initializing PLL config bits for L2 and L3 plls
// *!
// *! OWNER NAME  : Abhishek Agarwal  Email: abagarw8@in.ibm.com
// *! BACKUP NAME : srinivas naga     Email: srinivan@in.ibm.com
//------------------------------------------------------------------------------
// *HWP HWP Owner   : Abhishek Agarwal <abagarw8@in.ibm.com>
// *HWP FW Owner    : sunil kumar <skumar8j@in.ibm.com>
// *HWP Team        : Perv
// *HWP Level       : 1
// *HWP Consumed by : SBE
//------------------------------------------------------------------------------


#ifndef _P9_SBE_CHIPLET_PLL_INITF_H_
#define _P9_SBE_CHIPLET_PLL_INITF_H_


#include <fapi2.H>


typedef fapi2::ReturnCode (*p9_sbe_chiplet_pll_initf_FP_t)(
    const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP> &);

/// @brief load the pll config settings for L2 AND L3 plls
///
/// @param[in]     i_target_chip   Reference to TARGET_TYPE_PROC_CHIP target
/// @return  FAPI2_RC_SUCCESS if success, else error code.
extern "C"
{
    fapi2::ReturnCode p9_sbe_chiplet_pll_initf(const
            fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP> & i_target_chip);
}

#endif
OpenPOWER on IntegriCloud