Searched refs:rev (Results 26 - 50 of 296) sorted by relevance

1234567891011>>

/drivers/usb/phy/
H A Dphy-omap-otg.c101 u32 rev; local
137 rev = readl(otg_dev->base);
140 "OMAP USB OTG controller rev %d.%d (%s, id=%d, vbus=%d)\n",
141 (rev >> 4) & 0xf, rev & 0xf, config->extcon, otg_dev->id,
/drivers/soc/tegra/fuse/
H A Dspeedo-tegra114.c49 enum tegra_revision rev = sku_info->revision; local
76 if (rev == TEGRA_REVISION_A01) {
H A Dspeedo-tegra20.c41 #define SPEEDO_ID_SELECT_0(rev) ((rev) <= 2)
/drivers/input/gameport/
H A Dlightning.c258 int i, rev, result; local
281 rev = inb(L4_PORT);
283 if (!rev)
291 card_no ? "secondary" : "primary", rev >> 4, rev, L4_PORT);
296 if (rev > 0x28) /* on 2.9+ the setcal command works correctly */
/drivers/net/wireless/b43/
H A Dphy_g.c85 /* APHY.rev < 5 || GPHY.rev < 6 */
102 /* Radio.rev == 8 && Radio.version == 0x2050 */
317 if (phy->rev <= 1) {
323 if (phy->rev <= 1)
347 if (phy->rev <= 1) {
353 if (phy->rev <= 1)
432 if (phy->rev != 1) { /* Not in specs, but needed to prevent PPC machine check */
449 if (phy->rev >= 6) {
490 if (phy->rev !
[all...]
H A Dppr.c154 if (phy->type == B43_PHYTYPE_N && phy->rev >= 3)
160 if (phy->type == B43_PHYTYPE_N && phy->rev >= 3)
178 if (phy->type == B43_PHYTYPE_N && phy->rev >= 3)
184 if (phy->type == B43_PHYTYPE_N && phy->rev >= 3)
/drivers/usb/storage/
H A Dsierra_ms.c31 __u8 rev; member in struct:swoc_info
86 dev_dbg(dev, "SWIMS: SWoC Rev: %02d\n", swocInfo->rev);
117 swocInfo->rev,
/drivers/bcma/
H A Ddriver_pci.c70 if (pc->core->id.rev >= 10) {
113 if (pc->core->id.rev >= 10) {
249 if (pc->core->id.rev >= 15 && pc->core->id.rev <= 20) {
255 } else if (pc->core->id.rev >= 21 && pc->core->id.rev <= 22) {
H A Ddriver_chipcommon_pmu.c142 if (cc->pmu.rev >= 2)
220 else if (bus->chipinfo.rev > 0)
251 if (bus->chipinfo.rev == 0) {
275 cc->pmu.rev = (pmucap & BCMA_CC_PMU_CAP_REVISION);
277 bcma_debug(cc->core->bus, "Found rev %u PMU (capabilities 0x%08X)\n",
278 cc->pmu.rev, pmucap);
283 if (cc->pmu.rev == 1)
330 bcma_warn(bus, "No ALP clock specified for %04X device, pmu rev. %d, using default %d Hz\n",
331 bus->chipinfo.id, cc->pmu.rev, BCMA_CC_PMU_ALP_CLOCK);
430 bcma_warn(bus, "No bus clock specified for %04X device, pmu rev
[all...]
H A Dmain.c46 return sprintf(buf, "0x%02X\n", core->id.rev);
48 static DEVICE_ATTR_RO(rev);
420 match.rev = BCMA_ANY_REV;
432 match.rev = BCMA_ANY_REV;
522 for (did = adrv->id_table; did->manuf || did->id || did->rev; did++) {
525 (did->rev == cid->rev || did->rev == BCMA_ANY_REV) &&
564 core->id.rev, core->id.class);
/drivers/gpu/drm/msm/mdp/mdp4/
H A Dmdp4_kms.c51 mdp4_kms->rev = minor;
54 if ((mdp4_kms->rev == 2) || (mdp4_kms->rev == 4)) {
66 if (mdp4_kms->rev == 2) {
77 if (mdp4_kms->rev > 1) {
89 if ((mdp4_kms->rev >= 1) || (clk >= 90000000)) {
107 if (mdp4_kms->rev >= 2)
119 if (mdp4_kms->rev > 1)
407 // XXX if (rev >= MDP_REV_42) { ???
/drivers/ide/
H A Dalim15x3.c538 u8 rev = dev->revision, idx = id->driver_data; local
540 /* don't use LBA48 DMA on ALi devices before rev 0xC5 */
541 if (rev <= 0xC4)
544 if (rev >= 0x20) {
545 if (rev == 0x20)
548 if (rev < 0xC2)
550 else if (rev == 0xC2 || rev == 0xC3)
552 else if (rev == 0xC4)
/drivers/isdn/hardware/avm/
H A Db1pci.c382 char rev[32]; local
386 strlcpy(rev, p + 2, 32);
387 if ((p = strchr(rev, '$')) != NULL && p > rev)
390 strcpy(rev, "1.0");
395 strlcpy(capi_driver_b1pci.revision, rev, 32);
398 strlcpy(capi_driver_b1pciv4.revision, rev, 32);
401 printk(KERN_INFO "b1pci: revision %s\n", rev);
/drivers/scsi/
H A Desp_scsi.c174 if (esp->rev == ESP236) {
222 if (esp->rev == FAST)
230 if (esp->rev == FAST) {
234 esp->rev = FAS236;
236 esp->rev = FASHME; /* Version is usually '5'. */
238 esp->rev = FAS100A;
247 switch (esp->rev) {
270 if (esp->rev == FASHME) {
285 if (esp->rev == FASHME) {
453 if (esp->rev > ESP100
[all...]
/drivers/video/fbdev/msm/
H A Dmddi.c63 /* buffer for rev encap packets */
113 printk(KERN_INFO "mddi: resetting rev ptr\n");
120 static void mddi_handle_rev_data(struct mddi_info *mddi, union mddi_rev *rev) argument
125 if ((rev->hdr.length <= MDDI_REV_BUFFER_SIZE - 2) &&
126 (rev->hdr.length >= sizeof(struct mddi_rev_packet) - 2)) {
128 switch (rev->hdr.type) {
130 memcpy(&mddi->caps, &rev->caps,
136 memcpy(&mddi->status, &rev->status,
144 printk(KERN_INFO "rev: got reg %x = %x without "
146 rev
[all...]
/drivers/ata/
H A Dpata_sl82c105.c317 int rev; local
324 rev = sl82c105_bridge_revision(dev);
326 if (rev == -1)
329 else if (rev <= 5)
/drivers/mcb/
H A Dmcb-internal.h53 * @rev: the revision of the variant's implementation
88 * @rev: the revision of the variant's implementation
101 unsigned int rev:6; member in struct:chameleon_bdd
/drivers/media/pci/cx23885/
H A Dnetup-eeprom.c96 cinfo->rev = netup_eeprom_read(i2c_adap, 63);
/drivers/net/wireless/brcm80211/brcmfmac/
H A Dchip.h51 * @rev: core revision.
56 u16 rev; member in struct:brcmf_core
/drivers/net/wireless/rt2x00/
H A Drt2x00.h176 u16 rev; member in struct:rt2x00_chip
1076 const u16 rt, const u16 rf, const u16 rev)
1080 rt2x00dev->chip.rev = rev;
1082 rt2x00_info(rt2x00dev, "Chipset detected - rt: %04x, rf: %04x, rev: %04x\n",
1084 rt2x00dev->chip.rev);
1088 const u16 rt, const u16 rev)
1091 rt2x00dev->chip.rev = rev;
1093 rt2x00_info(rt2x00dev, "RT chipset %04x, rev
1075 rt2x00_set_chip(struct rt2x00_dev *rt2x00dev, const u16 rt, const u16 rf, const u16 rev) argument
1087 rt2x00_set_rt(struct rt2x00_dev *rt2x00dev, const u16 rt, const u16 rev) argument
1120 rt2x00_rt_rev(struct rt2x00_dev *rt2x00dev, const u16 rt, const u16 rev) argument
1126 rt2x00_rt_rev_lt(struct rt2x00_dev *rt2x00dev, const u16 rt, const u16 rev) argument
1132 rt2x00_rt_rev_gte(struct rt2x00_dev *rt2x00dev, const u16 rt, const u16 rev) argument
[all...]
/drivers/gpu/drm/tilcdc/
H A Dtilcdc_crtc.c118 if (priv->rev == 2) {
197 if (priv->rev == 2) {
294 if (priv->rev == 2) {
307 if (priv->rev == 2)
322 if (priv->rev == 2) {
339 if (priv->rev == 2) {
432 if (priv->rev == 1)
434 else if (priv->rev == 2)
567 if (priv->rev == 2)
619 if (priv->rev
[all...]
/drivers/net/wireless/b43legacy/
H A Dphy.c148 if (phy->type == B43legacy_PHYTYPE_G && phy->rev == 1) {
189 phy->rev >= 2 &&
223 if (phy->rev == 1)
231 if (phy->rev == 1) {
261 if (phy->rev == 1)
285 if (phy->rev == 1) {
299 if (phy->rev > 2) {
310 if (phy->rev == 1) {
326 if (phy->rev >= 6) {
340 if (phy->rev
[all...]
/drivers/ssb/
H A Ddriver_pcicore.c472 u8 rev = pc->dev->id.revision; local
474 if (rev == 0 || rev == 1) {
480 if (rev == 1) {
487 if (rev == 0) {
496 } else if (rev == 3 || rev == 4 || rev == 5) {
500 } else if (rev == 7) {
504 if (rev >
[all...]
/drivers/input/misc/
H A Dcma3000_d0x.c290 int rev; local
355 rev = CMA3000_READ(data, CMA3000_REVID, "Revid");
356 if (rev < 0) {
357 error = rev;
361 pr_info("CMA3000 Accelerometer: Revision %x\n", rev);
/drivers/isdn/hardware/eicon/
H A Ddivasi.c59 char *rev; local
62 rev = p + 2;
63 p = strchr(rev, '$');
66 rev = "1.0";
67 return rev;

Completed in 2484 milliseconds

1234567891011>>