| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt76x2/ |
| H A D | usb_phy.c | 87 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 D | pci_phy.c | 148 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 D | mcu.c | 16 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 D | mt76x2.h | 62 u8 bw_index, bool scan);
|
| /linux-6.15/drivers/media/dvb-frontends/ |
| H A D | sp887x.c | 308 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()
|
| /linux-6.15/drivers/gpu/drm/msm/adreno/ |
| H A D | a6xx_gmu.c | 117 u32 bw_index = 0; in a6xx_gmu_set_freq() local 134 for (bw_index = 0; bw_index < gmu->nr_gpu_bws - 1; bw_index++) { in a6xx_gmu_set_freq() 135 if (bw == gmu->gpu_bw_table[bw_index]) in a6xx_gmu_set_freq() 156 bw_index |= AB_VOTE(clamp(tmp, 1, MAX_AB_VOTE)); in a6xx_gmu_set_freq() 157 bw_index |= AB_VOTE_ENABLE; in a6xx_gmu_set_freq() 176 a6xx_hfi_set_freq(gmu, perf_index, bw_index); in a6xx_gmu_set_freq() 178 if (!bw_index) in a6xx_gmu_set_freq() 1358 unsigned int bcm_index, bw_index, bcm_count = 0; in a6xx_gmu_rpmh_bw_votes_init() local 1383 for (bw_index = 0; bw_index < gmu->nr_gpu_bws; bw_index++) { in a6xx_gmu_rpmh_bw_votes_init() 1384 u32 *data = gmu->gpu_ib_votes[bw_index]; in a6xx_gmu_rpmh_bw_votes_init() [all …]
|
| H A D | a6xx_gmu.h | 212 int a6xx_hfi_set_freq(struct a6xx_gmu *gmu, u32 perf_index, u32 bw_index);
|
| H A D | a6xx_hfi.c | 775 int a6xx_hfi_set_freq(struct a6xx_gmu *gmu, u32 freq_index, u32 bw_index) in a6xx_hfi_set_freq() argument 781 msg.bw = bw_index; in a6xx_hfi_set_freq()
|
| /linux-6.15/drivers/usb/host/ |
| H A D | xhci-mtk-sch.c | 132 int bw_index; in get_bw_info() local 142 bw_index = (virt_dev->rhub_port->hw_portnum) * 2; in get_bw_info() 144 bw_index = (virt_dev->rhub_port->hw_portnum) * 2 + 1; in get_bw_info() 147 bw_index = virt_dev->rhub_port->hw_portnum + xhci->usb3_rhub.num_ports; in get_bw_info() 150 return &mtk->sch_array[bw_index]; in get_bw_info()
|
| /linux-6.15/drivers/gpu/drm/i915/display/ |
| H A D | intel_bw.c | 988 unsigned int bw_index = in mtl_find_qgv_points() local 992 if (bw_index >= ARRAY_SIZE(i915->display.bw.max)) in mtl_find_qgv_points() 995 max_data_rate = i915->display.bw.max[bw_index].deratedbw[i]; in mtl_find_qgv_points() 1002 qgv_peak_bw = i915->display.bw.max[bw_index].peakbw[i]; in mtl_find_qgv_points()
|
| /linux-6.15/drivers/iio/accel/ |
| H A D | adxl372.c | 797 int odr_index, bw_index, ret; in adxl372_write_raw() local 830 bw_index = adxl372_find_closest_match(adxl372_bw_freq_tbl, in adxl372_write_raw() 833 return adxl372_set_bandwidth(st, bw_index); in adxl372_write_raw()
|