Home
last modified time | relevance | path

Searched refs:dhd_bus (Results 1 – 25 of 56) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddbus.c81 typedef struct dhd_bus { struct
137 info->drvintf->exec_rxlock(dhd_bus->bus_info, ((exec_cb_t)fn), ((struct exec_parms *) a)) argument
140 info->drvintf->exec_txlock(dhd_bus->bus_info, ((exec_cb_t)fn), ((struct exec_parms *) a))
198 static int dbus_tx_timer_init(dhd_bus_t *dhd_bus);
199 static int dbus_tx_timer_start(dhd_bus_t *dhd_bus, uint timeout);
200 static int dbus_tx_timer_stop(dhd_bus_t *dhd_bus);
201 static int dbus_irbq_init(dhd_bus_t *dhd_bus, dbus_irbq_t *q, int nq, int size_irb);
202 static int dbus_irbq_deinit(dhd_bus_t *dhd_bus, dbus_irbq_t *q, int size_irb);
203 static int dbus_rxirbs_fill(dhd_bus_t *dhd_bus);
213 static int dbus_get_nvram(dhd_bus_t *dhd_bus);
[all …]
H A Ddhd_bus.h32 extern int dbus_up(struct dhd_bus *pub);
33 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);
41 extern struct dhd_bus *g_dhd_bus;
48 extern int dhd_bus_download_firmware(struct dhd_bus *bus, osl_t *osh,
51 extern int dhd_bus_download_btfw(struct dhd_bus *bus, osl_t *osh, char *btfw_path);
55 extern void dhd_bus_stop(struct dhd_bus *bus, bool enforce_mutex);
68 extern int dhd_bus_txdata(struct dhd_bus *bus, void *txp, uint8 ifidx);
70 extern int dhd_bus_txdata(struct dhd_bus *bus, void *txp);
[all …]
H A Ddhd_pcie.h199 struct dhd_bus;
203 void (*handle_mb_data)(struct dhd_bus *);
268 typedef struct dhd_bus { struct
730 extern uint32 dhdpcie_bus_cfg_read_dword(struct dhd_bus *bus, uint32 addr, uint32 size);
731 extern void dhdpcie_bus_cfg_write_dword(struct dhd_bus *bus, uint32 addr, uint32 size, uint32 data);
732 extern void dhdpcie_bus_intr_enable(struct dhd_bus *bus);
733 extern void dhdpcie_bus_intr_disable(struct dhd_bus *bus);
735 extern void dhdpcie_bus_release(struct dhd_bus *bus);
736 extern int32 dhdpcie_bus_isr(struct dhd_bus *bus);
738 extern void dhdpcie_bus_ringbell_fast(struct dhd_bus *bus, uint32 value);
[all …]
H A Ddhd_pcie.c195 struct dhd_bus *g_dhd_bus = NULL;
211 static int dhdpcie_bus_lpback_req(struct dhd_bus *bus, uint32 intval);
212 static int dhdpcie_bus_dmaxfer_req(struct dhd_bus *bus,
217 static int dhdpcie_bus_set_tx_lpback(struct dhd_bus *bus, bool enable);
218 static int dhdpcie_bus_get_tx_lpback(struct dhd_bus *bus);
224 static int _dhdpcie_download_firmware(struct dhd_bus *bus);
302 struct dhd_bus *bus, unsigned char **p_dlarray,
335 static int dhdpcie_cto_error_recovery(struct dhd_bus *bus);
337 static int dhdpcie_init_d11status(struct dhd_bus *bus);
339 static int dhdpcie_wrt_rnd(struct dhd_bus *bus);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddbus.c80 typedef struct dhd_bus { struct
136 info->drvintf->exec_rxlock(dhd_bus->bus_info, ((exec_cb_t)fn), ((struct exec_parms *) a)) argument
139 info->drvintf->exec_txlock(dhd_bus->bus_info, ((exec_cb_t)fn), ((struct exec_parms *) a))
197 static int dbus_tx_timer_init(dhd_bus_t *dhd_bus);
198 static int dbus_tx_timer_start(dhd_bus_t *dhd_bus, uint timeout);
199 static int dbus_tx_timer_stop(dhd_bus_t *dhd_bus);
200 static int dbus_irbq_init(dhd_bus_t *dhd_bus, dbus_irbq_t *q, int nq, int size_irb);
201 static int dbus_irbq_deinit(dhd_bus_t *dhd_bus, dbus_irbq_t *q, int size_irb);
202 static int dbus_rxirbs_fill(dhd_bus_t *dhd_bus);
212 static int dbus_get_nvram(dhd_bus_t *dhd_bus);
[all …]
H A Ddhd_bus.h37 extern int dbus_up(struct dhd_bus *pub);
38 extern int dbus_stop(struct dhd_bus *pub);
39 extern int dbus_send_ctl(struct dhd_bus *pub, uint8 *buf, int len);
40 extern int dbus_recv_ctl(struct dhd_bus *pub, uint8 *buf, int len);
50 extern int dhd_bus_download_firmware(struct dhd_bus *bus, osl_t *osh,
53 extern int dhd_bus_download_btfw(struct dhd_bus *bus, osl_t *osh, char *btfw_path);
57 extern void dhd_bus_stop(struct dhd_bus *bus, bool enforce_mutex);
75 extern int dhd_bus_txdata(struct dhd_bus *bus, void *txp, uint8 ifidx);
77 extern int dhd_bus_txdata(struct dhd_bus *bus, void *txp);
80 extern struct device * dhd_bus_to_dev(struct dhd_bus *bus);
[all …]
H A Ddhd_pcie.h172 struct dhd_bus;
176 void (*handle_mb_data)(struct dhd_bus *);
210 typedef struct dhd_bus { struct
405 extern struct dhd_bus* dhdpcie_bus_attach(osl_t *osh, argument
407 extern uint32 dhdpcie_bus_cfg_read_dword(struct dhd_bus *bus, uint32 addr, uint32 size);
408 extern void dhdpcie_bus_cfg_write_dword(struct dhd_bus *bus, uint32 addr, uint32 size, uint32 data);
409 extern void dhdpcie_bus_intr_enable(struct dhd_bus *bus);
410 extern void dhdpcie_bus_intr_disable(struct dhd_bus *bus);
412 extern void dhdpcie_bus_release(struct dhd_bus *bus);
413 extern int32 dhdpcie_bus_isr(struct dhd_bus *bus);
[all …]
H A Ddhd_pcie.c98 struct dhd_bus *g_dhd_bus = NULL;
106 static int dhdpcie_bus_lpback_req(struct dhd_bus *bus, uint32 intval);
107 static int dhdpcie_bus_dmaxfer_req(struct dhd_bus *bus,
110 static int _dhdpcie_download_firmware(struct dhd_bus *bus);
162 static void dhdpcie_cto_error_recovery(struct dhd_bus *bus);
165 static void dhdpcie_wrt_rnd(struct dhd_bus *bus);
443 dhd_bus_chip(struct dhd_bus *bus) in dhd_bus_chip()
450 dhd_bus_chiprev(struct dhd_bus *bus) in dhd_bus_chiprev()
458 dhd_bus_pub(struct dhd_bus *bus) in dhd_bus_pub()
464 dhd_bus_sih(struct dhd_bus *bus) in dhd_bus_sih()
[all …]
H A Ddhd_linux.h174 extern void dhd_free_module_memory(struct dhd_bus *bus, struct module_metadata *hmem);
175 extern void* dhd_alloc_module_memory(struct dhd_bus *bus, uint32_t size,
H A Ddhd_pcie_linux.c579 int bcmpcie_get_total_wake(struct dhd_bus *bus) in bcmpcie_get_total_wake()
586 int bcmpcie_set_get_wake(struct dhd_bus *bus, int flag) in bcmpcie_set_get_wake()
1047 dhdpcie_get_pcieirq(struct dhd_bus *bus, unsigned int *irq) in dhdpcie_get_pcieirq()
1820 dhdpcie_bus_request_irq(struct dhd_bus *bus) in dhdpcie_bus_request_irq()
2053 dhd_oob_set_bt_reg_on(struct dhd_bus *bus, bool val) in dhd_oob_set_bt_reg_on()
2067 dhd_oob_get_bt_reg_on(struct dhd_bus *bus) in dhd_oob_get_bt_reg_on()
2089 dhd_os_oob_set_device_wake(struct dhd_bus *bus, bool val) in dhd_os_oob_set_device_wake()
2113 dhd_os_ib_set_device_wake(struct dhd_bus *bus, bool val) in dhd_os_ib_set_device_wake()
2282 dhd_free_module_memory(struct dhd_bus *bus, struct module_metadata *hmem) in dhd_free_module_memory()
2296 dhd_alloc_module_memory(struct dhd_bus *bus, uint32_t size, struct module_metadata *hmem) in dhd_alloc_module_memory()
H A Ddhd_sdio.c261 typedef struct dhd_bus { struct
706 static void dhd_dongle_setramsize(struct dhd_bus *bus, int mem_size);
727 static int dhdsdio_download_ucode_file(struct dhd_bus *bus, char *ucode_path);
754 static int read_more_btbytes(struct dhd_bus *bus, void * file, char *line, int * addr_mode,
756 static int dhdsdio_download_btfw(struct dhd_bus *bus, osl_t *osh, void *sdh);
757 static int _dhdsdio_download_btfw(struct dhd_bus *bus);
771 dhdsdio_tune_fifoparam(struct dhd_bus *bus) in dhdsdio_tune_fifoparam()
816 dhd_dongle_setramsize(struct dhd_bus *bus, int mem_size) in dhd_dongle_setramsize()
2130 int __dhdsdio_clk_enable(struct dhd_bus *bus, bus_owner_t owner, int can_wait) in __dhdsdio_clk_enable()
2164 int __dhdsdio_clk_disable(struct dhd_bus *bus, bus_owner_t owner, int can_wait) in __dhdsdio_clk_disable()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddbus.c85 typedef struct dhd_bus { struct
142 info->drvintf->exec_rxlock(dhd_bus->bus_info, ((exec_cb_t)fn), ((struct exec_parms *) a)) argument
145 info->drvintf->exec_txlock(dhd_bus->bus_info, ((exec_cb_t)fn), ((struct exec_parms *) a))
200 static int dbus_tx_timer_init(dhd_bus_t *dhd_bus);
201 static int dbus_tx_timer_start(dhd_bus_t *dhd_bus, uint timeout);
202 static int dbus_tx_timer_stop(dhd_bus_t *dhd_bus);
203 static int dbus_irbq_init(dhd_bus_t *dhd_bus, dbus_irbq_t *q, int nq, int size_irb);
204 static int dbus_irbq_deinit(dhd_bus_t *dhd_bus, dbus_irbq_t *q, int size_irb);
205 static int dbus_rxirbs_fill(dhd_bus_t *dhd_bus);
212 static int dbus_get_nvram(dhd_bus_t *dhd_bus);
[all …]
H A Ddhd_bus.h32 extern int dbus_up(struct dhd_bus *pub);
33 extern int dbus_stop(struct dhd_bus *pub);
39 extern struct dhd_bus *g_dhd_bus;
46 extern int dhd_bus_download_firmware(struct dhd_bus *bus, osl_t *osh,
49 extern int dhd_bus_download_btfw(struct dhd_bus *bus, osl_t *osh, char *btfw_path);
53 extern void dhd_bus_stop(struct dhd_bus *bus, bool enforce_mutex);
66 extern int dhd_bus_txdata(struct dhd_bus *bus, void *txp, uint8 ifidx);
68 extern int dhd_bus_txdata(struct dhd_bus *bus, void *txp);
81 extern int dhd_bus_txctl(struct dhd_bus *bus, uchar *msg, uint msglen);
82 extern int dhd_bus_rxctl(struct dhd_bus *bus, uchar *msg, uint msglen);
[all …]
H A Ddhd_pcie.h199 struct dhd_bus;
203 void (*handle_mb_data)(struct dhd_bus *);
268 typedef struct dhd_bus { struct
730 extern uint32 dhdpcie_bus_cfg_read_dword(struct dhd_bus *bus, uint32 addr, uint32 size);
731 extern void dhdpcie_bus_cfg_write_dword(struct dhd_bus *bus, uint32 addr, uint32 size, uint32 data);
732 extern void dhdpcie_bus_intr_enable(struct dhd_bus *bus);
733 extern void dhdpcie_bus_intr_disable(struct dhd_bus *bus);
735 extern void dhdpcie_bus_release(struct dhd_bus *bus);
736 extern int32 dhdpcie_bus_isr(struct dhd_bus *bus);
738 extern void dhdpcie_bus_ringbell_fast(struct dhd_bus *bus, uint32 value);
[all …]
H A Ddhd_pcie.c195 struct dhd_bus *g_dhd_bus = NULL;
211 static int dhdpcie_bus_lpback_req(struct dhd_bus *bus, uint32 intval);
212 static int dhdpcie_bus_dmaxfer_req(struct dhd_bus *bus,
217 static int dhdpcie_bus_set_tx_lpback(struct dhd_bus *bus, bool enable);
218 static int dhdpcie_bus_get_tx_lpback(struct dhd_bus *bus);
224 static int _dhdpcie_download_firmware(struct dhd_bus *bus);
302 struct dhd_bus *bus, unsigned char **p_dlarray,
335 static int dhdpcie_cto_error_recovery(struct dhd_bus *bus);
337 static int dhdpcie_init_d11status(struct dhd_bus *bus);
339 static int dhdpcie_wrt_rnd(struct dhd_bus *bus);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_bus.h43 extern struct dhd_bus *g_dhd_bus;
50 extern int dhd_bus_download_firmware(struct dhd_bus *bus, osl_t *osh, char *fw_path, char *nv_path);
52 extern int dhd_bus_download_btfw(struct dhd_bus *bus, osl_t *osh, char *btfw_path);
56 extern void dhd_bus_stop(struct dhd_bus *bus, bool enforce_mutex);
69 extern int dhd_bus_txdata(struct dhd_bus *bus, void *txp, uint8 ifidx);
71 extern int dhd_bus_txdata(struct dhd_bus *bus, void *txp);
81 extern int dhd_bus_txctl(struct dhd_bus *bus, uchar *msg, uint msglen);
82 extern int dhd_bus_rxctl(struct dhd_bus *bus, uchar *msg, uint msglen);
98 extern bool dhd_bus_dpc(struct dhd_bus *bus);
112 extern uint dhd_bus_chip(struct dhd_bus *bus);
[all …]
H A Ddhd_pcie.h192 struct dhd_bus;
196 void (*handle_mb_data)(struct dhd_bus *);
238 typedef struct dhd_bus { struct
464 extern uint32 dhdpcie_bus_cfg_read_dword(struct dhd_bus *bus, uint32 addr, uint32 size); argument
465 extern void dhdpcie_bus_cfg_write_dword(struct dhd_bus *bus, uint32 addr, uint32 size, uint32 data);
466 extern void dhdpcie_bus_intr_enable(struct dhd_bus *bus);
467 extern void dhdpcie_bus_intr_disable(struct dhd_bus *bus);
469 extern void dhdpcie_bus_release(struct dhd_bus *bus);
470 extern int32 dhdpcie_bus_isr(struct dhd_bus *bus);
472 extern void dhdpcie_bus_ringbell_fast(struct dhd_bus *bus, uint32 value);
[all …]
H A Ddhd_pcie.c156 struct dhd_bus *g_dhd_bus = NULL;
172 static int dhdpcie_bus_lpback_req(struct dhd_bus *bus, uint32 intval);
173 static int dhdpcie_bus_dmaxfer_req(struct dhd_bus *bus,
191 static int _dhdpcie_download_firmware(struct dhd_bus *bus);
248 static int dhdpcie_cto_error_recovery(struct dhd_bus *bus);
250 static int dhdpcie_init_d11status(struct dhd_bus *bus);
252 static int dhdpcie_wrt_rnd(struct dhd_bus *bus);
259 static uint16 dhd_bus_set_hp2p_ring_max_size(struct dhd_bus *bus, bool tx, uint16 val);
262 static bool dhd_bus_tcm_test(struct dhd_bus *bus);
459 dhd_bus_get_flr_force_fail(struct dhd_bus *bus) in dhd_bus_get_flr_force_fail()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_bus.h43 extern struct dhd_bus *g_dhd_bus;
50 extern int dhd_bus_download_firmware(struct dhd_bus *bus, osl_t *osh, char *fw_path, char *nv_path);
52 extern int dhd_bus_download_btfw(struct dhd_bus *bus, osl_t *osh, char *btfw_path);
56 extern void dhd_bus_stop(struct dhd_bus *bus, bool enforce_mutex);
69 extern int dhd_bus_txdata(struct dhd_bus *bus, void *txp, uint8 ifidx);
71 extern int dhd_bus_txdata(struct dhd_bus *bus, void *txp);
81 extern int dhd_bus_txctl(struct dhd_bus *bus, uchar *msg, uint msglen);
82 extern int dhd_bus_rxctl(struct dhd_bus *bus, uchar *msg, uint msglen);
98 extern bool dhd_bus_dpc(struct dhd_bus *bus);
112 extern uint dhd_bus_chip(struct dhd_bus *bus);
[all …]
H A Ddhd_pcie.h192 struct dhd_bus;
196 void (*handle_mb_data)(struct dhd_bus *);
238 typedef struct dhd_bus { struct
464 extern uint32 dhdpcie_bus_cfg_read_dword(struct dhd_bus *bus, uint32 addr, uint32 size); argument
465 extern void dhdpcie_bus_cfg_write_dword(struct dhd_bus *bus, uint32 addr, uint32 size, uint32 data);
466 extern void dhdpcie_bus_intr_enable(struct dhd_bus *bus);
467 extern void dhdpcie_bus_intr_disable(struct dhd_bus *bus);
469 extern void dhdpcie_bus_release(struct dhd_bus *bus);
470 extern int32 dhdpcie_bus_isr(struct dhd_bus *bus);
472 extern void dhdpcie_bus_ringbell_fast(struct dhd_bus *bus, uint32 value);
[all …]
H A Ddhd_pcie.c156 struct dhd_bus *g_dhd_bus = NULL;
172 static int dhdpcie_bus_lpback_req(struct dhd_bus *bus, uint32 intval);
173 static int dhdpcie_bus_dmaxfer_req(struct dhd_bus *bus,
191 static int _dhdpcie_download_firmware(struct dhd_bus *bus);
248 static int dhdpcie_cto_error_recovery(struct dhd_bus *bus);
250 static int dhdpcie_init_d11status(struct dhd_bus *bus);
252 static int dhdpcie_wrt_rnd(struct dhd_bus *bus);
259 static uint16 dhd_bus_set_hp2p_ring_max_size(struct dhd_bus *bus, bool tx, uint16 val);
262 static bool dhd_bus_tcm_test(struct dhd_bus *bus);
459 dhd_bus_get_flr_force_fail(struct dhd_bus *bus) in dhd_bus_get_flr_force_fail()
[all …]
H A Ddhd_sdio.c269 typedef struct dhd_bus { struct
555 static uint32 dhd_sdio_reg_read(struct dhd_bus *bus, ulong addr);
556 static void dhd_sdio_reg_write(struct dhd_bus *bus, ulong addr, uint32 val);
765 static void dhd_dongle_setramsize(struct dhd_bus *bus, int mem_size);
782 static int dhdsdio_download_ucode_file(struct dhd_bus *bus, char *ucode_path);
797 static int read_more_btbytes(struct dhd_bus *bus, void * file, char *line, int * addr_mode,
799 static int dhdsdio_download_btfw(struct dhd_bus *bus, osl_t *osh, void *sdh);
800 static int _dhdsdio_download_btfw(struct dhd_bus *bus);
809 dhdsdio_tune_fifoparam(struct dhd_bus *bus) in dhdsdio_tune_fifoparam()
854 dhd_dongle_setramsize(struct dhd_bus *bus, int mem_size) in dhd_dongle_setramsize()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_bus.h43 extern struct dhd_bus *g_dhd_bus;
50 extern int dhd_bus_download_firmware(struct dhd_bus *bus, osl_t *osh, char *fw_path, char *nv_path);
52 extern int dhd_bus_download_btfw(struct dhd_bus *bus, osl_t *osh, char *btfw_path);
56 extern void dhd_bus_stop(struct dhd_bus *bus, bool enforce_mutex);
69 extern int dhd_bus_txdata(struct dhd_bus *bus, void *txp, uint8 ifidx);
71 extern int dhd_bus_txdata(struct dhd_bus *bus, void *txp);
81 extern int dhd_bus_txctl(struct dhd_bus *bus, uchar *msg, uint msglen);
82 extern int dhd_bus_rxctl(struct dhd_bus *bus, uchar *msg, uint msglen);
98 extern bool dhd_bus_dpc(struct dhd_bus *bus);
112 extern uint dhd_bus_chip(struct dhd_bus *bus);
[all …]
H A Ddhd_pcie.h192 struct dhd_bus;
196 void (*handle_mb_data)(struct dhd_bus *);
238 typedef struct dhd_bus { struct
464 extern uint32 dhdpcie_bus_cfg_read_dword(struct dhd_bus *bus, uint32 addr, uint32 size); argument
465 extern void dhdpcie_bus_cfg_write_dword(struct dhd_bus *bus, uint32 addr, uint32 size, uint32 data);
466 extern void dhdpcie_bus_intr_enable(struct dhd_bus *bus);
467 extern void dhdpcie_bus_intr_disable(struct dhd_bus *bus);
469 extern void dhdpcie_bus_release(struct dhd_bus *bus);
470 extern int32 dhdpcie_bus_isr(struct dhd_bus *bus);
472 extern void dhdpcie_bus_ringbell_fast(struct dhd_bus *bus, uint32 value);
[all …]
H A Ddhd_pcie.c156 struct dhd_bus *g_dhd_bus = NULL;
172 static int dhdpcie_bus_lpback_req(struct dhd_bus *bus, uint32 intval);
173 static int dhdpcie_bus_dmaxfer_req(struct dhd_bus *bus,
191 static int _dhdpcie_download_firmware(struct dhd_bus *bus);
248 static int dhdpcie_cto_error_recovery(struct dhd_bus *bus);
250 static int dhdpcie_init_d11status(struct dhd_bus *bus);
252 static int dhdpcie_wrt_rnd(struct dhd_bus *bus);
259 static uint16 dhd_bus_set_hp2p_ring_max_size(struct dhd_bus *bus, bool tx, uint16 val);
262 static bool dhd_bus_tcm_test(struct dhd_bus *bus);
459 dhd_bus_get_flr_force_fail(struct dhd_bus *bus) in dhd_bus_get_flr_force_fail()
[all …]

123