Home
last modified time | relevance | path

Searched refs:carrier (Results 1 – 25 of 35) sorted by relevance

12

/linux-4.19.296/drivers/media/rc/
Dpwm-ir-tx.c28 unsigned int carrier; member
47 static int pwm_ir_set_carrier(struct rc_dev *dev, u32 carrier) in pwm_ir_set_carrier() argument
51 if (!carrier) in pwm_ir_set_carrier()
54 pwm_ir->carrier = carrier; in pwm_ir_set_carrier()
68 period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, pwm_ir->carrier); in pwm_ir_tx()
106 pwm_ir->carrier = 38000; in pwm_ir_probe()
Dgpio-ir-tx.c28 unsigned int carrier; member
49 static int gpio_ir_tx_set_carrier(struct rc_dev *dev, u32 carrier) in gpio_ir_tx_set_carrier() argument
53 if (!carrier) in gpio_ir_tx_set_carrier()
56 gpio_ir->carrier = carrier; in gpio_ir_tx_set_carrier()
77 gpio_ir->carrier); in gpio_ir_tx()
79 (NSEC_PER_SEC / 100), gpio_ir->carrier); in gpio_ir_tx()
149 gpio_ir->carrier = 38000; in gpio_ir_tx_probe()
Diguanair.c50 uint32_t carrier; member
291 static int iguanair_set_tx_carrier(struct rc_dev *dev, uint32_t carrier) in iguanair_set_tx_carrier() argument
295 if (carrier < 25000 || carrier > 150000) in iguanair_set_tx_carrier()
300 if (carrier != ir->carrier) { in iguanair_set_tx_carrier()
303 ir->carrier = carrier; in iguanair_set_tx_carrier()
305 cycles = DIV_ROUND_CLOSEST(24000000, carrier * 2) - in iguanair_set_tx_carrier()
357 periods = DIV_ROUND_CLOSEST(txbuf[i] * ir->carrier, 1000000); in iguanair_tx()
Dserial_ir.c142 unsigned int carrier; member
234 serial_ir.carrier); in send_pulse_homebrew_softcarrier()
236 (NSEC_PER_SEC / 100), serial_ir.carrier); in send_pulse_homebrew_softcarrier()
487 static int serial_ir_tx_carrier(struct rc_dev *dev, u32 carrier);
576 serial_ir.carrier = 38000; in serial_ir_probe()
684 static int serial_ir_tx_carrier(struct rc_dev *dev, u32 carrier) in serial_ir_tx_carrier() argument
686 if (carrier > 500000 || carrier < 20000) in serial_ir_tx_carrier()
689 serial_ir.carrier = carrier; in serial_ir_tx_carrier()
Dir-rx51.c194 static int ir_rx51_set_tx_carrier(struct rc_dev *dev, u32 carrier) in ir_rx51_set_tx_carrier() argument
198 if (carrier > 500000 || carrier < 20000) in ir_rx51_set_tx_carrier()
201 ir_rx51->freq = carrier; in ir_rx51_set_tx_carrier()
Dir-spi.c83 static int ir_spi_set_tx_carrier(struct rc_dev *dev, u32 carrier) in ir_spi_set_tx_carrier() argument
87 if (!carrier) in ir_spi_set_tx_carrier()
90 idata->freq = carrier; in ir_spi_set_tx_carrier()
Dmceusb.c495 u32 carrier; member
604 u32 carrier, period; in mceusb_dev_printdata() local
699 carrier = USEC_PER_SEC / period; in mceusb_dev_printdata()
701 inout, carrier, period); in mceusb_dev_printdata()
1016 static int mceusb_set_tx_carrier(struct rc_dev *dev, u32 carrier) in mceusb_set_tx_carrier() argument
1025 if (ir->carrier != carrier) { in mceusb_set_tx_carrier()
1027 if (carrier == 0) { in mceusb_set_tx_carrier()
1028 ir->carrier = carrier; in mceusb_set_tx_carrier()
1037 divisor = (clk >> (2 * prescaler)) / carrier; in mceusb_set_tx_carrier()
1039 ir->carrier = carrier; in mceusb_set_tx_carrier()
[all …]
Drc-loopback.c63 static int loop_set_tx_carrier(struct rc_dev *dev, u32 carrier) in loop_set_tx_carrier() argument
67 dprintk("setting tx carrier: %u\n", carrier); in loop_set_tx_carrier()
68 lodev->txcarrier = carrier; in loop_set_tx_carrier()
Dredrat3.c240 u32 carrier; member
364 ev.carrier = mod_freq; in redrat3_process_ir_data()
745 static int redrat3_set_tx_carrier(struct rc_dev *rcdev, u32 carrier) in redrat3_set_tx_carrier() argument
750 dev_dbg(dev, "Setting modulation frequency to %u", carrier); in redrat3_set_tx_carrier()
751 if (carrier == 0) in redrat3_set_tx_carrier()
754 rr3->carrier = carrier; in redrat3_set_tx_carrier()
833 irdata->mod_freq_count = cpu_to_be16(mod_freq_to_val(rr3->carrier)); in redrat3_transmit_ir()
1078 rr3->carrier = 38000; in redrat3_dev_probe()
Dene_ir.c331 int carrier, duty_cycle; in ene_rx_sense_carrier() local
346 carrier = 2000000 / period; in ene_rx_sense_carrier()
349 carrier, duty_cycle); in ene_rx_sense_carrier()
352 ev.carrier = carrier; in ene_rx_sense_carrier()
887 static int ene_set_tx_carrier(struct rc_dev *rdev, u32 carrier) in ene_set_tx_carrier() argument
892 dbg("TX: attempt to set tx carrier to %d kHz", carrier); in ene_set_tx_carrier()
893 if (carrier == 0) in ene_set_tx_carrier()
896 period = 2000000 / carrier; in ene_set_tx_carrier()
Dnuvoton-cir.c603 u32 count, carrier, duration = 0;
623 carrier = MS_TO_NS(count) / duration;
625 if ((carrier > MAX_CARRIER) || (carrier < MIN_CARRIER))
629 carrier, count, duration);
631 return carrier;
641 static int nvt_set_tx_carrier(struct rc_dev *dev, u32 carrier) in nvt_set_tx_carrier() argument
646 if (carrier == 0) in nvt_set_tx_carrier()
650 val = 3000000 / (carrier) - 1; in nvt_set_tx_carrier()
Dfintek-cir.h106 u32 carrier; member
Dlirc_dev.c68 sample = LIRC_FREQUENCY(ev.carrier); in ir_lirc_raw_event()
318 int carrier = ir_raw_encode_carrier(scan.rc_proto); in ir_lirc_transmit_ir() local
320 if (carrier > 0) in ir_lirc_transmit_ir()
321 dev->s_tx_carrier(dev, carrier); in ir_lirc_transmit_ir()
Dnuvoton-cir.h91 u32 carrier; member
Dir-sanyo-decoder.c212 .carrier = 38000,
Dir-jvc-decoder.c215 .carrier = 38000,
Dir-sharp-decoder.c228 .carrier = 38000,
Dir-sony-decoder.c226 .carrier = 40000,
Dir-nec-decoder.c255 .carrier = 38000,
Drc-core-priv.h40 u32 carrier; member
/linux-4.19.296/include/linux/
Dmcb.h36 struct device *carrier; member
129 extern struct mcb_bus *mcb_alloc_bus(struct device *carrier);
Dhdlc.h48 int carrier; member
/linux-4.19.296/include/media/i2c/
Dir-kbd-i2c.h29 unsigned int carrier; member
/linux-4.19.296/include/media/
Drc-core.h224 int (*s_tx_carrier)(struct rc_dev *dev, u32 carrier);
310 u32 carrier; member
/linux-4.19.296/drivers/media/tuners/
Dtda9887.c319 static char *carrier[4] = { in dump_write_message() local
368 carrier[(buf[3] & 0x03)]); in dump_write_message()

12