Home
last modified time | relevance | path

Searched full:carrier (Results 1 – 25 of 512) sorted by relevance

12345678910>>...21

/linux-5.10/include/linux/
Dipack.h83 * @slot: Slot where the device is plugged in the carrier board
91 * is not the same with PCI carrier or VME carrier. The endianness is managed
92 * by the carrier board throught bus->ops.
142 * @get_clockrate: Returns the clockrate the carrier is currently
144 * @set_clockrate: Sets the clock-rate for carrier / module communication.
166 * @dev: pointer to carrier device
186 * The carrier board device should call this function to register itself as
213 * is done by the carrier driver. The carrier should populate the fields
230 * Add a new IPack device. The call is done by the carrier driver
269 * ipack_get_carrier - it increase the carrier ref. counter of
[all …]
/linux-5.10/Documentation/driver-api/
Dmen-chameleon-bus.rst12 2.2 Carrier Devices
39 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
55 - drivers for MCB Carrier Devices and
70 Carrier Devices
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
[all …]
/linux-5.10/drivers/net/wan/
Dhdlc.c111 return NOTIFY_DONE; /* Only interested in carrier changes */ in hdlc_device_event()
116 printk(KERN_DEBUG "%s: hdlc_device_event NETDEV_CHANGE, carrier %i\n", in hdlc_device_event()
123 if (hdlc->carrier == on) in hdlc_device_event()
126 hdlc->carrier = on; in hdlc_device_event()
131 if (hdlc->carrier) { in hdlc_device_event()
132 netdev_info(dev, "Carrier detected\n"); in hdlc_device_event()
135 netdev_info(dev, "Carrier lost\n"); in hdlc_device_event()
151 printk(KERN_DEBUG "%s: hdlc_open() carrier %i open %i\n", dev->name, in hdlc_open()
152 hdlc->carrier, hdlc->open); in hdlc_open()
166 if (hdlc->carrier) { in hdlc_open()
[all …]
/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))
26 * We calculate the baseband frequencies of the carrier and the pilot tones
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()
192 "detect a2/a2m/eiaj: carrier=%d, stereo=%d, dual=%d, noise=%d\n", 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()
[all …]
/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 …]
/linux-5.10/drivers/media/rc/
Dite-cir.h55 /* rx low carrier frequency, in Hz, 0 means no demodulation */
58 /* tx high carrier frequency, in Hz, 0 means no demodulation */
61 /* tx carrier frequency, in Hz */
104 /* set the carrier parameters */
137 /* low-speed carrier frequency limits (Hz) */
141 /* high-speed carrier frequency limits (Hz) */
145 /* default carrier freq for when demodulator is off (Hz) */
154 * carrier frequency...
164 /* high speed carrier freq values */
177 /* values for demodulator carrier range allowance */
[all …]
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()
88 gpio_ir->carrier); in gpio_ir_tx_modulated()
90 (NSEC_PER_SEC / 100), gpio_ir->carrier); in gpio_ir_tx_modulated()
134 if (gpio_ir->carrier) in gpio_ir_tx()
172 gpio_ir->carrier = 38000; in gpio_ir_tx_probe()
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()
Dene_ir.h83 #define ENE_CIRCFG_CARR_DEMOD 0x08 /* Enable carrier demodulator */
88 #define ENE_CIRCFG_TX_CARR 0x80 /* send TX carrier or not */
96 #define ENE_CIRCFG2_CARR_DETECT 0x10 /* Enable carrier detection */
124 /* Carrier detect setting
125 * Low nibble - number of carrier pulses to average
126 * High nibble - number of initial carrier pulses to discard
130 /* detected RX carrier period (resolution: 500 ns) */
134 /* detected RX carrier pulse width (resolution: 500 ns) */
139 #define ENE_CIRMOD_PRD_POL 0x80 /* TX carrier polarity*/
230 bool carrier_detect_enabled; /* carrier detect enabled */
Drc-loopback.c53 static int loop_set_tx_carrier(struct rc_dev *dev, u32 carrier) in loop_set_tx_carrier() argument
57 dprintk("setting tx carrier: %u\n", carrier); in loop_set_tx_carrier()
58 lodev->txcarrier = carrier; in loop_set_tx_carrier()
81 dprintk("invalid rx carrier range %u to %u\n", min, max); in loop_set_rx_carrier_range()
85 dprintk("setting rx carrier range %u to %u\n", min, max); in loop_set_rx_carrier_range()
100 dprintk("ignoring tx, carrier out of range\n"); in loop_tx_ir()
159 dprintk("%sabling carrier reports\n", enable ? "en" : "dis"); in loop_set_carrier_report()
Dir-rx51.c26 unsigned int freq; /* carrier frequency */
27 unsigned int duty_cycle; /* carrier duty cycle */
185 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()
243 /* Use default, in case userspace does not set the carrier */ in ir_rx51_probe()
Dmceusb.c82 #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
509 /* receiver carrier frequency detection support */
603 u32 carrier, period; in mceusb_dev_printdata() local
708 carrier = (1000 * 1000) / period; in mceusb_dev_printdata()
709 dev_dbg(dev, "%s carrier of %u Hz (period %uus)", in mceusb_dev_printdata()
[all …]
Diguanair.c38 uint32_t carrier; member
272 * The iguanair creates the carrier by busy spinning after each half period.
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()
333 /* convert from us to carrier periods */ in iguanair_tx()
335 periods = DIV_ROUND_CLOSEST(txbuf[i] * ir->carrier, 1000000); in iguanair_tx()
Dite-cir.c41 /* low limit for RX carrier freq, Hz, 0 for no RX demodulation */
44 MODULE_PARM_DESC(rx_low_carrier_freq, "Override low RX carrier frequency, Hz, 0 for no RX demodulat…
46 /* high limit for RX carrier freq, Hz, 0 for no RX demodulation */
49 MODULE_PARM_DESC(rx_high_carrier_freq, "Override high RX carrier frequency, Hz, 0 for no RX demodul…
51 /* override tx carrier frequency */
54 MODULE_PARM_DESC(tx_carrier_freq, "Override TX carrier frequency, Hz");
64 MODULE_PARM_DESC(sample_period, "Override carrier sample period, us");
74 /* check whether carrier frequency is high frequency */
80 /* get the bits required to program the carrier frequency in CFQ bits,
209 /* set all the rx/tx carrier parameters; this must be called with the device
[all …]
Dene_ir.c316 /* 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()
[all …]
/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
Ddtv-frontend.rst199 - c->cnr.stat[0] for global S/N carrier ratio,
200 - c->cnr.stat[1] for Layer A S/N carrier ratio,
201 - c->cnr.stat[2] for layer B S/N carrier ratio,
202 - c->cnr.stat[3] for layer C S/N carrier ratio.
217 in order to detect the carrier. When no carrier is detected, the gain is
227 .. [#f3] On a few devices, the gain keeps floating if there is no carrier.
228 On such devices, strength report should check first if carrier is
232 Carrier Signal to Noise ratio (:ref:`DTV-STAT-CNR`)
233 - Signal to Noise ratio for the main carrier.
236 available when the main carrier is detected. On those hardware, CNR
/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()
509 audio_dbg(1, "only one main carrier candidate - skipping scan\n"); in tvaudio_thread()
511 carrier = default_carrier; in tvaudio_thread()
513 /* scan for the main carrier */ in tvaudio_thread()
525 carrier = mainscan[i].carr; in tvaudio_thread()
532 if (0 != carrier && max1 > 2000 && max1 > max2*3) { in tvaudio_thread()
533 /* found good carrier */ in tvaudio_thread()
[all …]
/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-get-features.rst77 .. _LIRC-CAN-SET-SEND-CARRIER:
98 .. _LIRC-CAN-SET-REC-CARRIER:
102 The driver supports setting the receive carrier frequency using
111 .. _LIRC-CAN-SET-REC-CARRIER-RANGE:
138 .. _LIRC-CAN-MEASURE-CARRIER:
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
/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.

12345678910>>...21