Lines Matching refs:primary_offset
254 s32 primary_offset; in chandef_to_chanspec() local
259 primary_offset = ch->chan->center_freq - ch->center_freq1; in chandef_to_chanspec()
264 WARN_ON(primary_offset != 0); in chandef_to_chanspec()
268 if (primary_offset > 0) in chandef_to_chanspec()
275 if (primary_offset == -30) in chandef_to_chanspec()
277 else if (primary_offset == -10) in chandef_to_chanspec()
279 else if (primary_offset == 10) in chandef_to_chanspec()
286 if (primary_offset == -70) in chandef_to_chanspec()
288 else if (primary_offset == -50) in chandef_to_chanspec()
290 else if (primary_offset == -30) in chandef_to_chanspec()
292 else if (primary_offset == -10) in chandef_to_chanspec()
294 else if (primary_offset == 10) in chandef_to_chanspec()
296 else if (primary_offset == 30) in chandef_to_chanspec()
298 else if (primary_offset == 50) in chandef_to_chanspec()