Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
jedec_ddr.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  lpddr2_addressing
 
struct  lpddr2_timings
 
struct  lpddr2_min_tck
 

Macros

#define DDR_DENSITY_64Mb   1
 
#define DDR_DENSITY_128Mb   2
 
#define DDR_DENSITY_256Mb   3
 
#define DDR_DENSITY_512Mb   4
 
#define DDR_DENSITY_1Gb   5
 
#define DDR_DENSITY_2Gb   6
 
#define DDR_DENSITY_4Gb   7
 
#define DDR_DENSITY_8Gb   8
 
#define DDR_DENSITY_16Gb   9
 
#define DDR_DENSITY_32Gb   10
 
#define DDR_TYPE_DDR2   1
 
#define DDR_TYPE_DDR3   2
 
#define DDR_TYPE_LPDDR2_S4   3
 
#define DDR_TYPE_LPDDR2_S2   4
 
#define DDR_TYPE_LPDDR2_NVM   5
 
#define DDR_IO_WIDTH_4   1
 
#define DDR_IO_WIDTH_8   2
 
#define DDR_IO_WIDTH_16   3
 
#define DDR_IO_WIDTH_32   4
 
#define R9   9
 
#define R10   10
 
#define R11   11
 
#define R12   12
 
#define R13   13
 
#define R14   14
 
#define R15   15
 
#define R16   16
 
#define C7   7
 
#define C8   8
 
#define C9   9
 
#define C10   10
 
#define C11   11
 
#define C12   12
 
#define B1   0
 
#define B2   1
 
#define B4   2
 
#define B8   3
 
#define T_REFI_15_6   15600
 
#define T_REFI_7_8   7800
 
#define T_REFI_3_9   3900
 
#define T_RFC_90   90000
 
#define T_RFC_110   110000
 
#define T_RFC_130   130000
 
#define T_RFC_160   160000
 
#define T_RFC_210   210000
 
#define T_RFC_300   300000
 
#define T_RFC_350   350000
 
#define DDR_MR0   0
 
#define DDR_MR1   1
 
#define DDR_MR2   2
 
#define DDR_MR3   3
 
#define DDR_MR4   4
 
#define DDR_MR5   5
 
#define DDR_MR6   6
 
#define DDR_MR7   7
 
#define DDR_MR8   8
 
#define DDR_MR9   9
 
#define DDR_MR10   10
 
#define DDR_MR11   11
 
#define DDR_MR16   16
 
#define DDR_MR17   17
 
#define DDR_MR18   18
 
#define MR4_SDRAM_REF_RATE_SHIFT   0
 
#define MR4_SDRAM_REF_RATE_MASK   7
 
#define MR4_TUF_SHIFT   7
 
#define MR4_TUF_MASK   (1 << 7)
 
#define SDRAM_TEMP_NOMINAL   0x3
 
#define SDRAM_TEMP_RESERVED_4   0x4
 
#define SDRAM_TEMP_HIGH_DERATE_REFRESH   0x5
 
#define SDRAM_TEMP_HIGH_DERATE_REFRESH_AND_TIMINGS   0x6
 
#define SDRAM_TEMP_VERY_HIGH_SHUTDOWN   0x7
 
#define NUM_DDR_ADDR_TABLE_ENTRIES   11
 
#define NUM_DDR_TIMING_TABLE_ENTRIES   4
 

Variables

struct lpddr2_addressing lpddr2_jedec_addressing_table [NUM_DDR_ADDR_TABLE_ENTRIES]
 
struct lpddr2_timings lpddr2_jedec_timings [NUM_DDR_TIMING_TABLE_ENTRIES]
 
struct lpddr2_min_tck lpddr2_jedec_min_tck
 

Macro Definition Documentation

#define B1   0

Definition at line 61 of file jedec_ddr.h.

#define B2   1

Definition at line 62 of file jedec_ddr.h.

#define B4   2

Definition at line 63 of file jedec_ddr.h.

#define B8   3

Definition at line 64 of file jedec_ddr.h.

#define C10   10

Definition at line 56 of file jedec_ddr.h.

#define C11   11

Definition at line 57 of file jedec_ddr.h.

#define C12   12

Definition at line 58 of file jedec_ddr.h.

#define C7   7

Definition at line 53 of file jedec_ddr.h.

#define C8   8

Definition at line 54 of file jedec_ddr.h.

#define C9   9

Definition at line 55 of file jedec_ddr.h.

#define DDR_DENSITY_128Mb   2

Definition at line 19 of file jedec_ddr.h.

#define DDR_DENSITY_16Gb   9

Definition at line 26 of file jedec_ddr.h.

#define DDR_DENSITY_1Gb   5

Definition at line 22 of file jedec_ddr.h.

#define DDR_DENSITY_256Mb   3

Definition at line 20 of file jedec_ddr.h.

#define DDR_DENSITY_2Gb   6

Definition at line 23 of file jedec_ddr.h.

#define DDR_DENSITY_32Gb   10

Definition at line 27 of file jedec_ddr.h.

#define DDR_DENSITY_4Gb   7

Definition at line 24 of file jedec_ddr.h.

#define DDR_DENSITY_512Mb   4

Definition at line 21 of file jedec_ddr.h.

#define DDR_DENSITY_64Mb   1

Definition at line 18 of file jedec_ddr.h.

#define DDR_DENSITY_8Gb   8

