gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / drivers / net / wireless / ti / wlcore / ps.h
blobe3b883594f444ccca6ceb4691d75839c765cacf0
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * This file is part of wl1271
5 * Copyright (C) 2008-2009 Nokia Corporation
7 * Contact: Luciano Coelho <luciano.coelho@nokia.com>
8 */
10 #ifndef __PS_H__
11 #define __PS_H__
13 #include "wlcore.h"
14 #include "acx.h"
16 int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif,
17 enum wl1271_cmd_ps_mode mode);
18 void wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif,
19 u8 hlid, bool clean_queues);
20 void wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid);
22 #define WL1271_PS_COMPLETE_TIMEOUT 500
24 #endif /* __WL1271_PS_H__ */