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 wilc_for_each_vif(wilc, vif) { in wilc_get_vif_from_idx()
1550 mutex_lock(&vif->wilc->deinit_lock); in wilc_deinit()
1567 mutex_unlock(&vif->wilc->deinit_lock); in wilc_deinit()
1571 void wilc_network_info_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_network_info_received() argument
1581 srcu_idx = srcu_read_lock(&wilc->srcu); in wilc_network_info_received()
1582 vif = wilc_get_vif_from_idx(wilc, id); in wilc_network_info_received()
1613 srcu_read_unlock(&wilc->srcu, srcu_idx); in wilc_network_info_received()
1616 void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_gnrl_async_info_received() argument
1625 mutex_lock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1628 srcu_idx = srcu_read_lock(&wilc->srcu); in wilc_gnrl_async_info_received()
1629 vif = wilc_get_vif_from_idx(wilc, id); in wilc_gnrl_async_info_received()
1655 srcu_read_unlock(&wilc->srcu, srcu_idx); in wilc_gnrl_async_info_received()
1656 mutex_unlock(&wilc->deinit_lock); in wilc_gnrl_async_info_received()
1659 void wilc_scan_complete_received(struct wilc *wilc, u8 *buffer, u32 length) in wilc_scan_complete_received() argument
1668 srcu_idx = srcu_read_lock(&wilc->srcu); in wilc_scan_complete_received()
1669 vif = wilc_get_vif_from_idx(wilc, id); in wilc_scan_complete_received()
1693 srcu_read_unlock(&wilc->srcu, srcu_idx); in wilc_scan_complete_received()
1937 struct wilc *wilc = vif->wilc; in wilc_set_power_mgmt() local
1954 wilc->power_save_mode = enabled; in wilc_set_power_mgmt()