Definition at line 25 of file jedec_ddr.h.

#define DDR_IO_WIDTH_16   3

Definition at line 39 of file jedec_ddr.h.

#define DDR_IO_WIDTH_32   4

Definition at line 40 of file jedec_ddr.h.

#define DDR_IO_WIDTH_4   1

Definition at line 37 of file jedec_ddr.h.

#define DDR_IO_WIDTH_8   2

Definition at line 38 of file jedec_ddr.h.

#define DDR_MR0   0

Definition at line 81 of file jedec_ddr.h.

#define DDR_MR1   1

Definition at line 82 of file jedec_ddr.h.

#define DDR_MR10   10

Definition at line 91 of file jedec_ddr.h.

#define DDR_MR11   11

Definition at line 92 of file jedec_ddr.h.

#define DDR_MR16   16

Definition at line 93 of file jedec_ddr.h.

#define DDR_MR17   17

Definition at line 94 of file jedec_ddr.h.

#define DDR_MR18   18

Definition at line 95 of file jedec_ddr.h.

#define DDR_MR2   2

Definition at line 83 of file jedec_ddr.h.

#define DDR_MR3   3

Definition at line 84 of file jedec_ddr.h.

#define DDR_MR4   4

Definition at line 85 of file jedec_ddr.h.

#define DDR_MR5   5

Definition at line 86 of file jedec_ddr.h.

#define DDR_MR6   6

Definition at line 87 of file jedec_ddr.h.

#define DDR_MR7   7

Definition at line 88 of file jedec_ddr.h.

#define DDR_MR8   8

Definition at line 89 of file jedec_ddr.h.

#define DDR_MR9   9

Definition at line 90 of file jedec_ddr.h.

#define DDR_TYPE_DDR2   1

Definition at line 30 of file jedec_ddr.h.

#define DDR_TYPE_DDR3   2

Definition at line 31 of file jedec_ddr.h.

#define DDR_TYPE_LPDDR2_NVM   5

Definition at line 34 of file jedec_ddr.h.

#define DDR_TYPE_LPDDR2_S2   4

Definition at line 33 of file jedec_ddr.h.

#define DDR_TYPE_LPDDR2_S4   3

Definition at line 32 of file jedec_ddr.h.

#define MR4_SDRAM_REF_RATE_MASK   7

Definition at line 103 of file jedec_ddr.h.

#define MR4_SDRAM_REF_RATE_SHIFT   0

Definition at line 102 of file jedec_ddr.h.

#define MR4_TUF_MASK   (1 << 7)

Definition at line 105 of file jedec_ddr.h.

#define MR4_TUF_SHIFT   7

Definition at line 104 of file jedec_ddr.h.

#define NUM_DDR_ADDR_TABLE_ENTRIES   11

Definition at line 114 of file jedec_ddr.h.

#define NUM_DDR_TIMING_TABLE_ENTRIES   4

Definition at line 115 of file jedec_ddr.h.

#define R10   10

Definition at line 44 of file jedec_ddr.h.

#define R11   11

Definition at line 45 of file jedec_ddr.h.

#define R12   12

Definition at line 46 of file jedec_ddr.h.

#define R13   13

Definition at line 47 of file jedec_ddr.h.

#define R14   14

Definition at line 48 of file jedec_ddr.h.

#define R15   15

Definition at line 49 of file jedec_ddr.h.

#define R16   16

Definition at line 50 of file jedec_ddr.h.

#define R9   9

Definition at line 43 of file jedec_ddr.h.

#define SDRAM_TEMP_HIGH_DERATE_REFRESH   0x5

Definition at line 110 of file jedec_ddr.h.

#define SDRAM_TEMP_HIGH_DERATE_REFRESH_AND_TIMINGS   0x6

Definition at line 111 of file jedec_ddr.h.

#define SDRAM_TEMP_NOMINAL   0x3

Definition at line 108 of file jedec_ddr.h.

#define SDRAM_TEMP_RESERVED_4   0x4

Definition at line 109 of file jedec_ddr.h.

#define SDRAM_TEMP_VERY_HIGH_SHUTDOWN   0x7

Definition at line 112 of file jedec_ddr.h.

#define T_REFI_15_6   15600

Definition at line 67 of file jedec_ddr.h.

#define T_REFI_3_9   3900

Definition at line 69 of file jedec_ddr.h.

#define T_REFI_7_8   7800

Definition at line 68 of file jedec_ddr.h.

#define T_RFC_110   110000

Definition at line 73 of file jedec_ddr.h.

#define T_RFC_130   130000

Definition at line 74 of file jedec_ddr.h.

#define T_RFC_160   160000

Definition at line 75 of file jedec_ddr.h.

#define T_RFC_210   210000

Definition at line 76 of file jedec_ddr.h.

#define T_RFC_300   300000

Definition at line 77 of file jedec_ddr.h.

#define T_RFC_350   350000

Definition at line 78 of file jedec_ddr.h.

#define T_RFC_90   90000

Definition at line 72 of file jedec_ddr.h.

Variable Documentation

struct lpddr2_addressing lpddr2_jedec_addressing_table[NUM_DDR_ADDR_TABLE_ENTRIES]

Definition at line 18 of file jedec_ddr_data.c.

struct lpddr2_min_tck lpddr2_jedec_min_tck

Definition at line 122 of file jedec_ddr_data.c.

Definition at line 34 of file jedec_ddr_data.c.