Lines Matching full:wilc
79 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 list_for_each_entry_rcu(vif, &wilc->vif_list, list) { in wilc_get_vif_from_idx()
1535 mutex_lock(&vif->wilc->deinit_lock); in wilc_deinit()
1552 mutex_unlock(&vif->wilc->deinit_lock); in wilc_deinit()
1556 void wilc_network_info_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_network_info_received() argument
1565 vif = wilc_get_vif_from_idx(wilc, id); in wilc_network_info_received()
1597 void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_gnrl_async_info_received() argument
1605 mutex_lock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1608 vif = wilc_get_vif_from_idx(wilc, id); in wilc_gnrl_async_info_received()
1610 mutex_unlock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1617 mutex_unlock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1623 mutex_unlock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1629 mutex_unlock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1640 mutex_unlock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1643 void wilc_scan_complete_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_scan_complete_received() argument
1651 vif = wilc_get_vif_from_idx(wilc, id); in wilc_scan_complete_received()
1916 struct wilc *wilc = vif->wilc; in wilc_set_power_mgmt() local
1933 wilc->power_save_mode = enabled; in wilc_set_power_mgmt()