Home
last modified time | relevance | path

Searched refs:bandwidth_lut (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/media/tuners/
Dmsi001.c124 } bandwidth_lut[] = { in msi001_set_tuner() local
187 for (i = 0; i < ARRAY_SIZE(bandwidth_lut); i++) { in msi001_set_tuner()
188 if (bandwidth <= bandwidth_lut[i].freq) { in msi001_set_tuner()
189 bandwidth = bandwidth_lut[i].val; in msi001_set_tuner()
193 if (i == ARRAY_SIZE(bandwidth_lut)) { in msi001_set_tuner()
198 dev->bandwidth->val = bandwidth_lut[i].freq; in msi001_set_tuner()
200 dev_dbg(&spi->dev, "bandwidth selected=%d\n", bandwidth_lut[i].freq); in msi001_set_tuner()
/Linux-v4.19/drivers/media/usb/hackrf/
Dhackrf.c254 } bandwidth_lut[] = { in hackrf_set_params() local
313 for (i = 0; i < ARRAY_SIZE(bandwidth_lut); i++) { in hackrf_set_params()
314 if (uitmp <= bandwidth_lut[i].freq) { in hackrf_set_params()
315 uitmp = bandwidth_lut[i].freq; in hackrf_set_params()
329 for (i = 0; i < ARRAY_SIZE(bandwidth_lut); i++) { in hackrf_set_params()
330 if (uitmp <= bandwidth_lut[i].freq) { in hackrf_set_params()
331 uitmp = bandwidth_lut[i].freq; in hackrf_set_params()