Lines Matching refs:edges
1089 /* check if we hit one of the edges */
1232 struct ar9170_calctl_edges edges[],
1244 if (edges[i].channel == 0xff)
1246 if (f == edges[i].channel) {
1248 rc = edges[i].power_flags & ~AR9170_CALCTL_EDGE_FLAGS;
1251 if (i > 0 && f < edges[i].channel) {
1252 if (f > edges[i - 1].channel &&
1253 edges[i - 1].power_flags &
1256 rc = edges[i - 1].power_flags &
1264 if (f > edges[i - 1].channel &&
1265 edges[i - 1].power_flags & AR9170_CALCTL_EDGE_FLAGS) {
1267 rc = edges[i - 1].power_flags &
1275 struct ar9170_calctl_edges edges[],
1291 if (edges[i].channel == 0xff)
1293 if (f == edges[i].channel) {
1294 if (!(edges[i].power_flags & AR9170_CALCTL_EDGE_FLAGS))
1376 the 11G edges array */