Home
last modified time | relevance | path

Searched refs:bw_index (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dusb_phy.c87 u8 channel = chan->hw_value, bw, bw_index; in mt76x2u_phy_set_channel() local
98 bw_index = 1; in mt76x2u_phy_set_channel()
101 bw_index = 3; in mt76x2u_phy_set_channel()
111 bw_index = ch_group_index; in mt76x2u_phy_set_channel()
116 bw_index = 0; in mt76x2u_phy_set_channel()
137 ret = mt76x2_mcu_set_channel(dev, channel, bw, bw_index, scan); in mt76x2u_phy_set_channel()
H A Dpci_phy.c148 u8 bw, bw_index; in mt76x2_phy_set_channel() local
161 bw_index = 1; in mt76x2_phy_set_channel()
164 bw_index = 3; in mt76x2_phy_set_channel()
174 bw_index = ch_group_index; in mt76x2_phy_set_channel()
179 bw_index = 0; in mt76x2_phy_set_channel()
200 ret = mt76x2_mcu_set_channel(dev, channel, bw, bw_index, scan); in mt76x2_phy_set_channel()
H A Dmcu.c16 u8 bw_index, bool scan) in mt76x2_mcu_set_channel() argument
41 msg.ext_chan = 0xe0 + bw_index; in mt76x2_mcu_set_channel()
H A Dmt76x2.h60 u8 bw_index, bool scan);
/openbmc/linux/drivers/media/dvb-frontends/
H A Dsp887x.c308 int bw_index; in sp887x_correct_offsets() local
318 bw_index = 0; in sp887x_correct_offsets()
321 bw_index = 1; in sp887x_correct_offsets()
324 bw_index = 2; in sp887x_correct_offsets()
339 sp887x_writereg(state, 0x319, srate_correction[bw_index] >> 12); in sp887x_correct_offsets()
340 sp887x_writereg(state, 0x31a, srate_correction[bw_index] & 0xfff); in sp887x_correct_offsets()
/openbmc/linux/drivers/usb/host/
H A Dxhci-mtk-sch.c124 int bw_index; in get_bw_info() local
134 bw_index = (virt_dev->real_port - 1) * 2; in get_bw_info()
136 bw_index = (virt_dev->real_port - 1) * 2 + 1; in get_bw_info()
139 bw_index = virt_dev->real_port + xhci->usb3_rhub.num_ports - 1; in get_bw_info()
142 return &mtk->sch_array[bw_index]; in get_bw_info()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_bw.c837 unsigned int bw_index = in mtl_find_qgv_points() local
841 if (bw_index >= ARRAY_SIZE(i915->display.bw.max)) in mtl_find_qgv_points()
844 max_data_rate = i915->display.bw.max[bw_index].deratedbw[i]; in mtl_find_qgv_points()
851 qgv_peak_bw = i915->display.bw.max[bw_index].peakbw[i]; in mtl_find_qgv_points()
/openbmc/linux/drivers/iio/accel/
H A Dadxl372.c798 int odr_index, bw_index, ret; in adxl372_write_raw() local
831 bw_index = adxl372_find_closest_match(adxl372_bw_freq_tbl, in adxl372_write_raw()
834 return adxl372_set_bandwidth(st, bw_index); in adxl372_write_raw()