Home
last modified time | relevance | path

Searched refs:hw (Results 1 – 25 of 60) sorted by relevance

123

/net/mac80211/
Dmain.c99 offchannel_flag = local->hw.conf.flags & IEEE80211_CONF_OFFCHANNEL; in ieee80211_hw_conf_chan()
116 local->hw.conf.flags |= IEEE80211_CONF_OFFCHANNEL; in ieee80211_hw_conf_chan()
118 local->hw.conf.flags &= ~IEEE80211_CONF_OFFCHANNEL; in ieee80211_hw_conf_chan()
120 offchannel_flag ^= local->hw.conf.flags & IEEE80211_CONF_OFFCHANNEL; in ieee80211_hw_conf_chan()
123 !cfg80211_chandef_identical(&local->hw.conf.chandef, in ieee80211_hw_conf_chan()
125 local->hw.conf.chandef = chandef; in ieee80211_hw_conf_chan()
129 if (!conf_is_ht(&local->hw.conf)) { in ieee80211_hw_conf_chan()
135 local->hw.conf.smps_mode = IEEE80211_SMPS_STATIC; in ieee80211_hw_conf_chan()
136 } else if (local->hw.conf.smps_mode != local->smps_mode) { in ieee80211_hw_conf_chan()
137 local->hw.conf.smps_mode = local->smps_mode; in ieee80211_hw_conf_chan()
[all …]
Ddriver-ops.h36 local->ops->tx(&local->hw, control, skb); in drv_tx()
44 local->ops->sync_rx_queues(&local->hw); in drv_sync_rx_queues()
55 local->ops->get_et_strings(&local->hw, &sdata->vif, sset, data); in drv_get_et_strings()
67 local->ops->get_et_stats(&local->hw, &sdata->vif, stats, data); in drv_get_et_stats()
79 rv = local->ops->get_et_sset_count(&local->hw, &sdata->vif, in drv_get_et_sset_count()
98 ret = local->ops->suspend(&local->hw, wowlan); in drv_suspend()
110 ret = local->ops->resume(&local->hw); in drv_resume()
124 local->ops->set_wakeup(&local->hw, enabled); in drv_set_wakeup()
146 ret = local->ops->config(&local->hw, changed); in drv_config()
178 local->ops->bss_info_changed(&local->hw, &sdata->vif, info, changed); in drv_bss_info_changed()
[all …]
Ddriver-ops.c23 ret = local->ops->start(&local->hw); in drv_start()
40 local->ops->stop(&local->hw); in drv_stop()
61 !ieee80211_hw_check(&local->hw, WANT_MONITOR_VIF) && in drv_add_interface()
66 ret = local->ops->add_interface(&local->hw, &sdata->vif); in drv_add_interface()
87 ret = local->ops->change_interface(&local->hw, &sdata->vif, type, p2p); in drv_change_interface()
101 local->ops->remove_interface(&local->hw, &sdata->vif); in drv_remove_interface()
123 ret = local->ops->sta_state(&local->hw, &sdata->vif, &sta->sta, in drv_sta_state()
153 ret = local->ops->sta_set_txpwr(&local->hw, &sdata->vif, in drv_sta_set_txpwr()
173 local->ops->sta_rc_update(&local->hw, &sdata->vif, in drv_sta_rc_update()
203 ret = local->ops->conf_tx(&local->hw, &sdata->vif, in drv_conf_tx()
[all …]
Dpm.c14 cfg80211_sched_scan_stopped_rtnl(local->hw.wiphy, 0); in ieee80211_sched_scan_cancel()
17 int __ieee80211_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan) in __ieee80211_suspend() argument
19 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_suspend()
34 if (ieee80211_hw_check(hw, AMPDU_AGGREGATION) && in __ieee80211_suspend()
49 ieee80211_stop_queues_by_reason(hw, in __ieee80211_suspend()
103 !(local->hw.conf.flags & IEEE80211_CONF_PS)) { in __ieee80211_suspend()
104 local->hw.conf.flags |= IEEE80211_CONF_PS; in __ieee80211_suspend()
114 if (ieee80211_hw_check(hw, AMPDU_AGGREGATION)) { in __ieee80211_suspend()
122 ieee80211_wake_queues_by_reason(hw, in __ieee80211_suspend()
132 ieee80211_wake_queues_by_reason(hw, in __ieee80211_suspend()
Dutil.c45 return &local->hw; in wiphy_to_ieee80211_hw()
128 __le16 ieee80211_generic_frame_duration(struct ieee80211_hw *hw, in ieee80211_generic_frame_duration() argument
155 __le16 ieee80211_rts_duration(struct ieee80211_hw *hw, in ieee80211_rts_duration() argument
159 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_rts_duration()
167 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_rts_duration()
198 __le16 ieee80211_ctstoself_duration(struct ieee80211_hw *hw, in ieee80211_ctstoself_duration() argument
203 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_ctstoself_duration()
211 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_ctstoself_duration()
313 if (local->hw.queues < IEEE80211_NUM_ACS) in _ieee80211_wake_txqs()
316 for (i = 0; i < local->hw.queues; i++) { in _ieee80211_wake_txqs()
[all …]
Dstatus.c21 void ieee80211_tx_status_irqsafe(struct ieee80211_hw *hw, in ieee80211_tx_status_irqsafe() argument
24 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_tx_status_irqsafe()
35 ieee80211_free_txskb(hw, skb); in ieee80211_tx_status_irqsafe()
53 ieee80211_free_txskb(&local->hw, skb); in ieee80211_handle_filtered_frame()
167 ieee80211_free_txskb(&local->hw, skb); in ieee80211_handle_filtered_frame()
189 if (ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)) { in ieee80211_frame_acked()
237 ieee80211_queue_work(&local->hw, &sdata->recalc_smps); in ieee80211_frame_acked()
384 u16 known = local->hw.radiotap_vht_details & in ieee80211_add_tx_radiotap_header()
522 u16 known = local->hw.radiotap_vht_details & in ieee80211_add_tx_radiotap_header()
590 WARN_ON(!ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)); in ieee80211_tdls_td_tx_handle()
[all …]
Dtx.c80 sband = local->hw.wiphy->bands[info->band]; in ieee80211_duration()
217 if (!ieee80211_hw_check(&local->hw, SUPPORTS_PS)) in ieee80211_tx_h_dynamic_ps()
221 if (ieee80211_hw_check(&local->hw, SUPPORTS_DYNAMIC_PS)) in ieee80211_tx_h_dynamic_ps()
225 if (local->hw.conf.dynamic_ps_timeout <= 0) in ieee80211_tx_h_dynamic_ps()
266 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_tx_h_dynamic_ps()
267 ieee80211_stop_queues_by_reason(&local->hw, in ieee80211_tx_h_dynamic_ps()
272 ieee80211_queue_work(&local->hw, in ieee80211_tx_h_dynamic_ps()
281 msecs_to_jiffies(local->hw.conf.dynamic_ps_timeout)); in ieee80211_tx_h_dynamic_ps()
373 ieee80211_free_txskb(&local->hw, skb); in purge_old_ps_buffers()
390 ieee80211_free_txskb(&local->hw, skb); in purge_old_ps_buffers()
[all …]
Dled.c35 wiphy_name(local->hw.wiphy)); in ieee80211_alloc_led_names()
37 wiphy_name(local->hw.wiphy)); in ieee80211_alloc_led_names()
39 wiphy_name(local->hw.wiphy)); in ieee80211_alloc_led_names()
41 wiphy_name(local->hw.wiphy)); in ieee80211_alloc_led_names()
214 const char *__ieee80211_get_radio_led_name(struct ieee80211_hw *hw) in __ieee80211_get_radio_led_name() argument
216 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_get_radio_led_name()
222 const char *__ieee80211_get_assoc_led_name(struct ieee80211_hw *hw) in __ieee80211_get_assoc_led_name() argument
224 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_get_assoc_led_name()
230 const char *__ieee80211_get_tx_led_name(struct ieee80211_hw *hw) in __ieee80211_get_tx_led_name() argument
232 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_get_tx_led_name()
[all …]
Dscan.c37 cfg80211_put_bss(local->hw.wiphy, in ieee80211_rx_bss_put()
129 local->hw.wiphy->bands[rx_status->band]; in ieee80211_update_bss_from_elems()
157 else if (ieee80211_hw_check(&local->hw, SIGNAL_DBM)) in ieee80211_bss_info_update()
159 else if (ieee80211_hw_check(&local->hw, SIGNAL_UNSPEC)) in ieee80211_bss_info_update()
160 bss_meta.signal = (rx_status->signal * 100) / local->hw.max_signal; in ieee80211_bss_info_update()
183 cbss = cfg80211_inform_bss_frame_data(local->hw.wiphy, &bss_meta, in ieee80211_bss_info_update()
205 <= local->hw.wiphy->max_adj_channel_rssi_comp; in ieee80211_bss_info_update()
279 channel = ieee80211_get_channel(local->hw.wiphy, rx_status->freq); in ieee80211_scan_rx()
324 if (ieee80211_hw_check(&local->hw, SINGLE_SCAN_ON_ALL_BANDS)) { in ieee80211_prep_hw_scan()
375 static void __ieee80211_scan_completed(struct ieee80211_hw *hw, bool aborted) in __ieee80211_scan_completed() argument
[all …]
Doffchannel.c40 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_offchannel_ps_enable()
42 local->hw.conf.flags &= ~IEEE80211_CONF_PS; in ieee80211_offchannel_ps_enable()
47 !ieee80211_hw_check(&local->hw, PS_NULLFUNC_STACK)) in ieee80211_offchannel_ps_enable()
85 local->hw.conf.flags |= IEEE80211_CONF_PS; in ieee80211_offchannel_ps_disable()
87 } else if (local->hw.conf.dynamic_ps_timeout > 0) { in ieee80211_offchannel_ps_disable()
96 msecs_to_jiffies(local->hw.conf.dynamic_ps_timeout)); in ieee80211_offchannel_ps_disable()
119 ieee80211_stop_queues_by_reason(&local->hw, IEEE80211_MAX_QUEUE_MAP, in ieee80211_offchannel_stop_vifs()
184 ieee80211_wake_queues_by_reason(&local->hw, IEEE80211_MAX_QUEUE_MAP, in ieee80211_offchannel_return()
196 ieee80211_free_txskb(&roc->sdata->local->hw, roc->frame); in ieee80211_roc_notify_destroy()
298 void ieee80211_ready_on_channel(struct ieee80211_hw *hw) in ieee80211_ready_on_channel() argument
[all …]
Diface.c87 if (!(local->hw.conf.flags & IEEE80211_CONF_IDLE)) in __ieee80211_idle_off()
90 local->hw.conf.flags &= ~IEEE80211_CONF_IDLE; in __ieee80211_idle_off()
96 if (local->hw.conf.flags & IEEE80211_CONF_IDLE) in __ieee80211_idle_on()
101 local->hw.conf.flags |= IEEE80211_CONF_IDLE; in __ieee80211_idle_on()
161 if (is_zero_ether_addr(local->hw.wiphy->addr_mask)) in ieee80211_verify_mac()
169 m = local->hw.wiphy->addr_mask; in ieee80211_verify_mac()
317 int n_queues = sdata->local->hw.queues; in ieee80211_check_queues()
337 !ieee80211_hw_check(&sdata->local->hw, QUEUE_CONTROL)) { in ieee80211_check_queues()
377 if (ieee80211_hw_check(&local->hw, QUEUE_CONTROL)) in ieee80211_set_default_queues()
379 else if (local->hw.queues >= IEEE80211_NUM_ACS) in ieee80211_set_default_queues()
[all …]
Dmlme.c115 if (ieee80211_hw_check(&sdata->local->hw, CONNECTION_MONITOR)) in ieee80211_sta_reset_beacon_monitor()
132 if (ieee80211_hw_check(&sdata->local->hw, CONNECTION_MONITOR)) in ieee80211_sta_reset_conn_monitor()
221 if (!ieee80211_chandef_vht_oper(&sdata->local->hw, in ieee80211_determine_chantype()
230 } else if (!ieee80211_chandef_vht_oper(&sdata->local->hw, vht_oper, in ieee80211_determine_chantype()
299 while (!cfg80211_chandef_usable(sdata->local->hw.wiphy, chandef, in ieee80211_determine_chantype()
331 local->hw.wiphy->bands[chan->band]; in ieee80211_config_bw()
664 sband = local->hw.wiphy->bands[chan->band]; in ieee80211_send_assoc()
691 skb = alloc_skb(local->hw.extra_tx_headroom + in ieee80211_send_assoc()
709 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_assoc()
722 ieee80211_hw_check(&local->hw, SPECTRUM_MGMT)) in ieee80211_send_assoc()
[all …]
Dibss.c93 sband = local->hw.wiphy->bands[chandef->chan->band]; in ieee80211_ibss_build_presp()
205 if (local->hw.queues >= IEEE80211_NUM_ACS) in ieee80211_ibss_build_presp()
267 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef, in __ieee80211_sta_join_ibss()
280 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef, in __ieee80211_sta_join_ibss()
288 err = cfg80211_chandef_dfs_required(sdata->local->hw.wiphy, in __ieee80211_sta_join_ibss()
389 bss = cfg80211_inform_bss_frame_data(local->hw.wiphy, &bss_meta, mgmt, in __ieee80211_sta_join_ibss()
392 cfg80211_put_bss(local->hw.wiphy, bss); in __ieee80211_sta_join_ibss()
444 sband = sdata->local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_sta_join_ibss()
499 cbss = cfg80211_get_bss(sdata->local->hw.wiphy, ifibss->chandef.chan, in ieee80211_ibss_csa_beacon()
513 cfg80211_put_bss(sdata->local->hw.wiphy, cbss); in ieee80211_ibss_csa_beacon()
[all …]
Drate.c52 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init()
238 debugfsdir = debugfs_create_dir("rc", local->hw.wiphy->debugfsdir); in rate_control_alloc()
243 ref->priv = ref->ops->alloc(&local->hw, debugfsdir); in rate_control_alloc()
281 sband = local->hw.wiphy->bands[band]; in ieee80211_check_rate_mask()
328 static void __rate_control_send_low(struct ieee80211_hw *hw, in __rate_control_send_low() argument
336 ieee80211_chandef_rate_flags(&hw->conf.chandef); in __rate_control_send_low()
365 1 : hw->max_rate_tries; in __rate_control_send_low()
381 __rate_control_send_low(txrc->hw, sband, pubsta, info, in rate_control_send_low()
864 sband = sdata->local->hw.wiphy->bands[info->band]; in ieee80211_get_tx_rates()
870 __rate_control_send_low(&sdata->local->hw, sband, sta, info, in ieee80211_get_tx_rates()
[all …]
Dkey.c163 !ieee80211_hw_check(&key->local->hw, SUPPORTS_PER_STA_GTK)) in ieee80211_key_enable_hw_accel()
222 if (ieee80211_hw_check(&key->local->hw, SW_CRYPTO_CONTROL)) in ieee80211_key_enable_hw_accel()
274 if (!ieee80211_hw_check(&local->hw, AMPDU_KEYBORDER_SUPPORT)) in ieee80211_set_tx_key()
294 !ieee80211_hw_check(&local->hw, AMPDU_KEYBORDER_SUPPORT)) { in ieee80211_pairwise_rekey()
323 if (ieee80211_hw_check(&local->hw, AMPDU_AGGREGATION)) { in ieee80211_pairwise_rekey()
328 if (!wiphy_ext_feature_isset(local->hw.wiphy, in ieee80211_pairwise_rekey()
875 void ieee80211_iter_keys(struct ieee80211_hw *hw, in ieee80211_iter_keys() argument
877 void (*iter)(struct ieee80211_hw *hw, in ieee80211_iter_keys() argument
884 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_iter_keys()
894 iter(hw, &sdata->vif, in ieee80211_iter_keys()
[all …]
Dsta_info.c125 ieee80211_purge_tx_queue(&local->hw, &sta->ps_tx_buf[ac]); in __cleanup_single_sta()
126 ieee80211_purge_tx_queue(&local->hw, &sta->tx_filtered[ac]); in __cleanup_single_sta()
145 ieee80211_purge_tx_queue(&local->hw, &tid_tx->pending); in __cleanup_single_sta()
291 if (ieee80211_hw_check(&local->hw, HAS_RATE_CONTROL)) in sta_prepare_rate_control()
307 struct ieee80211_hw *hw = &local->hw; in sta_info_alloc() local
311 sta = kzalloc(sizeof(*sta) + hw->sta_data_size, gfp); in sta_info_alloc()
315 if (ieee80211_hw_check(hw, USES_RSS)) { in sta_info_alloc()
345 local->hw.max_rx_aggregation_subframes; in sta_info_alloc()
376 ALIGN(hw->txq_data_size, sizeof(void *)); in sta_info_alloc()
408 if (!hw->wiphy->bands[i]) in sta_info_alloc()
[all …]
Dagg-tx.c71 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom); in ieee80211_send_addba_request()
76 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_addba_request()
120 skb = dev_alloc_skb(sizeof(*bar) + local->hw.extra_tx_headroom); in ieee80211_send_bar()
124 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_bar()
170 &sdata->local->hw, queue, in __acquires()
183 &sdata->local->hw, queue, in __releases()
515 buf_size = local->hw.max_tx_aggregation_subframes; in ieee80211_tx_ba_session_handle_start()
581 !ieee80211_hw_check(&local->hw, AMPDU_AGGREGATION) || in ieee80211_start_tx_ba_session()
582 ieee80211_hw_check(&local->hw, TX_AMPDU_SETUP_IN_HW)) in ieee80211_start_tx_ba_session()
689 ieee80211_queue_work(&local->hw, &sta->ampdu_mlme.work); in ieee80211_start_tx_ba_session()
[all …]
/net/mac802154/
Dutil.c16 void ieee802154_wake_queue(struct ieee802154_hw *hw) in ieee802154_wake_queue() argument
18 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_wake_queue()
32 void ieee802154_stop_queue(struct ieee802154_hw *hw) in ieee802154_stop_queue() argument
34 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_stop_queue()
53 ieee802154_wake_queue(&local->hw); in ieee802154_xmit_ifs_timer()
58 void ieee802154_xmit_complete(struct ieee802154_hw *hw, struct sk_buff *skb, in ieee802154_xmit_complete() argument
62 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_xmit_complete()
69 if (hw->flags & IEEE802154_HW_TX_OMIT_CKSUM) in ieee802154_xmit_complete()
77 hw->phy->lifs_period * NSEC_PER_USEC, in ieee802154_xmit_complete()
81 hw->phy->sifs_period * NSEC_PER_USEC, in ieee802154_xmit_complete()
[all …]
Ddriver-ops.h16 return local->ops->xmit_async(&local->hw, skb); in drv_xmit_async()
24 return local->ops->xmit_sync(&local->hw, skb); in drv_xmit_sync()
36 ret = local->ops->start(&local->hw); in drv_start()
46 local->ops->stop(&local->hw); in drv_stop()
66 ret = local->ops->set_channel(&local->hw, page, channel); in drv_set_channel()
83 ret = local->ops->set_txpower(&local->hw, mbm); in drv_set_tx_power()
101 ret = local->ops->set_cca_mode(&local->hw, cca); in drv_set_cca_mode()
118 ret = local->ops->set_lbt(&local->hw, mode); in drv_set_lbt_mode()
136 ret = local->ops->set_cca_ed_level(&local->hw, mbm); in drv_set_cca_ed_level()
156 ret = local->ops->set_hw_addr_filt(&local->hw, &filt, in drv_set_pan_id()
[all …]
Dmain.c87 local->hw.phy = local->phy; in ieee802154_alloc_hw()
88 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); in ieee802154_alloc_hw()
114 return &local->hw; in ieee802154_alloc_hw()
118 void ieee802154_free_hw(struct ieee802154_hw *hw) in ieee802154_free_hw() argument
120 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_free_hw()
142 int ieee802154_register_hw(struct ieee802154_hw *hw) in ieee802154_register_hw() argument
144 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_register_hw()
158 wpan_phy_set_dev(local->phy, local->hw.parent); in ieee802154_register_hw()
162 if (!(hw->flags & IEEE802154_HW_CSMA_PARAMS)) { in ieee802154_register_hw()
171 if (!(hw->flags & IEEE802154_HW_FRAME_RETRIES)) { in ieee802154_register_hw()
[all …]
Dtx.c37 ieee802154_xmit_complete(&local->hw, skb, false); in ieee802154_xmit_worker()
46 ieee802154_wake_queue(&local->hw); in ieee802154_xmit_worker()
57 if (!(local->hw.flags & IEEE802154_HW_TX_OMIT_CKSUM)) { in ieee802154_tx()
77 ieee802154_stop_queue(&local->hw); in ieee802154_tx()
83 ieee802154_wake_queue(&local->hw); in ieee802154_tx()
Diface.c151 if (local->hw.flags & IEEE802154_HW_PROMISCUOUS) { in ieee802154_setup_hw()
158 if (local->hw.flags & IEEE802154_HW_AFILT) { in ieee802154_setup_hw()
172 if (local->hw.flags & IEEE802154_HW_LBT) { in ieee802154_setup_hw()
178 if (local->hw.flags & IEEE802154_HW_CSMA_PARAMS) { in ieee802154_setup_hw()
186 if (local->hw.flags & IEEE802154_HW_FRAME_RETRIES) { in ieee802154_setup_hw()
232 if (local->hw.flags & IEEE802154_HW_PROMISCUOUS) { in ieee802154_check_mac_settings()
237 if (local->hw.flags & IEEE802154_HW_AFILT) { in ieee802154_check_mac_settings()
244 if (local->hw.flags & IEEE802154_HW_CSMA_PARAMS) { in ieee802154_check_mac_settings()
251 if (local->hw.flags & IEEE802154_HW_FRAME_RETRIES) { in ieee802154_check_mac_settings()
256 if (local->hw.flags & IEEE802154_HW_LBT) { in ieee802154_check_mac_settings()
[all …]
Drx.c125 u64 hw = swab64((__force u64)addr->extended_addr); in ieee802154_print_addr() local
127 pr_debug("%s is hardware: %8phC\n", name, &hw); in ieee802154_print_addr()
262 if (local->hw.flags & IEEE802154_HW_RX_OMIT_CKSUM) { in ieee802154_rx()
274 if (local->hw.flags & IEEE802154_HW_RX_DROP_BAD_CKSUM) { in ieee802154_rx()
294 ieee802154_rx_irqsafe(struct ieee802154_hw *hw, struct sk_buff *skb, u8 lqi) in ieee802154_rx_irqsafe() argument
296 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_rx_irqsafe()
Dieee802154_i.h26 struct ieee802154_hw hw; member
98 hw_to_local(struct ieee802154_hw *hw) in hw_to_local() argument
100 return container_of(hw, struct ieee802154_local, hw); in hw_to_local()
/net/netfilter/ipvs/
Dip_vs_fo.c25 int hw = 0; /* Track highest weight */ in ip_vs_fo_schedule() local
34 atomic_read(&dest->weight) > hw) { in ip_vs_fo_schedule()
36 hw = atomic_read(&dest->weight); in ip_vs_fo_schedule()

123