/linux-4.19.296/drivers/media/rc/ |
D | pwm-ir-tx.c | 28 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()
|
D | gpio-ir-tx.c | 28 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()
|
D | iguanair.c | 50 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()
|
D | serial_ir.c | 142 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()
|
D | ir-rx51.c | 194 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()
|
D | ir-spi.c | 83 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()
|
D | mceusb.c | 495 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 …]
|
D | rc-loopback.c | 63 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()
|
D | redrat3.c | 240 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()
|
D | ene_ir.c | 331 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()
|
D | nuvoton-cir.c | 603 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()
|
D | fintek-cir.h | 106 u32 carrier; member
|
D | lirc_dev.c | 68 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()
|
D | nuvoton-cir.h | 91 u32 carrier; member
|
D | ir-sanyo-decoder.c | 212 .carrier = 38000,
|
D | ir-jvc-decoder.c | 215 .carrier = 38000,
|
D | ir-sharp-decoder.c | 228 .carrier = 38000,
|
D | ir-sony-decoder.c | 226 .carrier = 40000,
|
D | ir-nec-decoder.c | 255 .carrier = 38000,
|
D | rc-core-priv.h | 40 u32 carrier; member
|
/linux-4.19.296/include/linux/ |
D | mcb.h | 36 struct device *carrier; member 129 extern struct mcb_bus *mcb_alloc_bus(struct device *carrier);
|
D | hdlc.h | 48 int carrier; member
|
/linux-4.19.296/include/media/i2c/ |
D | ir-kbd-i2c.h | 29 unsigned int carrier; member
|
/linux-4.19.296/include/media/ |
D | rc-core.h | 224 int (*s_tx_carrier)(struct rc_dev *dev, u32 carrier); 310 u32 carrier; member
|
/linux-4.19.296/drivers/media/tuners/ |
D | tda9887.c | 319 static char *carrier[4] = { in dump_write_message() local 368 carrier[(buf[3] & 0x03)]); in dump_write_message()
|