Home
last modified time | relevance | path

Searched refs:local (Results 1 – 25 of 1815) sorted by relevance

12345678910>>...73

/openbmc/linux/net/mac80211/
H A Ddriver-ops.h37 local->ops->tx(&local->hw, control, skb); in drv_tx()
45 local->ops->sync_rx_queues(&local->hw); in drv_sync_rx_queues()
53 struct ieee80211_local *local = sdata->local; in drv_get_et_strings() local
65 struct ieee80211_local *local = sdata->local; in drv_get_et_stats() local
76 struct ieee80211_local *local = sdata->local; in drv_get_et_sset_count() local
99 ret = local->ops->suspend(&local->hw, wowlan); in drv_suspend()
111 ret = local->ops->resume(&local->hw); in drv_resume()
125 local->ops->set_wakeup(&local->hw, enabled); in drv_set_wakeup()
147 ret = local->ops->config(&local->hw, changed); in drv_config()
605 ret = local->ops->tx_last_beacon(&local->hw); in drv_tx_last_beacon()
[all …]
H A Dled.c46 kfree(local->rx_led.name); in ieee80211_free_led_names()
47 kfree(local->tx_led.name); in ieee80211_free_led_names()
48 kfree(local->assoc_led.name); in ieee80211_free_led_names()
157 if (local->rx_led.name && led_trigger_register(&local->rx_led)) { in ieee80211_led_init()
165 if (local->tx_led.name && led_trigger_register(&local->tx_led)) { in ieee80211_led_init()
173 if (local->assoc_led.name && led_trigger_register(&local->assoc_led)) { in ieee80211_led_init()
181 if (local->radio_led.name && led_trigger_register(&local->radio_led)) { in ieee80211_led_init()
203 if (local->tx_led.name) in ieee80211_led_exit()
205 if (local->rx_led.name) in ieee80211_led_exit()
261 struct ieee80211_local *local = tpt_trig->local; in tpt_trig_timer() local
[all …]
H A Dmain.c50 if (local->fif_probe_req || local->probe_req_reg) in ieee80211_configure_filter()
74 mc = drv_prepare_multicast(local, &local->mc_list); in ieee80211_configure_filter()
142 } else if (local->hw.conf.smps_mode != local->smps_mode) { in ieee80211_hw_conf_chan()
143 local->hw.conf.smps_mode = local->smps_mode; in ieee80211_hw_conf_chan()
214 struct ieee80211_local *local = sdata->local; in ieee80211_bss_info_change_notify() local
255 local->ops->link_info_changed(&local->hw, &sdata->vif, in ieee80211_bss_info_change_notify()
260 local->ops->bss_info_changed(&local->hw, &sdata->vif, in ieee80211_bss_info_change_notify()
268 struct ieee80211_local *local = sdata->local; in ieee80211_vif_cfg_change_notify() local
282 struct ieee80211_local *local = sdata->local; in ieee80211_link_info_change_notify() local
388 wiphy_work_flush(local->hw.wiphy, &local->hw_roc_done); in ieee80211_restart_work()
[all …]
H A Dscan.c345 struct ieee80211_local *local = sdata->local; in ieee80211_prep_hw_scan() local
539 drv_sw_scan_start(local, sdata, local->scan_addr); in ieee80211_start_sw_scan()
562 struct ieee80211_local *local = sdata->local; in __ieee80211_can_leave_ch() local
603 if (!local->scan_req || local->scanning) in ieee80211_run_deferred_scan()
687 struct ieee80211_local *local = sdata->local; in __ieee80211_start_scan() local
792 drv_sw_scan_start(local, sdata, local->scan_addr); in __ieee80211_start_scan()
978 local->scan_chandef = local->_oper_chandef; in ieee80211_scan_state_set_channel()
1181 struct ieee80211_local *local = sdata->local; in ieee80211_request_ibss_scan() local
1234 local->int_scan_req->ssids = &local->scan_ssid; in ieee80211_request_ibss_scan()
1308 struct ieee80211_local *local = sdata->local; in __ieee80211_request_sched_scan_start() local
[all …]
H A Ddriver-ops.c26 ret = local->ops->start(&local->hw); in drv_start()
43 local->ops->stop(&local->hw); in drv_stop()
69 ret = local->ops->add_interface(&local->hw, &sdata->vif); in drv_add_interface()
104 local->ops->remove_interface(&local->hw, &sdata->vif); in drv_remove_interface()
179 local->ops->sta_rc_update(&local->hw, &sdata->vif, in drv_sta_rc_update()
214 ret = local->ops->conf_tx(&local->hw, &sdata->vif, in drv_conf_tx()
248 local->ops->set_tsf(&local->hw, &sdata->vif, tsf); in drv_set_tsf()
277 local->ops->reset_tsf(&local->hw, &sdata->vif); in drv_reset_tsf()
299 ret = local->ops->assign_vif_chanctx(&local->hw, in drv_assign_vif_chanctx()
327 local->ops->unassign_vif_chanctx(&local->hw, in drv_unassign_vif_chanctx()
[all …]
H A Doffchannel.c27 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_enable() local
63 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_disable() local
341 wiphy_work_queue(local->hw.wiphy, &local->hw_roc_done); in _ieee80211_start_next_roc()
371 wiphy_delayed_work_queue(local->hw.wiphy, &local->roc_work, in _ieee80211_start_next_roc()
410 wiphy_delayed_work_queue(local->hw.wiphy, &local->roc_work, in ieee80211_start_next_roc()
546 if (local->use_chanctx && !local->ops->remain_on_channel) in ieee80211_start_roc_work()
585 !local->scanning && !ieee80211_is_radar_required(local)) { in ieee80211_start_roc_work()
677 struct ieee80211_local *local = sdata->local; in ieee80211_remain_on_channel() local
698 wiphy_work_flush(local->hw.wiphy, &local->hw_roc_start); in ieee80211_cancel_roc()
761 struct ieee80211_local *local = sdata->local; in ieee80211_cancel_remain_on_channel() local
[all …]
H A Dpm.c27 if (!local->open_count) in __ieee80211_suspend()
30 local->suspending = true; in __ieee80211_suspend()
33 ieee80211_scan_cancel(local); in __ieee80211_suspend()
43 mutex_lock(&local->sta_mtx); in __ieee80211_suspend()
66 local->quiescing = true; in __ieee80211_suspend()
82 local->wowlan = wowlan; in __ieee80211_suspend()
83 if (local->wowlan) { in __ieee80211_suspend()
120 local->wowlan = false; in __ieee80211_suspend()
178 local->suspended = true; in __ieee80211_suspend()
181 local->quiescing = false; in __ieee80211_suspend()
[all …]
H A Dchan.c72 struct ieee80211_local *local __maybe_unused = link->sdata->local; in ieee80211_link_get_chanctx()
859 struct ieee80211_local *local = sdata->local; in ieee80211_assign_link_chanctx() local
1057 struct ieee80211_local *local = link->sdata->local; in ieee80211_link_copy_chanctx_to_vlans() local
1108 struct ieee80211_local *local = sdata->local; in ieee80211_link_reserve_chanctx() local
1261 struct ieee80211_local *local = sdata->local; in ieee80211_link_use_reserved_reassign() local
1343 struct ieee80211_local *local = sdata->local; in ieee80211_link_use_reserved_assign() local
1781 struct ieee80211_local *local = sdata->local; in __ieee80211_link_release_channel() local
1819 struct ieee80211_local *local = sdata->local; in ieee80211_link_use_channel() local
1882 struct ieee80211_local *local = sdata->local; in ieee80211_link_use_reserved_context() local
1947 struct ieee80211_local *local = sdata->local; in ieee80211_link_change_bandwidth() local
[all …]
H A Dled.h16 if (!atomic_read(&local->rx_led_active)) in ieee80211_led_rx()
25 if (!atomic_read(&local->tx_led_active)) in ieee80211_led_tx()
32 void ieee80211_led_assoc(struct ieee80211_local *local,
34 void ieee80211_led_radio(struct ieee80211_local *local,
37 void ieee80211_free_led_names(struct ieee80211_local *local);
38 void ieee80211_led_init(struct ieee80211_local *local);
39 void ieee80211_led_exit(struct ieee80211_local *local);
74 if (atomic_read(&local->tpt_led_active)) in ieee80211_tpt_led_trig_tx()
75 local->tpt_led_trigger->tx_bytes += bytes; in ieee80211_tpt_led_trig_tx()
83 if (atomic_read(&local->tpt_led_active)) in ieee80211_tpt_led_trig_rx()
[all …]
H A Diface.c157 struct ieee80211_local *local = sdata->local; in ieee80211_verify_mac() local
206 struct ieee80211_local *local = sdata->local; in ieee80211_can_powered_addr_change() local
257 struct ieee80211_local *local = sdata->local; in _ieee80211_change_mac() local
300 struct ieee80211_local *local = sdata->local; in ieee80211_change_mac() local
333 struct ieee80211_local *local = sdata->local; in ieee80211_check_concurrent_iface() local
467 struct ieee80211_local *local = sdata->local; in ieee80211_do_stop() local
743 if (local->monitors == local->open_count) in ieee80211_do_stop()
801 struct ieee80211_local *local = sdata->local; in ieee80211_set_multicast_list() local
856 struct ieee80211_local *local = sdata->local; in ieee80211_netdev_setup_tc() local
920 local = sdata->local; in ieee80211_netdev_fill_forward_path()
[all …]
/openbmc/linux/net/mac802154/
H A 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()
42 ret = local->ops->set_hw_addr_filt(&local->hw, &filt, in drv_set_pan_id()
64 ret = local->ops->set_hw_addr_filt(&local->hw, &filt, in drv_set_extended_addr()
86 ret = local->ops->set_hw_addr_filt(&local->hw, &filt, in drv_set_short_addr()
108 ret = local->ops->set_hw_addr_filt(&local->hw, &filt, in drv_set_pan_coord()
210 ret = local->ops->start(&local->hw); in drv_start()
220 local->ops->stop(&local->hw); in drv_stop()
257 ret = local->ops->set_txpower(&local->hw, mbm); in drv_set_tx_power()
275 ret = local->ops->set_cca_mode(&local->hw, cca); in drv_set_cca_mode()
[all …]
H A Dscan.c76 drv_stop(local); in mac802154_scan_cleanup_locked()
79 drv_start(local, sdata->required_filtering, &local->addr_filt); in mac802154_scan_cleanup_locked()
191 drv_stop(local); in mac802154_scan_worker()
207 queue_delayed_work(local->mac_wq, &local->scan_work, in mac802154_scan_worker()
276 struct ieee802154_local *local = sdata->local; in mac802154_trigger_scan_locked() local
304 queue_delayed_work(local->mac_wq, &local->scan_work, 0); in mac802154_trigger_scan_locked()
423 queue_delayed_work(local->mac_wq, &local->beacon_work, in mac802154_beacon_worker()
440 queue_delayed_work(local->mac_wq, &local->beacon_work, in mac802154_beacon_worker()
470 struct ieee802154_local *local = sdata->local; in mac802154_send_beacons_locked() local
482 memset(&local->beacon, 0, sizeof(local->beacon)); in mac802154_send_beacons_locked()
[all …]
H A Dmain.c25 struct ieee802154_local *local = from_tasklet(local, t, tasklet); in ieee802154_tasklet_handler() local
35 ieee802154_rx(local, skb); in ieee802154_tasklet_handler()
86 local->phy = phy; in ieee802154_alloc_hw()
87 local->hw.phy = local->phy; in ieee802154_alloc_hw()
88 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); in ieee802154_alloc_hw()
89 local->ops = ops; in ieee802154_alloc_hw()
118 return &local->hw; in ieee802154_alloc_hw()
200 local->workqueue = in ieee802154_register_hw()
209 if (!local->mac_wq) { in ieee802154_register_hw()
217 wpan_phy_set_dev(local->phy, local->hw.parent); in ieee802154_register_hw()
[all …]
H A Dtx.c27 struct ieee802154_local *local = in ieee802154_xmit_sync_worker() local
33 res = drv_xmit_sync(local, skb); in ieee802154_xmit_sync_worker()
79 ieee802154_hold_queue(local); in ieee802154_tx()
86 if (local->ops->xmit_async) { in ieee802154_tx()
96 local->tx_skb = skb; in ieee802154_tx()
97 queue_work(local->workqueue, &local->sync_tx_work); in ieee802154_tx()
115 ieee802154_hold_queue(local); in ieee802154_sync_queue()
117 wait_event(local->phy->sync_txq, !atomic_read(&local->phy->ongoing_txs)); in ieee802154_sync_queue()
118 ret = local->tx_result; in ieee802154_sync_queue()
150 if (!local->open_count) in ieee802154_mlme_tx_locked()
[all …]
H A Dutil.c73 ieee802154_stop_queue(&local->hw); in ieee802154_hold_queue()
83 ieee802154_wake_queue(&local->hw); in ieee802154_release_queue()
103 struct ieee802154_local *local = in ieee802154_xmit_ifs_timer() local
106 ieee802154_release_queue(local); in ieee802154_xmit_ifs_timer()
132 hrtimer_start(&local->ifs_timer, in ieee802154_xmit_complete()
136 hrtimer_start(&local->ifs_timer, in ieee802154_xmit_complete()
140 ieee802154_release_queue(local); in ieee802154_xmit_complete()
154 local->tx_result = reason; in ieee802154_xmit_error()
155 ieee802154_release_queue(local); in ieee802154_xmit_error()
170 flush_workqueue(local->workqueue); in ieee802154_stop_device()
[all …]
/openbmc/linux/net/rxrpc/
H A Dlocal_object.c116 if (local) { in rxrpc_alloc_local()
155 return local; in rxrpc_alloc_local()
293 if (!local) in rxrpc_lookup_local()
310 return local; in rxrpc_lookup_local()
316 if (local) in rxrpc_lookup_local()
338 return local; in rxrpc_get_local()
349 if (local && __refcount_inc_not_zero(&local->ref, &r)) { in rxrpc_get_local_maybe()
367 if (local) { in rxrpc_put_local()
386 if (!local) in rxrpc_use_local()
406 if (local) { in rxrpc_unuse_local()
[all …]
/openbmc/linux/drivers/net/wireless/intersil/hostap/
H A Dhostap_hw.c253 local = iface->local; in hfa384x_cmd_issue()
321 local = iface->local; in hfa384x_cmd()
490 local = iface->local; in hfa384x_cmd_callback()
646 local = iface->local; in prism2_cmd_ev()
793 local = iface->local; in hfa384x_get_rid()
871 local = iface->local; in hfa384x_set_rid()
995 local = iface->local; in prism2_reset_port()
1039 local = iface->local; in prism2_get_version_info()
1065 local = iface->local; in prism2_setup_rids()
1289 local = iface->local; in prism2_hw_init()
[all …]
H A Dhostap_info.c97 if (local->tallies32) in prism2_info_commtallies()
137 local->last_join_time = 0; in prism2_info_linkstatus()
203 if (local->preferred_ap[0] || local->preferred_ap[1] || in prism2_host_roaming()
204 local->preferred_ap[2] || local->preferred_ap[3] || in prism2_host_roaming()
205 local->preferred_ap[4] || local->preferred_ap[5]) { in prism2_host_roaming()
248 local->scan_timestamp = 0; in hostap_report_scan_complete()
427 if (local->func->get_rid(local->dev, HFA384X_RID_CURRENTBSSID, in handle_info_queue_linkstatus()
433 local->dev->name, in handle_info_queue_linkstatus()
436 hostap_add_sta(local->ap, local->bssid); in handle_info_queue_linkstatus()
465 if (local->host_roaming == 1 && local->iw_mode == IW_MODE_INFRA) in handle_info_queue_scanresults()
[all …]
H A Dhostap_main.c60 iface->local = local; in hostap_add_interface()
356 ((local->ieee_802_1x || local->wpa) && local->host_decrypt)) in hostap_set_encryption()
397 if (local->func->set_rid(local->dev, in hostap_set_encryption()
606 local = iface->local; in prism2_close()
614 local->hw_ready && local->ap && local->iw_mode == IW_MODE_MASTER) in prism2_close()
659 local = iface->local; in prism2_open()
707 local = iface->local; in prism2_set_mac_address()
752 local = iface->local; in hostap_set_multicast_list()
771 local = iface->local; in prism2_tx_timeout()
782 local->func->schedule_reset(local); in prism2_tx_timeout()
[all …]
H A Dhostap_ioctl.c24 local = iface->local; in hostap_get_wireless_stats()
75 local = iface->local; in prism2_get_datarates()
125 local = iface->local; in prism2_ioctl_siwencode()
229 local = iface->local; in prism2_ioctl_giwencode()
287 local = iface->local; in hostap_set_rate()
333 local = iface->local; in prism2_ioctl_siwrate()
396 local = iface->local; in prism2_ioctl_giwrate()
454 local = iface->local; in prism2_ioctl_siwsens()
477 local = iface->local; in prism2_ioctl_giwsens()
503 local = iface->local; in prism2_ioctl_giwaplist()
[all …]
H A Dhostap_proc.c17 local_info_t *local = m->private; in prism2_debug_proc_show() local
21 local->next_txfid, local->next_alloc); in prism2_debug_proc_show()
24 local->txfid[i], local->intransmitfid[i]); in prism2_debug_proc_show()
152 __acquires(&local->lock) in prism2_bss_list_proc_start()
166 __releases(&local->lock) in prism2_bss_list_proc_stop()
361 local->proc = NULL; in hostap_init_proc()
369 local->proc = proc_mkdir(local->ddev->name, hostap_proc); in hostap_init_proc()
381 local); in hostap_init_proc()
388 local); in hostap_init_proc()
392 local); in hostap_init_proc()
[all …]
H A Dhostap_80211_rx.c67 local_info_t *local; in prism2_rx_80211() local
74 local = iface->local; in prism2_rx_80211()
272 entry = &local->frag_cache[local->frag_next_idx]; in prism2_frag_cache_get()
367 local->num_bss_info++; in __hostap_add_bss()
589 if (local->ap && local->ap->autom_ap_wds) in hostap_rx_frame_wds()
720 local_info_t *local; in hostap_80211_rx() local
738 local = iface->local; in hostap_80211_rx()
744 dev = local->ddev; in hostap_80211_rx()
871 local->stadev && in hostap_80211_rx()
1012 if (local->ieee_802_1x && local->iw_mode == IW_MODE_MASTER) { in hostap_80211_rx()
[all …]
/openbmc/linux/net/nfc/
H A Dllcp_core.c47 struct nfc_llcp_local *local = sock->local; in nfc_llcp_socket_purge() local
53 if (local == NULL) in nfc_llcp_socket_purge()
157 return local; in nfc_llcp_local_get()
182 kfree(local); in local_release()
193 dev = local->dev; in nfc_llcp_local_put()
246 struct nfc_llcp_local *local = from_timer(local, t, link_timer); in nfc_llcp_symm_timer() local
319 return local; in nfc_llcp_remove_local()
739 data[0] = local->dev ? local->dev->idx : 0xFF; in nfc_llcp_send_to_raw_sock()
793 ret = nfc_data_exchange(local->dev, local->target_idx, in nfc_llcp_tx_work()
978 new_sock->local = nfc_llcp_local_get(local); in nfc_llcp_recv_connect()
[all …]
/openbmc/linux/drivers/net/wireless/legacy/
H A Dray_cs.c306 local->wireless_data.spy_data = &local->spy_data; in ray_probe()
493 local->fw_ver = local->startup_res.firmware_version[0]; in ray_init()
494 local->fw_bld = local->startup_res.firmware_version[1]; in ray_init()
500 if ((local->fw_ver == 5) && (local->fw_bld >= 30)) in ray_init()
501 local->tib_length = local->startup_res.tib_length; in ray_init()
636 ray_dev_t *local = from_timer(local, t, timer); in verify_dl_startup() local
678 ray_dev_t *local = from_timer(local, t, timer); in start_net() local
705 ray_dev_t *local = from_timer(local, t, timer); in join_net() local
1403 local->wstats.status = local->card_status; in ray_get_wireless_stats()
1641 ray_dev_t *local = from_timer(local, t, timer); in authenticate_timeout() local
[all …]
/openbmc/linux/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test.c94 if (local) { in toggle_breakpoint()
219 for (local = 0; local < 2; local++) { in trigger_tests()
221 if (!local && !global) in trigger_tests()
233 for (local = 0; local < 2; local++) { in trigger_tests()
244 for (local = 0; local < 2; local++) { in trigger_tests()
301 i, local, global); in launch_instruction_breakpoints()
344 for (local = 0; local < 2; local++) { in launch_tests()
354 for (local = 0; local < 2; local++) { in launch_tests()
359 local, global); in launch_tests()
366 for (local = 0; local < 2; local++) { in launch_tests()
[all …]

12345678910>>...73