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()
1497 struct wilc *wilc = vif->wilc; in wilc_init() local
1507 if (wilc->clients_count == 0) in wilc_init()
1508 mutex_init(&wilc->deinit_lock); in wilc_init()
1521 wilc->clients_count++; in wilc_init()
1536 mutex_lock(&vif->wilc->deinit_lock); in wilc_deinit()
1553 vif->wilc->clients_count--; in wilc_deinit()
1554 mutex_unlock(&vif->wilc->deinit_lock); in wilc_deinit()
1558 void wilc_network_info_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_network_info_received() argument
1567 vif = wilc_get_vif_from_idx(wilc, id); in wilc_network_info_received()
1599 void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_gnrl_async_info_received() argument
1607 mutex_lock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1610 vif = wilc_get_vif_from_idx(wilc, id); in wilc_gnrl_async_info_received()
1612 mutex_unlock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1619 mutex_unlock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1625 mutex_unlock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1631 mutex_unlock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1642 mutex_unlock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1645 void wilc_scan_complete_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_scan_complete_received() argument
1653 vif = wilc_get_vif_from_idx(wilc, id); in wilc_scan_complete_received()