Home
last modified time | relevance | path

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

123456789

/openbmc/linux/tools/testing/selftests/net/
H A Dsetup_loopback.sh13 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
/openbmc/linux/drivers/media/rc/
H A 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()
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()
H A 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()
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()
H A Dmeson-ir-tx.c71 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()
H A Diguanair.c38 uint32_t carrier; member
273 static int iguanair_set_tx_carrier(struct rc_dev *dev, uint32_t carrier) in iguanair_set_tx_carrier() argument
277 if (carrier < 25000 || carrier > 150000) in iguanair_set_tx_carrier()
280 if (carrier != ir->carrier) { in iguanair_set_tx_carrier()
283 ir->carrier = carrier; in iguanair_set_tx_carrier()
285 cycles = DIV_ROUND_CLOSEST(24000000, carrier * 2) - in iguanair_set_tx_carrier()
331 periods = DIV_ROUND_CLOSEST(txbuf[i] * ir->carrier, 1000000); in iguanair_tx()
H A 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()
H A Dir-rx51.c184 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()
/openbmc/linux/drivers/media/pci/cx88/
H A 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 …]
/openbmc/linux/Documentation/userspace-api/media/rc/
H A Dlirc-func.rst21 lirc-set-rec-carrier
22 lirc-set-rec-carrier-range
23 lirc-set-send-carrier
25 lirc-set-measure-carrier-mode
H A 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.
H A 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.
H A 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
H A 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
H A 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
/openbmc/linux/Documentation/driver-api/
H A Dmen-chameleon-bus.rst40 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
106 inside the carrier and is intended to be passed to ioremap() and friends. It
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,
[all …]
/openbmc/linux/drivers/media/pci/saa7134/
H A 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 …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A 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 …]
/openbmc/linux/drivers/net/wan/
H A Dhdlc.c121 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()
/openbmc/linux/drivers/mcb/
H A 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.
H A Dmcb-core.c233 dev->dma_dev = bus->carrier; in mcb_device_register()
259 put_device(bus->carrier); in mcb_free_bus()
269 struct mcb_bus *mcb_alloc_bus(struct device *carrier) in mcb_alloc_bus() argument
286 bus->carrier = get_device(carrier); in mcb_alloc_bus()
289 bus->dev.parent = carrier; in mcb_alloc_bus()
/openbmc/u-boot/doc/
H A DREADME.mpc85xxcds5 "Arcadia", a PCI-form-factor carrier card that plugs into a PCI slot,
88 SW2[2] on the carrier card before resetting the board in order to set the
97 Most switches on the carrier board should not be changed. The only
98 user-settable switches on the carrier board are used to configure
113 When using PCI, linux needs to know to which slot the CDS carrier is
119 SW2=xxxxxx00 PCI SLOT INFORM: The CDS carrier is in slot0 of the Arcadia
120 xxxxxx01 PCI SLOT INFORM: The CDS carrier is in slot1 of the Arcadia
121 xxxxxx10 PCI SLOT INFORM: The CDS carrier is in slot2 of the Arcadia
122 xxxxxx11 PCI SLOT INFORM: The CDS carrier is in slot3 of the Arcadia
128 The default setting of all switches on the carrier board is:
/openbmc/linux/Documentation/driver-api/media/
H A 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
/openbmc/linux/drivers/ipack/carriers/
H A DKconfig3 tristate "Support for the TEWS TPCI-200 IndustryPack carrier board"
7 This driver adds support for the TEWS TPCI200 IndustryPack carrier board.
/openbmc/linux/arch/arm64/boot/dts/ti/
H A Dk3-am62-verdin-dahlia.dtsi5 * Common dtsi for Verdin AM62 SoM on Dahlia carrier board
8 * https://www.toradex.com/products/carrier-board/dahlia-carrier-board-kit
16 regulator-name = "On-carrier +V1.8_SW";
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A 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";

123456789