blob: 35b3db67074d31d92189e4946c0e7f493b46f924 [file] [log] [blame]
Kevin Scholz521a4ef2019-10-07 19:26:36 +05301// SPDX-License-Identifier: BSD-3-Clause
2/**********************************************************************
3 * Copyright (C) 2012-2019 Cadence Design Systems, Inc.
4 **********************************************************************
5 * WARNING: This file is auto-generated using api-generator utility.
6 * api-generator: 12.02.13bb8d5
7 * Do not edit it manually.
8 **********************************************************************
9 * Cadence Core Driver for LPDDR4.
10 **********************************************************************
11 */
12
13#include "lpddr4_obj_if.h"
14
15LPDDR4_OBJ *lpddr4_getinstance(void)
16{
17 static LPDDR4_OBJ driver = {
18 .probe = lpddr4_probe,
19 .init = lpddr4_init,
20 .start = lpddr4_start,
21 .readreg = lpddr4_readreg,
22 .writereg = lpddr4_writereg,
23 .getmmrregister = lpddr4_getmmrregister,
24 .setmmrregister = lpddr4_setmmrregister,
25 .writectlconfig = lpddr4_writectlconfig,
26 .writephyconfig = lpddr4_writephyconfig,
27 .writephyindepconfig = lpddr4_writephyindepconfig,
28 .readctlconfig = lpddr4_readctlconfig,
29 .readphyconfig = lpddr4_readphyconfig,
30 .readphyindepconfig = lpddr4_readphyindepconfig,
31 .getctlinterruptmask = lpddr4_getctlinterruptmask,
32 .setctlinterruptmask = lpddr4_setctlinterruptmask,
33 .checkctlinterrupt = lpddr4_checkctlinterrupt,
34 .ackctlinterrupt = lpddr4_ackctlinterrupt,
35 .getphyindepinterruptmask = lpddr4_getphyindepinterruptmask,
36 .setphyindepinterruptmask = lpddr4_setphyindepinterruptmask,
37 .checkphyindepinterrupt = lpddr4_checkphyindepinterrupt,
38 .ackphyindepinterrupt = lpddr4_ackphyindepinterrupt,
39 .getdebuginitinfo = lpddr4_getdebuginitinfo,
40 .getlpiwakeuptime = lpddr4_getlpiwakeuptime,
41 .setlpiwakeuptime = lpddr4_setlpiwakeuptime,
42 .geteccenable = lpddr4_geteccenable,
43 .seteccenable = lpddr4_seteccenable,
44 .getreducmode = lpddr4_getreducmode,
45 .setreducmode = lpddr4_setreducmode,
46 .getdbireadmode = lpddr4_getdbireadmode,
47 .getdbiwritemode = lpddr4_getdbiwritemode,
48 .setdbimode = lpddr4_setdbimode,
49 .getrefreshrate = lpddr4_getrefreshrate,
50 .setrefreshrate = lpddr4_setrefreshrate,
51 .refreshperchipselect = lpddr4_refreshperchipselect,
52 };
53
54 return &driver;
55}