xref: /openbsd-src/sys/dev/pci/drm/include/asm/iosf_mbi.h (revision f84b1df5a16cdd762c93854218de246e79975d3b)
1 /* Public domain. */
2 
3 #ifndef _ASM_IOSF_MBI_H
4 #define _ASM_IOSF_MBI_H
5 
6 struct notifier_block;
7 
8 #define MBI_PMIC_BUS_ACCESS_BEGIN	1
9 #define MBI_PMIC_BUS_ACCESS_END		2
10 
11 static inline void
12 iosf_mbi_assert_punit_acquired(void)
13 {
14 }
15 
16 static inline void
17 iosf_mbi_punit_acquire(void)
18 {
19 }
20 
21 static inline void
22 iosf_mbi_punit_release(void)
23 {
24 }
25 
26 static inline int
27 iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb)
28 {
29 	return 0;
30 }
31 
32 static inline int
33 iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(struct notifier_block *nb)
34 {
35 	return 0;
36 }
37 
38 #endif
39