Lines Matching refs:bpmp_init_state
22 static uint32_t bpmp_init_state = BPMP_INIT_PENDING; variable
58 if (bpmp_init_state == BPMP_INIT_COMPLETE) { in tegra_bpmp_send_receive_atomic()
122 if (bpmp_init_state == BPMP_INIT_PENDING) { in tegra_bpmp_init()
166 bpmp_init_state = BPMP_INIT_COMPLETE; in tegra_bpmp_init()
171 flush_dcache_range((uint64_t)&bpmp_init_state, in tegra_bpmp_init()
172 sizeof(bpmp_init_state)); in tegra_bpmp_init()
180 bpmp_init_state = BPMP_NOT_PRESENT; in tegra_bpmp_init()
193 if (bpmp_init_state == BPMP_INIT_COMPLETE) { in tegra_bpmp_suspend()
194 bpmp_init_state = BPMP_SUSPEND_ENTRY; in tegra_bpmp_suspend()
195 flush_dcache_range((uint64_t)&bpmp_init_state, in tegra_bpmp_suspend()
196 sizeof(bpmp_init_state)); in tegra_bpmp_suspend()
204 if (bpmp_init_state == BPMP_SUSPEND_ENTRY) { in tegra_bpmp_resume()
222 bpmp_init_state = BPMP_INIT_COMPLETE; in tegra_bpmp_resume()
225 flush_dcache_range((uint64_t)&bpmp_init_state, in tegra_bpmp_resume()
226 sizeof(bpmp_init_state)); in tegra_bpmp_resume()