/drivers/net/wireless/b43/ |
D | wa.c | 66 if (phy->rev <= 2) in b43_wa_initgains() 74 if (phy->rev <= 3) in b43_wa_initgains() 76 else if (phy->rev == 5) { in b43_wa_initgains() 80 if (phy->rev >= 3) in b43_wa_initgains() 92 if (dev->phy.rev <= 2) { in b43_wa_gt() 180 if (phy->rev == 2) in b43_wa_nft() 187 if (phy->rev == 1) in b43_wa_nft() 225 if (phy->rev <= 1) in b43_wa_nst() 227 else if (phy->rev == 2) in b43_wa_nst() 229 else if (phy->rev == 3) in b43_wa_nst() [all …]
|
D | phy_g.c | 317 if (phy->rev <= 1) { in b43_set_all_gains() 323 if (phy->rev <= 1) in b43_set_all_gains() 347 if (phy->rev <= 1) { in b43_set_original_gains() 353 if (phy->rev <= 1) in b43_set_original_gains() 432 if (phy->rev != 1) { /* Not in specs, but needed to prevent PPC machine check */ in b43_calc_nrssi_offset() 449 if (phy->rev >= 6) { in b43_calc_nrssi_offset() 490 if (phy->rev != 1) { /* Not in specs, but needed to prevent PPC machine check */ in b43_calc_nrssi_offset() 501 if (phy->rev == 0) { in b43_calc_nrssi_offset() 506 if (phy->rev != 1) { /* Not in specs, but needed to prevent PPC machine check */ in b43_calc_nrssi_offset() 537 if (phy->rev >= 6) { in b43_calc_nrssi_offset() [all …]
|
D | phy_n.c | 193 if (dev->phy.rev >= 3) { in b43_nphy_rf_ctl_override() 267 B43_WARN_ON(dev->phy.rev < 3); in b43_nphy_rf_ctl_intc_override() 496 u8 end = (dev->phy.rev >= 3) ? 0x1F : 0x0F; in b43_nphy_set_rf_sequence() 737 B43_WARN_ON(dev->phy.rev < 3); in b43_radio_2056_setup() 765 if (dev->phy.rev >= 5) { in b43_radio_2056_setup() 887 if (phy->rev != 3) in b43_radio_2056_rcal() 997 B43_WARN_ON(dev->phy.rev >= 3); in b43_radio_2055_setup() 1462 if (dev->phy.rev >= 3) in b43_nphy_rssi_select() 1506 if (dev->phy.rev >= 3) { in b43_nphy_poll_rssi() 1532 if (dev->phy.rev < 2) { in b43_nphy_poll_rssi() [all …]
|
D | tables_nphy.c | 3182 if (dev->phy.rev >= 3) in b43_nphy_tables_init() 3192 if (dev->phy.rev >= 6) { in b43_nphy_get_ipa_gain_table() 3196 } else if (dev->phy.rev >= 5) { in b43_nphy_get_ipa_gain_table() 3211 if (dev->phy.rev < 3) in b43_nphy_get_tx_gain_table() 3219 if (dev->phy.rev == 3) in b43_nphy_get_tx_gain_table() 3221 if (dev->phy.rev == 4) in b43_nphy_get_tx_gain_table() 3228 if (dev->phy.rev >= 5 && sprom->fem.ghz5.extpa_gain == 3) in b43_nphy_get_tx_gain_table() 3241 if (!ghz5 && dev->phy.rev >= 6 && dev->phy.radio_rev == 11) in b43_nphy_get_gain_ctl_workaround_ent() 3244 B43_WARN_ON(dev->phy.rev < 3); in b43_nphy_get_gain_ctl_workaround_ent() 3245 if (dev->phy.rev >= 6) in b43_nphy_get_gain_ctl_workaround_ent() [all …]
|
/drivers/i2c/busses/ |
D | i2c-omap.c | 206 u32 rev; member 291 if (dev->rev >= OMAP_I2C_REV_ON_3430_3530) in __omap_i2c_init() 310 if (dev->rev >= OMAP_I2C_OMAP1_REV_2) { in omap_i2c_reset() 348 if (dev->rev >= OMAP_I2C_REV_ON_3430_3530) { in omap_i2c_init() 503 if (dev->rev < OMAP_I2C_REV_ON_3630) in omap_i2c_resize_fifo() 1040 .rev = OMAP_I2C_IP_VERSION_1, 1045 .rev = OMAP_I2C_IP_VERSION_2, 1062 #define OMAP_I2C_SCHEME(rev) ((rev & 0xc000) >> 14) argument 1064 #define OMAP_I2C_REV_SCHEME_0_MAJOR(rev) (rev >> 4) argument 1065 #define OMAP_I2C_REV_SCHEME_0_MINOR(rev) (rev & 0xf) argument [all …]
|
/drivers/media/i2c/smiapp/ |
D | smiapp.h | 98 #define SMIAPP_IDENT_FQ(manufacturer, model, rev, fl, _name, _quirk) \ argument 101 .revision_number_major = rev, \ 106 #define SMIAPP_IDENT_LQ(manufacturer, model, rev, _name, _quirk) \ argument 109 .revision_number_major = rev, \ 114 #define SMIAPP_IDENT_L(manufacturer, model, rev, _name) \ argument 117 .revision_number_major = rev, \ 121 #define SMIAPP_IDENT_Q(manufacturer, model, rev, _name, _quirk) \ argument 124 .revision_number_major = rev, \ 129 #define SMIAPP_IDENT(manufacturer, model, rev, _name) \ argument 132 .revision_number_major = rev, \
|
/drivers/gpu/drm/tilcdc/ |
D | tilcdc_drv.c | 221 priv->rev = 1; in tilcdc_load() 225 priv->rev = 2; in tilcdc_load() 231 priv->rev = 1; in tilcdc_load() 302 if (priv->rev == 1) in tilcdc_irq_postinstall() 315 if (priv->rev == 1) { in tilcdc_irq_uninstall() 333 if (priv->rev == 1) { in enable_vblank() 362 uint8_t rev; member 366 #define REG(rev, save, reg) { #reg, rev, save, reg } argument 402 seq_printf(m, "revision: %d\n", priv->rev); in tilcdc_regs_show() 405 if (priv->rev >= registers[i].rev) in tilcdc_regs_show() [all …]
|
/drivers/isdn/hardware/avm/ |
D | b1pcmcia.c | 202 char rev[32]; in b1pcmcia_init() local 205 strlcpy(rev, p + 2, 32); in b1pcmcia_init() 206 if ((p = strchr(rev, '$')) != NULL && p > rev) in b1pcmcia_init() 209 strcpy(rev, "1.0"); in b1pcmcia_init() 211 strlcpy(capi_driver_b1pcmcia.revision, rev, 32); in b1pcmcia_init() 213 printk(KERN_INFO "b1pci: revision %s\n", rev); in b1pcmcia_init()
|
D | b1isa.c | 203 char rev[32]; in b1isa_init() local 207 strlcpy(rev, p + 2, 32); in b1isa_init() 208 if ((p = strchr(rev, '$')) != NULL && p > rev) in b1isa_init() 211 strcpy(rev, "1.0"); in b1isa_init() 224 strlcpy(capi_driver_b1isa.revision, rev, 32); in b1isa_init() 226 printk(KERN_INFO "b1isa: revision %s\n", rev); in b1isa_init()
|
D | t1pci.c | 233 char rev[32]; in t1pci_init() local 237 strlcpy(rev, p + 2, 32); in t1pci_init() 238 if ((p = strchr(rev, '$')) != NULL && p > rev) in t1pci_init() 241 strcpy(rev, "1.0"); in t1pci_init() 245 strlcpy(capi_driver_t1pci.revision, rev, 32); in t1pci_init() 247 printk(KERN_INFO "t1pci: revision %s\n", rev); in t1pci_init()
|
D | b1pci.c | 382 char rev[32]; in b1pci_init() local 386 strlcpy(rev, p + 2, 32); in b1pci_init() 387 if ((p = strchr(rev, '$')) != NULL && p > rev) in b1pci_init() 390 strcpy(rev, "1.0"); in b1pci_init() 395 strlcpy(capi_driver_b1pci.revision, rev, 32); in b1pci_init() 398 strlcpy(capi_driver_b1pciv4.revision, rev, 32); in b1pci_init() 401 printk(KERN_INFO "b1pci: revision %s\n", rev); in b1pci_init()
|
/drivers/mfd/ |
D | pm8921-core.c | 86 u32 rev) in pm8921_add_subdevices() argument 93 pdata->irq_pdata->irq_cdata.rev = rev; in pm8921_add_subdevices() 113 u32 rev; in pm8921_probe() local 133 rev = val; in pm8921_probe() 143 rev |= val << BITS_PER_BYTE; in pm8921_probe() 149 rc = pm8921_add_subdevices(pdata, pmic, rev); in pm8921_probe()
|
/drivers/media/pci/cx23885/ |
D | cx23885-ioctl.c | 34 u8 rev; in cx23885_g_chip_ident() local 42 rev = cx_read(RDR_CFG2) & 0xff; in cx23885_g_chip_ident() 46 if (rev == 0x04) in cx23885_g_chip_ident() 52 if (rev == 0x0e || rev == 0x0f) in cx23885_g_chip_ident() 61 chip->revision = (dev->pci->device << 16) | (rev << 8) | in cx23885_g_chip_ident()
|
/drivers/isdn/hardware/eicon/ |
D | capimain.c | 44 char *rev; in getrev() local 47 rev = p + 2; in getrev() 48 p = strchr(rev, '$'); in getrev() 51 rev = "1.0"; in getrev() 52 return rev; in getrev()
|
D | diva_didd.c | 55 char *rev; in getrev() local 58 rev = p + 2; in getrev() 59 p = strchr(rev, '$'); in getrev() 62 rev = "1.0"; in getrev() 63 return rev; in getrev()
|
D | divamnt.c | 59 char *rev; in getrev() local 63 rev = p + 2; in getrev() 64 p = strchr(rev, '$'); in getrev() 67 rev = "1.0"; in getrev() 69 return rev; in getrev()
|
/drivers/net/wireless/b43legacy/ |
D | phy.c | 148 if (phy->type == B43legacy_PHYTYPE_G && phy->rev == 1) { in b43legacy_phy_calibrate() 189 phy->rev >= 2 && in b43legacy_phy_init_pctl() 223 if (phy->rev == 1) in b43legacy_phy_agcsetup() 231 if (phy->rev == 1) { in b43legacy_phy_agcsetup() 261 if (phy->rev == 1) in b43legacy_phy_agcsetup() 285 if (phy->rev == 1) { in b43legacy_phy_agcsetup() 299 if (phy->rev > 2) { in b43legacy_phy_agcsetup() 310 if (phy->rev == 1) { in b43legacy_phy_agcsetup() 326 if (phy->rev >= 6) { in b43legacy_phy_agcsetup() 340 if (phy->rev == 1) { in b43legacy_phy_setupg() [all …]
|
D | radio.c | 158 if (phy->rev <= 1) { in b43legacy_set_all_gains() 194 if (phy->rev <= 1) { in b43legacy_set_original_gains() 290 if (!((phy->type == B43legacy_PHYTYPE_G) && (phy->rev > 0))) in b43legacy_radio_aci_scan() 416 if (phy->rev >= 6) { in b43legacy_calc_nrssi_offset() 522 if (phy->rev >= 6) { in b43legacy_calc_nrssi_offset() 542 if (phy->rev >= 6) { in b43legacy_calc_nrssi_offset() 579 tmp &= (phy->rev >= 5) ? 0x007F : 0x000F; in b43legacy_calc_nrssi_slope() 665 if (phy->rev >= 3) { in b43legacy_calc_nrssi_slope() 677 switch (phy->rev) { in b43legacy_calc_nrssi_slope() 706 if (phy->rev >= 2) { in b43legacy_calc_nrssi_slope() [all …]
|
/drivers/net/wireless/rt2x00/ |
D | rt2x00.h | 188 u16 rev; member 1087 const u16 rt, const u16 rf, const u16 rev) in rt2x00_set_chip() argument 1091 rt2x00dev->chip.rev = rev; in rt2x00_set_chip() 1095 rt2x00dev->chip.rev); in rt2x00_set_chip() 1099 const u16 rt, const u16 rev) in rt2x00_set_rt() argument 1102 rt2x00dev->chip.rev = rev; in rt2x00_set_rt() 1105 rt2x00dev->chip.rt, rt2x00dev->chip.rev); in rt2x00_set_rt() 1128 return rt2x00dev->chip.rev; in rt2x00_rev() 1132 const u16 rt, const u16 rev) in rt2x00_rt_rev() argument 1134 return (rt2x00_rt(rt2x00dev, rt) && rt2x00_rev(rt2x00dev) == rev); in rt2x00_rt_rev() [all …]
|
/drivers/media/common/b2c2/ |
D | flexcop-misc.c | 15 fc->rev = FLEXCOP_II; in flexcop_determine_revision() 19 fc->rev = FLEXCOP_IIB; in flexcop_determine_revision() 23 fc->rev = FLEXCOP_III; in flexcop_determine_revision() 72 flexcop_revision_names[fc->rev], suffix); in flexcop_device_name()
|
/drivers/bcma/ |
D | driver_chipcommon.c | 45 else if (cc->core->id.rev < 26) in bcma_chipco_watchdog_get_max_timer() 48 nb = (cc->core->id.rev >= 37) ? 32 : 24; in bcma_chipco_watchdog_get_max_timer() 120 if (cc->core->id.rev >= 11) in bcma_core_chipcommon_early_init() 123 if (cc->core->id.rev >= 35) in bcma_core_chipcommon_early_init() 142 if (cc->core->id.rev >= 20) { in bcma_core_chipcommon_init() 152 if (cc->core->id.rev >= 16) { in bcma_core_chipcommon_init() 278 if (cc->core->id.rev < 20) in bcma_chipco_gpio_pullup() 293 if (cc->core->id.rev < 20) in bcma_chipco_gpio_pulldown() 309 unsigned int ccrev = cc->core->id.rev; in bcma_chipco_serial_init()
|
/drivers/scsi/ |
D | esp_scsi.c | 174 if (esp->rev == ESP236) { in esp_flush_fifo() 222 if (esp->rev == FAST) in esp_reset_esp() 230 if (esp->rev == FAST) { in esp_reset_esp() 234 esp->rev = FAS236; in esp_reset_esp() 236 esp->rev = FASHME; /* Version is usually '5'. */ in esp_reset_esp() 238 esp->rev = FAS100A; in esp_reset_esp() 247 switch (esp->rev) { in esp_reset_esp() 270 if (esp->rev == FASHME) { in esp_reset_esp() 285 if (esp->rev == FASHME) { in esp_reset_esp() 453 if (esp->rev > ESP100A) { in esp_write_tgt_config3() [all …]
|
/drivers/video/msm/ |
D | mddi.c | 120 static void mddi_handle_rev_data(struct mddi_info *mddi, union mddi_rev *rev) in mddi_handle_rev_data() argument 125 if ((rev->hdr.length <= MDDI_REV_BUFFER_SIZE - 2) && in mddi_handle_rev_data() 126 (rev->hdr.length >= sizeof(struct mddi_rev_packet) - 2)) { in mddi_handle_rev_data() 128 switch (rev->hdr.type) { in mddi_handle_rev_data() 130 memcpy(&mddi->caps, &rev->caps, in mddi_handle_rev_data() 136 memcpy(&mddi->status, &rev->status, in mddi_handle_rev_data() 146 rev->reg.register_address, in mddi_handle_rev_data() 147 rev->reg.register_data_list); in mddi_handle_rev_data() 150 if (ri->reg != rev->reg.register_address) { in mddi_handle_rev_data() 154 rev->reg.register_address, in mddi_handle_rev_data() [all …]
|
/drivers/input/gameport/ |
D | lightning.c | 258 int i, rev, result; in l4_add_card() local 281 rev = inb(L4_PORT); in l4_add_card() 283 if (!rev) in l4_add_card() 291 card_no ? "secondary" : "primary", rev >> 4, rev, L4_PORT); in l4_add_card() 296 if (rev > 0x28) /* on 2.9+ the setcal command works correctly */ in l4_add_card()
|
/drivers/ide/ |
D | alim15x3.c | 538 u8 rev = dev->revision, idx = id->driver_data; in alim15x3_init_one() local 541 if (rev <= 0xC4) in alim15x3_init_one() 544 if (rev >= 0x20) { in alim15x3_init_one() 545 if (rev == 0x20) in alim15x3_init_one() 548 if (rev < 0xC2) in alim15x3_init_one() 550 else if (rev == 0xC2 || rev == 0xC3) in alim15x3_init_one() 552 else if (rev == 0xC4) in alim15x3_init_one()
|