Lines Matching refs:edges
1218 u32 freq, struct ar9170_calctl_edges edges[]) in carl9170_get_max_edge_power() argument
1229 if (edges[i].channel == 0xff) in carl9170_get_max_edge_power()
1231 if (f == edges[i].channel) { in carl9170_get_max_edge_power()
1233 rc = edges[i].power_flags & ~AR9170_CALCTL_EDGE_FLAGS; in carl9170_get_max_edge_power()
1236 if (i > 0 && f < edges[i].channel) { in carl9170_get_max_edge_power()
1237 if (f > edges[i - 1].channel && in carl9170_get_max_edge_power()
1238 edges[i - 1].power_flags & in carl9170_get_max_edge_power()
1241 rc = edges[i - 1].power_flags & in carl9170_get_max_edge_power()
1249 if (f > edges[i - 1].channel && in carl9170_get_max_edge_power()
1250 edges[i - 1].power_flags & AR9170_CALCTL_EDGE_FLAGS) { in carl9170_get_max_edge_power()
1252 rc = edges[i - 1].power_flags & in carl9170_get_max_edge_power()
1260 enum carl9170_bw bw, struct ar9170_calctl_edges edges[]) in carl9170_get_heavy_clip() argument
1275 if (edges[i].channel == 0xff) in carl9170_get_heavy_clip()
1277 if (f == edges[i].channel) { in carl9170_get_heavy_clip()
1278 if (!(edges[i].power_flags & AR9170_CALCTL_EDGE_FLAGS)) in carl9170_get_heavy_clip()