Lines Matching refs:carrier

82 #define MCE_CMD_SETIRCFS	0x06	/* Set tx carrier, 4 bytes */
89 #define MCE_CMD_GETIRCFS 0x07 /* Get carrier */
105 #define MCE_RSP_EQIRCFS 0x06 /* tx carrier, 4 bytes */
111 #define MCE_RSP_EQIRRXCFCNT 0x15 /* rx carrier count, 4 bytes */
198 * 2, rx2 which under counts IR carrier cycles
494 u32 carrier;
509 /* receiver carrier frequency detection support */
603 u32 carrier, period;
705 dev_dbg(dev, "%s: no carrier", inout);
715 carrier = USEC_PER_SEC / period;
716 dev_dbg(dev, "%s carrier of %u Hz (period %uus)",
717 inout, carrier, period);
720 dev_dbg(dev, "Get carrier mode and freq");
748 dev_dbg(dev, "RX carrier cycle count: %d",
1031 /* Sets the send carrier frequency and mode */
1032 static int mceusb_set_tx_carrier(struct rc_dev *dev, u32 carrier)
1041 if (ir->carrier != carrier) {
1043 if (carrier == 0) {
1044 ir->carrier = carrier;
1047 dev_dbg(ir->dev, "disabling carrier modulation");
1053 divisor = (clk >> (2 * prescaler)) / carrier;
1055 ir->carrier = carrier;
1058 dev_dbg(ir->dev, "requesting %u HZ carrier",
1059 carrier);
1061 /* Transmit new carrier to mce device */
1120 * Enable/disable receiver carrier frequency pass through reporting.
1121 * Only the short-range receiver has carrier frequency measuring capability.
1122 * Implicitly select this receiver when enabling carrier frequency reporting.
1130 dev_dbg(ir->dev, "%s short-range receiver carrier reporting",
1214 * The carrier cycle counter can overflow and wrap around
1225 * Adjust carrier cycle count by adding
1230 rawir.carrier = (1000000u / MCE_TIME_UNIT) *
1233 dev_dbg(ir->dev, "RX carrier frequency %u Hz (pulse count = %u, cycles = %u, duration = %u, rx2 = %u)",
1234 rawir.carrier, ir->pulse_count, carrier_cycles,
1484 /* get the carrier and frequency */