Home
last modified time | relevance | path

Searched refs:sdata (Results 1 – 25 of 137) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dstmfts.c112 struct stmfts_data *sdata = container_of(led_cdev, in stmfts_brightness_set() local
116 if (value != sdata->led_status && sdata->ledvdd) { in stmfts_brightness_set()
118 regulator_disable(sdata->ledvdd); in stmfts_brightness_set()
120 err = regulator_enable(sdata->ledvdd); in stmfts_brightness_set()
122 dev_warn(&sdata->client->dev, in stmfts_brightness_set()
128 sdata->led_status = value; in stmfts_brightness_set()
136 struct stmfts_data *sdata = container_of(led_cdev, in stmfts_brightness_get() local
139 return !!regulator_is_enabled(sdata->ledvdd); in stmfts_brightness_get()
146 static int stmfts_read_events(struct stmfts_data *sdata) in stmfts_read_events() argument
151 .addr = sdata->client->addr, in stmfts_read_events()
[all …]
Ds6sy761.c117 static int s6sy761_read_events(struct s6sy761_data *sdata, u16 n_events) in s6sy761_read_events() argument
122 .addr = sdata->client->addr, in s6sy761_read_events()
127 .addr = sdata->client->addr, in s6sy761_read_events()
130 .buf = sdata->data + S6SY761_EVENT_SIZE, in s6sy761_read_events()
135 ret = i2c_transfer(sdata->client->adapter, msgs, ARRAY_SIZE(msgs)); in s6sy761_read_events()
142 static void s6sy761_report_coordinates(struct s6sy761_data *sdata, in s6sy761_report_coordinates() argument
151 input_mt_slot(sdata->input, tid); in s6sy761_report_coordinates()
153 input_mt_report_slot_state(sdata->input, MT_TOOL_FINGER, true); in s6sy761_report_coordinates()
154 input_report_abs(sdata->input, ABS_MT_POSITION_X, x); in s6sy761_report_coordinates()
155 input_report_abs(sdata->input, ABS_MT_POSITION_Y, y); in s6sy761_report_coordinates()
[all …]
/kernel/linux/linux-5.10/net/mac80211/
Diface.c47 bool __ieee80211_recalc_txpower(struct ieee80211_sub_if_data *sdata) in __ieee80211_recalc_txpower() argument
53 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in __ieee80211_recalc_txpower()
62 if (sdata->user_power_level != IEEE80211_UNSET_POWER_LEVEL) in __ieee80211_recalc_txpower()
63 power = min(power, sdata->user_power_level); in __ieee80211_recalc_txpower()
65 if (sdata->ap_power_level != IEEE80211_UNSET_POWER_LEVEL) in __ieee80211_recalc_txpower()
66 power = min(power, sdata->ap_power_level); in __ieee80211_recalc_txpower()
68 if (power != sdata->vif.bss_conf.txpower) { in __ieee80211_recalc_txpower()
69 sdata->vif.bss_conf.txpower = power; in __ieee80211_recalc_txpower()
70 ieee80211_hw_config(sdata->local, 0); in __ieee80211_recalc_txpower()
77 void ieee80211_recalc_txpower(struct ieee80211_sub_if_data *sdata, in ieee80211_recalc_txpower() argument
[all …]
Ddebug.h91 #define _sdata_info(sdata, fmt, ...) \ argument
92 __sdata_info("%s: " fmt, (sdata)->name, ##__VA_ARGS__)
93 #define _sdata_dbg(print, sdata, fmt, ...) \ argument
94 __sdata_dbg(print, "%s: " fmt, (sdata)->name, ##__VA_ARGS__)
95 #define _sdata_err(sdata, fmt, ...) \ argument
96 __sdata_err("%s: " fmt, (sdata)->name, ##__VA_ARGS__)
100 #define _sdata_info(sdata, fmt, ...) \ argument
103 (sdata)->name, ##__VA_ARGS__); \
106 #define _sdata_dbg(print, sdata, fmt, ...) \ argument
110 (sdata)->name, ##__VA_ARGS__); \
[all …]
Ddriver-ops.h15 #define check_sdata_in_driver(sdata) ({ \ argument
16 !WARN_ONCE(!(sdata->flags & IEEE80211_SDATA_IN_DRIVER), \
18 sdata->dev ? sdata->dev->name : sdata->name, sdata->flags); \
22 get_bss_sdata(struct ieee80211_sub_if_data *sdata) in get_bss_sdata() argument
24 if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN) in get_bss_sdata()
25 sdata = container_of(sdata->bss, struct ieee80211_sub_if_data, in get_bss_sdata()
28 return sdata; in get_bss_sdata()
42 trace_drv_sync_rx_queues(local, sta->sdata, &sta->sta); in drv_sync_rx_queues()
48 static inline void drv_get_et_strings(struct ieee80211_sub_if_data *sdata, in drv_get_et_strings() argument
51 struct ieee80211_local *local = sdata->local; in drv_get_et_strings()
[all …]
Docb.c38 void ieee80211_ocb_rx_no_sta(struct ieee80211_sub_if_data *sdata, in ieee80211_ocb_rx_no_sta() argument
42 struct ieee80211_if_ocb *ifocb = &sdata->u.ocb; in ieee80211_ocb_rx_no_sta()
43 struct ieee80211_local *local = sdata->local; in ieee80211_ocb_rx_no_sta()
55 sdata->name, addr); in ieee80211_ocb_rx_no_sta()
59 ocb_dbg(sdata, "Adding new OCB station %pM\n", addr); in ieee80211_ocb_rx_no_sta()
62 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in ieee80211_ocb_rx_no_sta()
71 sta = sta_info_alloc(sdata, addr, GFP_ATOMIC); in ieee80211_ocb_rx_no_sta()
83 ieee80211_queue_work(&local->hw, &sdata->work); in ieee80211_ocb_rx_no_sta()
89 struct ieee80211_sub_if_data *sdata = sta->sdata; in ieee80211_ocb_finish_sta() local
94 ocb_dbg(sdata, "Adding new IBSS station %pM (dev=%s)\n", in ieee80211_ocb_finish_sta()
[all …]
Dmlme.c101 static void run_again(struct ieee80211_sub_if_data *sdata, in run_again() argument
104 sdata_assert_lock(sdata); in run_again()
106 if (!timer_pending(&sdata->u.mgd.timer) || in run_again()
107 time_before(timeout, sdata->u.mgd.timer.expires)) in run_again()
108 mod_timer(&sdata->u.mgd.timer, timeout); in run_again()
111 void ieee80211_sta_reset_beacon_monitor(struct ieee80211_sub_if_data *sdata) in ieee80211_sta_reset_beacon_monitor() argument
113 if (sdata->vif.driver_flags & IEEE80211_VIF_BEACON_FILTER) in ieee80211_sta_reset_beacon_monitor()
116 if (ieee80211_hw_check(&sdata->local->hw, CONNECTION_MONITOR)) in ieee80211_sta_reset_beacon_monitor()
119 mod_timer(&sdata->u.mgd.bcn_mon_timer, in ieee80211_sta_reset_beacon_monitor()
120 round_jiffies_up(jiffies + sdata->u.mgd.beacon_timeout)); in ieee80211_sta_reset_beacon_monitor()
[all …]
Dcfg.c26 static void ieee80211_set_mu_mimo_follow(struct ieee80211_sub_if_data *sdata, in ieee80211_set_mu_mimo_follow() argument
37 memcpy(sdata->vif.bss_conf.mu_group.membership, in ieee80211_set_mu_mimo_follow()
39 memcpy(sdata->vif.bss_conf.mu_group.position, in ieee80211_set_mu_mimo_follow()
42 ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_MU_GROUPS); in ieee80211_set_mu_mimo_follow()
52 ether_addr_copy(sdata->u.mntr.mu_follow_addr, in ieee80211_set_mu_mimo_follow()
56 sdata->vif.mu_mimo_owner = mu_mimo_groups || mu_mimo_follow; in ieee80211_set_mu_mimo_follow()
59 static int ieee80211_set_mon_options(struct ieee80211_sub_if_data *sdata, in ieee80211_set_mon_options() argument
62 struct ieee80211_local *local = sdata->local; in ieee80211_set_mon_options()
66 if (params->flags && ieee80211_sdata_running(sdata)) { in ieee80211_set_mon_options()
78 if ((params->flags & mask) != (sdata->u.mntr.flags & mask)) in ieee80211_set_mon_options()
[all …]
Dibss.c38 ieee80211_ibss_build_presp(struct ieee80211_sub_if_data *sdata, in ieee80211_ibss_build_presp() argument
45 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in ieee80211_ibss_build_presp()
46 struct ieee80211_local *local = sdata->local; in ieee80211_ibss_build_presp()
80 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_ibss_build_presp()
183 ieee80211_apply_htcap_overrides(sdata, &ht_cap); in ieee80211_ibss_build_presp()
218 static void __ieee80211_sta_join_ibss(struct ieee80211_sub_if_data *sdata, in __ieee80211_sta_join_ibss() argument
225 struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; in __ieee80211_sta_join_ibss()
226 struct ieee80211_local *local = sdata->local; in __ieee80211_sta_join_ibss()
238 sdata_assert_lock(sdata); in __ieee80211_sta_join_ibss()
241 drv_reset_tsf(local, sdata); in __ieee80211_sta_join_ibss()
[all …]
Dmesh.h109 struct ieee80211_sub_if_data *sdata; member
177 unsigned int ieee80211_new_mesh_header(struct ieee80211_sub_if_data *sdata,
180 int mesh_rmc_check(struct ieee80211_sub_if_data *sdata,
182 bool mesh_matches_local(struct ieee80211_sub_if_data *sdata,
185 int mesh_add_meshconf_ie(struct ieee80211_sub_if_data *sdata,
187 int mesh_add_meshid_ie(struct ieee80211_sub_if_data *sdata,
189 int mesh_add_rsn_ie(struct ieee80211_sub_if_data *sdata,
191 int mesh_add_vendor_ies(struct ieee80211_sub_if_data *sdata,
193 int mesh_add_ht_cap_ie(struct ieee80211_sub_if_data *sdata,
195 int mesh_add_ht_oper_ie(struct ieee80211_sub_if_data *sdata,
[all …]
Dmesh.c40 struct ieee80211_sub_if_data *sdata = in ieee80211_mesh_housekeeping_timer() local
41 from_timer(sdata, t, u.mesh.housekeeping_timer); in ieee80211_mesh_housekeeping_timer()
42 struct ieee80211_local *local = sdata->local; in ieee80211_mesh_housekeeping_timer()
43 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in ieee80211_mesh_housekeeping_timer()
47 ieee80211_queue_work(&local->hw, &sdata->work); in ieee80211_mesh_housekeeping_timer()
59 bool mesh_matches_local(struct ieee80211_sub_if_data *sdata, in mesh_matches_local() argument
62 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_matches_local()
87 sband = ieee80211_get_sband(sdata); in mesh_matches_local()
91 ieee80211_sta_get_rates(sdata, ie, sband->band, in mesh_matches_local()
94 if (sdata->vif.bss_conf.basic_rates != basic_rates) in mesh_matches_local()
[all …]
Dchan.c16 struct ieee80211_sub_if_data *sdata; in ieee80211_chanctx_num_assigned() local
21 list_for_each_entry(sdata, &ctx->assigned_vifs, assigned_chanctx_list) in ieee80211_chanctx_num_assigned()
30 struct ieee80211_sub_if_data *sdata; in ieee80211_chanctx_num_reserved() local
35 list_for_each_entry(sdata, &ctx->reserved_vifs, reserved_chanctx_list) in ieee80211_chanctx_num_reserved()
68 ieee80211_vif_get_chanctx(struct ieee80211_sub_if_data *sdata) in ieee80211_vif_get_chanctx() argument
70 struct ieee80211_local *local __maybe_unused = sdata->local; in ieee80211_vif_get_chanctx()
73 conf = rcu_dereference_protected(sdata->vif.chanctx_conf, in ieee80211_vif_get_chanctx()
86 struct ieee80211_sub_if_data *sdata; in ieee80211_chanctx_reserved_chandef() local
90 list_for_each_entry(sdata, &ctx->reserved_vifs, in ieee80211_chanctx_reserved_chandef()
93 compat = &sdata->reserved_chandef; in ieee80211_chanctx_reserved_chandef()
[all …]
Ddriver-ops.c53 struct ieee80211_sub_if_data *sdata) in drv_add_interface() argument
59 if (WARN_ON(sdata->vif.type == NL80211_IFTYPE_AP_VLAN || in drv_add_interface()
60 (sdata->vif.type == NL80211_IFTYPE_MONITOR && in drv_add_interface()
62 !(sdata->u.mntr.flags & MONITOR_FLAG_ACTIVE)))) in drv_add_interface()
65 trace_drv_add_interface(local, sdata); in drv_add_interface()
66 ret = local->ops->add_interface(&local->hw, &sdata->vif); in drv_add_interface()
70 sdata->flags |= IEEE80211_SDATA_IN_DRIVER; in drv_add_interface()
76 struct ieee80211_sub_if_data *sdata, in drv_change_interface() argument
83 if (!check_sdata_in_driver(sdata)) in drv_change_interface()
86 trace_drv_change_interface(local, sdata, type, p2p); in drv_change_interface()
[all …]
Dmesh_plink.c58 static bool rssi_threshold_check(struct ieee80211_sub_if_data *sdata, in rssi_threshold_check() argument
61 s32 rssi_threshold = sdata->u.mesh.mshcfg.rssi_threshold; in rssi_threshold_check()
93 static u32 mesh_set_short_slot_time(struct ieee80211_sub_if_data *sdata) in mesh_set_short_slot_time() argument
95 struct ieee80211_local *local = sdata->local; in mesh_set_short_slot_time()
102 sband = ieee80211_get_sband(sdata); in mesh_set_short_slot_time()
123 if (sdata != sta->sdata || in mesh_set_short_slot_time()
136 if (sdata->vif.bss_conf.use_short_slot != short_slot) { in mesh_set_short_slot_time()
137 sdata->vif.bss_conf.use_short_slot = short_slot; in mesh_set_short_slot_time()
139 mpl_dbg(sdata, "mesh_plink %pM: ERP short slot time %d\n", in mesh_set_short_slot_time()
140 sdata->vif.addr, short_slot); in mesh_set_short_slot_time()
[all …]
Dkey.c62 update_vlan_tailroom_need_count(struct ieee80211_sub_if_data *sdata, int delta) in update_vlan_tailroom_need_count() argument
66 if (sdata->vif.type != NL80211_IFTYPE_AP) in update_vlan_tailroom_need_count()
70 assert_key_lock(sdata->local); in update_vlan_tailroom_need_count()
74 list_for_each_entry_rcu(vlan, &sdata->u.ap.vlans, u.vlan.list) in update_vlan_tailroom_need_count()
80 static void increment_tailroom_need_count(struct ieee80211_sub_if_data *sdata) in increment_tailroom_need_count() argument
101 assert_key_lock(sdata->local); in increment_tailroom_need_count()
103 update_vlan_tailroom_need_count(sdata, 1); in increment_tailroom_need_count()
105 if (!sdata->crypto_tx_tailroom_needed_cnt++) { in increment_tailroom_need_count()
114 static void decrease_tailroom_need_count(struct ieee80211_sub_if_data *sdata, in decrease_tailroom_need_count() argument
117 assert_key_lock(sdata->local); in decrease_tailroom_need_count()
[all …]
Ddebugfs_netdev.c26 struct ieee80211_sub_if_data *sdata, in ieee80211_if_read() argument
35 ret = (*format)(sdata, buf, sizeof(buf)); in ieee80211_if_read()
45 struct ieee80211_sub_if_data *sdata, in ieee80211_if_write() argument
62 ret = (*write)(sdata, buf, count); in ieee80211_if_write()
70 const struct ieee80211_sub_if_data *sdata, char *buf, \
73 return scnprintf(buf, buflen, format_string, sdata->field); \
86 const struct ieee80211_sub_if_data *sdata, \
91 for (i = 0; i < sizeof(sdata->field); i++) { \
93 sdata->field[i]); \
101 const struct ieee80211_sub_if_data *sdata, \
[all …]
Dtdls.c26 struct ieee80211_sub_if_data *sdata; in ieee80211_tdls_peer_del_work() local
29 sdata = container_of(wk, struct ieee80211_sub_if_data, in ieee80211_tdls_peer_del_work()
31 local = sdata->local; in ieee80211_tdls_peer_del_work()
34 if (!is_zero_ether_addr(sdata->u.mgd.tdls_peer)) { in ieee80211_tdls_peer_del_work()
35 tdls_dbg(sdata, "TDLS del peer %pM\n", sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
36 sta_info_destroy_addr(sdata, sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
37 eth_zero_addr(sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
42 static void ieee80211_tdls_add_ext_capab(struct ieee80211_sub_if_data *sdata, in ieee80211_tdls_add_ext_capab() argument
45 struct ieee80211_local *local = sdata->local; in ieee80211_tdls_add_ext_capab()
46 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_tdls_add_ext_capab()
[all …]
Dmesh_pathtbl.c90 memcpy(hdr->addr2, mpath->sdata->vif.addr, ETH_ALEN); in mesh_path_assign_nexthop()
91 ieee80211_mps_set_frame_flags(sta->sdata, sta, hdr); in mesh_path_assign_nexthop()
133 memcpy(hdr->addr2, gate_mpath->sdata->vif.addr, ETH_ALEN); in prepare_for_gate()
176 mpath_dbg(gate_mpath->sdata, "mpath queue full!\n"); in mesh_path_move_to_queue()
194 mpath_dbg(gate_mpath->sdata, "Mpath queue for gate %pM has %d frames\n", in mesh_path_move_to_queue()
207 struct ieee80211_sub_if_data *sdata) in mpath_lookup() argument
231 mesh_path_lookup(struct ieee80211_sub_if_data *sdata, const u8 *dst) in mesh_path_lookup() argument
233 return mpath_lookup(&sdata->u.mesh.mesh_paths, dst, sdata); in mesh_path_lookup()
237 mpp_path_lookup(struct ieee80211_sub_if_data *sdata, const u8 *dst) in mpp_path_lookup() argument
239 return mpath_lookup(&sdata->u.mesh.mpp_paths, dst, sdata); in mpp_path_lookup()
[all …]
Doffchannel.c25 static void ieee80211_offchannel_ps_enable(struct ieee80211_sub_if_data *sdata) in ieee80211_offchannel_ps_enable() argument
27 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_enable()
28 struct ieee80211_if_managed *ifmgd = &sdata->u.mgd; in ieee80211_offchannel_ps_enable()
57 ieee80211_send_nullfunc(local, sdata, true); in ieee80211_offchannel_ps_enable()
61 static void ieee80211_offchannel_ps_disable(struct ieee80211_sub_if_data *sdata) in ieee80211_offchannel_ps_disable() argument
63 struct ieee80211_local *local = sdata->local; in ieee80211_offchannel_ps_disable()
66 ieee80211_send_nullfunc(local, sdata, false); in ieee80211_offchannel_ps_disable()
74 ieee80211_send_nullfunc(local, sdata, false); in ieee80211_offchannel_ps_disable()
79 ieee80211_sta_reset_beacon_monitor(sdata); in ieee80211_offchannel_ps_disable()
80 ieee80211_sta_reset_conn_monitor(sdata); in ieee80211_offchannel_ps_disable()
[all …]
Dagg-tx.c61 static void ieee80211_send_addba_request(struct ieee80211_sub_if_data *sdata, in ieee80211_send_addba_request() argument
66 struct ieee80211_local *local = sdata->local; in ieee80211_send_addba_request()
79 memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_request()
80 if (sdata->vif.type == NL80211_IFTYPE_AP || in ieee80211_send_addba_request()
81 sdata->vif.type == NL80211_IFTYPE_AP_VLAN || in ieee80211_send_addba_request()
82 sdata->vif.type == NL80211_IFTYPE_MESH_POINT) in ieee80211_send_addba_request()
83 memcpy(mgmt->bssid, sdata->vif.addr, ETH_ALEN); in ieee80211_send_addba_request()
84 else if (sdata->vif.type == NL80211_IFTYPE_STATION) in ieee80211_send_addba_request()
85 memcpy(mgmt->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_send_addba_request()
86 else if (sdata->vif.type == NL80211_IFTYPE_ADHOC) in ieee80211_send_addba_request()
[all …]
/kernel/linux/linux-5.10/drivers/iio/common/st_sensors/
Dst_sensors_trigger.c30 struct st_sensor_data *sdata) in st_sensors_new_samples_available() argument
35 if (!sdata->sensor_settings->drdy_irq.stat_drdy.addr) in st_sensors_new_samples_available()
42 ret = regmap_read(sdata->regmap, in st_sensors_new_samples_available()
43 sdata->sensor_settings->drdy_irq.stat_drdy.addr, in st_sensors_new_samples_available()
46 dev_err(sdata->dev, "error checking samples available\n"); in st_sensors_new_samples_available()
50 return !!(status & sdata->sensor_settings->drdy_irq.stat_drdy.mask); in st_sensors_new_samples_available()
62 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_irq_handler() local
65 sdata->hw_timestamp = iio_get_time_ns(indio_dev); in st_sensors_irq_handler()
78 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_irq_thread() local
87 if (sdata->hw_irq_trigger && in st_sensors_irq_thread()
[all …]
Dst_sensors_core.c26 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_write_data_with_mask() local
28 return regmap_update_bits(sdata->regmap, in st_sensors_write_data_with_mask()
36 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_debugfs_reg_access() local
40 return regmap_write(sdata->regmap, reg, writeval); in st_sensors_debugfs_reg_access()
42 err = regmap_read(sdata->regmap, reg, readval); in st_sensors_debugfs_reg_access()
75 struct st_sensor_data *sdata = iio_priv(indio_dev); in st_sensors_set_odr() local
77 mutex_lock(&sdata->odr_lock); in st_sensors_set_odr()
79 if (!sdata->sensor_settings->odr.mask) in st_sensors_set_odr()
82 err = st_sensors_match_odr(sdata->sensor_settings, odr, &odr_out); in st_sensors_set_odr()
86 if ((sdata->sensor_settings->odr.addr == in st_sensors_set_odr()
[all …]
/kernel/linux/linux-5.10/net/mac802154/
Dmib.c23 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_dev_set_page_channel() local
24 struct ieee802154_local *local = sdata->local; in mac802154_dev_set_page_channel()
43 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_get_params() local
48 mutex_lock(&sdata->sec_mtx); in mac802154_get_params()
49 res = mac802154_llsec_get_params(&sdata->sec, params); in mac802154_get_params()
50 mutex_unlock(&sdata->sec_mtx); in mac802154_get_params()
59 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_set_params() local
64 mutex_lock(&sdata->sec_mtx); in mac802154_set_params()
65 res = mac802154_llsec_set_params(&sdata->sec, params, changed); in mac802154_set_params()
66 mutex_unlock(&sdata->sec_mtx); in mac802154_set_params()
[all …]
Dcfg.c36 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_del_iface_deprecated() local
38 ieee802154_if_remove(sdata); in ieee802154_del_iface_deprecated()
270 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_get_llsec_table() local
272 *table = &sdata->sec.table; in ieee802154_get_llsec_table()
280 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_lock_llsec_table() local
282 mutex_lock(&sdata->sec_mtx); in ieee802154_lock_llsec_table()
290 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_unlock_llsec_table() local
292 mutex_unlock(&sdata->sec_mtx); in ieee802154_unlock_llsec_table()
302 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_set_llsec_params() local
305 mutex_lock(&sdata->sec_mtx); in ieee802154_set_llsec_params()
[all …]
Diface.c27 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_wpan_update_llsec() local
29 struct wpan_dev *wpan_dev = &sdata->wpan_dev; in mac802154_wpan_update_llsec()
51 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_wpan_ioctl() local
52 struct wpan_dev *wpan_dev = &sdata->wpan_dev; in mac802154_wpan_ioctl()
113 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_wpan_mac_addr() local
123 if (sdata->wpan_dev.lowpan_dev) { in mac802154_wpan_mac_addr()
124 if (netif_running(sdata->wpan_dev.lowpan_dev)) in mac802154_wpan_mac_addr()
133 sdata->wpan_dev.extended_addr = extended_addr; in mac802154_wpan_mac_addr()
138 if (sdata->wpan_dev.lowpan_dev) in mac802154_wpan_mac_addr()
139 memcpy(sdata->wpan_dev.lowpan_dev->dev_addr, dev->dev_addr, in mac802154_wpan_mac_addr()
[all …]

123456