Lines Matching full:wilc

74 	if (!msg->vif || !msg->vif->wilc || !msg->vif->wilc->hif_workqueue)  in wilc_enqueue_work()
77 if (!queue_work(msg->vif->wilc->hif_workqueue, &msg->work)) in wilc_enqueue_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) in wilc_get_vif_from_idx() argument
105 list_for_each_entry_rcu(vif, &wilc->vif_list, list) { in wilc_get_vif_from_idx()
1480 struct wilc *wilc = vif->wilc; in wilc_init() local
1490 if (wilc->clients_count == 0) in wilc_init()
1491 mutex_init(&wilc->deinit_lock); in wilc_init()
1504 wilc->clients_count++; in wilc_init()
1519 mutex_lock(&vif->wilc->deinit_lock); in wilc_deinit()
1536 vif->wilc->clients_count--; in wilc_deinit()
1537 mutex_unlock(&vif->wilc->deinit_lock); in wilc_deinit()
1541 void wilc_network_info_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_network_info_received() argument
1550 vif = wilc_get_vif_from_idx(wilc, id); in wilc_network_info_received()
1582 void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_gnrl_async_info_received() argument
1590 mutex_lock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1593 vif = wilc_get_vif_from_idx(wilc, id); in wilc_gnrl_async_info_received()
1595 mutex_unlock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1602 mutex_unlock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1608 mutex_unlock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1614 mutex_unlock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1625 mutex_unlock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1628 void wilc_scan_complete_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_scan_complete_received() argument
1636 vif = wilc_get_vif_from_idx(wilc, id); in wilc_scan_complete_received()