Searched refs:frq (Results 1 – 4 of 4) sorted by relevance
/drivers/media/tuners/ |
D | tea5767.c | 135 unsigned int div, frq; in tea5767_status_dump() local 151 frq = (div * 50000 - 700000 - 225000) / 4; /* Freq in KHz */ in tea5767_status_dump() 154 frq = (div * 50000 + 700000 + 225000) / 4; /* Freq in KHz */ in tea5767_status_dump() 157 frq = (div * 32768 + 700000 + 225000) / 4; /* Freq in KHz */ in tea5767_status_dump() 161 frq = (div * 32768 - 700000 - 225000) / 4; /* Freq in KHz */ in tea5767_status_dump() 168 frq / 1000, frq % 1000, div); in tea5767_status_dump() 191 unsigned int frq = params->frequency; in set_radio_freq() local 196 tuner_dbg("radio freq = %d.%03d MHz\n", frq/16000,(frq/16)%1000); in set_radio_freq() 244 div = (frq * (4000 / 16) + 700000 + 225000 + 25000) / 50000; in set_radio_freq() 249 div = (frq * (4000 / 16) - 700000 - 225000 + 25000) / 50000; in set_radio_freq() [all …]
|
D | tea5761.c | 125 unsigned int div, frq; in tea5761_status_dump() local 129 frq = 1000 * (div * 32768 / 1000 + FREQ_OFFSET + 225) / 4; /* Freq in KHz */ in tea5761_status_dump() 132 frq / 1000, frq % 1000, div); in tea5761_status_dump() 141 unsigned int frq = freq; in __set_radio_freq() local 146 tuner_dbg("radio freq counter %d\n", frq); in __set_radio_freq() 163 div = (1000 * (frq * 4 / 16 + 700 + 225) ) >> 15; in __set_radio_freq() 173 priv->frequency = frq * 125 / 2; in __set_radio_freq()
|
/drivers/net/wireless/intersil/orinoco/ |
D | wext.c | 423 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/ |
D | iuu_phoenix.c | 410 int frq = (int)dwFrq; in iuu_clk() local 412 if (frq == 0) { in iuu_clk() 423 } else if (frq == 3579000) { in iuu_clk() 428 } else if (frq == 3680000) { in iuu_clk() 433 } else if (frq == 6000000) { in iuu_clk() 452 if (abs((int)(tmp - frq)) < in iuu_clk() 453 abs((int)(frq - result))) { in iuu_clk() 468 if (result == frq) in iuu_clk()
|