Files
kernel_common_drivers/include/linux/amlogic/wifi_dt.h
T
jiabin.chen 47ad486dbe wifi: kernel 5.15 add wifi comm API [4/4]
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>
2023-10-11 19:44:15 +08:00

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_ */