xref: /linux/drivers/net/wireless/morsemicro/mm81x/ps.h (revision 91ec2035134982b98fab0609a9fd8480e8217dc1)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2017-2026 Morse Micro
4  */
5 
6 #ifndef _MM81X_PS_H_
7 #define _MM81X_PS_H_
8 
9 #include "core.h"
10 
11 /* This should be nominally <= the dynamic ps timeout */
12 #define NETWORK_BUS_TIMEOUT_MS (90)
13 
14 /* The default period of time to wait to re-evaluate powersave */
15 #define DEFAULT_BUS_TIMEOUT_MS (50)
16 
17 void mm81x_ps_disable(struct mm81x *mors);
18 void mm81x_ps_enable(struct mm81x *mors);
19 int mm81x_ps_init(struct mm81x *mors);
20 void mm81x_ps_finish(struct mm81x *mors);
21 
22 #endif /* !_MM81X_PS_H_ */
23