Lines Matching +full:1 +full:- +full:5

1 // SPDX-License-Identifier: GPL-2.0
65 /* DDR3-800D */
66 { {6, 5, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 5, 0, 5, 0} },
67 /* DDR3-800E */
69 /* DDR3-1066E */
70 { {6, 5, 6, 0, 0, 0, 0, 5, 5, 6, 0, 0, 5, 0, 5, 0} },
71 /* DDR3-1066F */
73 /* DDR3-1066G */
75 /* DDR3-1333F* */
76 { {6, 5, 6, 7, 0, 0, 0, 5, 5, 6, 0, 7, 5, 0, 5, 0} },
77 /* DDR3-1333G */
78 { {6, 5, 7, 8, 0, 0, 0, 5, 5, 7, 0, 8, 5, 0, 5, 0} },
79 /* DDR3-1333H */
81 /* DDR3-1333J* */
83 /* DDR3-1600G* */},
84 { {6, 5, 6, 7, 8, 0, 0, 5, 5, 6, 0, 7, 5, 0, 5, 0} },
85 /* DDR3-1600H */
86 { {6, 5, 6, 8, 9, 0, 0, 5, 5, 6, 0, 8, 5, 0, 5, 0} },
87 /* DDR3-1600J */
88 { {6, 5, 7, 9, 10, 0, 0, 5, 5, 7, 0, 9, 5, 0, 5, 0} },
89 /* DDR3-1600K */
91 /* DDR3-1866J* */
92 { {6, 5, 6, 8, 9, 11, 0, 5, 5, 6, 11, 8, 5, 0, 5, 0} },
93 /* DDR3-1866K */
94 { {6, 5, 7, 8, 10, 11, 0, 5, 5, 7, 11, 8, 5, 11, 5, 11} },
95 /* DDR3-1866L */
97 /* DDR3-1866M* */
99 /* DDR3-2133K* */
100 { {6, 5, 6, 7, 9, 10, 11, 5, 5, 6, 10, 7, 5, 11, 5, 11} },
101 /* DDR3-2133L */
102 { {6, 5, 6, 8, 9, 11, 12, 5, 5, 6, 11, 8, 5, 12, 5, 12} },
103 /* DDR3-2133M */
104 { {6, 5, 7, 9, 10, 12, 13, 5, 5, 7, 12, 9, 5, 13, 5, 13} },
105 /* DDR3-2133N* */
107 /* DDR3-1333H-ext */
109 /* DDR3-1600K-ext */
111 /* DDR3-1866M-ext */
127 /* DDR3-800D */
128 { {5, 5, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 5, 0, 5, 0} },
129 /* DDR3-800E */
130 { {5, 5, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 5, 0, 5, 0} },
131 /* DDR3-1066E */
132 { {5, 5, 6, 0, 0, 0, 0, 5, 5, 6, 0, 7, 5, 0, 5, 0} },
133 /* DDR3-1066F */
134 { {5, 5, 6, 0, 0, 0, 0, 5, 5, 6, 0, 7, 5, 0, 5, 0} },
135 /* DDR3-1066G */
136 { {5, 5, 6, 0, 0, 0, 0, 5, 5, 6, 0, 7, 5, 0, 5, 0} },
137 /* DDR3-1333F* */
138 { {5, 5, 6, 7, 0, 0, 0, 5, 5, 6, 0, 7, 5, 0, 5, 0} },
139 /* DDR3-1333G */
140 { {5, 5, 6, 7, 0, 0, 0, 5, 5, 6, 0, 7, 5, 0, 5, 0} },
141 /* DDR3-1333H */
142 { {5, 5, 6, 7, 0, 0, 0, 5, 5, 6, 0, 7, 5, 0, 5, 0} },
143 /* DDR3-1333J* */
144 { {5, 5, 6, 7, 0, 0, 0, 5, 5, 6, 0, 7, 5, 0, 5, 0} },
145 /* DDR3-1600G* */
146 { {5, 5, 6, 7, 8, 0, 0, 5, 5, 6, 0, 7, 5, 0, 5, 0} },
147 /* DDR3-1600H */
148 { {5, 5, 6, 7, 8, 0, 0, 5, 5, 6, 0, 7, 5, 0, 5, 0} },
149 /* DDR3-1600J */
150 { {5, 5, 6, 7, 8, 0, 0, 5, 5, 6, 0, 7, 5, 0, 5, 0} },
151 /* DDR3-1600K */
152 { {5, 5, 6, 7, 8, 0, 0, 5, 5, 6, 0, 7, 5, 0, 5, 0} },
153 /* DDR3-1866J* */
154 { {5, 5, 6, 7, 8, 9, 0, 5, 5, 6, 9, 7, 5, 0, 5, 0} },
155 /* DDR3-1866K */
156 { {5, 5, 6, 7, 8, 9, 0, 5, 5, 6, 9, 7, 5, 0, 5, 0} },
157 /* DDR3-1866L */
158 { {5, 5, 6, 7, 8, 9, 0, 5, 5, 6, 9, 7, 5, 9, 5, 9} },
159 /* DDR3-1866M* */
160 { {5, 5, 6, 7, 8, 9, 0, 5, 5, 6, 9, 7, 5, 9, 5, 9} },
161 /* DDR3-2133K* */
162 { {5, 5, 6, 7, 8, 9, 10, 5, 5, 6, 9, 7, 5, 9, 5, 10} },
163 /* DDR3-2133L */
164 { {5, 5, 6, 7, 8, 9, 10, 5, 5, 6, 9, 7, 5, 9, 5, 10} },
165 /* DDR3-2133M */
166 { {5, 5, 6, 7, 8, 9, 10, 5, 5, 6, 9, 7, 5, 9, 5, 10} },
167 /* DDR3-2133N* */
168 { {5, 5, 6, 7, 8, 9, 10, 5, 5, 6, 9, 7, 5, 9, 5, 10} },
169 /* DDR3-1333H-ext */
170 { {5, 5, 6, 7, 0, 0, 0, 5, 5, 6, 0, 7, 5, 0, 5, 0} },
171 /* DDR3-1600K-ext */
172 { {5, 5, 6, 7, 8, 0, 0, 5, 5, 6, 0, 7, 5, 0, 5, 0} },
173 /* DDR3-1866M-ext */
174 { {5, 5, 6, 7, 8, 9, 0, 5, 5, 6, 9, 7, 5, 9, 5, 9} },
188 1, /* 5 */
193 5, /* 10 */
243 110, /* 1G */
247 0, /* TODO: placeholder for 16-Mbit dev width */
248 0, /* TODO: placeholder for 32-Mbit dev width */
249 0, /* TODO: placeholder for 12-Mbit dev width */
250 0 /* TODO: placeholder for 24-Mbit dev width */
313 {1, 0},
315 {1, 0},
316 {1, 1},
317 {0, 1},
318 {0, 1},
319 {1, 0},
320 {0, 1},
321 {1, 0},
322 {0, 1},
323 {1, 0},
324 {1, 0},
325 {0, 1},
326 {1, 0},
327 {0, 1},
329 {1, 1},
331 {1, 1},
333 {1, 1},
335 {1, 1},
336 {1, 0},
338 {1, 1},
340 {1, 1},
344 {0, 1},
345 {0, 1},
346 {1, 1},
349 {1, 1},
350 {1, 1},
352 {1, 1},
354 {1, 1},
355 {1, 1},
358 {1, 1},
360 {1, 1},
361 {0, 1},
363 {0, 1},
364 {0, 1},
366 {1, 1},
367 {1, 1},
368 {1, 0},
369 {1, 0},
370 {1, 1},
371 {1, 1},
372 {1, 1},
373 {1, 1},
374 {1, 1},
375 {1, 1},
376 {1, 1}
380 /* 1 means 0xffffffff, 0 is 0x0 */
392 /* 8-bit, 16-bit page size */
394 {MV_DDR_PAGE_SIZE_1K, MV_DDR_PAGE_SIZE_2K}, /* 1G */
398 {0, 0}, /* TODO: placeholder for 16-Mbit die capacity */
399 {0, 0}, /* TODO: placeholder for 32-Mbit die capacity */
400 {0, 0}, /* TODO: placeholder for 12-Mbit die capacity */
401 {0, 0} /* TODO: placeholder for 24-Mbit die capacity */
535 byte1 |= pattern_killer_pattern_table_map[index * 2 + 1][role] << i; in pattern_table_get_killer_word16()
543 u8 step = sso + 1; in pattern_table_get_sso_word()
545 if (0 == ((index / step) & 1)) in pattern_table_get_sso_word()
553 u8 byte = (1 << bit); in pattern_table_get_sso_full_xtalk_word()
555 if ((index & 1) == 1) in pattern_table_get_sso_full_xtalk_word()
564 u8 byte = (1 << bit); in pattern_table_get_sso_xtalk_free_word()
566 if ((index & 1) == 1) in pattern_table_get_sso_xtalk_free_word()
579 word = ((i1 == 5) | (i1 == 7)) ? 0xffffffff : 0x0; in pattern_table_get_isi_word()
590 u8 byte = (1 << bit); in pattern_table_get_sso_full_xtalk_word16()
592 if ((index & 1) == 1) in pattern_table_get_sso_full_xtalk_word16()
600 u8 byte = (1 << bit); in pattern_table_get_sso_xtalk_free_word16()
602 if ((index & 1) == 0) in pattern_table_get_sso_xtalk_free_word16()
615 word = (i1 > 1) ? 0x0000ffff : 0x0; in pattern_table_get_isi_word16()
627 (index % 8)) & 1)) in pattern_table_get_vref_word()
638 [PATTERN_KILLER_PATTERN_TABLE_MAP_ROLE_VICTIM][index * 2 + 1]) in pattern_table_get_vref_word16()
640 else if (1 == pattern_killer_pattern_table_map in pattern_table_get_vref_word16()
643 [PATTERN_KILLER_PATTERN_TABLE_MAP_ROLE_VICTIM][index * 2 + 1]) in pattern_table_get_vref_word16()
647 1 == pattern_killer_pattern_table_map in pattern_table_get_vref_word16()
648 [PATTERN_KILLER_PATTERN_TABLE_MAP_ROLE_VICTIM][index * 2 + 1]) in pattern_table_get_vref_word16()
668 if (DDR3_IS_16BIT_DRAM_MODE(tm->bus_act_mask) == 0) { in pattern_table_get_word()
669 /* 32/64-bit patterns */ in pattern_table_get_word()
673 if (index == 0 || index == 2 || index == 5 || in pattern_table_get_word()
680 if (0 == (index & 1)) in pattern_table_get_word()
703 (u8)(type - PATTERN_KILLER_DQ0), index); in pattern_table_get_word()
712 if (index > 1 && index < 6) in pattern_table_get_word()
722 (u8)(type - PATTERN_FULL_SSO0), index); in pattern_table_get_word()
736 (u8)(type - PATTERN_SSO_FULL_XTALK_DQ0), index); in pattern_table_get_word()
747 (u8)(type - PATTERN_SSO_XTALK_FREE_DQ0), index); in pattern_table_get_word()
784 (u8)(type - PATTERN_KILLER_DQ0), index); in pattern_table_get_word()
805 (u8)(type - PATTERN_FULL_SSO1), index); in pattern_table_get_word()
819 (u8)(type - PATTERN_SSO_FULL_XTALK_DQ0), index); in pattern_table_get_word()
830 (u8)(type - PATTERN_SSO_XTALK_FREE_DQ0), index); in pattern_table_get_word()
854 ddr_dev_attr_init_done = 1; in ddr3_tip_dev_attr_init()