carrier 138 arch/arm/mach-ixp4xx/goramo_mlr.c static void (*set_carrier_cb_tab[2])(void *pdev, int carrier); carrier 171 arch/arm/mach-ixp4xx/goramo_mlr.c void (*set_carrier_cb)(void *pdev, int carrier)) carrier 111 arch/arm/mach-ixp4xx/include/mach/platform.h void (*set_carrier_cb)(void *pdev, int carrier)); carrier 233 drivers/mcb/mcb-core.c dev->dma_dev = bus->carrier; carrier 258 drivers/mcb/mcb-core.c put_device(bus->carrier); carrier 268 drivers/mcb/mcb-core.c struct mcb_bus *mcb_alloc_bus(struct device *carrier) carrier 285 drivers/mcb/mcb-core.c bus->carrier = get_device(carrier); carrier 288 drivers/mcb/mcb-core.c bus->dev.parent = carrier; carrier 300 drivers/mcb/mcb-core.c put_device(carrier); carrier 24 drivers/mcb/mcb-pci.c struct device *dev = mbus->carrier; carrier 1013 drivers/media/dvb-frontends/drx39xyj/drx_driver.h enum drx_carrier_mode carrier; /*< carrier */ carrier 376 drivers/media/i2c/cx25840/cx25840-ir.c unsigned int carrier, carrier 381 drivers/media/i2c/cx25840/cx25840-ir.c unsigned int c16 = carrier * 16; carrier 505 drivers/media/i2c/ir-kbd-i2c.c ir->duty_cycle * XTAL_FREQ / 1000, ir->carrier); carrier 507 drivers/media/i2c/ir-kbd-i2c.c (100 - ir->duty_cycle) * XTAL_FREQ / 1000, ir->carrier); carrier 702 drivers/media/i2c/ir-kbd-i2c.c static int zilog_tx_carrier(struct rc_dev *dev, u32 carrier) carrier 706 drivers/media/i2c/ir-kbd-i2c.c if (carrier > 500000 || carrier < 20000) carrier 709 drivers/media/i2c/ir-kbd-i2c.c ir->carrier = carrier; carrier 894 drivers/media/i2c/ir-kbd-i2c.c ir->carrier = 38000; carrier 389 drivers/media/pci/cx23885/cx23888-ir.c unsigned int carrier, carrier 394 drivers/media/pci/cx23885/cx23888-ir.c unsigned int c16 = carrier * 16; carrier 22 drivers/media/pci/cx88/cx88-dsp.c #define baseband_freq(carrier, srate, tone) ((s32)( \ carrier 23 drivers/media/pci/cx88/cx88-dsp.c (compat_remainder(carrier + tone, srate)) / srate * 2 * INT_PI)) carrier 159 drivers/media/pci/cx88/cx88-dsp.c s32 carrier, stereo, dual, noise; carrier 186 drivers/media/pci/cx88/cx88-dsp.c carrier = freq_magnitude(x, N, carrier_freq); carrier 193 drivers/media/pci/cx88/cx88-dsp.c carrier, stereo, dual, noise); carrier 202 drivers/media/pci/cx88/cx88-dsp.c if ((carrier > max(stereo, dual) * 2) && carrier 203 drivers/media/pci/cx88/cx88-dsp.c (carrier < max(stereo, dual) * 6) && carrier 204 drivers/media/pci/cx88/cx88-dsp.c (carrier > 20 && carrier < 200) && carrier 213 drivers/media/pci/cx88/cx88-dsp.c if ((carrier > max(stereo, dual) * 2) && carrier 214 drivers/media/pci/cx88/cx88-dsp.c (carrier < max(stereo, dual) * 8) && carrier 215 drivers/media/pci/cx88/cx88-dsp.c (carrier > 20 && carrier < 200) && carrier 149 drivers/media/pci/saa7134/saa7134-tvaudio.c static u32 tvaudio_carr2reg(u32 carrier) carrier 151 drivers/media/pci/saa7134/saa7134-tvaudio.c u64 a = carrier; carrier 465 drivers/media/pci/saa7134/saa7134-tvaudio.c int max1,max2,carrier,rx,mode,lastmode,default_carrier; carrier 497 drivers/media/pci/saa7134/saa7134-tvaudio.c carrier = 0; carrier 511 drivers/media/pci/saa7134/saa7134-tvaudio.c carrier = default_carrier; carrier 525 drivers/media/pci/saa7134/saa7134-tvaudio.c carrier = mainscan[i].carr; carrier 532 drivers/media/pci/saa7134/saa7134-tvaudio.c if (0 != carrier && max1 > 2000 && max1 > max2*3) { carrier 535 drivers/media/pci/saa7134/saa7134-tvaudio.c dev->tvnorm->name, carrier/1000, carrier%1000, carrier 537 drivers/media/pci/saa7134/saa7134-tvaudio.c dev->last_carrier = carrier; carrier 542 drivers/media/pci/saa7134/saa7134-tvaudio.c carrier = dev->last_carrier; carrier 544 drivers/media/pci/saa7134/saa7134-tvaudio.c carrier/1000, carrier%1000); carrier 549 drivers/media/pci/saa7134/saa7134-tvaudio.c carrier = default_carrier; carrier 551 drivers/media/pci/saa7134/saa7134-tvaudio.c carrier/1000, carrier%1000); carrier 554 drivers/media/pci/saa7134/saa7134-tvaudio.c tvaudio_setcarrier(dev,carrier,carrier); carrier 562 drivers/media/pci/saa7134/saa7134-tvaudio.c if (tvaudio[i].carr1 != carrier) carrier 319 drivers/media/rc/ene_ir.c int carrier, duty_cycle; carrier 334 drivers/media/rc/ene_ir.c carrier = 2000000 / period; carrier 337 drivers/media/rc/ene_ir.c carrier, duty_cycle); carrier 341 drivers/media/rc/ene_ir.c .carrier = carrier, carrier 877 drivers/media/rc/ene_ir.c static int ene_set_tx_carrier(struct rc_dev *rdev, u32 carrier) carrier 882 drivers/media/rc/ene_ir.c dbg("TX: attempt to set tx carrier to %d kHz", carrier); carrier 883 drivers/media/rc/ene_ir.c if (carrier == 0) carrier 886 drivers/media/rc/ene_ir.c period = 2000000 / carrier; carrier 97 drivers/media/rc/fintek-cir.h u32 carrier; carrier 20 drivers/media/rc/gpio-ir-tx.c unsigned int carrier; carrier 41 drivers/media/rc/gpio-ir-tx.c static int gpio_ir_tx_set_carrier(struct rc_dev *dev, u32 carrier) carrier 45 drivers/media/rc/gpio-ir-tx.c if (!carrier) carrier 48 drivers/media/rc/gpio-ir-tx.c gpio_ir->carrier = carrier; carrier 69 drivers/media/rc/gpio-ir-tx.c gpio_ir->carrier); carrier 71 drivers/media/rc/gpio-ir-tx.c (NSEC_PER_SEC / 100), gpio_ir->carrier); carrier 146 drivers/media/rc/gpio-ir-tx.c gpio_ir->carrier = 38000; carrier 41 drivers/media/rc/iguanair.c uint32_t carrier; carrier 280 drivers/media/rc/iguanair.c static int iguanair_set_tx_carrier(struct rc_dev *dev, uint32_t carrier) carrier 284 drivers/media/rc/iguanair.c if (carrier < 25000 || carrier > 150000) carrier 289 drivers/media/rc/iguanair.c if (carrier != ir->carrier) { carrier 292 drivers/media/rc/iguanair.c ir->carrier = carrier; carrier 294 drivers/media/rc/iguanair.c cycles = DIV_ROUND_CLOSEST(24000000, carrier * 2) - carrier 346 drivers/media/rc/iguanair.c periods = DIV_ROUND_CLOSEST(txbuf[i] * ir->carrier, 1000000); carrier 246 drivers/media/rc/ir-imon-decoder.c .carrier = 38000, carrier 207 drivers/media/rc/ir-jvc-decoder.c .carrier = 38000, carrier 429 drivers/media/rc/ir-mce_kbd-decoder.c .carrier = 36000, carrier 255 drivers/media/rc/ir-nec-decoder.c .carrier = 38000, carrier 273 drivers/media/rc/ir-rc5-decoder.c .carrier = 36000, carrier 385 drivers/media/rc/ir-rc6-decoder.c .carrier = 36000, carrier 231 drivers/media/rc/ir-rcmm-decoder.c .carrier = 36000, carrier 185 drivers/media/rc/ir-rx51.c static int ir_rx51_set_tx_carrier(struct rc_dev *dev, u32 carrier) carrier 189 drivers/media/rc/ir-rx51.c if (carrier > 500000 || carrier < 20000) carrier 192 drivers/media/rc/ir-rx51.c ir_rx51->freq = carrier; carrier 212 drivers/media/rc/ir-sanyo-decoder.c .carrier = 38000, carrier 220 drivers/media/rc/ir-sharp-decoder.c .carrier = 38000, carrier 218 drivers/media/rc/ir-sony-decoder.c .carrier = 40000, carrier 83 drivers/media/rc/ir-spi.c static int ir_spi_set_tx_carrier(struct rc_dev *dev, u32 carrier) carrier 87 drivers/media/rc/ir-spi.c if (!carrier) carrier 90 drivers/media/rc/ir-spi.c idata->freq = carrier; carrier 341 drivers/media/rc/ite-cir.c static int ite_set_tx_carrier(struct rc_dev *rcdev, u32 carrier) carrier 347 drivers/media/rc/ite-cir.c dev->params.tx_carrier_freq = carrier; carrier 58 drivers/media/rc/lirc_dev.c sample = LIRC_FREQUENCY(ev.carrier); carrier 308 drivers/media/rc/lirc_dev.c int carrier = ir_raw_encode_carrier(scan.rc_proto); carrier 310 drivers/media/rc/lirc_dev.c if (carrier > 0) carrier 311 drivers/media/rc/lirc_dev.c dev->s_tx_carrier(dev, carrier); carrier 494 drivers/media/rc/mceusb.c u32 carrier; carrier 603 drivers/media/rc/mceusb.c u32 carrier, period; carrier 708 drivers/media/rc/mceusb.c carrier = (1000 * 1000) / period; carrier 710 drivers/media/rc/mceusb.c inout, carrier, period); carrier 1025 drivers/media/rc/mceusb.c static int mceusb_set_tx_carrier(struct rc_dev *dev, u32 carrier) carrier 1034 drivers/media/rc/mceusb.c if (ir->carrier != carrier) { carrier 1036 drivers/media/rc/mceusb.c if (carrier == 0) { carrier 1037 drivers/media/rc/mceusb.c ir->carrier = carrier; carrier 1046 drivers/media/rc/mceusb.c divisor = (clk >> (2 * prescaler)) / carrier; carrier 1048 drivers/media/rc/mceusb.c ir->carrier = carrier; carrier 1052 drivers/media/rc/mceusb.c carrier); carrier 1223 drivers/media/rc/mceusb.c rawir.carrier = (1000000u / MCE_TIME_UNIT) * carrier 1227 drivers/media/rc/mceusb.c rawir.carrier, ir->pulse_count, carrier_cycles, carrier 603 drivers/media/rc/nuvoton-cir.c u32 count, carrier, duration = 0; carrier 623 drivers/media/rc/nuvoton-cir.c carrier = MS_TO_NS(count) / duration; carrier 625 drivers/media/rc/nuvoton-cir.c if ((carrier > MAX_CARRIER) || (carrier < MIN_CARRIER)) carrier 629 drivers/media/rc/nuvoton-cir.c carrier, count, duration); carrier 631 drivers/media/rc/nuvoton-cir.c return carrier; carrier 641 drivers/media/rc/nuvoton-cir.c static int nvt_set_tx_carrier(struct rc_dev *dev, u32 carrier) carrier 646 drivers/media/rc/nuvoton-cir.c if (carrier == 0) carrier 650 drivers/media/rc/nuvoton-cir.c val = 3000000 / (carrier) - 1; carrier 82 drivers/media/rc/nuvoton-cir.h u32 carrier; carrier 20 drivers/media/rc/pwm-ir-tx.c unsigned int carrier; carrier 39 drivers/media/rc/pwm-ir-tx.c static int pwm_ir_set_carrier(struct rc_dev *dev, u32 carrier) carrier 43 drivers/media/rc/pwm-ir-tx.c if (!carrier) carrier 46 drivers/media/rc/pwm-ir-tx.c pwm_ir->carrier = carrier; carrier 60 drivers/media/rc/pwm-ir-tx.c period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, pwm_ir->carrier); carrier 98 drivers/media/rc/pwm-ir-tx.c pwm_ir->carrier = 38000; carrier 40 drivers/media/rc/rc-core-priv.h u32 carrier; carrier 601 drivers/media/rc/rc-ir-raw.c ret = handler->carrier; carrier 53 drivers/media/rc/rc-loopback.c static int loop_set_tx_carrier(struct rc_dev *dev, u32 carrier) carrier 57 drivers/media/rc/rc-loopback.c dprintk("setting tx carrier: %u\n", carrier); carrier 58 drivers/media/rc/rc-loopback.c lodev->txcarrier = carrier; carrier 230 drivers/media/rc/redrat3.c u32 carrier; carrier 353 drivers/media/rc/redrat3.c .carrier = mod_freq carrier 735 drivers/media/rc/redrat3.c static int redrat3_set_tx_carrier(struct rc_dev *rcdev, u32 carrier) carrier 740 drivers/media/rc/redrat3.c dev_dbg(dev, "Setting modulation frequency to %u", carrier); carrier 741 drivers/media/rc/redrat3.c if (carrier == 0) carrier 744 drivers/media/rc/redrat3.c rr3->carrier = carrier; carrier 823 drivers/media/rc/redrat3.c irdata->mod_freq_count = cpu_to_be16(mod_freq_to_val(rr3->carrier)); carrier 1068 drivers/media/rc/redrat3.c rr3->carrier = 38000; carrier 134 drivers/media/rc/serial_ir.c unsigned int carrier; carrier 226 drivers/media/rc/serial_ir.c serial_ir.carrier); carrier 228 drivers/media/rc/serial_ir.c (NSEC_PER_SEC / 100), serial_ir.carrier); carrier 479 drivers/media/rc/serial_ir.c static int serial_ir_tx_carrier(struct rc_dev *dev, u32 carrier); carrier 568 drivers/media/rc/serial_ir.c serial_ir.carrier = 38000; carrier 676 drivers/media/rc/serial_ir.c static int serial_ir_tx_carrier(struct rc_dev *dev, u32 carrier) carrier 678 drivers/media/rc/serial_ir.c if (carrier > 500000 || carrier < 20000) carrier 681 drivers/media/rc/serial_ir.c serial_ir.carrier = carrier; carrier 318 drivers/media/rc/winbond-cir.c .carrier = DIV_ROUND_CLOSEST(counter * 1000000u, carrier 538 drivers/media/rc/winbond-cir.c wbcir_txcarrier(struct rc_dev *dev, u32 carrier) carrier 545 drivers/media/rc/winbond-cir.c freq = DIV_ROUND_CLOSEST(carrier, 1000); carrier 320 drivers/media/tuners/tda9887.c static char *carrier[4] = { carrier 369 drivers/media/tuners/tda9887.c carrier[(buf[3] & 0x03)]); carrier 306 drivers/net/ethernet/amd/am79c961a.c unsigned int lnkstat, carrier; carrier 312 drivers/net/ethernet/amd/am79c961a.c carrier = netif_carrier_ok(dev); carrier 314 drivers/net/ethernet/amd/am79c961a.c if (lnkstat && !carrier) { carrier 317 drivers/net/ethernet/amd/am79c961a.c } else if (!lnkstat && carrier) { carrier 752 drivers/net/ethernet/davicom/dm9000.c unsigned carrier, unsigned nsr) carrier 759 drivers/net/ethernet/davicom/dm9000.c if (carrier) { carrier 967 drivers/net/ethernet/dec/tulip/de2104x.c unsigned int carrier; carrier 970 drivers/net/ethernet/dec/tulip/de2104x.c carrier = (status & NetCxnErr) ? 0 : 1; carrier 972 drivers/net/ethernet/dec/tulip/de2104x.c if (carrier) { carrier 1048 drivers/net/ethernet/dec/tulip/de2104x.c unsigned int carrier; carrier 1054 drivers/net/ethernet/dec/tulip/de2104x.c carrier = (status & NetCxnErr) ? 0 : 1; carrier 1056 drivers/net/ethernet/dec/tulip/de2104x.c if (carrier) { carrier 952 drivers/net/ethernet/smsc/smsc911x.c int carrier; carrier 976 drivers/net/ethernet/smsc/smsc911x.c carrier = netif_carrier_ok(dev); carrier 977 drivers/net/ethernet/smsc/smsc911x.c if (carrier != pdata->last_carrier) { carrier 979 drivers/net/ethernet/smsc/smsc911x.c if (carrier) { carrier 1008 drivers/net/ethernet/smsc/smsc911x.c pdata->last_carrier = carrier; carrier 1077 drivers/net/ethernet/smsc/smsc9420.c int carrier; carrier 1094 drivers/net/ethernet/smsc/smsc9420.c carrier = netif_carrier_ok(dev); carrier 1095 drivers/net/ethernet/smsc/smsc9420.c if (carrier != pd->last_carrier) { carrier 1096 drivers/net/ethernet/smsc/smsc9420.c if (carrier) carrier 1100 drivers/net/ethernet/smsc/smsc9420.c pd->last_carrier = carrier; carrier 1846 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c int carrier = netif_carrier_ok(dev); carrier 1856 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c } else if (!carrier) { carrier 1921 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c if (carrier) carrier 3045 drivers/net/tun.c unsigned int ifindex, carrier; carrier 3337 drivers/net/tun.c if (copy_from_user(&carrier, argp, sizeof(carrier))) carrier 3340 drivers/net/tun.c ret = tun_net_change_carrier(tun->dev, (bool)carrier); carrier 115 drivers/net/wan/hdlc.c if (hdlc->carrier == on) carrier 118 drivers/net/wan/hdlc.c hdlc->carrier = on; carrier 123 drivers/net/wan/hdlc.c if (hdlc->carrier) { carrier 144 drivers/net/wan/hdlc.c hdlc->carrier, hdlc->open); carrier 158 drivers/net/wan/hdlc.c if (hdlc->carrier) { carrier 178 drivers/net/wan/hdlc.c hdlc->carrier, hdlc->open); carrier 184 drivers/net/wan/hdlc.c if (hdlc->carrier) carrier 242 drivers/net/wan/hdlc.c hdlc->carrier = 1; carrier 264 drivers/net/wan/ixp4xx_hss.c unsigned int initialized, carrier; carrier 622 drivers/net/wan/ixp4xx_hss.c static void hss_hdlc_set_carrier(void *pdev, int carrier) carrier 629 drivers/net/wan/ixp4xx_hss.c port->carrier = carrier; carrier 631 drivers/net/wan/ixp4xx_hss.c if (carrier) carrier 1301 drivers/net/wan/ixp4xx_hss.c if (port->loopback || port->carrier) carrier 693 drivers/net/wireless/cisco/airo.c u8 carrier[4]; carrier 687 drivers/net/wireless/marvell/libertas/cfg.c int running, carrier; carrier 698 drivers/net/wireless/marvell/libertas/cfg.c carrier = netif_carrier_ok(priv->dev); carrier 701 drivers/net/wireless/marvell/libertas/cfg.c if (carrier) carrier 748 drivers/net/wireless/marvell/libertas/cfg.c if (carrier) carrier 1842 drivers/scsi/advansys.c ADV_CARR_T *carrier; carrier 4219 drivers/scsi/advansys.c adv_dvc->carrier[i].carr_pa = cpu_to_le32(carr_paddr); carrier 4220 drivers/scsi/advansys.c adv_dvc->carrier[i].carr_va = cpu_to_le32(carr_offset); carrier 4221 drivers/scsi/advansys.c adv_dvc->carrier[i].areq_vpa = 0; carrier 4225 drivers/scsi/advansys.c adv_dvc->carrier[i].next_vpa = cpu_to_le32(next_offset); carrier 4233 drivers/scsi/advansys.c adv_dvc->carr_freelist = &adv_dvc->carrier[1]; carrier 4243 drivers/scsi/advansys.c return &adv_dvc->carrier[index]; carrier 10820 drivers/scsi/advansys.c adv_dvc->carrier = dma_alloc_coherent(board->dev, carrier 10822 drivers/scsi/advansys.c ASC_DBG(1, "carrier 0x%p\n", adv_dvc->carrier); carrier 10824 drivers/scsi/advansys.c if (!adv_dvc->carrier) carrier 10890 drivers/scsi/advansys.c if (adv_dvc->carrier) { carrier 10892 drivers/scsi/advansys.c adv_dvc->carrier, adv_dvc->carrier_addr); carrier 10893 drivers/scsi/advansys.c adv_dvc->carrier = NULL; carrier 45 include/linux/hdlc.h int carrier; carrier 33 include/linux/mcb.h struct device *carrier; carrier 126 include/linux/mcb.h extern struct mcb_bus *mcb_alloc_bus(struct device *carrier); carrier 29 include/media/i2c/ir-kbd-i2c.h unsigned int carrier; carrier 216 include/media/rc-core.h int (*s_tx_carrier)(struct rc_dev *dev, u32 carrier); carrier 302 include/media/rc-core.h u32 carrier; carrier 102 net/atm/atm_sysfs.c static DEVICE_ATTR(carrier, 0444, show_carrier, NULL); carrier 190 net/core/net-sysfs.c static DEVICE_ATTR_RW(carrier); carrier 404 net/tipc/trace.h __field(u8, carrier) carrier 413 net/tipc/trace.h __entry->carrier = netif_carrier_ok(dev); carrier 420 net/tipc/trace.h (__entry->carrier) ? "ok" : "notok",