/drivers/ssb/ |
D | driver_chipcommon.c | 52 if (ccdev->id.revision >= 10 && mode == SSB_CLKMODE_SLOW) in ssb_chipco_set_clockmode() 57 SSB_WARN_ON(ccdev->id.revision >= 20); in ssb_chipco_set_clockmode() 60 if (ccdev->id.revision < 6) in ssb_chipco_set_clockmode() 64 if (ccdev->id.revision >= 10) in ssb_chipco_set_clockmode() 77 if (ccdev->id.revision < 10) { in ssb_chipco_set_clockmode() 91 if (ccdev->id.revision < 10) { in ssb_chipco_set_clockmode() 122 if (cc->dev->id.revision < 6) { in chipco_pctl_get_slowclksrc() 133 if (cc->dev->id.revision < 10) { in chipco_pctl_get_slowclksrc() 156 if (cc->dev->id.revision < 6) { in chipco_pctl_clockfreqlimit() 167 } else if (cc->dev->id.revision < 10) { in chipco_pctl_clockfreqlimit() [all …]
|
D | pci.c | 336 if (out->revision == 3) /* rev 3 moved MAC */ in sprom_extract_r123() 347 if (out->revision < 3) { /* only rev 1-2 have et0, et1 */ in sprom_extract_r123() 388 if (out->revision >= 2) in sprom_extract_r123() 392 out->antenna_gain.a0 = r123_extract_antgain(out->revision, in, in sprom_extract_r123() 395 out->antenna_gain.a1 = r123_extract_antgain(out->revision, in, in sprom_extract_r123() 446 if (out->revision == 4) in sprom_extract_r45() 458 if (out->revision == 4) { in sprom_extract_r45() 481 if (out->revision == 4) { in sprom_extract_r45() 668 out->revision = in[size - 1] & 0x00FF; in sprom_extract() 669 ssb_dprintk(KERN_DEBUG PFX "SPROM revision %d detected.\n", out->revision); in sprom_extract() [all …]
|
D | driver_pcicore.c | 455 if (pdev->id.revision < 5) { in ssb_pcicore_pci_setup_workarounds() 463 } else if (pdev->id.revision >= 11) { in ssb_pcicore_pci_setup_workarounds() 473 u8 rev = pc->dev->id.revision; in ssb_pcicore_pcie_setup_workarounds() 603 if (pc->dev->id.revision >= 10) { in ssb_pcie_mdio_read() 611 if (pc->dev->id.revision < 10) in ssb_pcie_mdio_read() 643 if (pc->dev->id.revision >= 10) { in ssb_pcie_mdio_write() 651 if (pc->dev->id.revision < 10) in ssb_pcie_mdio_write() 689 if ((pdev->id.revision >= 6) || (pdev->id.coreid == SSB_DEV_PCIE)) { in ssb_pcicore_dev_irqvecs_enable()
|
/drivers/pci/hotplug/ |
D | acpi_pcihp.c | 54 u32 revision = fields[1].integer.value; in decode_type0_hpx_record() local 56 switch (revision) { in decode_type0_hpx_record() 64 hpx->t0->revision = revision; in decode_type0_hpx_record() 73 __func__, revision); in decode_type0_hpx_record() 84 u32 revision = fields[1].integer.value; in decode_type1_hpx_record() local 86 switch (revision) { in decode_type1_hpx_record() 94 hpx->t1->revision = revision; in decode_type1_hpx_record() 102 __func__, revision); in decode_type1_hpx_record() 113 u32 revision = fields[1].integer.value; in decode_type2_hpx_record() local 115 switch (revision) { in decode_type2_hpx_record() [all …]
|
D | pcihp_slot.c | 31 .revision = 1, 53 if (hpp->revision > 1) { in program_hpp_type0() 56 hpp->revision); in program_hpp_type0() 110 if (hpp->revision > 1) { in program_hpp_type2() 112 hpp->revision); in program_hpp_type2()
|
/drivers/ata/ |
D | pata_ali.c | 441 if (pdev->revision <= 0x20) { in ali_init_chipset() 449 if (pdev->revision < 0xC2) in ali_init_chipset() 454 if (pdev->revision >= 0xc2) in ali_init_chipset() 463 if (pdev->revision >= 0xc7) in ali_init_chipset() 474 if (pdev->revision == 0xC2) in ali_init_chipset() 476 else if (pdev->revision > 0xC2 && pdev->revision < 0xC5) in ali_init_chipset() 564 if (pdev->revision < 0x20) { in ali_init_one() 566 } else if (pdev->revision < 0xC2) { in ali_init_one() 568 } else if (pdev->revision == 0xC2) { in ali_init_one() 570 } else if (pdev->revision == 0xC3) { in ali_init_one() [all …]
|
/drivers/isdn/hardware/avm/ |
D | b1pci.c | 30 static char *revision = "$Revision: 1.1.2.2 $"; variable 57 cinfo->card ? cinfo->card->revision : 0 in b1pci_procinfo() 125 if (card->revision >= 4) { in b1pci_probe() 127 card->port, card->irq, card->revision); in b1pci_probe() 130 card->port, card->irq, card->revision); in b1pci_probe() 176 cinfo->card ? cinfo->card->revision : 0 in b1pciv4_procinfo() 265 card->port, card->irq, card->membase, card->revision); in b1pciv4_probe() 370 .revision = "1.0", 375 .revision = "1.0", 385 if ((p = strchr(revision, ':')) != NULL && p[1]) { in b1pci_init() [all …]
|
D | b1pcmcia.c | 30 static char *revision = "$Revision: 1.1.2.2 $"; variable 126 cardname, card->port, card->irq, card->revision); in b1pcmcia_add_card() 152 cinfo->card ? cinfo->card->revision : 0 in b1pcmcia_procinfo() 196 .revision = "1.0", 204 if ((p = strchr(revision, ':')) != NULL && p[1]) { in b1pcmcia_init() 211 strlcpy(capi_driver_b1pcmcia.revision, rev, 32); in b1pcmcia_init()
|
D | b1isa.c | 30 static char *revision = "$Revision: 1.1.2.3 $"; variable 134 card->port, card->irq, card->revision); in b1isa_probe() 160 cinfo->card ? cinfo->card->revision : 0 in b1isa_procinfo() 196 .revision = "1.0", 206 if ((p = strchr(revision, ':')) != NULL && p[1]) { in b1isa_init() 224 strlcpy(capi_driver_b1isa.revision, rev, 32); in b1isa_init()
|
/drivers/watchdog/ |
D | pcwd.c | 178 int revision; /* The card's revision */ member 335 if (pcwd_private.revision == PCWD_REVISION_A) in pcwd_show_card_info() 338 else if (pcwd_private.revision == PCWD_REVISION_C) { in pcwd_show_card_info() 379 if (pcwd_private.revision == PCWD_REVISION_A) { in pcwd_timer_ping() 411 if (pcwd_private.revision == PCWD_REVISION_C) { in pcwd_start() 437 if (pcwd_private.revision == PCWD_REVISION_C) { in pcwd_stop() 487 if (pcwd_private.revision == PCWD_REVISION_A) in pcwd_get_status() 502 if (pcwd_private.revision == PCWD_REVISION_A) { in pcwd_get_status() 533 if (pcwd_private.revision == PCWD_REVISION_C) { in pcwd_clear_status() 622 if (pcwd_private.revision == PCWD_REVISION_C) { in pcwd_ioctl() [all …]
|
D | it8712f_wdt.c | 57 static unsigned char revision; variable 171 if (revision >= 0x08) in it8712f_wdt_update_margin() 215 if (revision >= 0x08) in it8712f_wdt_disable() 389 revision = superio_inb(DEVREV) & 0x0f; in it8712f_wdt_find() 392 if (revision >= 0x08) in it8712f_wdt_find() 399 chip_type, revision, *address); in it8712f_wdt_find()
|
/drivers/scsi/mvsas/ |
D | mv_94xx.c | 70 if (mvi->pdev->revision == VANIR_A0_REV) in set_phy_tuning() 119 if ((mvi->pdev->revision == VANIR_A0_REV) in set_phy_ffe_tuning() 120 || (mvi->pdev->revision == VANIR_B0_REV)) in set_phy_ffe_tuning() 232 switch (mvi->pdev->revision) { in mvs_94xx_config_reg_from_hba() 314 u8 revision = 0; in mvs_94xx_phy_enable() local 316 revision = mvi->pdev->revision; in mvs_94xx_phy_enable() 317 if (revision == VANIR_A0_REV) { in mvs_94xx_phy_enable() 321 if (revision == VANIR_B0_REV) { in mvs_94xx_phy_enable() 339 u8 revision; in mvs_94xx_init() local 341 revision = mvi->pdev->revision; in mvs_94xx_init() [all …]
|
/drivers/media/dvb/frontends/ |
D | dib7000m.c | 51 u16 revision; member 196 if (state->revision == 0x4003) { in dib7000m_set_output_mode() 245 if (state->revision != 0x4000) in dib7000m_set_power_mode() 248 if (state->revision == 0x4003) in dib7000m_set_power_mode() 275 if (state->revision == 0x4000) { // workaround for PA/MA in dib7000m_set_adc_state() 577 if (state->revision == 0x4000) in dib7000m_demod_reset() 612 if (state->revision == 0x4000) in dib7000m_demod_reset() 725 if (state->revision > 0x4000) { // settings for the MC in dib7000m_set_agc_config() 926 if (1 == 1 || state->revision > 0x4000) in dib7000m_set_channel() 1001 if (state->revision == 0x4000) in dib7000m_autosearch_start() [all …]
|
D | dib8000.c | 72 u16 revision; member 437 if (state->revision != 0x8090) in dib8000_set_power_mode() 450 if (state->revision != 0x8090) in dib8000_set_power_mode() 456 if (state->revision != 0x8090) in dib8000_set_power_mode() 500 if (state->revision != 0x8090) { in dib8000_set_adc_state() 526 if (state->revision == 0x8090) { in dib8000_set_adc_state() 587 if (state->revision == 0x8090) { in dib8000_sad_calib() 617 if (state->revision != 0x8090) { in dib8000_reset_pll_common() 631 if (state->revision != 0x8090) in dib8000_reset_pll_common() 640 if (state->revision != 0x8090) { in dib8000_reset_pll() [all …]
|
D | dib0070.c | 59 u8 revision; member 363 switch (state->revision) { in dib0070_tune_digital() 416 switch (state->revision) { in dib0070_tune_digital() 452 if (state->revision == DIB0070S_P1A) { in dib0070_tune_digital() 662 state->revision = (dib0070_read_reg(state, 0x1f) >> 8) & 0xff; in dib0070_reset() 667 state->revision = DIB0070S_P1A; in dib0070_reset() 670 dprintk("Revision: %x", state->revision); in dib0070_reset() 672 if (state->revision == DIB0070_P1D) { in dib0070_reset() 706 if (state->revision == DIB0070S_P1A) in dib0070_reset()
|
/drivers/bcma/ |
D | sprom.c | 64 " platform.\n", bus->sprom.revision); in bcma_fill_sprom_with_fallback() 159 u16 revision; in bcma_sprom_valid() local 166 revision = sprom[SSB_SPROMSIZE_WORDS_R4 - 1] & SSB_SPROM_REVISION_REV; in bcma_sprom_valid() 167 if (revision != 8 && revision != 9) { in bcma_sprom_valid() 168 pr_err("Unsupported SPROM revision: %d\n", revision); in bcma_sprom_valid() 195 bus->sprom.revision = sprom[SSB_SPROMSIZE_WORDS_R4 - 1] & in bcma_sprom_extract_r8()
|
/drivers/scsi/ |
D | ips.c | 2233 if (ha->pcidev->revision <= IPS_REVID_SERVERAID) { in ips_identify_controller() 2235 } else if (ha->pcidev->revision == IPS_REVID_SERVERAID2) { in ips_identify_controller() 2237 } else if (ha->pcidev->revision == IPS_REVID_NAVAJO) { in ips_identify_controller() 2239 } else if ((ha->pcidev->revision == IPS_REVID_SERVERAID2) in ips_identify_controller() 2242 } else if ((ha->pcidev->revision >= IPS_REVID_CLARINETP1) && in ips_identify_controller() 2243 (ha->pcidev->revision <= IPS_REVID_CLARINETP3)) { in ips_identify_controller() 2248 } else if ((ha->pcidev->revision >= IPS_REVID_TROMBONE32) && in ips_identify_controller() 2249 (ha->pcidev->revision <= IPS_REVID_TROMBONE64)) { in ips_identify_controller() 2337 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version() 2344 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version() [all …]
|
/drivers/mfd/ |
D | wm8994-core.c | 503 wm8994->revision = ret; in wm8994_device_init() 507 switch (wm8994->revision) { in wm8994_device_init() 512 'A' + wm8994->revision); in wm8994_device_init() 525 switch (wm8994->revision) { in wm8994_device_init() 537 if (wm8994->revision > 1) in wm8994_device_init() 538 wm8994->revision++; in wm8994_device_init() 539 switch (wm8994->revision) { in wm8994_device_init() 558 'A' + wm8994->revision); in wm8994_device_init()
|
/drivers/media/video/ |
D | tveeprom.c | 529 tvee->revision = eeprom_data[i+10] + in tveeprom_hauppauge_analog() 595 tvee->revision = in tveeprom_hauppauge_analog() 664 if (tvee->revision != 0) { in tveeprom_hauppauge_analog() 665 tvee->rev_str[0] = 32 + ((tvee->revision >> 18) & 0x3f); in tveeprom_hauppauge_analog() 666 tvee->rev_str[1] = 32 + ((tvee->revision >> 12) & 0x3f); in tveeprom_hauppauge_analog() 667 tvee->rev_str[2] = 32 + ((tvee->revision >> 6) & 0x3f); in tveeprom_hauppauge_analog() 668 tvee->rev_str[3] = 32 + (tvee->revision & 0x3f); in tveeprom_hauppauge_analog()
|
D | tw9910.c | 234 u32 revision; member 390 if (1 == priv->revision) in tw9910_set_hsync() 466 switch (priv->revision) { in tw9910_s_stream() 528 id->revision = priv->revision; in tw9910_g_chip_ident() 792 priv->revision = GET_REV(id); in tw9910_video_probe() 796 0x01 < priv->revision) { in tw9910_video_probe() 799 id, priv->revision); in tw9910_video_probe() 804 "tw9910 Product ID %0x:%0x\n", id, priv->revision); in tw9910_video_probe()
|
D | ak881x.c | 37 char revision; /* DEVICE_REVISION content */ member 78 id->revision = ak881x->revision; in ak881x_g_chip_ident() 289 ak881x->revision = reg_read(client, AK881X_DEVICE_REVISION); in ak881x_probe() 324 data, ak881x->revision); in ak881x_probe()
|
/drivers/staging/winbond/ |
D | phy_calibration.c | 325 if (phw_data->revision == 0x2002) /* 1st-cut */ in _reset_rx_cal() 843 if (phw_data->revision == 0x2002) /* 1st-cut */ in _tx_iq_calibration_loop_winbond() 878 if (phw_data->revision == 0x2002) /* 1st-cut */{ in _tx_iq_calibration_loop_winbond() 900 if (phw_data->revision == 0x2002) /* 1st-cut */{ in _tx_iq_calibration_loop_winbond() 927 if (phw_data->revision == 0x2002) /* 1st-cut */{ in _tx_iq_calibration_loop_winbond() 1003 if (phw_data->revision == 0x2002) /* 1st-cut */{ in _tx_iq_calibration_winbond() 1016 if (phw_data->revision == 0x2002) /* 1st-cut */{ in _tx_iq_calibration_winbond() 1028 if (phw_data->revision == 0x2002) /* 1st-cut */{ in _tx_iq_calibration_winbond() 1046 if (phw_data->revision == 0x2002) /* 1st-cut */{ in _tx_iq_calibration_winbond() 1073 if (phw_data->revision == 0x2002) /* 1st-cut */{ in _tx_iq_calibration_winbond() [all …]
|
/drivers/net/wireless/ |
D | adm8211.c | 149 if (priv->pdev->revision < ADM8211_REV_CA) in adm8211_read_eeprom() 167 if (priv->pdev->revision < ADM8211_REV_CA) in adm8211_read_eeprom() 207 if (priv->pdev->revision < ADM8211_REV_CA) in adm8211_read_eeprom() 226 if (priv->pdev->revision == ADM8211_REV_BA) in adm8211_read_eeprom() 228 else if (priv->pdev->revision == ADM8211_REV_CA) in adm8211_read_eeprom() 230 else if (priv->pdev->revision == ADM8211_REV_AB) in adm8211_read_eeprom() 252 (priv->pdev->revision < ADM8211_REV_BA ? in adm8211_write_sram() 270 if (priv->pdev->revision < ADM8211_REV_BA) { in adm8211_write_sram_bytes() 436 if (priv->pdev->revision < ADM8211_REV_CA) in adm8211_interrupt_rci() 710 (priv->pdev->revision < ADM8211_REV_CA ? tx_power : 0)); in adm8211_rf_set_channel() [all …]
|
/drivers/gpu/drm/ |
D | drm_edid.c | 40 ((edid)->version == (maj) && (edid)->revision > (min))) 195 if (edid->revision > 4) in drm_edid_block_valid() 584 if (edid->revision >= 4) { in drm_monitor_supports_rb() 648 if (edid->revision >= 2) { in standard_timing_level() 649 if (edid->revision >= 4 && (edid->features & DRM_EDID_FEATURE_DEFAULT_GTF)) in standard_timing_level() 680 struct std_timing *t, int revision) in drm_mode_std() argument 701 if (revision < 3) in drm_mode_std() 945 if (edid->revision >= 4) in mode_in_hsync_range() 948 if (edid->revision >= 4) in mode_in_hsync_range() 962 if (edid->revision >= 4) in mode_in_vsync_range() [all …]
|
/drivers/media/dvb/mantis/ |
D | mantis_pci.c | 99 mantis->revision = pdev->revision; in mantis_pci_init() 102 mantis->revision, in mantis_pci_init()
|