Lines Matching refs:sdata

23 	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()
75 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_add_key() local
80 mutex_lock(&sdata->sec_mtx); in mac802154_add_key()
81 res = mac802154_llsec_key_add(&sdata->sec, id, key); in mac802154_add_key()
82 mutex_unlock(&sdata->sec_mtx); in mac802154_add_key()
90 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_del_key() local
95 mutex_lock(&sdata->sec_mtx); in mac802154_del_key()
96 res = mac802154_llsec_key_del(&sdata->sec, id); in mac802154_del_key()
97 mutex_unlock(&sdata->sec_mtx); in mac802154_del_key()
105 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_add_dev() local
110 mutex_lock(&sdata->sec_mtx); in mac802154_add_dev()
111 res = mac802154_llsec_dev_add(&sdata->sec, llsec_dev); in mac802154_add_dev()
112 mutex_unlock(&sdata->sec_mtx); in mac802154_add_dev()
119 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_del_dev() local
124 mutex_lock(&sdata->sec_mtx); in mac802154_del_dev()
125 res = mac802154_llsec_dev_del(&sdata->sec, dev_addr); in mac802154_del_dev()
126 mutex_unlock(&sdata->sec_mtx); in mac802154_del_dev()
135 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_add_devkey() local
140 mutex_lock(&sdata->sec_mtx); in mac802154_add_devkey()
141 res = mac802154_llsec_devkey_add(&sdata->sec, device_addr, key); in mac802154_add_devkey()
142 mutex_unlock(&sdata->sec_mtx); in mac802154_add_devkey()
151 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_del_devkey() local
156 mutex_lock(&sdata->sec_mtx); in mac802154_del_devkey()
157 res = mac802154_llsec_devkey_del(&sdata->sec, device_addr, key); in mac802154_del_devkey()
158 mutex_unlock(&sdata->sec_mtx); in mac802154_del_devkey()
166 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_add_seclevel() local
171 mutex_lock(&sdata->sec_mtx); in mac802154_add_seclevel()
172 res = mac802154_llsec_seclevel_add(&sdata->sec, sl); in mac802154_add_seclevel()
173 mutex_unlock(&sdata->sec_mtx); in mac802154_add_seclevel()
181 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_del_seclevel() local
186 mutex_lock(&sdata->sec_mtx); in mac802154_del_seclevel()
187 res = mac802154_llsec_seclevel_del(&sdata->sec, sl); in mac802154_del_seclevel()
188 mutex_unlock(&sdata->sec_mtx); in mac802154_del_seclevel()
195 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_lock_table() local
199 mutex_lock(&sdata->sec_mtx); in mac802154_lock_table()
205 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_get_table() local
209 *t = &sdata->sec.table; in mac802154_get_table()
214 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in mac802154_unlock_table() local
218 mutex_unlock(&sdata->sec_mtx); in mac802154_unlock_table()