mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
47ad486dbe
PD#SWPL-141905 Problem: kernel 5.15 have no wifi comm API Solution: kernel 5.15 add wifi comm API Verify: ohm Change-Id: I14b3443d7ce7894c019cd76f0891f157f15f1f5d Signed-off-by: jiabin.chen <jiabin.chen@amlogic.com>
26 lines
752 B
C
26 lines
752 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _wifi_dt_h_
|
|
#define _wifi_dt_h_
|
|
|
|
void extern_wifi_set_enable(int is_on);
|
|
int wifi_irq_num(void);
|
|
void set_usb_bt_power(int is_power);
|
|
void aml_wifi_chip(const char *type);
|
|
|
|
#ifdef CONFIG_PCI
|
|
/*amlogic 4.9 kernel support pci interface wifi*/
|
|
void pci_lock_rescan_remove(void);
|
|
struct pci_bus *pci_find_next_bus(const struct pci_bus *from);
|
|
unsigned int pci_rescan_bus(struct pci_bus *bus);
|
|
void pci_unlock_rescan_remove(void);
|
|
struct pci_dev *pci_get_device(unsigned int vendor, unsigned int device,
|
|
struct pci_dev *from);
|
|
void pci_stop_and_remove_bus_device_locked(struct pci_dev *dev);
|
|
#endif
|
|
|
|
#endif /* _wifi_dt_h_ */
|