Lines Matching refs:primary_offset
249 s32 primary_offset; in chandef_to_chanspec() local
254 primary_offset = ch->chan->center_freq - ch->center_freq1; in chandef_to_chanspec()
259 WARN_ON(primary_offset != 0); in chandef_to_chanspec()
263 if (primary_offset > 0) in chandef_to_chanspec()
270 if (primary_offset == -30) in chandef_to_chanspec()
272 else if (primary_offset == -10) in chandef_to_chanspec()
274 else if (primary_offset == 10) in chandef_to_chanspec()
281 if (primary_offset == -70) in chandef_to_chanspec()
283 else if (primary_offset == -50) in chandef_to_chanspec()
285 else if (primary_offset == -30) in chandef_to_chanspec()
287 else if (primary_offset == -10) in chandef_to_chanspec()
289 else if (primary_offset == 10) in chandef_to_chanspec()
291 else if (primary_offset == 30) in chandef_to_chanspec()
293 else if (primary_offset == 50) in chandef_to_chanspec()