Home
last modified time | relevance | path

Searched refs:frame_counter (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/net/mac802154/ !
Dllsec.c92 sec->params.frame_counter = params->frame_counter; in mac802154_llsec_set_params()
600 __be32 frame_counter = (__force __be32) swab32((__force u32) sec->frame_counter); in llsec_geniv() local
604 memcpy(iv + 9, &frame_counter, sizeof(frame_counter)); in llsec_geniv()
743 frame_ctr = be32_to_cpu(sec->params.frame_counter); in mac802154_llsec_encrypt()
744 hdr.sec.frame_counter = cpu_to_le32(frame_ctr); in mac802154_llsec_encrypt()
752 sec->params.frame_counter = cpu_to_be32(frame_ctr + 1); in mac802154_llsec_encrypt()
940 u32 frame_counter) in llsec_update_devkey_info() argument
959 if ((!devkey && frame_counter < dev->dev.frame_counter) || in llsec_update_devkey_info()
960 (devkey && frame_counter < devkey->devkey.frame_counter)) { in llsec_update_devkey_info()
966 devkey->devkey.frame_counter = frame_counter + 1; in llsec_update_devkey_info()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/modules/freesync/ !
Dfreesync.c276 in_out_vrr->btr.frame_counter = 0; in apply_below_the_range()
290 in_out_vrr->btr.frame_counter = 0; in apply_below_the_range()
405 in_out_vrr->btr.frame_counter = frames_to_insert; in apply_below_the_range()
425 in_out_vrr->fixed.frame_counter++; in apply_fixed_refresh()
427 if (in_out_vrr->fixed.frame_counter > in apply_fixed_refresh()
429 in_out_vrr->fixed.frame_counter = 0; in apply_fixed_refresh()
435 in_out_vrr->fixed.frame_counter = 0; in apply_fixed_refresh()
439 in_out_vrr->fixed.frame_counter++; in apply_fixed_refresh()
441 if (in_out_vrr->fixed.frame_counter > in apply_fixed_refresh()
443 in_out_vrr->fixed.frame_counter = 0; in apply_fixed_refresh()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/modules/inc/ !
Dmod_freesync.h96 uint32_t frame_counter; member
105 uint32_t frame_counter; member
/linux-6.1.9/include/net/ !
Dcfg802154.h278 __be32 frame_counter; member
311 u32 frame_counter; member
322 u32 frame_counter; member
Dieee802154_netdev.h54 __le32 frame_counter; member
/linux-6.1.9/net/ieee802154/ !
Dheader_ops.c52 memcpy(buf + 1, &hdr->frame_counter, 4); in ieee802154_hdr_push_sechdr()
166 memcpy(&hdr->frame_counter, buf + 1, 4); in ieee802154_hdr_get_sechdr()
Dnl-mac.c682 be32_to_cpu(params.frame_counter)) || in ieee802154_llsec_getparams()
747 params.frame_counter = cpu_to_be32(fc); in ieee802154_llsec_setparams()
999 dev->frame_counter = nla_get_u32(info->attrs[IEEE802154_ATTR_LLSEC_FRAME_COUNTER]); in llsec_parse_dev()
1067 desc->frame_counter) || in ieee802154_nl_fill_dev()
1120 key.frame_counter = nla_get_u32(info->attrs[IEEE802154_ATTR_LLSEC_FRAME_COUNTER]); in llsec_add_devkey()
1172 devkey->frame_counter) || in ieee802154_nl_fill_devkey()
Dnl802154.c752 params.frame_counter)) in nl802154_get_llsec_params()
1425 params.frame_counter = nla_get_be32(info->attrs[NL802154_ATTR_SEC_FRAME_COUNTER]); in nl802154_set_llsec_params()
1647 dev_desc->frame_counter) || in nl802154_send_device()
1750 dev->frame_counter = nla_get_u32(attrs[NL802154_DEV_ATTR_FRAME_COUNTER]); in ieee802154_llsec_parse_device()
1827 devkey->frame_counter)) in nl802154_send_devkey()
1941 key.frame_counter = nla_get_u32(attrs[NL802154_DEVKEY_ATTR_FRAME_COUNTER]); in nl802154_add_llsec_devkey()