Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/drivers/media/rc/
Dpwm-ir-tx.c20 unsigned int carrier; member
39 static int pwm_ir_set_carrier(struct rc_dev *dev, u32 carrier) in pwm_ir_set_carrier() argument
43 if (!carrier) in pwm_ir_set_carrier()
46 pwm_ir->carrier = carrier; in pwm_ir_set_carrier()
60 period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, pwm_ir->carrier); in pwm_ir_tx()
98 pwm_ir->carrier = 38000; in pwm_ir_probe()
Dgpio-ir-tx.c20 unsigned int carrier; member
39 static int gpio_ir_tx_set_carrier(struct rc_dev *dev, u32 carrier) in gpio_ir_tx_set_carrier() argument
43 if (carrier > 500000) in gpio_ir_tx_set_carrier()
46 gpio_ir->carrier = carrier; in gpio_ir_tx_set_carrier()
104 gpio_ir->carrier); in gpio_ir_tx_modulated()
106 (NSEC_PER_SEC / 100), gpio_ir->carrier); in gpio_ir_tx_modulated()
148 if (gpio_ir->carrier) in gpio_ir_tx()
186 gpio_ir->carrier = 38000; in gpio_ir_tx_probe()
Diguanair.c38 uint32_t carrier; member
277 static int iguanair_set_tx_carrier(struct rc_dev *dev, uint32_t carrier) in iguanair_set_tx_carrier() argument
281 if (carrier < 25000 || carrier > 150000) in iguanair_set_tx_carrier()
284 if (carrier != ir->carrier) { in iguanair_set_tx_carrier()
287 ir->carrier = carrier; in iguanair_set_tx_carrier()
289 cycles = DIV_ROUND_CLOSEST(24000000, carrier * 2) - in iguanair_set_tx_carrier()
335 periods = DIV_ROUND_CLOSEST(txbuf[i] * ir->carrier, 1000000); in iguanair_tx()
Dserial_ir.c134 unsigned int carrier; member
226 serial_ir.carrier); in send_pulse_homebrew_softcarrier()
228 (NSEC_PER_SEC / 100), serial_ir.carrier); in send_pulse_homebrew_softcarrier()
479 static int serial_ir_tx_carrier(struct rc_dev *dev, u32 carrier);
568 serial_ir.carrier = 38000; in serial_ir_probe()
676 static int serial_ir_tx_carrier(struct rc_dev *dev, u32 carrier) in serial_ir_tx_carrier() argument
678 if (carrier > 500000 || carrier < 20000) in serial_ir_tx_carrier()
681 serial_ir.carrier = carrier; in serial_ir_tx_carrier()
Dir-rx51.c185 static int ir_rx51_set_tx_carrier(struct rc_dev *dev, u32 carrier) in ir_rx51_set_tx_carrier() argument
189 if (carrier > 500000 || carrier < 20000) in ir_rx51_set_tx_carrier()
192 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.c494 u32 carrier; member
603 u32 carrier, period; in mceusb_dev_printdata() local
715 carrier = USEC_PER_SEC / period; in mceusb_dev_printdata()
717 inout, carrier, period); in mceusb_dev_printdata()
1032 static int mceusb_set_tx_carrier(struct rc_dev *dev, u32 carrier) in mceusb_set_tx_carrier() argument
1041 if (ir->carrier != carrier) { in mceusb_set_tx_carrier()
1043 if (carrier == 0) { in mceusb_set_tx_carrier()
1044 ir->carrier = carrier; in mceusb_set_tx_carrier()
1053 divisor = (clk >> (2 * prescaler)) / carrier; in mceusb_set_tx_carrier()
1055 ir->carrier = carrier; in mceusb_set_tx_carrier()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
Dcx88-dsp.c22 #define baseband_freq(carrier, srate, tone) ((s32)( \ argument
23 (compat_remainder(carrier + tone, srate)) / srate * 2 * INT_PI))
159 s32 carrier, stereo, dual, noise; in detect_a2_a2m_eiaj() local
186 carrier = freq_magnitude(x, N, carrier_freq); in detect_a2_a2m_eiaj()
193 carrier, stereo, dual, noise); in detect_a2_a2m_eiaj()
202 if ((carrier > max(stereo, dual) * 2) && in detect_a2_a2m_eiaj()
203 (carrier < max(stereo, dual) * 6) && in detect_a2_a2m_eiaj()
204 (carrier > 20 && carrier < 200) && in detect_a2_a2m_eiaj()
213 if ((carrier > max(stereo, dual) * 2) && in detect_a2_a2m_eiaj()
214 (carrier < max(stereo, dual) * 8) && in detect_a2_a2m_eiaj()
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/rc/
Dlirc-func.rst21 lirc-set-rec-carrier
22 lirc-set-rec-carrier-range
23 lirc-set-send-carrier
26 lirc-set-measure-carrier-mode
Dlirc-set-send-carrier.rst13 LIRC_SET_SEND_CARRIER - Set send carrier used to modulate IR TX.
29 Frequency of the carrier to be modulated, in Hz.
34 Set send carrier used to modulate IR PWM pulses and spaces.
Dlirc-set-rec-carrier.rst13 LIRC_SET_REC_CARRIER - Set carrier used to modulate IR receive.
29 Frequency of the carrier that modulates PWM data, in Hz.
34 Set receive carrier used to modulate IR PWM pulses and spaces.
Dlirc-set-rec-carrier-range.rst13 LIRC_SET_REC_CARRIER_RANGE - Set lower bound of the carrier used to modulate
30 Frequency of the carrier that modulates PWM data, in Hz.
35 This ioctl sets the upper range of carrier frequency that will be recognized
Dlirc-set-send-duty-cycle.rst13 LIRC_SET_SEND_DUTY_CYCLE - Set the duty cycle of the carrier signal for
36 Get/set the duty cycle of the carrier signal for IR transmit.
39 could be used to switch off carrier generation in the future, so
Dlirc-set-wideband-receiver.rst47 carrier reports. In that case it will be disabled as soon as you disable
48 carrier reports. Trying to disable wide band receiver while carrier
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
Dsaa7134-tvaudio.c149 static u32 tvaudio_carr2reg(u32 carrier) in tvaudio_carr2reg() argument
151 u64 a = carrier; in tvaudio_carr2reg()
465 int max1,max2,carrier,rx,mode,lastmode,default_carrier; in tvaudio_thread() local
497 carrier = 0; in tvaudio_thread()
511 carrier = default_carrier; in tvaudio_thread()
525 carrier = mainscan[i].carr; in tvaudio_thread()
532 if (0 != carrier && max1 > 2000 && max1 > max2*3) { in tvaudio_thread()
535 dev->tvnorm->name, carrier/1000, carrier%1000, in tvaudio_thread()
537 dev->last_carrier = carrier; in tvaudio_thread()
542 carrier = dev->last_carrier; in tvaudio_thread()
[all …]
/kernel/linux/linux-5.10/drivers/net/wan/
Dhdlc.c123 if (hdlc->carrier == on) in hdlc_device_event()
126 hdlc->carrier = on; in hdlc_device_event()
131 if (hdlc->carrier) { in hdlc_device_event()
152 hdlc->carrier, hdlc->open); in hdlc_open()
166 if (hdlc->carrier) { in hdlc_open()
186 hdlc->carrier, hdlc->open); in hdlc_close()
192 if (hdlc->carrier) in hdlc_close()
251 hdlc->carrier = 1; in hdlc_setup()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dvidioc-enumstd.rst257 * - Chrominance sub-carrier frequency (Hz)
280 * - Sound carrier relative to vision carrier (MHz)
326 frequency of the second carrier being 242.1875 kHz above the
327 frequency of the first sound carrier. For stereophonic sound
331 New Zealand uses a sound carrier displaced 5.4996 ± 0.0005 MHz from
332 the vision carrier.
337 is being introduced. The second carrier is 5.85 MHz above the vision
338 carrier and is DQPSK modulated with 728 kbit/s sound and data
343 second sound carrier is 6.552 MHz above the vision carrier and is
348 In France, a digital carrier 5.85 MHz away from the vision carrier
[all …]
/kernel/linux/linux-5.10/drivers/mcb/
DKconfig21 tristate "PCI based MCB carrier"
26 This is a MCB carrier on a PCI device. Both PCI attached on-board
33 tristate "LPC (non PCI) based MCB carrier"
37 This is a MCB carrier on a LPC or non PCI device.
Dmcb-core.c235 dev->dma_dev = bus->carrier; in mcb_device_register()
260 put_device(bus->carrier); in mcb_free_bus()
270 struct mcb_bus *mcb_alloc_bus(struct device *carrier) in mcb_alloc_bus() argument
287 bus->carrier = get_device(carrier); in mcb_alloc_bus()
290 bus->dev.parent = carrier; in mcb_alloc_bus()
/kernel/linux/linux-5.10/Documentation/driver-api/
Dmen-chameleon-bus.rst39 The current implementation is limited to PCI and PCIe based carrier devices
43 - Multi-resource MCB devices like the VME Controller or M-Module carrier.
46 - A per-carrier IRQ domain for carrier devices that have one (or more) IRQs
73 A carrier device is just an abstraction for the real world physical bus the
75 properties of the carrier device (like querying the IRQ number of a PCI
76 device). To provide abstraction from the real hardware bus, an MCB carrier
78 to hardware related function calls. For example a carrier device may
105 inside the carrier and is intended to be passed to ioremap() and friends. It
112 MCB bus. If a carrier device driver implements the ->get_irq() callback
113 method, the IRQ number assigned by the carrier device will be returned,
/kernel/linux/linux-5.10/Documentation/driver-api/media/
Drc-core.rst32 carrier. The carrier can be switched on or off by the IR transmitter
33 hardware. When the carrier is switched on, it is called *PULSE*.
34 When the carrier is switched off, it is called *SPACE*.
39 The carrier parameters (frequency, duty cycle) and the intervals for
41 For example, the NEC protocol uses a carrier of 38kHz, and transmissions
49 signal in a sequence of *PULSE/SPACE* events, filtering out the carrier
50 frequency. Due to that, the receiver doesn't care about the carrier's
/kernel/linux/linux-5.10/drivers/ipack/carriers/
DKconfig3 tristate "Support for the TEWS TPCI-200 IndustryPack carrier board"
7 This driver adds support for the TEWS TPCI200 IndustryPack carrier board.
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx7s-mba7.dts3 * Device Tree Source for TQ Systems TQMa7S board on MBa7 carrier board.
16 model = "TQ Systems TQMa7S board on MBa7 carrier board";
/kernel/linux/linux-5.10/include/linux/
Dmcb.h33 struct device *carrier; member
126 extern struct mcb_bus *mcb_alloc_bus(struct device *carrier);
/kernel/linux/linux-5.10/drivers/media/i2c/
Dir-kbd-i2c.c505 ir->duty_cycle * XTAL_FREQ / 1000, ir->carrier); in zilog_ir_format()
507 (100 - ir->duty_cycle) * XTAL_FREQ / 1000, ir->carrier); in zilog_ir_format()
702 static int zilog_tx_carrier(struct rc_dev *dev, u32 carrier) in zilog_tx_carrier() argument
706 if (carrier > 500000 || carrier < 20000) in zilog_tx_carrier()
709 ir->carrier = carrier; in zilog_tx_carrier()
895 ir->carrier = 38000; in ir_probe()

1234567