• Home
  • Raw
  • Download

Lines Matching refs:sdata

36 	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()
271 struct ieee802154_sub_if_data *sdata; in mac802154_trigger_scan() local
273 sdata = IEEE802154_WPAN_DEV_TO_SUB_IF(request->wpan_dev); in mac802154_trigger_scan()
277 return mac802154_trigger_scan_locked(sdata, request); in mac802154_trigger_scan()
284 struct ieee802154_sub_if_data *sdata; in mac802154_abort_scan() local
286 sdata = IEEE802154_WPAN_DEV_TO_SUB_IF(wpan_dev); in mac802154_abort_scan()
290 return mac802154_abort_scan_locked(local, sdata); in mac802154_abort_scan()
296 struct ieee802154_sub_if_data *sdata; in mac802154_send_beacons() local
298 sdata = IEEE802154_WPAN_DEV_TO_SUB_IF(request->wpan_dev); in mac802154_send_beacons()
302 return mac802154_send_beacons_locked(sdata, request); in mac802154_send_beacons()
309 struct ieee802154_sub_if_data *sdata; in mac802154_stop_beacons() local
311 sdata = IEEE802154_WPAN_DEV_TO_SUB_IF(wpan_dev); in mac802154_stop_beacons()
315 return mac802154_stop_beacons_locked(local, sdata); in mac802154_stop_beacons()
325 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_get_llsec_table() local
327 *table = &sdata->sec.table; in ieee802154_get_llsec_table()
335 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_lock_llsec_table() local
337 mutex_lock(&sdata->sec_mtx); in ieee802154_lock_llsec_table()
345 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_unlock_llsec_table() local
347 mutex_unlock(&sdata->sec_mtx); in ieee802154_unlock_llsec_table()
357 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_set_llsec_params() local
360 mutex_lock(&sdata->sec_mtx); in ieee802154_set_llsec_params()
361 res = mac802154_llsec_set_params(&sdata->sec, params, changed); in ieee802154_set_llsec_params()
362 mutex_unlock(&sdata->sec_mtx); in ieee802154_set_llsec_params()
373 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_get_llsec_params() local
376 mutex_lock(&sdata->sec_mtx); in ieee802154_get_llsec_params()
377 res = mac802154_llsec_get_params(&sdata->sec, params); in ieee802154_get_llsec_params()
378 mutex_unlock(&sdata->sec_mtx); in ieee802154_get_llsec_params()
389 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_add_llsec_key() local
392 mutex_lock(&sdata->sec_mtx); in ieee802154_add_llsec_key()
393 res = mac802154_llsec_key_add(&sdata->sec, id, key); in ieee802154_add_llsec_key()
394 mutex_unlock(&sdata->sec_mtx); in ieee802154_add_llsec_key()
404 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_del_llsec_key() local
407 mutex_lock(&sdata->sec_mtx); in ieee802154_del_llsec_key()
408 res = mac802154_llsec_key_del(&sdata->sec, id); in ieee802154_del_llsec_key()
409 mutex_unlock(&sdata->sec_mtx); in ieee802154_del_llsec_key()
419 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_add_seclevel() local
422 mutex_lock(&sdata->sec_mtx); in ieee802154_add_seclevel()
423 res = mac802154_llsec_seclevel_add(&sdata->sec, sl); in ieee802154_add_seclevel()
424 mutex_unlock(&sdata->sec_mtx); in ieee802154_add_seclevel()
434 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_del_seclevel() local
437 mutex_lock(&sdata->sec_mtx); in ieee802154_del_seclevel()
438 res = mac802154_llsec_seclevel_del(&sdata->sec, sl); in ieee802154_del_seclevel()
439 mutex_unlock(&sdata->sec_mtx); in ieee802154_del_seclevel()
449 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_add_device() local
452 mutex_lock(&sdata->sec_mtx); in ieee802154_add_device()
453 res = mac802154_llsec_dev_add(&sdata->sec, dev_desc); in ieee802154_add_device()
454 mutex_unlock(&sdata->sec_mtx); in ieee802154_add_device()
464 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_del_device() local
467 mutex_lock(&sdata->sec_mtx); in ieee802154_del_device()
468 res = mac802154_llsec_dev_del(&sdata->sec, extended_addr); in ieee802154_del_device()
469 mutex_unlock(&sdata->sec_mtx); in ieee802154_del_device()
480 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_add_devkey() local
483 mutex_lock(&sdata->sec_mtx); in ieee802154_add_devkey()
484 res = mac802154_llsec_devkey_add(&sdata->sec, extended_addr, key); in ieee802154_add_devkey()
485 mutex_unlock(&sdata->sec_mtx); in ieee802154_add_devkey()
496 struct ieee802154_sub_if_data *sdata = IEEE802154_DEV_TO_SUB_IF(dev); in ieee802154_del_devkey() local
499 mutex_lock(&sdata->sec_mtx); in ieee802154_del_devkey()
500 res = mac802154_llsec_devkey_del(&sdata->sec, extended_addr, key); in ieee802154_del_devkey()
501 mutex_unlock(&sdata->sec_mtx); in ieee802154_del_devkey()