Lines Matching refs:uitmp

249 	unsigned int uitmp, uitmp1, uitmp2;  in hackrf_set_params()  local
309 uitmp = dev->f_adc; in hackrf_set_params()
311 uitmp = dev->rx_bandwidth->val; 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()
319 dev->rx_bandwidth->val = uitmp; in hackrf_set_params()
320 dev->rx_bandwidth->cur.val = uitmp; in hackrf_set_params()
321 dev_dbg(&intf->dev, "RX bandwidth selected=%u\n", uitmp); in hackrf_set_params()
325 uitmp = dev->f_dac; in hackrf_set_params()
327 uitmp = dev->tx_bandwidth->val; 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()
335 dev->tx_bandwidth->val = uitmp; in hackrf_set_params()
336 dev->tx_bandwidth->cur.val = uitmp; in hackrf_set_params()
337 dev_dbg(&intf->dev, "TX bandwidth selected=%u\n", uitmp); in hackrf_set_params()
340 uitmp = 0; in hackrf_set_params()
342 if (uitmp) { in hackrf_set_params()
344 uitmp1 |= ((uitmp >> 0) & 0xff) << 0; in hackrf_set_params()
345 uitmp1 |= ((uitmp >> 8) & 0xff) << 8; in hackrf_set_params()
346 uitmp2 |= ((uitmp >> 16) & 0xff) << 0; in hackrf_set_params()
347 uitmp2 |= ((uitmp >> 24) & 0xff) << 8; in hackrf_set_params()
1114 unsigned int uitmp; in hackrf_s_frequency() local
1120 uitmp = clamp(f->frequency, bands_adc_dac[0].rangelow, in hackrf_s_frequency()
1123 dev->f_adc = uitmp; in hackrf_s_frequency()
1126 dev->f_dac = uitmp; in hackrf_s_frequency()
1130 uitmp = clamp(f->frequency, bands_rx_tx[0].rangelow, in hackrf_s_frequency()
1133 dev->f_rx = uitmp; in hackrf_s_frequency()
1136 dev->f_tx = uitmp; in hackrf_s_frequency()