Home
last modified time | relevance | path

Searched refs:key_mode (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/staging/vt6655/
Dkey.c23 u16 key_mode = 0; in vnt_set_keymode() local
53 key_mode |= VNT_KEY_ALLGROUP; in vnt_set_keymode()
55 key_mode |= VNT_KEY_ONFLY_ALL; in vnt_set_keymode()
58 key_mode |= mode; in vnt_set_keymode()
61 key_mode |= (mode << 4); in vnt_set_keymode()
62 key_mode |= VNT_KEY_GROUP; in vnt_set_keymode()
65 key_mode |= mode; in vnt_set_keymode()
73 key_mode |= VNT_KEY_ONFLY; in vnt_set_keymode()
82 MACvSetKeyEntry(priv, key_mode, entry, key_inx, in vnt_set_keymode()
/linux-6.1.9/drivers/staging/vt6656/
Dkey.c40 u16 key_mode = 0; in vnt_set_keymode() local
70 key_mode = mode | (mode << 4); in vnt_set_keymode()
73 key_mode = mode << 4; in vnt_set_keymode()
76 key_mode |= mode; in vnt_set_keymode()
83 key_mode |= key_type; in vnt_set_keymode()
92 return vnt_mac_set_keyentry(priv, key_mode, entry, in vnt_set_keymode()
/linux-6.1.9/include/net/
Dcfg802154.h314 u8 key_mode; member
/linux-6.1.9/net/ieee802154/
Dnl-mac.c1001 dev->key_mode = nla_get_u8(info->attrs[IEEE802154_ATTR_LLSEC_DEV_KEY_MODE]); in llsec_parse_dev()
1003 if (dev->key_mode >= __IEEE802154_LLSEC_DEVKEY_MAX) in llsec_parse_dev()
1070 nla_put_u8(msg, IEEE802154_ATTR_LLSEC_DEV_KEY_MODE, desc->key_mode)) in ieee802154_nl_fill_dev()
Dnl802154.c1655 nla_put_u32(msg, NL802154_DEV_ATTR_KEY_MODE, dev_desc->key_mode)) in nl802154_send_device()
1756 dev->key_mode = nla_get_u32(attrs[NL802154_DEV_ATTR_KEY_MODE]); in ieee802154_llsec_parse_device()
1758 if (dev->key_mode > NL802154_DEVKEY_MAX || in ieee802154_llsec_parse_device()
/linux-6.1.9/drivers/net/dsa/
Dlantiq_gswip.c301 bool key_mode; member
539 u16 addr_mode = tbl->key_mode ? GSWIP_PCE_TBL_CTRL_OPMOD_KSRD : in gswip_pce_table_entry_read()
589 u16 addr_mode = tbl->key_mode ? GSWIP_PCE_TBL_CTRL_OPMOD_KSWR : in gswip_pce_table_entry_write()
1384 mac_bridge.key_mode = true; in gswip_port_fdb()
/linux-6.1.9/net/mac802154/
Dllsec.c944 if (dev->dev.key_mode == IEEE802154_LLSEC_DEVKEY_RESTRICT) { in llsec_update_devkey_info()
950 if (dev->dev.key_mode == IEEE802154_LLSEC_DEVKEY_RECORD) { in llsec_update_devkey_info()