Lines Matching refs:desc
4590 s32 end = data->desc[i].start + data->desc[i].duration - (tsf + 1); in ieee80211_extend_noa_desc()
4600 if (data->desc[i].interval == 0) in ieee80211_extend_noa_desc()
4604 skip = DIV_ROUND_UP(-end, data->desc[i].interval); in ieee80211_extend_noa_desc()
4614 data->desc[i].start += skip * data->desc[i].interval; in ieee80211_extend_noa_desc()
4635 cur = data->desc[i].start - tsf; in ieee80211_extend_absent_time()
4639 cur = data->desc[i].start + data->desc[i].duration - tsf; in ieee80211_extend_absent_time()
4683 start = data->desc[i].start - tsf; in ieee80211_update_p2p_noa()
4709 const struct ieee80211_p2p_noa_desc *desc = &attr->desc[i]; in ieee80211_parse_p2p_noa() local
4711 if (!desc->count || !desc->duration) in ieee80211_parse_p2p_noa()
4714 data->count[i] = desc->count; in ieee80211_parse_p2p_noa()
4715 data->desc[i].start = le32_to_cpu(desc->start_time); in ieee80211_parse_p2p_noa()
4716 data->desc[i].duration = le32_to_cpu(desc->duration); in ieee80211_parse_p2p_noa()
4717 data->desc[i].interval = le32_to_cpu(desc->interval); in ieee80211_parse_p2p_noa()
4720 data->desc[i].interval < data->desc[i].duration) in ieee80211_parse_p2p_noa()