Home
last modified time | relevance | path

Searched full:wilc (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/wireless/microchip/wilc1000/
H A Dwlan.c15 static void wilc_wlan_txq_remove(struct wilc *wilc, u8 q_num, in wilc_wlan_txq_remove() argument
19 wilc->txq_entries -= 1; in wilc_wlan_txq_remove()
20 wilc->txq[q_num].count--; in wilc_wlan_txq_remove()
24 wilc_wlan_txq_remove_from_head(struct wilc *wilc, u8 q_num) in wilc_wlan_txq_remove_from_head() argument
29 spin_lock_irqsave(&wilc->txq_spinlock, flags); in wilc_wlan_txq_remove_from_head()
31 if (!list_empty(&wilc->txq[q_num].txq_head.list)) { in wilc_wlan_txq_remove_from_head()
32 tqe = list_first_entry(&wilc->txq[q_num].txq_head.list, in wilc_wlan_txq_remove_from_head()
35 wilc->txq_entries -= 1; in wilc_wlan_txq_remove_from_head()
36 wilc->txq[q_num].count--; in wilc_wlan_txq_remove_from_head()
38 spin_unlock_irqrestore(&wilc->txq_spinlock, flags); in wilc_wlan_txq_remove_from_head()
[all …]
H A Dnetdev.h35 struct wilc *_w = w; \
185 struct wilc *wilc; member
208 struct wilc { struct
296 void wilc_frmw_to_host(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset); argument
297 void wilc_mac_indicate(struct wilc *wilc);
298 void wilc_netdev_cleanup(struct wilc *wilc);
299 void wilc_wfi_mgmt_rx(struct wilc *wilc, u8 *buff, u32 size, bool is_auth);
302 struct wilc_vif *wilc_netdev_ifc_init(struct wilc *wl, const char *name,
H A Dwlan_cfg.h45 struct wilc;
48 int wilc_wlan_cfg_get_val(struct wilc *wl, u16 wid, u8 *buffer,
50 void wilc_wlan_cfg_indicate_rx(struct wilc *wilc, u8 *frame, int size,
52 int wilc_wlan_cfg_init(struct wilc *wl);
53 void wilc_wlan_cfg_deinit(struct wilc *wl);
H A Dhif.h132 struct wilc;
211 void wilc_scan_complete_received(struct wilc *wilc, u8 *buffer, u32 length);
212 void wilc_network_info_received(struct wilc *wilc, u8 *buffer, u32 length);
213 void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *buffer, u32 length);
H A Dwlan_cfg.c138 static void wilc_wlan_parse_response_frame(struct wilc *wl, u8 *info, int size) in wilc_wlan_parse_response_frame()
212 static void wilc_wlan_parse_info_frame(struct wilc *wl, u8 *info) in wilc_wlan_parse_info_frame()
283 int wilc_wlan_cfg_get_val(struct wilc *wl, u16 wid, u8 *buffer, in wilc_wlan_cfg_get_val()
331 void wilc_wlan_cfg_indicate_rx(struct wilc *wilc, u8 *frame, int size, in wilc_wlan_cfg_indicate_rx() argument
345 wilc_wlan_parse_response_frame(wilc, frame, size); in wilc_wlan_cfg_indicate_rx()
351 wilc_wlan_parse_info_frame(wilc, frame); in wilc_wlan_cfg_indicate_rx()
355 wilc_gnrl_async_info_received(wilc, frame - 4, size + 4); in wilc_wlan_cfg_indicate_rx()
359 wilc_network_info_received(wilc, frame - 4, size + 4); in wilc_wlan_cfg_indicate_rx()
363 wilc_scan_complete_received(wilc, frame - 4, size + 4); in wilc_wlan_cfg_indicate_rx()
372 int wilc_wlan_cfg_init(struct wilc *wl) in wilc_wlan_cfg_init()
[all …]
H A Dhif.c79 if (!msg->vif || !msg->vif->wilc || !msg->vif->wilc->hif_workqueue) in wilc_enqueue_work()
82 if (!queue_work(msg->vif->wilc->hif_workqueue, &msg->work)) in wilc_enqueue_work()
89 * special purpose in wilc device, so we add 1 to the index to starts from 1.
97 /* We need to minus 1 from idx which is from wilc device to get real index
98 * of wilc->vif[], because we add 1 when pass to wilc device in the function
102 static struct wilc_vif *wilc_get_vif_from_idx(struct wilc *wilc, int idx) in wilc_get_vif_from_idx() argument
110 wilc_for_each_vif(wilc, vif) { in wilc_get_vif_from_idx()
1551 mutex_lock(&vif->wilc->deinit_lock); in wilc_deinit()
1568 mutex_unlock(&vif->wilc->deinit_lock); in wilc_deinit()
1572 void wilc_network_info_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_network_info_received() argument
[all …]
H A Dmon.c37 /* Get WILC header */ in wilc_wfi_monitor_rx()
217 struct net_device *wilc_wfi_init_mon_interface(struct wilc *wl, in wilc_wfi_init_mon_interface()
248 void wilc_wfi_deinit_mon_interface(struct wilc *wl, bool rtnl_locked) in wilc_wfi_deinit_mon_interface()
/linux/arch/arm/boot/dts/microchip/
H A Dat91-sama5d27_wlsom1.dtsi386 wilc: wifi@0 { label