Home | History | Annotate | Download | only in ic

Lines Matching defs:mhz

1097 	/* XXX I guess that the Cardbus clock is 22 MHz?
1099 * to divide the bus clock to get a 1 MHz clock---the datasheet is not
1101 * possible for the ADM8211 to accommodate bus speeds between 22 MHz
1102 * and 33 MHz; maybe this is the way? I see a binary-only driver write
1119 __SHIFTIN(22 * 10 /* IEEE80211_DUR_DS_SIFS */ /* # of 22 MHz cycles */,
1512 * a SAW filter on the radio fixes the IF at 374 MHz, I program the
1513 * Si4126 to generate IF LO = 374 MHz x 2 = 748 MHz. The second
1520 * of XIN than the 2-25 MHz mentioned by the datasheet, even *without*
1527 u_int mhz;
1537 mhz = 2484;
1539 mhz = 2412 + 5 * (chan - 1);
1541 /* Tune IF to 748 MHz to suit the IF LO input of the
1543 * because an IF in 526 MHz - 952 MHz is allowed.
1545 * XIN is 44.000 MHz, so divide it by two to get allowable
1546 * range of 2-25 MHz. SiLabs tells me that this is not
1569 gain = __SHIFTIN(((mhz - 374) > 2047) ? 1 : 0, SI4126_GAIN_KP2_MASK);
1573 /* XIN = 44 MHz.
1576 * R = 44 so that 1496/(2 * 44) * 44 MHz = 748 MHz.
1579 * so that 1496/88 * 44 MHz = 748 MHz.
1592 atw_si4126_write(sc, SI4126_RF1N, mhz - 374);
1595 /* N/R * XIN = RF. XIN = 44 MHz. We desire RF = mhz - IF,
1596 * where IF = 374 MHz. Let's divide XIN to 1 MHz. So R = 44.
1597 * Now let's multiply it to mhz. So mhz - IF = N.
1601 atw_si4126_write(sc, SI4126_RF2N, mhz - 374);