gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / drivers / net / wireless / ti / wl1251 / boot.h
blob4a4ffef22f4e38111fb2878a8b31cf509705451b
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * This file is part of wl1251
5 * Copyright (C) 2008 Nokia Corporation
6 */
8 #ifndef __BOOT_H__
9 #define __BOOT_H__
11 #include "wl1251.h"
13 int wl1251_boot_soft_reset(struct wl1251 *wl);
14 int wl1251_boot_init_seq(struct wl1251 *wl);
15 int wl1251_boot_run_firmware(struct wl1251 *wl);
16 void wl1251_boot_target_enable_interrupts(struct wl1251 *wl);
17 int wl1251_boot(struct wl1251 *wl);
19 /* number of times we try to read the INIT interrupt */
20 #define INIT_LOOP 20000
22 /* delay between retries */
23 #define INIT_LOOP_DELAY 50
25 #endif