Lines Matching refs:uitmp

240 	unsigned int uitmp, uitmp1, uitmp2;  in hackrf_set_params()  local
300 uitmp = dev->f_adc; in hackrf_set_params()
302 uitmp = dev->rx_bandwidth->val; 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()
310 dev->rx_bandwidth->val = uitmp; in hackrf_set_params()
311 dev->rx_bandwidth->cur.val = uitmp; in hackrf_set_params()
312 dev_dbg(&intf->dev, "RX bandwidth selected=%u\n", uitmp); in hackrf_set_params()
316 uitmp = dev->f_dac; in hackrf_set_params()
318 uitmp = dev->tx_bandwidth->val; 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()
326 dev->tx_bandwidth->val = uitmp; in hackrf_set_params()
327 dev->tx_bandwidth->cur.val = uitmp; in hackrf_set_params()
328 dev_dbg(&intf->dev, "TX bandwidth selected=%u\n", uitmp); in hackrf_set_params()
331 uitmp = 0; in hackrf_set_params()
333 if (uitmp) { in hackrf_set_params()
335 uitmp1 |= ((uitmp >> 0) & 0xff) << 0; in hackrf_set_params()
336 uitmp1 |= ((uitmp >> 8) & 0xff) << 8; in hackrf_set_params()
337 uitmp2 |= ((uitmp >> 16) & 0xff) << 0; in hackrf_set_params()
338 uitmp2 |= ((uitmp >> 24) & 0xff) << 8; in hackrf_set_params()
1092 unsigned int uitmp; in hackrf_s_frequency() local
1098 uitmp = clamp(f->frequency, bands_adc_dac[0].rangelow, in hackrf_s_frequency()
1101 dev->f_adc = uitmp; in hackrf_s_frequency()
1104 dev->f_dac = uitmp; in hackrf_s_frequency()
1108 uitmp = clamp(f->frequency, bands_rx_tx[0].rangelow, in hackrf_s_frequency()
1111 dev->f_rx = uitmp; in hackrf_s_frequency()
1114 dev->f_tx = uitmp; in hackrf_s_frequency()