Home
last modified time | relevance | path

Searched refs:ch_group_index (Results 1 – 9 of 9) sorted by relevance

/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dusb_phy.c88 int ch_group_index, freq, freq1, ret; in mt76x2u_phy_set_channel() local
99 ch_group_index = 0; in mt76x2u_phy_set_channel()
102 ch_group_index = 1; in mt76x2u_phy_set_channel()
104 channel += 2 - ch_group_index * 4; in mt76x2u_phy_set_channel()
107 ch_group_index = (freq - freq1 + 30) / 20; in mt76x2u_phy_set_channel()
108 if (WARN_ON(ch_group_index < 0 || ch_group_index > 3)) in mt76x2u_phy_set_channel()
109 ch_group_index = 0; in mt76x2u_phy_set_channel()
111 bw_index = ch_group_index; in mt76x2u_phy_set_channel()
112 channel += 6 - ch_group_index * 4; in mt76x2u_phy_set_channel()
117 ch_group_index = 0; in mt76x2u_phy_set_channel()
[all …]
H A Dpci_phy.c147 int ch_group_index; in mt76x2_phy_set_channel() local
162 ch_group_index = 0; in mt76x2_phy_set_channel()
165 ch_group_index = 1; in mt76x2_phy_set_channel()
167 channel += 2 - ch_group_index * 4; in mt76x2_phy_set_channel()
170 ch_group_index = (freq - freq1 + 30) / 20; in mt76x2_phy_set_channel()
171 if (WARN_ON(ch_group_index < 0 || ch_group_index > 3)) in mt76x2_phy_set_channel()
172 ch_group_index = 0; in mt76x2_phy_set_channel()
174 bw_index = ch_group_index; in mt76x2_phy_set_channel()
175 channel += 6 - ch_group_index * 4; in mt76x2_phy_set_channel()
180 ch_group_index = 0; in mt76x2_phy_set_channel()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dusb_phy.c88 int ch_group_index, freq, freq1, ret; in mt76x2u_phy_set_channel() local
99 ch_group_index = 0; in mt76x2u_phy_set_channel()
102 ch_group_index = 1; in mt76x2u_phy_set_channel()
104 channel += 2 - ch_group_index * 4; in mt76x2u_phy_set_channel()
107 ch_group_index = (freq - freq1 + 30) / 20; in mt76x2u_phy_set_channel()
108 if (WARN_ON(ch_group_index < 0 || ch_group_index > 3)) in mt76x2u_phy_set_channel()
109 ch_group_index = 0; in mt76x2u_phy_set_channel()
111 bw_index = ch_group_index; in mt76x2u_phy_set_channel()
112 channel += 6 - ch_group_index * 4; in mt76x2u_phy_set_channel()
117 ch_group_index = 0; in mt76x2u_phy_set_channel()
[all …]
H A Dpci_phy.c147 int ch_group_index; in mt76x2_phy_set_channel() local
162 ch_group_index = 0; in mt76x2_phy_set_channel()
165 ch_group_index = 1; in mt76x2_phy_set_channel()
167 channel += 2 - ch_group_index * 4; in mt76x2_phy_set_channel()
170 ch_group_index = (freq - freq1 + 30) / 20; in mt76x2_phy_set_channel()
171 if (WARN_ON(ch_group_index < 0 || ch_group_index > 3)) in mt76x2_phy_set_channel()
172 ch_group_index = 0; in mt76x2_phy_set_channel()
174 bw_index = ch_group_index; in mt76x2_phy_set_channel()
175 channel += 6 - ch_group_index * 4; in mt76x2_phy_set_channel()
180 ch_group_index = 0; in mt76x2_phy_set_channel()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dusb_phy.c88 int ch_group_index, freq, freq1, ret; in mt76x2u_phy_set_channel() local
99 ch_group_index = 0; in mt76x2u_phy_set_channel()
102 ch_group_index = 1; in mt76x2u_phy_set_channel()
104 channel += 2 - ch_group_index * 4; in mt76x2u_phy_set_channel()
107 ch_group_index = (freq - freq1 + 30) / 20; in mt76x2u_phy_set_channel()
108 if (WARN_ON(ch_group_index < 0 || ch_group_index > 3)) in mt76x2u_phy_set_channel()
109 ch_group_index = 0; in mt76x2u_phy_set_channel()
111 bw_index = ch_group_index; in mt76x2u_phy_set_channel()
112 channel += 6 - ch_group_index * 4; in mt76x2u_phy_set_channel()
117 ch_group_index = 0; in mt76x2u_phy_set_channel()
[all …]
H A Dpci_phy.c147 int ch_group_index; in mt76x2_phy_set_channel() local
162 ch_group_index = 0; in mt76x2_phy_set_channel()
165 ch_group_index = 1; in mt76x2_phy_set_channel()
167 channel += 2 - ch_group_index * 4; in mt76x2_phy_set_channel()
170 ch_group_index = (freq - freq1 + 30) / 20; in mt76x2_phy_set_channel()
171 if (WARN_ON(ch_group_index < 0 || ch_group_index > 3)) in mt76x2_phy_set_channel()
172 ch_group_index = 0; in mt76x2_phy_set_channel()
174 bw_index = ch_group_index; in mt76x2_phy_set_channel()
175 channel += 6 - ch_group_index * 4; in mt76x2_phy_set_channel()
180 ch_group_index = 0; in mt76x2_phy_set_channel()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Dphy.c937 int ch_group_index, freq, freq1; in mt76x0_phy_set_channel() local
950 ch_group_index = 0; in mt76x0_phy_set_channel()
952 ch_group_index = 1; in mt76x0_phy_set_channel()
953 channel += 2 - ch_group_index * 4; in mt76x0_phy_set_channel()
957 ch_group_index = (freq - freq1 + 30) / 20; in mt76x0_phy_set_channel()
958 if (WARN_ON(ch_group_index < 0 || ch_group_index > 3)) in mt76x0_phy_set_channel()
959 ch_group_index = 0; in mt76x0_phy_set_channel()
960 channel += 6 - ch_group_index * 4; in mt76x0_phy_set_channel()
964 ch_group_index = 0; in mt76x0_phy_set_channel()
981 ch_group_index & 1); in mt76x0_phy_set_channel()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Dphy.c937 int ch_group_index, freq, freq1; in mt76x0_phy_set_channel() local
950 ch_group_index = 0; in mt76x0_phy_set_channel()
952 ch_group_index = 1; in mt76x0_phy_set_channel()
953 channel += 2 - ch_group_index * 4; in mt76x0_phy_set_channel()
957 ch_group_index = (freq - freq1 + 30) / 20; in mt76x0_phy_set_channel()
958 if (WARN_ON(ch_group_index < 0 || ch_group_index > 3)) in mt76x0_phy_set_channel()
959 ch_group_index = 0; in mt76x0_phy_set_channel()
960 channel += 6 - ch_group_index * 4; in mt76x0_phy_set_channel()
964 ch_group_index = 0; in mt76x0_phy_set_channel()
981 ch_group_index & 1); in mt76x0_phy_set_channel()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Dphy.c937 int ch_group_index, freq, freq1; in mt76x0_phy_set_channel() local
950 ch_group_index = 0; in mt76x0_phy_set_channel()
952 ch_group_index = 1; in mt76x0_phy_set_channel()
953 channel += 2 - ch_group_index * 4; in mt76x0_phy_set_channel()
957 ch_group_index = (freq - freq1 + 30) / 20; in mt76x0_phy_set_channel()
958 if (WARN_ON(ch_group_index < 0 || ch_group_index > 3)) in mt76x0_phy_set_channel()
959 ch_group_index = 0; in mt76x0_phy_set_channel()
960 channel += 6 - ch_group_index * 4; in mt76x0_phy_set_channel()
964 ch_group_index = 0; in mt76x0_phy_set_channel()
981 ch_group_index & 1); in mt76x0_phy_set_channel()
[all …]