Lines Matching refs:primary_offset
330 s32 primary_offset; in chandef_to_chanspec() local
335 primary_offset = ch->chan->center_freq - ch->center_freq1; in chandef_to_chanspec()
340 WARN_ON(primary_offset != 0); in chandef_to_chanspec()
344 if (primary_offset > 0) in chandef_to_chanspec()
351 if (primary_offset == -30) in chandef_to_chanspec()
353 else if (primary_offset == -10) in chandef_to_chanspec()
355 else if (primary_offset == 10) in chandef_to_chanspec()
362 if (primary_offset == -70) in chandef_to_chanspec()
364 else if (primary_offset == -50) in chandef_to_chanspec()
366 else if (primary_offset == -30) in chandef_to_chanspec()
368 else if (primary_offset == -10) in chandef_to_chanspec()
370 else if (primary_offset == 10) in chandef_to_chanspec()
372 else if (primary_offset == 30) in chandef_to_chanspec()
374 else if (primary_offset == 50) in chandef_to_chanspec()