Home
last modified time | relevance | path

Searched refs:frq (Results 1 – 4 of 4) sorted by relevance

/drivers/media/tuners/
Dtea5767.c136 unsigned int div, frq; in tea5767_status_dump() local
152 frq = (div * 50000 - 700000 - 225000) / 4; /* Freq in KHz */ in tea5767_status_dump()
155 frq = (div * 50000 + 700000 + 225000) / 4; /* Freq in KHz */ in tea5767_status_dump()
158 frq = (div * 32768 + 700000 + 225000) / 4; /* Freq in KHz */ in tea5767_status_dump()
162 frq = (div * 32768 - 700000 - 225000) / 4; /* Freq in KHz */ in tea5767_status_dump()
169 frq / 1000, frq % 1000, div); in tea5767_status_dump()
192 unsigned int frq = params->frequency; in set_radio_freq() local
197 tuner_dbg("radio freq = %d.%03d MHz\n", frq/16000,(frq/16)%1000); in set_radio_freq()
245 div = (frq * (4000 / 16) + 700000 + 225000 + 25000) / 50000; in set_radio_freq()
250 div = (frq * (4000 / 16) - 700000 - 225000 + 25000) / 50000; in set_radio_freq()
[all …]
Dtea5761.c128 unsigned int div, frq; in tea5761_status_dump() local
132 frq = 1000 * (div * 32768 / 1000 + FREQ_OFFSET + 225) / 4; /* Freq in KHz */ in tea5761_status_dump()
135 frq / 1000, frq % 1000, div); in tea5761_status_dump()
144 unsigned int frq = freq; in __set_radio_freq() local
149 tuner_dbg("radio freq counter %d\n", frq); in __set_radio_freq()
166 div = (1000 * (frq * 4 / 16 + 700 + 225) ) >> 15; in __set_radio_freq()
176 priv->frequency = frq * 125 / 2; in __set_radio_freq()
/drivers/net/wireless/orinoco/
Dwext.c423 struct iw_freq *frq, in orinoco_ioctl_setfreq() argument
435 if ((frq->e == 0) && (frq->m <= 1000)) { in orinoco_ioctl_setfreq()
437 chan = frq->m; in orinoco_ioctl_setfreq()
444 for (i = 0; i < (6 - frq->e); i++) in orinoco_ioctl_setfreq()
447 chan = ieee80211_frequency_to_channel(frq->m / denom); in orinoco_ioctl_setfreq()
472 struct iw_freq *frq, in orinoco_ioctl_getfreq() argument
483 frq->m = tmp * 100000; in orinoco_ioctl_getfreq()
484 frq->e = 1; in orinoco_ioctl_getfreq()
/drivers/usb/serial/
Diuu_phoenix.c416 int frq = (int)dwFrq; in iuu_clk() local
418 if (frq == 0) { in iuu_clk()
429 } else if (frq == 3579000) { in iuu_clk()
434 } else if (frq == 3680000) { in iuu_clk()
439 } else if (frq == 6000000) { in iuu_clk()
458 if (abs((int)(tmp - frq)) < in iuu_clk()
459 abs((int)(frq - result))) { in iuu_clk()
474 if (result == frq) in iuu_clk()