Searched refs:ch_group_index (Results 1 – 3 of 3) sorted by relevance
127 int ch_group_index; in mt76x2u_phy_update_channel_gain() local129 ch_group_index = (freq - freq1 + 30) / 20; in mt76x2u_phy_update_channel_gain()130 if (WARN_ON(ch_group_index < 0 || ch_group_index > 3)) in mt76x2u_phy_update_channel_gain()131 ch_group_index = 0; in mt76x2u_phy_update_channel_gain()132 channel += 6 - ch_group_index * 4; in mt76x2u_phy_update_channel_gain()193 int ch_group_index, freq, freq1, ret; in mt76x2u_phy_set_channel() local204 ch_group_index = 0; in mt76x2u_phy_set_channel()207 ch_group_index = 1; in mt76x2u_phy_set_channel()209 channel += 2 - ch_group_index * 4; in mt76x2u_phy_set_channel()212 ch_group_index = (freq - freq1 + 30) / 20; in mt76x2u_phy_set_channel()[all …]
297 int ch_group_index; in mt76x2_phy_set_channel() local312 ch_group_index = 0; in mt76x2_phy_set_channel()315 ch_group_index = 1; in mt76x2_phy_set_channel()317 channel += 2 - ch_group_index * 4; in mt76x2_phy_set_channel()320 ch_group_index = (freq - freq1 + 30) / 20; in mt76x2_phy_set_channel()321 if (WARN_ON(ch_group_index < 0 || ch_group_index > 3)) in mt76x2_phy_set_channel()322 ch_group_index = 0; in mt76x2_phy_set_channel()324 bw_index = ch_group_index; in mt76x2_phy_set_channel()325 channel += 6 - ch_group_index * 4; in mt76x2_phy_set_channel()330 ch_group_index = 0; in mt76x2_phy_set_channel()[all …]
700 int ch_group_index, freq, freq1; in __mt76x0_phy_set_channel() local713 ch_group_index = 0; in __mt76x0_phy_set_channel()715 ch_group_index = 1; in __mt76x0_phy_set_channel()716 channel += 2 - ch_group_index * 4; in __mt76x0_phy_set_channel()720 ch_group_index = (freq - freq1 + 30) / 20; in __mt76x0_phy_set_channel()721 if (WARN_ON(ch_group_index < 0 || ch_group_index > 3)) in __mt76x0_phy_set_channel()722 ch_group_index = 0; in __mt76x0_phy_set_channel()723 channel += 6 - ch_group_index * 4; in __mt76x0_phy_set_channel()727 ch_group_index = 0; in __mt76x0_phy_set_channel()733 mt76x0_bbp_set_ctrlch(dev, chandef->width, ch_group_index); in __mt76x0_phy_set_channel()[all …]