Searched refs:bandwidth_lut (Results 1 – 2 of 2) sorted by relevance
115 } bandwidth_lut[] = { in msi001_set_tuner() local178 for (i = 0; i < ARRAY_SIZE(bandwidth_lut); i++) { in msi001_set_tuner()179 if (bandwidth <= bandwidth_lut[i].freq) { in msi001_set_tuner()180 bandwidth = bandwidth_lut[i].val; in msi001_set_tuner()184 if (i == ARRAY_SIZE(bandwidth_lut)) { in msi001_set_tuner()189 dev->bandwidth->val = bandwidth_lut[i].freq; in msi001_set_tuner()191 dev_dbg(&spi->dev, "bandwidth selected=%d\n", bandwidth_lut[i].freq); in msi001_set_tuner()
245 } bandwidth_lut[] = { in hackrf_set_params() local304 for (i = 0; i < ARRAY_SIZE(bandwidth_lut); i++) { in hackrf_set_params()305 if (uitmp <= bandwidth_lut[i].freq) { in hackrf_set_params()306 uitmp = bandwidth_lut[i].freq; in hackrf_set_params()320 for (i = 0; i < ARRAY_SIZE(bandwidth_lut); i++) { in hackrf_set_params()321 if (uitmp <= bandwidth_lut[i].freq) { in hackrf_set_params()322 uitmp = bandwidth_lut[i].freq; in hackrf_set_params()