/drivers/ssb/ |
D | driver_chipcommon.c | 54 if (ccdev->id.revision >= 10 && mode == SSB_CLKMODE_SLOW) in ssb_chipco_set_clockmode() 59 SSB_WARN_ON(ccdev->id.revision >= 20); in ssb_chipco_set_clockmode() 62 if (ccdev->id.revision < 6) in ssb_chipco_set_clockmode() 66 if (ccdev->id.revision >= 10) in ssb_chipco_set_clockmode() 79 if (ccdev->id.revision < 10) { in ssb_chipco_set_clockmode() 93 if (ccdev->id.revision < 10) { in ssb_chipco_set_clockmode() 124 if (cc->dev->id.revision < 6) { in chipco_pctl_get_slowclksrc() 135 if (cc->dev->id.revision < 10) { in chipco_pctl_get_slowclksrc() 158 if (cc->dev->id.revision < 6) { in chipco_pctl_clockfreqlimit() 169 } else if (cc->dev->id.revision < 10) { in chipco_pctl_clockfreqlimit() [all …]
|
D | pci.c | 369 if (out->revision == 3) /* rev 3 moved MAC */ in sprom_extract_r123() 377 if (out->revision < 3) { /* only rev 1-2 have et0, et1 */ in sprom_extract_r123() 388 if (out->revision == 1) in sprom_extract_r123() 419 out->antenna_gain.a0 = sprom_extract_antgain(out->revision, in, in sprom_extract_r123() 423 out->antenna_gain.a1 = sprom_extract_antgain(out->revision, in, in sprom_extract_r123() 427 if (out->revision >= 2) in sprom_extract_r123() 483 if (out->revision == 4) in sprom_extract_r45() 495 if (out->revision == 4) { in sprom_extract_r45() 520 if (out->revision == 4) { in sprom_extract_r45() 537 out->antenna_gain.a0 = sprom_extract_antgain(out->revision, in, in sprom_extract_r45() [all …]
|
/drivers/mfd/ |
D | mc13xxx-core.c | 181 static void mc13xxx_print_revision(struct mc13xxx *mc13xxx, u32 revision) in mc13xxx_print_revision() argument 186 maskval(revision, MC13XXX_REVISION_REVFULL), in mc13xxx_print_revision() 187 maskval(revision, MC13XXX_REVISION_REVMETAL), in mc13xxx_print_revision() 188 maskval(revision, MC13XXX_REVISION_FIN), in mc13xxx_print_revision() 189 maskval(revision, MC13XXX_REVISION_FAB), in mc13xxx_print_revision() 190 maskval(revision, MC13XXX_REVISION_ICID), in mc13xxx_print_revision() 191 maskval(revision, MC13XXX_REVISION_ICIDCODE)); in mc13xxx_print_revision() 194 static void mc34708_print_revision(struct mc13xxx *mc13xxx, u32 revision) in mc34708_print_revision() argument 198 maskval(revision, MC34708_REVISION_REVFULL), in mc34708_print_revision() 199 maskval(revision, MC34708_REVISION_REVMETAL), in mc34708_print_revision() [all …]
|
D | si476x-prop.c | 152 BUG_ON(core->revision > SI476X_REVISION_A30 || in si476x_core_is_valid_property() 153 core->revision == -1); in si476x_core_is_valid_property() 154 return is_valid_property[core->revision](core, property); in si476x_core_is_valid_property() 161 BUG_ON(core->revision > SI476X_REVISION_A30 || in si476x_core_is_readonly_property() 162 core->revision == -1); in si476x_core_is_readonly_property() 164 switch (core->revision) { in si476x_core_is_readonly_property()
|
D | si476x-cmd.c | 186 if (core->revision != SI476X_REVISION_A10) { in si476x_core_parse_and_nag_about_error() 1487 BUG_ON(core->revision > SI476X_REVISION_A30 || in si476x_core_cmd_power_up() 1488 core->revision == -1); in si476x_core_cmd_power_up() 1489 return si476x_cmds_vtable[core->revision].power_up(core, args); in si476x_core_cmd_power_up() 1496 BUG_ON(core->revision > SI476X_REVISION_A30 || in si476x_core_cmd_power_down() 1497 core->revision == -1); in si476x_core_cmd_power_down() 1498 return si476x_cmds_vtable[core->revision].power_down(core, args); in si476x_core_cmd_power_down() 1505 BUG_ON(core->revision > SI476X_REVISION_A30 || in si476x_core_cmd_fm_tune_freq() 1506 core->revision == -1); in si476x_core_cmd_fm_tune_freq() 1507 return si476x_cmds_vtable[core->revision].fm_tune_freq(core, args); in si476x_core_cmd_fm_tune_freq() [all …]
|
/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/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_cfg.c | 18 int revision; member 464 { .revision = 0, .config = { .hw = &msm8x74v1_config } }, 465 { .revision = 2, .config = { .hw = &msm8x74v2_config } }, 466 { .revision = 3, .config = { .hw = &apq8084_config } }, 467 { .revision = 6, .config = { .hw = &msm8x16_config } }, 468 { .revision = 9, .config = { .hw = &msm8x94_config } }, 469 { .revision = 7, .config = { .hw = &msm8x96_config } }, 486 return cfg_handler->revision; in mdp5_cfg_get_hw_rev() 518 if (cfg_handlers[i].revision != minor) in mdp5_cfg_init() 531 cfg_handler->revision = minor; in mdp5_cfg_init()
|
/drivers/pci/ |
D | pci-acpi.c | 51 u32 revision = fields[1].integer.value; in decode_type0_hpx_record() local 53 switch (revision) { in decode_type0_hpx_record() 61 hpx->t0->revision = revision; in decode_type0_hpx_record() 70 __func__, revision); in decode_type0_hpx_record() 81 u32 revision = fields[1].integer.value; in decode_type1_hpx_record() local 83 switch (revision) { in decode_type1_hpx_record() 91 hpx->t1->revision = revision; in decode_type1_hpx_record() 99 __func__, revision); in decode_type1_hpx_record() 110 u32 revision = fields[1].integer.value; in decode_type2_hpx_record() local 112 switch (revision) { in decode_type2_hpx_record() [all …]
|
/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 | 56 static unsigned char revision; variable 170 if (revision >= 0x08) in it8712f_wdt_update_margin() 214 if (revision >= 0x08) in it8712f_wdt_disable() 388 revision = superio_inb(DEVREV) & 0x0f; in it8712f_wdt_find() 391 if (revision >= 0x08) in it8712f_wdt_find() 398 chip_type, revision, *address); in it8712f_wdt_find()
|
/drivers/soc/ux500/ |
D | ux500-soc-id.c | 31 u8 revision; member 53 unsigned int rev = dbx500_id.revision; in ux500_print_soc_info() 121 dbx500_id.revision = asicid & 0xff; in ux500_setup_id() 138 unsigned int rev = dbx500_id.revision; in ux500_get_revision() 186 soc_dev_attr->revision = ux500_get_revision(); in soc_info_populate()
|
/drivers/firmware/efi/ |
D | arm-init.c | 115 if ((efi.systab->hdr.revision >> 16) < 2) in uefi_init() 117 efi.systab->hdr.revision >> 16, in uefi_init() 118 efi.systab->hdr.revision & 0xffff); in uefi_init() 120 efi.runtime_version = efi.systab->hdr.revision; in uefi_init() 133 efi.systab->hdr.revision >> 16, in uefi_init() 134 efi.systab->hdr.revision & 0xffff, vendor); in uefi_init()
|
/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() 231 switch (mvi->pdev->revision) { in mvs_94xx_config_reg_from_hba() 313 u8 revision = 0; in mvs_94xx_phy_enable() local 315 revision = mvi->pdev->revision; in mvs_94xx_phy_enable() 316 if (revision == VANIR_A0_REV) { in mvs_94xx_phy_enable() 320 if (revision == VANIR_B0_REV) { in mvs_94xx_phy_enable() 383 u8 revision; in mvs_94xx_init() local 385 revision = mvi->pdev->revision; in mvs_94xx_init() [all …]
|
/drivers/gpu/drm/bridge/ |
D | dw-hdmi-ahb-audio.c | 137 u8 revision; member 412 switch (dw->revision) { in dw_hdmi_prepare() 539 unsigned revision; in snd_dw_hdmi_probe() local 544 revision = readb_relaxed(data->base + HDMI_REVISION_ID); in snd_dw_hdmi_probe() 545 if (revision != 0x0a && revision != 0x1a) { in snd_dw_hdmi_probe() 547 revision); in snd_dw_hdmi_probe() 559 "%s rev 0x%02x, irq %d", card->shortname, revision, in snd_dw_hdmi_probe() 565 dw->revision = revision; in snd_dw_hdmi_probe()
|
/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 | 88 u16 revision; member 492 if (state->revision == 0x8002) { in dib8000_set_diversity_in() 508 if (state->revision != 0x8090) in dib8000_set_power_mode() 521 if (state->revision != 0x8090) in dib8000_set_power_mode() 527 if (state->revision != 0x8090) in dib8000_set_power_mode() 550 if (state->revision != 0x8090) { in dib8000_set_adc_state() 576 if (state->revision == 0x8090) { in dib8000_set_adc_state() 639 if (state->revision == 0x8090) { in dib8000_sad_calib() 671 if (state->revision != 0x8090) { in dib8000_reset_pll_common() 685 if (state->revision != 0x8090) in dib8000_reset_pll_common() [all …]
|
/drivers/bcma/ |
D | sprom.c | 64 bus->sprom.revision); in bcma_fill_sprom_with_fallback() 160 u16 revision; in bcma_sprom_valid() local 167 revision = sprom[words - 1] & SSB_SPROM_REVISION_REV; in bcma_sprom_valid() 168 if (revision != 8 && revision != 9 && revision != 10) { in bcma_sprom_valid() 169 pr_err("Unsupported SPROM revision: %d\n", revision); in bcma_sprom_valid() 173 bus->sprom.revision = revision; in bcma_sprom_valid() 174 bcma_debug(bus, "Found SPROM revision %d\n", revision); in bcma_sprom_valid()
|
/drivers/net/ethernet/sfc/ |
D | nic.c | 380 if (efx->type->revision >= reg->min_revision && in efx_nic_get_regs_len() 381 efx->type->revision <= reg->max_revision) in efx_nic_get_regs_len() 387 if (efx->type->revision >= table->min_revision && in efx_nic_get_regs_len() 388 efx->type->revision <= table->max_revision) in efx_nic_get_regs_len() 402 if (efx->type->revision >= reg->min_revision && in efx_nic_get_regs() 403 efx->type->revision <= reg->max_revision) { in efx_nic_get_regs() 414 if (!(efx->type->revision >= table->min_revision && in efx_nic_get_regs() 415 efx->type->revision <= table->max_revision)) in efx_nic_get_regs()
|
/drivers/scsi/ |
D | ips.c | 2157 if (ha->pcidev->revision <= IPS_REVID_SERVERAID) { in ips_identify_controller() 2159 } else if (ha->pcidev->revision == IPS_REVID_SERVERAID2) { in ips_identify_controller() 2161 } else if (ha->pcidev->revision == IPS_REVID_NAVAJO) { in ips_identify_controller() 2163 } else if ((ha->pcidev->revision == IPS_REVID_SERVERAID2) in ips_identify_controller() 2166 } else if ((ha->pcidev->revision >= IPS_REVID_CLARINETP1) && in ips_identify_controller() 2167 (ha->pcidev->revision <= IPS_REVID_CLARINETP3)) { in ips_identify_controller() 2172 } else if ((ha->pcidev->revision >= IPS_REVID_TROMBONE32) && in ips_identify_controller() 2173 (ha->pcidev->revision <= IPS_REVID_TROMBONE64)) { in ips_identify_controller() 2261 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version() 2268 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version() [all …]
|
/drivers/media/common/ |
D | tveeprom.c | 541 tvee->revision = eeprom_data[i+10] + in tveeprom_hauppauge_analog() 607 tvee->revision = in tveeprom_hauppauge_analog() 676 if (tvee->revision != 0) { in tveeprom_hauppauge_analog() 677 tvee->rev_str[0] = 32 + ((tvee->revision >> 18) & 0x3f); in tveeprom_hauppauge_analog() 678 tvee->rev_str[1] = 32 + ((tvee->revision >> 12) & 0x3f); in tveeprom_hauppauge_analog() 679 tvee->rev_str[2] = 32 + ((tvee->revision >> 6) & 0x3f); in tveeprom_hauppauge_analog() 680 tvee->rev_str[3] = 32 + (tvee->revision & 0x3f); in tveeprom_hauppauge_analog()
|
/drivers/acpi/acpica/ |
D | tbprint.c | 150 revision > in acpi_tb_print_table_header() 154 header)->revision, in acpi_tb_print_table_header() 164 local_header.length, local_header.revision, in acpi_tb_print_table_header()
|
/drivers/media/pci/mantis/ |
D | mantis_pci.c | 99 mantis->revision = pdev->revision; in mantis_pci_init() 102 mantis->revision, in mantis_pci_init()
|