Home
last modified time | relevance | path

Searched refs:r2 (Results 1 – 4 of 4) sorted by relevance

/net/wireless/
Dchan.c425 int r1, r2 = 0; in cfg80211_chandef_dfs_usable() local
443 r2 = cfg80211_get_chans_dfs_usable(wiphy, in cfg80211_chandef_dfs_usable()
446 if (r2 < 0) in cfg80211_chandef_dfs_usable()
454 return (r1 + r2 > 0); in cfg80211_chandef_dfs_usable()
736 int r1, r2; in cfg80211_go_permissive_chan() local
757 r2 = cfg80211_get_unii(other_chan->center_freq); in cfg80211_go_permissive_chan()
759 if (r1 != -EINVAL && r1 == r2) { in cfg80211_go_permissive_chan()
Dreg.c804 struct ieee80211_reg_rule *r2) in rule_contains() argument
807 if (r1->flags != r2->flags) in rule_contains()
812 r2->power_rule.max_antenna_gain) || in rule_contains()
813 r1->power_rule.max_eirp > r2->power_rule.max_eirp) in rule_contains()
817 if (r1->freq_range.start_freq_khz > r2->freq_range.start_freq_khz || in rule_contains()
818 r1->freq_range.end_freq_khz < r2->freq_range.end_freq_khz) in rule_contains()
823 r2->freq_range.max_bandwidth_khz) in rule_contains()
/net/caif/
Dcfctrl.c118 const struct cfctrl_request_info *r2) in cfctrl_req_eq() argument
120 if (r1->cmd != r2->cmd) in cfctrl_req_eq()
123 return param_eq(&r1->param, &r2->param); in cfctrl_req_eq()
125 return r1->channel_id == r2->channel_id; in cfctrl_req_eq()
/net/bluetooth/
Dsmp.c239 static int smp_s1(struct smp_chan *smp, u8 k[16], u8 r1[16], u8 r2[16], in smp_s1()
248 memcpy(_r, r2, 8); in smp_s1()