/linux-6.3-rc2/tools/testing/selftests/net/ |
A D | setup_loopback.sh | 13 carrier="$(cat /sys/class/net/${dev}/carrier)" 14 if [[ "${carrier}" -ne 1 ]] ; then 22 echo "${carrier}" 34 carrier=$(netdev_check_for_carrier ${dev}) 35 if [[ "${carrier}" -ne 1 ]] ; then 83 carrier=$(netdev_check_for_carrier ${dev}) 84 if [[ "${carrier}" -ne 1 ]] ; then
|
/linux-6.3-rc2/drivers/media/pci/cx88/ |
A D | cx88-dsp.c | 22 #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 …]
|
/linux-6.3-rc2/drivers/media/rc/ |
A D | gpio-ir-tx.c | 20 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() 109 gpio_ir->carrier); in gpio_ir_tx_modulated() 111 (NSEC_PER_SEC / 100), gpio_ir->carrier); in gpio_ir_tx_modulated() 153 if (gpio_ir->carrier) in gpio_ir_tx() 188 gpio_ir->carrier = 38000; in gpio_ir_tx_probe()
|
A D | pwm-ir-tx.c | 20 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() 63 state.period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, pwm_ir->carrier); in pwm_ir_tx() 98 pwm_ir->carrier = 38000; in pwm_ir_probe()
|
A D | meson-ir-tx.c | 71 unsigned int carrier; member 81 unsigned int cnt = DIV_ROUND_CLOSEST(ir->clk_rate, ir->carrier); in meson_irtx_set_mod() 86 ir->carrier, NSEC_PER_SEC / ir->clk_rate * cnt, in meson_irtx_set_mod() 116 unsigned int tb_us = DIV_ROUND_CLOSEST(USEC_PER_SEC, ir->carrier); in meson_irtx_prepare_pulse() 170 max_tb_us = USEC_PER_SEC / ir->carrier; in meson_irtx_check_buf() 215 static int meson_irtx_set_carrier(struct rc_dev *rc, u32 carrier) in meson_irtx_set_carrier() argument 219 if (carrier == 0) in meson_irtx_set_carrier() 222 ir->carrier = carrier; in meson_irtx_set_carrier() 330 ir->carrier = MIRTX_DEFAULT_CARRIER; in meson_irtx_probe()
|
A D | iguanair.c | 38 uint32_t carrier; member 271 static int iguanair_set_tx_carrier(struct rc_dev *dev, uint32_t carrier) in iguanair_set_tx_carrier() argument 275 if (carrier < 25000 || carrier > 150000) in iguanair_set_tx_carrier() 278 if (carrier != ir->carrier) { in iguanair_set_tx_carrier() 281 ir->carrier = carrier; in iguanair_set_tx_carrier() 283 cycles = DIV_ROUND_CLOSEST(24000000, carrier * 2) - in iguanair_set_tx_carrier() 329 periods = DIV_ROUND_CLOSEST(txbuf[i] * ir->carrier, 1000000); in iguanair_tx()
|
A D | serial_ir.c | 134 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()
|
A D | ir-rx51.c | 184 static int ir_rx51_set_tx_carrier(struct rc_dev *dev, u32 carrier) in ir_rx51_set_tx_carrier() argument 188 if (carrier > 500000 || carrier < 20000) in ir_rx51_set_tx_carrier() 191 ir_rx51->freq = carrier; in ir_rx51_set_tx_carrier()
|
A 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()
|
A D | rc-loopback.c | 50 static int loop_set_tx_carrier(struct rc_dev *dev, u32 carrier) in loop_set_tx_carrier() argument 54 dev_dbg(&dev->dev, "setting tx carrier: %u\n", carrier); in loop_set_tx_carrier() 55 lodev->txcarrier = carrier; in loop_set_tx_carrier() 125 rawir.carrier = lodev->txcarrier; in loop_tx_ir()
|
/linux-6.3-rc2/Documentation/userspace-api/media/rc/ |
A D | lirc-func.rst | 21 lirc-set-rec-carrier 22 lirc-set-rec-carrier-range 23 lirc-set-send-carrier 25 lirc-set-measure-carrier-mode
|
A D | lirc-set-send-carrier.rst | 13 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.
|
A D | lirc-set-rec-carrier.rst | 13 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.
|
A D | lirc-set-rec-carrier-range.rst | 13 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
|
A D | lirc-set-send-duty-cycle.rst | 13 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
|
A D | lirc-set-wideband-receiver.rst | 47 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
|
/linux-6.3-rc2/Documentation/driver-api/ |
A D | men-chameleon-bus.rst | 40 The current implementation is limited to PCI and PCIe based carrier devices 44 - Multi-resource MCB devices like the VME Controller or M-Module carrier. 47 - A per-carrier IRQ domain for carrier devices that have one (or more) IRQs 74 A carrier device is just an abstraction for the real world physical bus the 76 properties of the carrier device (like querying the IRQ number of a PCI 77 device). To provide abstraction from the real hardware bus, an MCB carrier 79 to hardware related function calls. For example a carrier device may 113 MCB bus. If a carrier device driver implements the ->get_irq() callback 114 method, the IRQ number assigned by the carrier device will be returned, 182 carrier device's 'struct device'. Fortunately 'struct mcb_device' embeds a [all …]
|
/linux-6.3-rc2/drivers/media/pci/saa7134/ |
A D | saa7134-tvaudio.c | 151 u64 a = carrier; in tvaudio_carr2reg() 497 carrier = 0; in tvaudio_thread() 511 carrier = default_carrier; in tvaudio_thread() 525 carrier = mainscan[i].carr; 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() 544 carrier/1000, carrier%1000); in tvaudio_thread() 549 carrier = default_carrier; in tvaudio_thread() 551 carrier/1000, carrier%1000); in tvaudio_thread() [all …]
|
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/ |
A D | vidioc-enumstd.rst | 257 * - 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-6.3-rc2/drivers/net/wan/ |
A D | hdlc.c | 121 if (hdlc->carrier == on) in hdlc_device_event() 124 hdlc->carrier = on; in hdlc_device_event() 129 if (hdlc->carrier) { in hdlc_device_event() 148 hdlc->carrier, hdlc->open); in hdlc_open() 163 if (hdlc->carrier) { in hdlc_open() 183 hdlc->carrier, hdlc->open); in hdlc_close() 189 if (hdlc->carrier) in hdlc_close() 246 hdlc->carrier = 1; in hdlc_setup()
|
/linux-6.3-rc2/drivers/mcb/ |
A D | Kconfig | 21 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.
|
A D | mcb-core.c | 233 dev->dma_dev = bus->carrier; in mcb_device_register() 258 put_device(bus->carrier); in mcb_free_bus() 268 struct mcb_bus *mcb_alloc_bus(struct device *carrier) in mcb_alloc_bus() argument 285 bus->carrier = get_device(carrier); in mcb_alloc_bus() 288 bus->dev.parent = carrier; in mcb_alloc_bus()
|
/linux-6.3-rc2/Documentation/driver-api/media/ |
A D | rc-core.rst | 32 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
|
/linux-6.3-rc2/drivers/ipack/carriers/ |
A D | Kconfig | 3 tristate "Support for the TEWS TPCI-200 IndustryPack carrier board" 7 This driver adds support for the TEWS TPCI200 IndustryPack carrier board.
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | imx7s-mba7.dts | 3 * Device Tree Source for TQ-Systems TQMa7S board on MBa7 carrier board. 16 model = "TQ-Systems TQMa7S board on MBa7 carrier board";
|