Lines Matching full:carrier
316 /* Sense current received carrier */
319 int carrier, duty_cycle; in ene_rx_sense_carrier() local
331 dbg("RX: hardware carrier period = %02x", period); in ene_rx_sense_carrier()
332 dbg("RX: hardware carrier pulse period = %02x", hperiod); in ene_rx_sense_carrier()
334 carrier = 2000000 / period; in ene_rx_sense_carrier()
336 dbg("RX: sensed carrier = %d Hz, duty cycle %d%%", in ene_rx_sense_carrier()
337 carrier, duty_cycle); in ene_rx_sense_carrier()
341 .carrier = carrier, in ene_rx_sense_carrier()
415 /* Enable carrier demodulation */ in ene_rx_setup()
418 /* Enable carrier detection */ in ene_rx_setup()
428 /* Disable carrier detection & demodulation */ in ene_rx_setup()
526 /* Set up the TX carrier frequency and duty cycle */
873 /* outside interface : set tx carrier */
874 static int ene_set_tx_carrier(struct rc_dev *rdev, u32 carrier) in ene_set_tx_carrier() argument
879 dbg("TX: attempt to set tx carrier to %d kHz", carrier); in ene_set_tx_carrier()
880 if (carrier == 0) in ene_set_tx_carrier()
883 period = 2000000 / carrier; in ene_set_tx_carrier()
887 dbg("TX: out of range %d-%d kHz carrier", in ene_set_tx_carrier()