Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/media/pci/cx88/
Dcx88-dsp.c36 #define baseband_freq(carrier, srate, tone) ((s32)( \ argument
37 (compat_remainder(carrier + tone, srate)) / srate * 2 * INT_PI))
157 s32 carrier, stereo, dual, noise; in detect_a2_a2m_eiaj() local
184 carrier = freq_magnitude(x, N, carrier_freq); in detect_a2_a2m_eiaj()
190 "noise=%d\n", carrier, stereo, dual, noise); in detect_a2_a2m_eiaj()
199 if ((carrier > max(stereo, dual)*2) && in detect_a2_a2m_eiaj()
200 (carrier < max(stereo, dual)*6) && in detect_a2_a2m_eiaj()
201 (carrier > 20 && carrier < 200) && in detect_a2_a2m_eiaj()
208 if ((carrier > max(stereo, dual)*2) && in detect_a2_a2m_eiaj()
209 (carrier < max(stereo, dual)*8) && in detect_a2_a2m_eiaj()
[all …]
/linux-4.4.14/Documentation/fmc/
Dcarrier.txt5 registered by the carrier driver. For example, the PCI driver for the
8 do exactly the same for the VME carrier (actually, it should do it
16 (actually, the carrier driver may choose whether or not to return it -
35 struct fmc_operations *op; /* carrier-provided */
46 int nr_slots; /* Number of slots in this carrier */
59 The following fields must be filled by the carrier driver before
78 * carrier_data: a unique pointer for the carrier.
91 Please note that the carrier should read its own EEPROM memory before
122 As I write this, she SPEC carrier is already completely functional in
129 The carrier provides a number of methods by means of the
[all …]
Dmezzanine.txt5 gateware. As such, it is expected to be independent of the carrier
7 carrier-provided functions.
24 In even more special cases, the driver may access carrier-specific
26 which is the current carrier and make use of the `carrier_data'
27 pointer. We chose to use carrier names rather than numeric identifiers
30 their own carriers. An example use of carrier names is in GPIO setup
33 carriers, please check the carrier name and fail gracefully if your
82 The parameters are carrier-specific, in that they rely on the busid
92 This is an array of integers, listing carrier-specific
96 matches). This is accomplished by the validate carrier method.
[all …]
Dfmc-fakedev.txt22 [ 99.971247] fake-fmc-carrier: mezzanine 0
27 [ 121.447464] fake-fmc-carrier: Mezzanine 0: eeprom "fdelay-eeprom.bin"
28 [ 121.462725] fake-fmc-carrier: mezzanine 0
DFMC-and-SDB.txt6 card, and such drivers must work regardless of the carrier being used.
9 We have a carrier for PCI-E called SPEC and one for VME called SVEC,
40 called carrier from now on, and a single carrier may host more than one
44 carrier is mostly digital, and hosts an FPGA that must be configured to
D00-INDEX19 carrier.txt
20 - writing a carrier (a device)
Dfmc-write-eeprom.txt90 the operation may on the carrier driver, if the carrier is unable to
93 the FPGA with a custom circuit, the carrier is unable to access the
DAPI.txt37 If a carrier hosts slots that are driven by different FPGA devices, it
/linux-4.4.14/drivers/fmc/
DKconfig10 standard for mezzanine cards that plug into a carrier board.
11 This kernel subsystem supports the matching between carrier
13 EEPROM, as well as having carrier-independent drivers.
24 This is a fake carrier, bringing a default EEPROM content
32 The driver also handles interrupts (we used it with a real carrier
40 its binary and the function carrier->reprogram to actually do it.
/linux-4.4.14/drivers/net/wan/
Dhdlc.c126 if (hdlc->carrier == on) in hdlc_device_event()
129 hdlc->carrier = on; in hdlc_device_event()
134 if (hdlc->carrier) { in hdlc_device_event()
155 hdlc->carrier, hdlc->open); in hdlc_open()
169 if (hdlc->carrier) { in hdlc_open()
189 hdlc->carrier, hdlc->open); in hdlc_close()
195 if (hdlc->carrier) in hdlc_close()
251 hdlc->carrier = 1; in hdlc_setup()
Dixp4xx_hss.c267 unsigned int initialized, carrier; member
625 static void hss_hdlc_set_carrier(void *pdev, int carrier) in hss_hdlc_set_carrier() argument
632 port->carrier = carrier; in hss_hdlc_set_carrier()
634 if (carrier) in hss_hdlc_set_carrier()
1304 if (port->loopback || port->carrier) in hss_hdlc_ioctl()
/linux-4.4.14/drivers/media/pci/saa7134/
Dsaa7134-tvaudio.c162 static u32 tvaudio_carr2reg(u32 carrier) in tvaudio_carr2reg() argument
164 u64 a = carrier; in tvaudio_carr2reg()
478 int max1,max2,carrier,rx,mode,lastmode,default_carrier; in tvaudio_thread() local
510 carrier = 0; in tvaudio_thread()
524 carrier = default_carrier; in tvaudio_thread()
538 carrier = mainscan[i].carr; in tvaudio_thread()
545 if (0 != carrier && max1 > 2000 && max1 > max2*3) { in tvaudio_thread()
548 dev->tvnorm->name, carrier/1000, carrier%1000, in tvaudio_thread()
550 dev->last_carrier = carrier; in tvaudio_thread()
555 carrier = dev->last_carrier; in tvaudio_thread()
[all …]
/linux-4.4.14/Documentation/
Dmen-chameleon-bus.txt35 The current implementation is limited to PCI and PCIe based carrier devices
38 - Multi-resource MCB devices like the VME Controller or M-Module carrier.
41 - A per-carrier IRQ domain for carrier devices that have one (or more) IRQs
64 A carrier device is just an abstraction for the real world physical bus the
66 properties of the carrier device (like querying the IRQ number of a PCI
67 device). To provide abstraction from the real hardware bus, an MCB carrier
69 to hardware related function calls. For example a carrier device may
93 inside the carrier and is intended to be passed to ioremap() and friends. It
99 MCB bus. If a carrier device driver implements the ->get_irq() callback
100 method, the IRQ number assigned by the carrier device will be returned,
Dkernel-parameters.txt2366 netpoll should wait for a carrier. By default netpoll
/linux-4.4.14/drivers/media/rc/
Diguanair.c54 uint32_t carrier; member
294 static int iguanair_set_tx_carrier(struct rc_dev *dev, uint32_t carrier) in iguanair_set_tx_carrier() argument
298 if (carrier < 25000 || carrier > 150000) in iguanair_set_tx_carrier()
303 if (carrier != ir->carrier) { in iguanair_set_tx_carrier()
306 ir->carrier = carrier; in iguanair_set_tx_carrier()
308 cycles = DIV_ROUND_CLOSEST(24000000, carrier * 2) - in iguanair_set_tx_carrier()
333 return carrier; in iguanair_set_tx_carrier()
361 periods = DIV_ROUND_CLOSEST(txbuf[i] * ir->carrier, 1000000); in iguanair_tx()
Dmceusb.c453 u32 carrier; member
546 u32 carrier, period; in mceusb_dev_printdata() local
639 carrier = (1000 * 1000) / period; in mceusb_dev_printdata()
641 inout, carrier, period); in mceusb_dev_printdata()
895 static int mceusb_set_tx_carrier(struct rc_dev *dev, u32 carrier) in mceusb_set_tx_carrier() argument
904 if (ir->carrier != carrier) { in mceusb_set_tx_carrier()
906 if (carrier == 0) { in mceusb_set_tx_carrier()
907 ir->carrier = carrier; in mceusb_set_tx_carrier()
912 return carrier; in mceusb_set_tx_carrier()
916 divisor = (clk >> (2 * prescaler)) / carrier; in mceusb_set_tx_carrier()
[all …]
Drc-loopback.c66 static int loop_set_tx_carrier(struct rc_dev *dev, u32 carrier) in loop_set_tx_carrier() argument
70 dprintk("setting tx carrier: %u\n", carrier); in loop_set_tx_carrier()
71 lodev->txcarrier = carrier; in loop_set_tx_carrier()
Dredrat3.c202 u32 carrier; member
700 static int redrat3_set_tx_carrier(struct rc_dev *rcdev, u32 carrier) in redrat3_set_tx_carrier() argument
705 dev_dbg(dev, "Setting modulation frequency to %u", carrier); in redrat3_set_tx_carrier()
706 if (carrier == 0) in redrat3_set_tx_carrier()
709 rr3->carrier = carrier; in redrat3_set_tx_carrier()
711 return carrier; in redrat3_set_tx_carrier()
788 irdata->mod_freq_count = cpu_to_be16(mod_freq_to_val(rr3->carrier)); in redrat3_transmit_ir()
997 rr3->carrier = 38000; in redrat3_dev_probe()
Dene_ir.c336 int carrier, duty_cycle; in ene_rx_sense_carrier() local
351 carrier = 2000000 / period; in ene_rx_sense_carrier()
354 carrier, duty_cycle); in ene_rx_sense_carrier()
357 ev.carrier = carrier; in ene_rx_sense_carrier()
892 static int ene_set_tx_carrier(struct rc_dev *rdev, u32 carrier) in ene_set_tx_carrier() argument
897 dbg("TX: attempt to set tx carrier to %d kHz", carrier); in ene_set_tx_carrier()
898 if (carrier == 0) in ene_set_tx_carrier()
901 period = 2000000 / carrier; in ene_set_tx_carrier()
Dnuvoton-cir.c474 u32 count, carrier, duration = 0;
493 carrier = MS_TO_NS(count) / duration;
495 if ((carrier > MAX_CARRIER) || (carrier < MIN_CARRIER))
499 carrier, count, duration);
501 return carrier;
511 static int nvt_set_tx_carrier(struct rc_dev *dev, u32 carrier) in nvt_set_tx_carrier() argument
516 if (carrier == 0) in nvt_set_tx_carrier()
520 val = 3000000 / (carrier) - 1; in nvt_set_tx_carrier()
Dfintek-cir.h111 u32 carrier; member
Dnuvoton-cir.h112 u32 carrier; member
Dwinbond-cir.c348 ev.carrier = DIV_ROUND_CLOSEST(counter * 1000000u, in wbcir_carrier_report()
567 wbcir_txcarrier(struct rc_dev *dev, u32 carrier) in wbcir_txcarrier() argument
574 freq = DIV_ROUND_CLOSEST(carrier, 1000); in wbcir_txcarrier()
Dir-lirc-codec.c53 sample = LIRC_FREQUENCY(ev.carrier); in ir_lirc_decode()
Dite-cir.c355 static int ite_set_tx_carrier(struct rc_dev *rcdev, u32 carrier) in ite_set_tx_carrier() argument
361 dev->params.tx_carrier_freq = carrier; in ite_set_tx_carrier()
DKconfig343 The driver uses omap DM timers for generating the carrier
/linux-4.4.14/drivers/ipack/carriers/
DKconfig2 tristate "Support for the TEWS TPCI-200 IndustryPack carrier board"
6 This driver adds support for the TEWS TPCI200 IndustryPack carrier board.
/linux-4.4.14/drivers/mcb/
DKconfig20 tristate "PCI based MCB carrier"
25 This is a MCB carrier on a PCI device. Both PCI attached on-board
Dmcb-core.c186 struct mcb_bus *mcb_alloc_bus(struct device *carrier) in mcb_alloc_bus() argument
203 bus->carrier = carrier; in mcb_alloc_bus()
Dmcb-pci.c27 struct device *dev = mbus->carrier; in mcb_pci_get_irq()
/linux-4.4.14/include/linux/
Dmcb.h32 struct device *carrier; member
112 extern struct mcb_bus *mcb_alloc_bus(struct device *carrier);
Dhdlc.h48 int carrier; member
/linux-4.4.14/drivers/media/dvb-frontends/
Dhd29l2.c346 u8 modulation, carrier, guard_interval, interleave, code_rate; in hd29l2_search() local
462 carrier = HD29L2_CARRIER_MULTI; in hd29l2_search()
472 tmp = (carrier << 2) | guard_interval; in hd29l2_search()
505 ret = hd29l2_rd_reg_mask(priv, 0x81, &carrier, 0x04); in hd29l2_search()
511 __func__, modulation, guard_interval, carrier); in hd29l2_search()
513 if ((carrier == HD29L2_CARRIER_MULTI) && (modulation == HD29L2_QAM64) && in hd29l2_search()
/linux-4.4.14/arch/arm/boot/dts/
Dtegra30-apalis-eval.dts72 * GEN1_I2C: I2C1_SDA/SCL on MXM3 pin 209/211 (e.g. RTC on carrier
84 /* M41T0M6 real time clock on carrier board */
95 * carrier board)
Dtegra30-colibri-eval-v3.dts49 * GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier
56 /* M41T0M6 real time clock on carrier board */
Dvf-colibri-eval-v3.dtsi88 /* M41T0M6 real time clock on carrier board */
/linux-4.4.14/include/media/
Drc-core.h164 int (*s_tx_carrier)(struct rc_dev *dev, u32 carrier);
218 u32 carrier; member
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-bus-pci-drivers-janz-cmodio6 Value representing the HEX switch S2 of the janz carrier board CMOD-IO or CAN-PCI2
Dsysfs-class-net-statistics136 because of carrier errors (e.g: physical link down). See the
Dsysfs-class-net70 What: /sys/class/net/<iface>/carrier
/linux-4.4.14/drivers/ipack/
DKconfig10 are IndustryPack carrier boards, which interface another bus (such as
/linux-4.4.14/Documentation/video4linux/bttv/
DInsmod-options82 only, important for the audio carrier).
123 and the sound on 1st carrier (i.e. FM mono or AM).
146 amsound=1 Audio carrier is AM/NICAM at 6.5 Mhz. This
148 carrier autoscan seems to work with FM only...
/linux-4.4.14/arch/arm/mach-ixp4xx/include/mach/
Dplatform.h110 void (*set_carrier_cb)(void *pdev, int carrier));
/linux-4.4.14/drivers/net/ethernet/amd/
Dam79c961a.c309 unsigned int lnkstat, carrier; in am79c961_timer() local
315 carrier = netif_carrier_ok(dev); in am79c961_timer()
317 if (lnkstat && !carrier) { in am79c961_timer()
320 } else if (!lnkstat && carrier) { in am79c961_timer()
/linux-4.4.14/net/tipc/
DKconfig11 originates from Ericsson where it has been used in carrier grade
/linux-4.4.14/arch/arm/mach-ixp4xx/
Dgoramo_mlr.c130 static void (*set_carrier_cb_tab[2])(void *pdev, int carrier);
163 void (*set_carrier_cb)(void *pdev, int carrier)) in hss_open() argument
/linux-4.4.14/drivers/media/tuners/
Dtda9887.c319 static char *carrier[4] = { in dump_write_message() local
368 carrier[(buf[3] & 0x03)]); in dump_write_message()
/linux-4.4.14/net/atm/
Datm_sysfs.c101 static DEVICE_ATTR(carrier, S_IRUGO, show_carrier, NULL);
/linux-4.4.14/Documentation/arm/
DIXP4xx149 plugged into a carrier board to function. Currently Linux only
150 supports the Motorola PrPMC carrier board for this platform.
/linux-4.4.14/Documentation/DocBook/
Dnetworking.xml.db342 API-dev-change-carrier
373 API-netif-carrier-on
374 API-netif-carrier-off
421 API-netif-carrier-ok
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
Dde2104x.c969 unsigned int carrier; in de21040_media_timer() local
972 carrier = (status & NetCxnErr) ? 0 : 1; in de21040_media_timer()
974 if (carrier) { in de21040_media_timer()
1050 unsigned int carrier; in de21041_media_timer() local
1056 carrier = (status & NetCxnErr) ? 0 : 1; in de21041_media_timer()
1058 if (carrier) { in de21041_media_timer()
/linux-4.4.14/Documentation/networking/
Dcops.txt45 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 coll:0
Ddm9000.txt132 about link (carrier) availability. This is managed by several methods
Dbonding.txt531 asserting carrier. It is similar to the Cisco EtherChannel min-links
534 (carrier on). This is useful for situations where higher level services
539 The default value is 0. This will cause carrier to be asserted (for
825 "carrier on," so if a driver does not support netif_carrier,
1760 TX packets:3286647 errors:1 dropped:0 overruns:1 carrier:0
1766 TX packets:1643167 errors:1 dropped:0 overruns:1 carrier:0
1773 TX packets:1643480 errors:0 dropped:0 overruns:0 carrier:0
1916 The MII monitor monitors only the carrier state of the local
1918 depending upon the device driver to maintain its carrier state, by
1923 then the MII monitor will rely on the driver for carrier state
[all …]
Doperstates.txt88 packets. The name 'carrier' and the inversion are historical, think of
Dbaycom.txt60 an additional power supply. Furthermore, it incorporates a carrier
D3c509.txt150 If an EtherLink III appears to transmit packets, but the "Tx carrier errors"
Dz8530drv.txt495 any time, without checking the received carrier. It
573 100 This transmitter will only be keyed when the carrier
Dcan.txt1064 TX: bytes packets errors dropped carrier collsns
/linux-4.4.14/drivers/net/ethernet/smsc/
Dsmsc9420.c1126 int carrier; in smsc9420_phy_adjust_link() local
1143 carrier = netif_carrier_ok(dev); in smsc9420_phy_adjust_link()
1144 if (carrier != pd->last_carrier) { in smsc9420_phy_adjust_link()
1145 if (carrier) in smsc9420_phy_adjust_link()
1149 pd->last_carrier = carrier; in smsc9420_phy_adjust_link()
Dsmsc911x.c950 int carrier; in smsc911x_phy_adjust_link() local
974 carrier = netif_carrier_ok(dev); in smsc911x_phy_adjust_link()
975 if (carrier != pdata->last_carrier) { in smsc911x_phy_adjust_link()
977 if (carrier) { in smsc911x_phy_adjust_link()
1006 pdata->last_carrier = carrier; in smsc911x_phy_adjust_link()
/linux-4.4.14/drivers/net/wireless/libertas/
Dcfg.c694 int running, carrier; in lbs_scan_worker() local
707 carrier = netif_carrier_ok(priv->dev); in lbs_scan_worker()
710 if (carrier) in lbs_scan_worker()
757 if (carrier) in lbs_scan_worker()
/linux-4.4.14/Documentation/networking/dsa/
Dbcm_sf2.txt86 MoCA interface carrier state and properly report this to the networking stack.
/linux-4.4.14/drivers/media/pci/cx23885/
Dcx23888-ir.c398 unsigned int carrier, in control_rx_s_carrier_window() argument
403 unsigned int c16 = carrier * 16; in control_rx_s_carrier_window()
/linux-4.4.14/drivers/media/i2c/cx25840/
Dcx25840-ir.c390 unsigned int carrier, in control_rx_s_carrier_window() argument
395 unsigned int c16 = carrier * 16; in control_rx_s_carrier_window()
/linux-4.4.14/drivers/net/can/
DKconfig94 connects to a MODULbus carrier board.
/linux-4.4.14/drivers/atm/
DKconfig208 This driver is required for proper handling of temporary carrier
392 HE cards. This driver provides carrier detection some statistics.
/linux-4.4.14/drivers/scsi/
Dadvansys.c1846 ADV_CARR_T *carrier; member
4223 adv_dvc->carrier[i].carr_pa = cpu_to_le32(carr_paddr); in AdvBuildCarrierFreelist()
4224 adv_dvc->carrier[i].carr_va = cpu_to_le32(carr_offset); in AdvBuildCarrierFreelist()
4225 adv_dvc->carrier[i].areq_vpa = 0; in AdvBuildCarrierFreelist()
4229 adv_dvc->carrier[i].next_vpa = cpu_to_le32(next_offset); in AdvBuildCarrierFreelist()
4237 adv_dvc->carr_freelist = &adv_dvc->carrier[1]; in AdvBuildCarrierFreelist()
4247 return &adv_dvc->carrier[index]; in adv_get_carrier()
10835 adv_dvc->carrier = dma_alloc_coherent(board->dev, in advansys_wide_init_chip()
10837 ASC_DBG(1, "carrier 0x%p\n", adv_dvc->carrier); in advansys_wide_init_chip()
10839 if (!adv_dvc->carrier) in advansys_wide_init_chip()
[all …]
/linux-4.4.14/drivers/net/wireless/mwifiex/
DREADME114 carrier "on" | "off"
/linux-4.4.14/drivers/net/ethernet/davicom/
Ddm9000.c759 unsigned carrier, unsigned nsr) in dm9000_show_carrier() argument
766 if (carrier) { in dm9000_show_carrier()
/linux-4.4.14/Documentation/devicetree/
Dusage-model.txt138 board is a carrier for another, such as a CPU module attached to a
139 carrier board.
/linux-4.4.14/drivers/iio/adc/
DKconfig264 carrier.
/linux-4.4.14/Documentation/isdn/
DREADME184 7 60 Wait for carrier.
197 1 = DCD follows carrier.
/linux-4.4.14/drivers/media/dvb-frontends/drx39xyj/
Ddrx_driver.h1028 enum drx_carrier_mode carrier; /**< carrier */ member
/linux-4.4.14/net/core/
Dnet-sysfs.c190 static DEVICE_ATTR_RW(carrier);
/linux-4.4.14/drivers/staging/comedi/
DKconfig431 tristate "Intelligent Instruments PCI-20001C carrier support"
434 Enable support for Intelligent Instruments PCI-20001C carrier
/linux-4.4.14/drivers/mfd/
DKconfig404 carrier board. This device is a PCI to MODULbus bridge which may
/linux-4.4.14/drivers/tty/serial/
DKconfig1592 on a MCB carrier.
/linux-4.4.14/Documentation/cdrom/
Dcdrom-standard.tex903 The history of development of the CD's use as a carrier medium for
/linux-4.4.14/Documentation/filesystems/
Dproc.txt1141 ...] bytes packets errs drop fifo colls carrier compressed
/linux-4.4.14/Documentation/s390/
DDebugging390.txt2064 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
/linux-4.4.14/drivers/net/wireless/
Dairo.c690 u8 carrier[4]; member