Lines Matching refs:wilc
79 if (!msg->vif || !msg->vif->wilc || !msg->vif->wilc->hif_workqueue)
82 if (!queue_work(msg->vif->wilc->hif_workqueue, &msg->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)
110 list_for_each_entry_rcu(vif, &wilc->vif_list, list) {
1544 mutex_lock(&vif->wilc->deinit_lock);
1561 mutex_unlock(&vif->wilc->deinit_lock);
1565 void wilc_network_info_received(struct wilc *wilc, u8 *buffer, u32 length)
1574 vif = wilc_get_vif_from_idx(wilc, id);
1606 void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *buffer, u32 length)
1614 mutex_lock(&wilc->deinit_lock);
1617 vif = wilc_get_vif_from_idx(wilc, id);
1619 mutex_unlock(&wilc->deinit_lock);
1626 mutex_unlock(&wilc->deinit_lock);
1632 mutex_unlock(&wilc->deinit_lock);
1638 mutex_unlock(&wilc->deinit_lock);
1649 mutex_unlock(&wilc->deinit_lock);
1652 void wilc_scan_complete_received(struct wilc *wilc, u8 *buffer, u32 length)
1660 vif = wilc_get_vif_from_idx(wilc, id);
1928 struct wilc *wilc = vif->wilc;
1945 wilc->power_save_mode = enabled;