forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_bus.h
old mode 100644new mode 100755
....@@ -31,6 +31,8 @@
3131
3232 extern int dbus_up(struct dhd_bus *pub);
3333 extern int dbus_stop(struct dhd_bus *pub);
34
+extern int dbus_send_ctl(struct dhd_bus *pub, uint8 *buf, int len);
35
+extern int dbus_recv_ctl(struct dhd_bus *pub, uint8 *buf, int len);
3436 /*
3537 * Exported from dhd bus module (dhd_usb, dhd_sdio)
3638 */
....@@ -250,6 +252,8 @@
250252 static INLINE void dhd_bus_aer_config(struct dhd_bus *bus) { }
251253 #endif /* LINUX || linux */
252254
255
+extern struct device * dhd_bus_to_dev(struct dhd_bus *bus);
256
+
253257 extern int dhdpcie_cto_init(struct dhd_bus *bus, bool enable);
254258 extern int dhdpcie_cto_cfg_init(struct dhd_bus *bus, bool enable);
255259
....@@ -309,7 +313,7 @@
309313 static INLINE void dhd_bus_set_linkdown(dhd_pub_t *dhdp, bool val) { }
310314 static INLINE int dhd_bus_get_linkdown(dhd_pub_t *dhdp) { return 0; }
311315 static INLINE int dhd_bus_get_cto(dhd_pub_t *dhdp) { return 0; }
312
-static INLINE int dhd_bus_checkdied(struct dhd_bus *bus, char *data, uint size) { return 0; }
316
+extern INLINE int dhd_bus_checkdied(struct dhd_bus *bus, char *data, uint size) { return 0; }
313317 #endif /* BCMPCIE */
314318
315319 #if defined(BCMPCIE) && defined(EWP_ETD_PRSRV_LOGS)