Lines Matching refs:primary_offset
255 s32 primary_offset; in chandef_to_chanspec() local
260 primary_offset = ch->chan->center_freq - ch->center_freq1; in chandef_to_chanspec()
265 WARN_ON(primary_offset != 0); in chandef_to_chanspec()
269 if (primary_offset > 0) in chandef_to_chanspec()
276 if (primary_offset == -30) in chandef_to_chanspec()
278 else if (primary_offset == -10) in chandef_to_chanspec()
280 else if (primary_offset == 10) in chandef_to_chanspec()
287 if (primary_offset == -70) in chandef_to_chanspec()
289 else if (primary_offset == -50) in chandef_to_chanspec()
291 else if (primary_offset == -30) in chandef_to_chanspec()
293 else if (primary_offset == -10) in chandef_to_chanspec()
295 else if (primary_offset == 10) in chandef_to_chanspec()
297 else if (primary_offset == 30) in chandef_to_chanspec()
299 else if (primary_offset == 50) in chandef_to_chanspec()