Lines Matching refs:wilc
74 if (!msg->vif || !msg->vif->wilc || !msg->vif->wilc->hif_workqueue)
77 if (!queue_work(msg->vif->wilc->hif_workqueue, &msg->work))
84 * special purpose in wilc device, so we add 1 to the index to starts from 1.
92 /* We need to minus 1 from idx which is from wilc device to get real index
93 * of wilc->vif[], because we add 1 when pass to wilc device in the function
97 static struct wilc_vif *wilc_get_vif_from_idx(struct wilc *wilc, int idx)
105 list_for_each_entry_rcu(vif, &wilc->vif_list, list) {
1491 struct wilc *wilc = vif->wilc;
1501 if (wilc->clients_count == 0)
1502 mutex_init(&wilc->deinit_lock);
1515 wilc->clients_count++;
1530 mutex_lock(&vif->wilc->deinit_lock);
1547 vif->wilc->clients_count--;
1548 mutex_unlock(&vif->wilc->deinit_lock);
1552 void wilc_network_info_received(struct wilc *wilc, u8 *buffer, u32 length)
1561 vif = wilc_get_vif_from_idx(wilc, id);
1593 void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *buffer, u32 length)
1601 mutex_lock(&wilc->deinit_lock);
1604 vif = wilc_get_vif_from_idx(wilc, id);
1606 mutex_unlock(&wilc->deinit_lock);
1613 mutex_unlock(&wilc->deinit_lock);
1619 mutex_unlock(&wilc->deinit_lock);
1625 mutex_unlock(&wilc->deinit_lock);
1636 mutex_unlock(&wilc->deinit_lock);
1639 void wilc_scan_complete_received(struct wilc *wilc, u8 *buffer, u32 length)
1647 vif = wilc_get_vif_from_idx(wilc, id);