/linux/net/mac80211/ |
H A D | driver-ops.h | 37 local->ops->tx(&local->hw, control, skb); in drv_tx() 48 local->ops->sync_rx_queues(&local->hw); in drv_sync_rx_queues() 56 struct ieee80211_local *local = sdata->local; in drv_get_et_strings() local 68 struct ieee80211_local *local = sdata->local; in drv_get_et_stats() local 79 struct ieee80211_local *local = sdata->local; in drv_get_et_sset_count() local 103 ret = local->ops->suspend(&local->hw, wowlan); in drv_suspend() 116 ret = local->ops->resume(&local->hw); in drv_resume() 131 local->ops->set_wakeup(&local->hw, enabled); in drv_set_wakeup() 154 ret = local->ops->config(&local->hw, changed); in drv_config() 658 ret = local->ops->tx_last_beacon(&local->hw); in drv_tx_last_beacon() [all …]
|
H A D | led.c | 46 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 D | scan.c | 337 if (local->open_count == local->monitors) in ieee80211_scan_rx() 357 struct ieee80211_local *local = sdata->local; in ieee80211_prep_hw_scan() local 552 drv_sw_scan_start(local, sdata, local->scan_addr); in ieee80211_start_sw_scan() 575 struct ieee80211_local *local = sdata->local; in __ieee80211_can_leave_ch() local 614 if (!local->scan_req || local->scanning) in ieee80211_run_deferred_scan() 701 struct ieee80211_local *local = sdata->local; in __ieee80211_start_scan() local 986 local->scan_chandef = local->hw.conf.chandef; in ieee80211_scan_state_set_channel() 1177 struct ieee80211_local *local = sdata->local; in ieee80211_request_ibss_scan() local 1230 local->int_scan_req->ssids = &local->scan_ssid; in ieee80211_request_ibss_scan() 1299 struct ieee80211_local *local = sdata->local; in __ieee80211_request_sched_scan_start() local [all …]
|
H A D | main.c | 50 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() 336 struct ieee80211_local *local = sdata->local; in ieee80211_bss_info_change_notify() local 366 local->ops->vif_cfg_changed(&local->hw, &sdata->vif, ch); in ieee80211_bss_info_change_notify() 376 local->ops->link_info_changed(&local->hw, &sdata->vif, in ieee80211_bss_info_change_notify() 381 local->ops->bss_info_changed(&local->hw, &sdata->vif, in ieee80211_bss_info_change_notify() 389 struct ieee80211_local *local = sdata->local; in ieee80211_vif_cfg_change_notify() local 403 struct ieee80211_local *local = sdata->local; in ieee80211_link_info_change_notify() local 507 wiphy_work_flush(local->hw.wiphy, &local->hw_roc_done); in ieee80211_restart_work() 895 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); in ieee80211_alloc_hw_nm() [all …]
|
H A D | driver-ops.c | 27 ret = local->ops->start(&local->hw); in drv_start() 45 local->ops->stop(&local->hw); in drv_stop() 122 local->ops->remove_interface(&local->hw, &sdata->vif); in drv_remove_interface() 198 local->ops->sta_rc_update(&local->hw, &sdata->vif, in drv_sta_rc_update() 233 ret = local->ops->conf_tx(&local->hw, &sdata->vif, in drv_conf_tx() 300 local->ops->reset_tsf(&local->hw, &sdata->vif); in drv_reset_tsf() 323 ret = local->ops->assign_vif_chanctx(&local->hw, in drv_assign_vif_chanctx() 350 local->ops->unassign_vif_chanctx(&local->hw, in drv_unassign_vif_chanctx() 389 ret = local->ops->switch_vif_chanctx(&local->hw, in drv_switch_vif_chanctx() 537 if (!local->in_reconfig && !local->resuming) { in drv_change_vif_links() [all …]
|
H A D | offchannel.c | 27 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_enable() local 37 wiphy_work_cancel(local->hw.wiphy, &local->dynamic_ps_enable_work); in ieee80211_offchannel_ps_enable() 63 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_disable() local 339 wiphy_work_queue(local->hw.wiphy, &local->hw_roc_done); in _ieee80211_start_next_roc() 372 wiphy_delayed_work_queue(local->hw.wiphy, &local->roc_work, in _ieee80211_start_next_roc() 411 wiphy_delayed_work_queue(local->hw.wiphy, &local->roc_work, in ieee80211_start_next_roc() 676 struct ieee80211_local *local = sdata->local; in ieee80211_remain_on_channel() local 696 wiphy_work_flush(local->hw.wiphy, &local->hw_roc_start); in ieee80211_cancel_roc() 738 wiphy_work_cancel(local->hw.wiphy, &local->hw_roc_done); in ieee80211_cancel_roc() 772 struct ieee80211_local *local = sdata->local; in ieee80211_cancel_remain_on_channel() local [all …]
|
H A D | pm.c | 27 if (!local->open_count) in __ieee80211_suspend() 30 local->suspending = true; in __ieee80211_suspend() 33 ieee80211_scan_cancel(local); in __ieee80211_suspend() 65 local->quiescing = true; in __ieee80211_suspend() 78 wiphy_work_cancel(local->hw.wiphy, &local->dynamic_ps_enable_work); in __ieee80211_suspend() 81 local->wowlan = wowlan; in __ieee80211_suspend() 82 if (local->wowlan) { in __ieee80211_suspend() 119 local->wowlan = false; in __ieee80211_suspend() 177 local->suspended = true; in __ieee80211_suspend() 180 local->quiescing = false; in __ieee80211_suspend() [all …]
|
H A D | led.h | 16 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 D | iface.c | 156 struct ieee80211_local *local = sdata->local; in ieee80211_verify_mac() local 205 struct ieee80211_local *local = sdata->local; in ieee80211_can_powered_addr_change() local 255 struct ieee80211_local *local = sdata->local; in _ieee80211_change_mac() local 298 struct ieee80211_local *local = sdata->local; in ieee80211_change_mac() local 331 struct ieee80211_local *local = sdata->local; in ieee80211_check_concurrent_iface() local 463 struct ieee80211_local *local = sdata->local; in ieee80211_do_stop() local 715 if (local->monitors == local->open_count) in ieee80211_do_stop() 773 struct ieee80211_local *local = sdata->local; in ieee80211_set_multicast_list() local 828 struct ieee80211_local *local = sdata->local; in ieee80211_netdev_setup_tc() local 892 local = sdata->local; in ieee80211_netdev_fill_forward_path() [all …]
|
H A D | chan.c | 73 struct ieee80211_local *local __maybe_unused = link->sdata->local; in ieee80211_link_get_chanctx() 819 struct ieee80211_local *local = sdata->local; in ieee80211_assign_link_chanctx() local 1013 struct ieee80211_local *local = link->sdata->local; in ieee80211_link_copy_chanctx_to_vlans() local 1062 struct ieee80211_local *local = sdata->local; in ieee80211_link_reserve_chanctx() local 1215 struct ieee80211_local *local = sdata->local; in ieee80211_link_use_reserved_reassign() local 1298 struct ieee80211_local *local = sdata->local; in ieee80211_link_use_reserved_assign() local 1705 struct ieee80211_local *local = sdata->local; in __ieee80211_link_release_channel() local 1744 struct ieee80211_local *local = sdata->local; in _ieee80211_link_use_channel() local 1816 struct ieee80211_local *local = sdata->local; in ieee80211_link_use_reserved_context() local 1926 struct ieee80211_local *local = sdata->local; in ieee80211_link_change_chanreq() local [all …]
|
H A D | debugfs.c | 63 local->hw.conf.flags); 65 local->user_power_level); 73 local->rate_ctrl ? local->rate_ctrl->ops->name : "hw/driver"); 81 struct fq *fq = &local->fq; in aqm_read() 85 spin_lock_bh(&local->fq.lock); in aqm_read() 291 wiphy_lock(local->hw.wiphy); in aql_txq_limit_write() 303 wiphy_unlock(local->hw.wiphy); in aql_txq_limit_write() 400 local->force_tx_status = 0; in force_tx_status_write() 402 local->force_tx_status = 1; in force_tx_status_write() 424 wiphy_lock(local->hw.wiphy); in reset_write() [all …]
|
H A D | trace.h | 151 TP_ARGS(local), 227 TP_ARGS(local) 289 TP_ARGS(local) 309 TP_ARGS(local) 314 TP_ARGS(local) 333 TP_ARGS(local) 1131 TP_ARGS(local) 1401 TP_ARGS(local) 1406 TP_ARGS(local) 2669 TP_ARGS(local) [all …]
|
H A D | util.c | 325 struct ieee80211_local *local = sdata->local; in __ieee80211_wake_txqs() local 888 if (local->quiescing || (local->suspended && !local->resuming)) { in ieee80211_can_queue_work() 965 struct ieee80211_local *local = sdata->local; in ieee80211_set_wmm_default() local 1079 struct ieee80211_local *local = sdata->local; in ieee80211_send_auth() local 1142 struct ieee80211_local *local = sdata->local; in ieee80211_send_deauth_disassoc() local 1200 struct ieee80211_local *local = sdata->local; in ieee80211_put_preq_ies_band() local 1477 struct ieee80211_local *local = sdata->local; in ieee80211_build_probe_req() local 1663 struct ieee80211_local *local = sdata->local; in ieee80211_reconfig_stations() local 2146 if (local->monitors == local->open_count && local->monitors > 0) in ieee80211_reconfig() 2240 local = sdata->local; in ieee80211_reconfig_disconnect() [all …]
|
H A D | sta_info.c | 138 struct ieee80211_local *local = sdata->local; in __cleanup_single_sta() local 191 struct ieee80211_local *local = sdata->local; in cleanup_single_sta() local 207 struct ieee80211_local *local = sdata->local; in sta_info_get() local 232 struct ieee80211_local *local = sdata->local; in sta_info_get_bss() local 261 struct ieee80211_local *local = sdata->local; in link_sta_info_get_bss() local 336 struct ieee80211_local *local = sdata->local; in sta_info_get_by_idx() local 548 sta->local = local; in __sta_info_alloc() 821 struct ieee80211_local *local = sta->local; in sta_info_insert_finish() local 936 struct ieee80211_local *local = sta->local; in sta_info_insert_rcu() local 1008 struct ieee80211_local *local = sta->local; in __sta_info_recalc_tim() local [all …]
|
/linux/net/mac802154/ |
H A D | driver-ops.h | 16 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 D | tx.c | 27 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 D | main.c | 25 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() 120 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 D | scan.c | 206 queue_delayed_work(local->mac_wq, &local->scan_work, in mac802154_scan_worker() 274 struct ieee802154_local *local = sdata->local; in mac802154_trigger_scan_locked() local 302 queue_delayed_work(local->mac_wq, &local->scan_work, 0); in mac802154_trigger_scan_locked() 421 queue_delayed_work(local->mac_wq, &local->beacon_work, in mac802154_beacon_worker() 468 struct ieee802154_local *local = sdata->local; in mac802154_send_beacons_locked() local 481 memset(&local->beacon, 0, sizeof(local->beacon)); in mac802154_send_beacons_locked() 520 struct ieee802154_local *local = sdata->local; in mac802154_perform_association() local 613 struct ieee802154_local *local = sdata->local; in mac802154_process_association_resp() local 634 local->assoc_status, &deaddr, local->assoc_addr); in mac802154_process_association_resp() 647 struct ieee802154_local *local = sdata->local; in mac802154_send_disassociation_notif() local [all …]
|
H A D | util.c | 73 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 …]
|
H A D | trace.h | 38 TP_ARGS(local), 50 TP_ARGS(local) 55 TP_ARGS(local, ret), 70 TP_ARGS(local) 75 TP_ARGS(local) 98 TP_ARGS(local, cca), 113 TP_ARGS(local, mbm), 128 TP_ARGS(local, power), 143 TP_ARGS(local, mode), 173 TP_ARGS(local, pan_id), [all …]
|
/linux/net/rxrpc/ |
H A D | local_object.c | 116 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 …]
|
H A D | io_thread.c | 31 if (unlikely(!local)) { in rxrpc_encap_rcv() 40 rx_queue = &local->rx_queue; in rxrpc_encap_rcv() 45 rx_queue = &local->rx_delay_queue; in rxrpc_encap_rcv() 50 rxrpc_wake_up_io_thread(local); in rxrpc_encap_rcv() 59 struct rxrpc_local *local; in rxrpc_error_report() local 64 if (unlikely(!local)) { in rxrpc_error_report() 75 rxrpc_wake_up_io_thread(local); in rxrpc_error_report() 450 spin_lock_bh(&local->lock); in rxrpc_io_thread() 467 spin_lock_bh(&local->lock); in rxrpc_io_thread() 567 rxrpc_destroy_local(local); in rxrpc_io_thread() [all …]
|
/linux/net/nfc/ |
H A D | llcp_core.c | 47 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 …]
|
H A D | llcp_commands.c | 200 if (local == NULL) in nfc_llcp_parse_gb_tlv() 235 local->remote_version, local->remote_miu, in nfc_llcp_parse_gb_tlv() 236 local->remote_lto, local->remote_opt, in nfc_llcp_parse_gb_tlv() 340 local = sock->local; in nfc_llcp_send_disconnect() 341 if (local == NULL) in nfc_llcp_send_disconnect() 405 local = sock->local; in nfc_llcp_send_connect() 479 local = sock->local; in nfc_llcp_send_cc() 536 dev = local->dev; in nfc_llcp_allocate_snl() 658 local = sock->local; in nfc_llcp_send_i_frame() 741 local = sock->local; in nfc_llcp_send_ui_frame() [all …]
|
/linux/tools/testing/selftests/breakpoints/ |
H A D | breakpoint_test.c | 94 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 …]
|