Lines Matching full: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; member
508 /* receiver carrier frequency detection support */
602 u32 carrier, period; in mceusb_dev_printdata() local
704 dev_dbg(dev, "%s: no carrier", inout); in mceusb_dev_printdata()
714 carrier = USEC_PER_SEC / period; in mceusb_dev_printdata()
715 dev_dbg(dev, "%s carrier of %u Hz (period %uus)", in mceusb_dev_printdata()
716 inout, carrier, period); in mceusb_dev_printdata()
719 dev_dbg(dev, "Get carrier mode and freq"); in mceusb_dev_printdata()
747 dev_dbg(dev, "RX carrier cycle count: %d", in mceusb_dev_printdata()
1030 /* Sets the send carrier frequency and mode */
1031 static int mceusb_set_tx_carrier(struct rc_dev *dev, u32 carrier) in mceusb_set_tx_carrier() argument
1039 /* Carrier has changed */ in mceusb_set_tx_carrier()
1040 if (ir->carrier != carrier) { in mceusb_set_tx_carrier()
1042 if (carrier == 0) { in mceusb_set_tx_carrier()
1043 ir->carrier = carrier; in mceusb_set_tx_carrier()
1046 dev_dbg(ir->dev, "disabling carrier modulation"); in mceusb_set_tx_carrier()
1052 divisor = (clk >> (2 * prescaler)) / carrier; in mceusb_set_tx_carrier()
1054 ir->carrier = carrier; in mceusb_set_tx_carrier()
1057 dev_dbg(ir->dev, "requesting %u HZ carrier", in mceusb_set_tx_carrier()
1058 carrier); in mceusb_set_tx_carrier()
1060 /* Transmit new carrier to mce device */ in mceusb_set_tx_carrier()
1119 * Enable/disable receiver carrier frequency pass through reporting.
1120 * Only the short-range receiver has carrier frequency measuring capability.
1121 * Implicitly select this receiver when enabling carrier frequency reporting.
1129 dev_dbg(ir->dev, "%s short-range receiver carrier reporting", in mceusb_set_rx_carrier_report()
1213 * The carrier cycle counter can overflow and wrap around in mceusb_handle_command()
1224 * Adjust carrier cycle count by adding in mceusb_handle_command()
1229 rawir.carrier = (1000000u / MCE_TIME_UNIT) * in mceusb_handle_command()
1232 …dev_dbg(ir->dev, "RX carrier frequency %u Hz (pulse count = %u, cycles = %u, duration = %u, rx2 = … in mceusb_handle_command()
1233 rawir.carrier, ir->pulse_count, carrier_cycles, in mceusb_handle_command()
1483 /* get the carrier and frequency */ in mceusb_get_parameters()