Lines Matching refs:value
122 uint32_t value; in EFUSE_Init() local
124 value = (init->timing->EFUSE_Tpwph * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
125 value = (value == 0) ? 1 : value; in EFUSE_Init()
126 EFUSE->TIMING_0_b.TPWPH = value >> 2; in EFUSE_Init()
127 EFUSE->TIMING_1_b.TPWPH = value & 0x00000003; in EFUSE_Init()
129 value = (init->timing->EFUSE_Trac * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
130 value = (value == 0) ? 1 : value; in EFUSE_Init()
131 EFUSE->TIMING_0_b.TRAC = value; in EFUSE_Init()
133 value = (init->timing->EFUSE_Trah * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
134 value = (value == 0) ? 1 : value; in EFUSE_Init()
135 EFUSE->TIMING_0_b.TRAH = value; in EFUSE_Init()
137 value = (init->timing->EFUSE_Trpw * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
138 value = (value == 0) ? 1 : value; in EFUSE_Init()
139 EFUSE->TIMING_0_b.TRPW = value; in EFUSE_Init()
141 value = (init->timing->EFUSE_Trc * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
142 value = (value == 0) ? 1 : value; in EFUSE_Init()
143 EFUSE->TIMING_0_b.TRC = value; in EFUSE_Init()
145 value = (init->timing->EFUSE_Tesr * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
146 value = (value == 0) ? 1 : value; in EFUSE_Init()
147 EFUSE->TIMING_0_b.TESR = value; in EFUSE_Init()
149 value = (init->timing->EFUSE_Tprs * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
150 value = (value == 0) ? 1 : value; in EFUSE_Init()
151 EFUSE->TIMING_0_b.TPRS = value; in EFUSE_Init()
153 value = (init->timing->EFUSE_Tpi * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
154 value = (value == 0) ? 1 : value; in EFUSE_Init()
155 EFUSE->TIMING_1_b.TPIT = value; in EFUSE_Init()
157 value = (init->timing->EFUSE_Tpp * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
158 value = (value == 0) ? 1 : value; in EFUSE_Init()
159 EFUSE->TIMING_1_b.TPP = value; in EFUSE_Init()
161 value = (init->timing->EFUSE_Teps * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
162 value = (value == 0) ? 1 : value; in EFUSE_Init()
163 EFUSE->TIMING_1_b.TEPS = value; in EFUSE_Init()
165 value = (init->timing->EFUSE_Teps * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
166 value = (value == 0) ? 1 : value; in EFUSE_Init()
167 EFUSE->TIMING_1_b.TPWPS = value; in EFUSE_Init()