Home
last modified time | relevance | path

Searched defs:wilc (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dnetdev.h185 struct wilc *wilc; member
200 struct wilc { struct
202 const struct wilc_hif_func *hif_func; argument
203 int io_type;
204 s8 mac_status;
205 struct clk *rtc_clk;
206 bool initialized;
207 int dev_irq_num;
208 int close;
209 u8 vif_num;
[all …]
Dwlan.c17 static inline void acquire_bus(struct wilc *wilc, enum bus_acquire acquire) in acquire_bus()
24 static inline void release_bus(struct wilc *wilc, enum bus_release release) in release_bus()
31 static void wilc_wlan_txq_remove(struct wilc *wilc, struct txq_entry_t *tqe) in wilc_wlan_txq_remove()
43 struct wilc *wilc = vif->wilc; in wilc_wlan_txq_remove_from_head() local
62 struct wilc *wilc = vif->wilc; in wilc_wlan_txq_add_to_tail() local
78 struct wilc *wilc = vif->wilc; in wilc_wlan_txq_add_to_head() local
140 struct wilc *wilc = vif->wilc; in tcp_process() local
188 struct wilc *wilc = vif->wilc; in wilc_wlan_txq_filter_dup_tcp_ack() local
251 struct wilc *wilc = vif->wilc; in wilc_wlan_txq_add_cfg_pkt() local
283 struct wilc *wilc; in wilc_wlan_txq_add_net_pkt() local
[all …]
Dsdio.c60 static int wilc_sdio_cmd52(struct wilc *wilc, struct sdio_cmd52 *cmd) in wilc_sdio_cmd52()
89 static int wilc_sdio_cmd53(struct wilc *wilc, struct sdio_cmd53 *cmd) in wilc_sdio_cmd53()
122 struct wilc *wilc; in wilc_sdio_probe() local
164 struct wilc *wilc = sdio_get_drvdata(func); in wilc_sdio_remove() local
172 static int wilc_sdio_reset(struct wilc *wilc) in wilc_sdio_reset()
194 struct wilc *wilc = sdio_get_drvdata(func); in wilc_sdio_suspend() local
252 static int wilc_sdio_set_func0_csa_address(struct wilc *wilc, u32 adr) in wilc_sdio_set_func0_csa_address()
294 static int wilc_sdio_set_block_size(struct wilc *wilc, u8 func_num, in wilc_sdio_set_block_size()
330 static int wilc_sdio_write_reg(struct wilc *wilc, u32 addr, u32 data) in wilc_sdio_write_reg()
377 static int wilc_sdio_write(struct wilc *wilc, u32 addr, u8 *buf, u32 size) in wilc_sdio_write()
[all …]
Dspi.c96 struct wilc *wilc; in wilc_bus_probe() local
126 struct wilc *wilc = spi_get_drvdata(spi); in wilc_bus_remove() local
152 static int wilc_spi_tx(struct wilc *wilc, u8 *b, u32 len) in wilc_spi_tx()
196 static int wilc_spi_rx(struct wilc *wilc, u8 *rb, u32 rlen) in wilc_spi_rx()
239 static int wilc_spi_tx_rx(struct wilc *wilc, u8 *wb, u8 *rb, u32 rlen) in wilc_spi_tx_rx()
277 static int spi_data_write(struct wilc *wilc, u8 *b, u32 sz) in spi_data_write()
355 static int wilc_spi_single_read(struct wilc *wilc, u8 cmd, u32 adr, void *b, in wilc_spi_single_read()
434 static int wilc_spi_write_cmd(struct wilc *wilc, u8 cmd, u32 adr, u32 data, in wilc_spi_write_cmd()
505 static int wilc_spi_dma_rw(struct wilc *wilc, u8 cmd, u32 adr, u8 *b, u32 sz) in wilc_spi_dma_rw()
624 static int wilc_spi_read_reg(struct wilc *wilc, u32 addr, u32 *data) in wilc_spi_read_reg()
[all …]
Dnetdev.c29 struct wilc *wilc = vif->wilc; in isr_uh_routine() local
42 struct wilc *wilc = vif->wilc; in isr_bh_routine() local
76 struct wilc *wilc = vif->wilc; in deinit_irq() local
83 void wilc_mac_indicate(struct wilc *wilc) in wilc_mac_indicate()
96 static struct net_device *get_if_handler(struct wilc *wilc, u8 *mac_header) in get_if_handler()
130 int wilc_wlan_get_num_conn_ifcs(struct wilc *wilc) in wilc_wlan_get_num_conn_ifcs()
184 struct wilc *wilc = vif->wilc; in wilc_wlan_get_firmware() local
209 struct wilc *wilc = vif->wilc; in wilc_start_firmware() local
226 struct wilc *wilc = vif->wilc; in wilc1000_firmware_download() local
471 struct wilc *wilc = vif->wilc; in wlan_initialize_threads() local
[all …]
Dhif.c97 static struct wilc_vif *wilc_get_vif_from_idx(struct wilc *wilc, int idx) in wilc_get_vif_from_idx()
1491 struct wilc *wilc = vif->wilc; in wilc_init() local
1552 void wilc_network_info_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_network_info_received()
1593 void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_gnrl_async_info_received()
1639 void wilc_scan_complete_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_scan_complete_received()
Dwlan_cfg.c314 void wilc_wlan_cfg_indicate_rx(struct wilc *wilc, u8 *frame, int size, in wilc_wlan_cfg_indicate_rx()
Dcfg80211.c460 struct wilc *wilc = vif->wilc; in disconnect() local
1719 void wlan_deinit_locks(struct wilc *wilc) in wlan_deinit_locks()
1729 int wilc_cfg80211_init(struct wilc **wilc, struct device *dev, int io_type, in wilc_cfg80211_init()
/kernel/linux/linux-4.19/drivers/staging/wilc1000/
Dwilc_wfi_netdevice.h112 struct wilc *wilc; member
121 struct wilc { struct
122 const struct wilc_hif_func *hif_func; argument
130 struct wilc_vif *vif[NUM_CONCURRENT_IFC]; argument
150 struct wilc_cfg_frame cfg_frame; argument
171 struct wilc_wfi_mon_priv { argument
175 void wilc_frmw_to_linux(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset); argument
Dwilc_wlan.c19 static inline void acquire_bus(struct wilc *wilc, enum bus_acquire acquire) in acquire_bus()
26 static inline void release_bus(struct wilc *wilc, enum bus_release release) in release_bus()
33 static void wilc_wlan_txq_remove(struct wilc *wilc, struct txq_entry_t *tqe) in wilc_wlan_txq_remove()
45 struct wilc *wilc = vif->wilc; in wilc_wlan_txq_remove_from_head() local
64 struct wilc *wilc = vif->wilc; in wilc_wlan_txq_add_to_tail() local
80 struct wilc *wilc = vif->wilc; in wilc_wlan_txq_add_to_head() local
164 struct wilc *wilc = vif->wilc; in tcp_process() local
207 struct wilc *wilc = vif->wilc; in wilc_wlan_txq_filter_dup_tcp_ack() local
272 struct wilc *wilc = vif->wilc; in wilc_wlan_txq_add_cfg_pkt() local
305 struct wilc *wilc; in wilc_wlan_txq_add_net_pkt() local
[all …]
Dwilc_sdio.c47 static int wilc_sdio_cmd52(struct wilc *wilc, struct sdio_cmd52 *cmd) in wilc_sdio_cmd52()
76 static int wilc_sdio_cmd53(struct wilc *wilc, struct sdio_cmd53 *cmd) in wilc_sdio_cmd53()
109 struct wilc *wilc; in linux_sdio_probe() local
139 struct wilc *wilc = sdio_get_drvdata(func); in linux_sdio_remove() local
147 static int sdio_reset(struct wilc *wilc) in sdio_reset()
169 struct wilc *wilc = sdio_get_drvdata(func); in wilc_sdio_suspend() local
195 struct wilc *wilc = sdio_get_drvdata(func); in wilc_sdio_resume() local
270 static int sdio_set_func0_csa_address(struct wilc *wilc, u32 adr) in sdio_set_func0_csa_address()
311 static int sdio_set_func0_block_size(struct wilc *wilc, u32 block_size) in sdio_set_func0_block_size()
347 static int sdio_set_func1_block_size(struct wilc *wilc, u32 block_size) in sdio_set_func1_block_size()
[all …]
Dlinux_wlan.c103 struct wilc *wilc = vif->wilc; in isr_uh_routine() local
116 struct wilc *wilc = vif->wilc; in isr_bh_routine() local
158 struct wilc *wilc = vif->wilc; in deinit_irq() local
165 void wilc_mac_indicate(struct wilc *wilc) in wilc_mac_indicate()
178 static struct net_device *get_if_handler(struct wilc *wilc, u8 *mac_header) in get_if_handler()
210 int wilc_wlan_get_num_conn_ifcs(struct wilc *wilc) in wilc_wlan_get_num_conn_ifcs()
258 struct wilc *wilc = vif->wilc; in wilc_wlan_get_firmware() local
290 struct wilc *wilc = vif->wilc; in linux_wlan_start_firmware() local
307 struct wilc *wilc = vif->wilc; in wilc1000_firmware_download() local
332 struct wilc *wilc = vif->wilc; in linux_wlan_init_test_config() local
[all …]
Dwilc_spi.c108 struct wilc *wilc; in wilc_bus_probe() local
132 struct wilc *wilc = spi_get_drvdata(spi); in wilc_bus_remove() local
158 static int wilc_spi_tx(struct wilc *wilc, u8 *b, u32 len) in wilc_spi_tx()
199 static int wilc_spi_rx(struct wilc *wilc, u8 *rb, u32 rlen) in wilc_spi_rx()
239 static int wilc_spi_tx_rx(struct wilc *wilc, u8 *wb, u8 *rb, u32 rlen) in wilc_spi_tx_rx()
274 static int spi_cmd_complete(struct wilc *wilc, u8 cmd, u32 adr, u8 *b, u32 sz, in spi_cmd_complete()
602 static int spi_data_write(struct wilc *wilc, u8 *b, u32 sz) in spi_data_write()
675 static int spi_internal_write(struct wilc *wilc, u32 adr, u32 dat) in spi_internal_write()
689 static int spi_internal_read(struct wilc *wilc, u32 adr, u32 *data) in spi_internal_read()
712 static int wilc_spi_write_reg(struct wilc *wilc, u32 addr, u32 data) in wilc_spi_write_reg()
[all …]
Dhost_interface.c252 static struct wilc_vif *wilc_get_vif_from_idx(struct wilc *wilc, int idx) in wilc_get_vif_from_idx()
2675 struct wilc *wilc = msg->vif->wilc; in handle_scan_complete() local
3443 struct wilc *wilc = vif->wilc; in wilc_init() local
3556 void wilc_network_info_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_network_info_received()
3597 void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_gnrl_async_info_received()
3654 void wilc_scan_complete_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_scan_complete_received()
Dwilc_wlan_cfg.c505 int wilc_wlan_cfg_indicate_rx(struct wilc *wilc, u8 *frame, int size, in wilc_wlan_cfg_indicate_rx()
Dwilc_wfi_cfgoperations.c814 struct wilc *wilc = vif->wilc; in disconnect() local