Home
last modified time | relevance | path

Searched refs:chip_rev (Results 1 – 25 of 54) sorted by relevance

123

/drivers/watchdog/
Dit87_wdt.c257 u8 chip_rev; in it87_wdt_init() local
266 chip_rev = superio_inb(CHIPREV) & 0x0f; in it87_wdt_init()
274 max_units = (chip_rev < 8) ? 255 : 65535; in it87_wdt_init()
300 chip_type, chip_rev); in it87_wdt_init()
307 chip_type, chip_rev); in it87_wdt_init()
351 chip_type, chip_rev, timeout, nowayout, testmode); in it87_wdt_init()
/drivers/mfd/
Datc260x-core.c261 unsigned int chip_rev; in atc260x_device_probe() local
272 ret = regmap_read(atc260x->regmap, atc260x->rev_reg, &chip_rev); in atc260x_device_probe()
278 if (chip_rev > ATC260X_CHIP_REV_MAX) { in atc260x_device_probe()
279 dev_err(dev, "Unknown chip revision: %u\n", chip_rev); in atc260x_device_probe()
283 atc260x->ic_ver = __ffs(chip_rev + 1U); in atc260x_device_probe()
Dwm8350-core.c281 unsigned int cust_id, mode, chip_rev; in wm8350_device_init() local
313 chip_rev = (id2 & WM8350_CHIP_REV_MASK) >> 12; in wm8350_device_init()
316 mode, cust_id, mask_rev, chip_rev); in wm8350_device_init()
329 switch (chip_rev) { in wm8350_device_init()
356 switch (chip_rev) { in wm8350_device_init()
378 switch (chip_rev) { in wm8350_device_init()
Dmt6360-core.c31 unsigned int chip_rev; member
362 ddata->chip_rev = info & CHIP_REV_MASK; in mt6360_check_vendor_info()
/drivers/regulator/
Dfan53555.c118 int chip_rev; member
249 switch (di->chip_rev) { in fan53526_voltages_setup_fairchild()
257 di->chip_id, di->chip_rev); in fan53526_voltages_setup_fairchild()
281 switch (di->chip_rev) { in fan53555_voltages_setup_fairchild()
293 di->chip_id, di->chip_rev); in fan53555_voltages_setup_fairchild()
617 di->chip_rev = val & DIE_REV; in fan53555_regulator_probe()
619 di->chip_id, di->chip_rev); in fan53555_regulator_probe()
/drivers/gpio/
Dgpio-it87.c276 u8 chip_rev, gpio_ba_reg; in it87_gpio_init() local
286 chip_rev = superio_inb(CHIPREV) & 0x0f; in it87_gpio_init()
332 chip_type, chip_rev); in it87_gpio_init()
348 chip_type, chip_rev, it87_gpio->chip.ngpio, in it87_gpio_init()
/drivers/ssb/
Dscan.c300 bus->chip_rev = (tmp & SSB_CHIPCO_REVMASK) >> in ssb_bus_scan()
313 bus->chip_rev = bus->host_pci->revision; in ssb_bus_scan()
317 bus->chip_rev = 0; in ssb_bus_scan()
322 bus->chip_id, bus->chip_rev, bus->chip_package); in ssb_bus_scan()
Ddriver_chipcommon.c216 if (bus->chip_rev == 0) in chipco_powercontrol_init()
218 else if (bus->chip_rev == 1) in chipco_powercontrol_init()
457 ((bus->chip_id == 0x5350) && (bus->chip_rev == 0))) in ssb_chipco_timing_init()
/drivers/media/i2c/
Dov7251.c1262 u8 chip_id_high, chip_id_low, chip_rev; in ov7251_probe() local
1411 ret = ov7251_read_reg(ov7251, OV7251_SC_GP_IO_IN1, &chip_rev); in ov7251_probe()
1417 chip_rev >>= 4; in ov7251_probe()
1420 chip_rev, in ov7251_probe()
1421 chip_rev == 0x4 ? "1A / 1B" : in ov7251_probe()
1422 chip_rev == 0x5 ? "1C / 1D" : in ov7251_probe()
1423 chip_rev == 0x6 ? "1E" : in ov7251_probe()
1424 chip_rev == 0x7 ? "1F" : "unknown", in ov7251_probe()
/drivers/net/wireless/broadcom/b43/
Dbus.c112 dev->chip_rev = core->bus->chipinfo.rev; in b43_bus_dev_bcma_init()
211 dev->chip_rev = sdev->bus->chip_rev; in b43_bus_dev_ssb_init()
Dbus.h48 u8 chip_rev; member
Dtables_nphy.c3355 if (dev->dev->chip_id == 43224 && dev->dev->chip_rev == 1) { in b43_ntab_read_bulk()
3431 dev->dev->chip_rev == 1) { in b43_ntab_write_bulk()
/drivers/media/usb/dvb-usb-v2/
Dmxl111sf.c217 state->chip_rev = MXL111SF_V6; in mxl1x1sf_get_chip_info()
221 state->chip_rev = MXL111SF_V8_100; in mxl1x1sf_get_chip_info()
225 state->chip_rev = MXL111SF_V8_200; in mxl1x1sf_get_chip_info()
229 state->chip_rev = 0; in mxl1x1sf_get_chip_info()
300 (state->chip_rev > MXL111SF_V6)) { in mxl111sf_adap_fe_init()
390 if (state->chip_rev > MXL111SF_V6) in mxl111sf_ep5_streaming_ctrl()
633 (MXL111SF_V8_200 == state->chip_rev) ? in mxl111sf_lg2161_frontend_attach()
720 (MXL111SF_V8_200 == state->chip_rev) ? in mxl111sf_lg2161_ep6_frontend_attach()
940 if (state->chip_rev > MXL111SF_V6) in mxl111sf_init()
Dmxl111sf.h69 u8 chip_rev; member
/drivers/net/wireless/ralink/rt2x00/
Drt2x00dump.h106 __le16 chip_rev; member
/drivers/net/ethernet/marvell/
Dsky2.c221 if (hw->chip_id == CHIP_ID_YUKON_XL && hw->chip_rev > CHIP_REV_YU_XL_A1) in sky2_power_on()
263 if (hw->chip_id == CHIP_ID_YUKON_XL && hw->chip_rev > CHIP_REV_YU_XL_A1) in sky2_power_aux()
356 hw->chip_rev == CHIP_REV_YU_FE2_A0) { in sky2_phy_init()
598 hw->chip_rev == CHIP_REV_YU_FE2_A0) { in sky2_phy_init()
602 } else if (hw->chip_id == CHIP_ID_YUKON_OPT && hw->chip_rev == 0) { in sky2_phy_init()
703 if (hw->chip_id == CHIP_ID_YUKON_XL && hw->chip_rev > CHIP_REV_YU_XL_A1) in sky2_phy_power_up()
883 hw->chip_rev != CHIP_REV_YU_EX_A0) || in sky2_set_tx_stfwd()
911 hw->chip_rev == CHIP_REV_YU_XL_A0 && in sky2_mac_init()
967 hw->chip_rev == CHIP_REV_YU_EC_U_B1) in sky2_mac_init()
1004 hw->chip_rev == CHIP_REV_YU_FE2_A0) in sky2_mac_init()
[all …]
/drivers/net/phy/
Dmicrochip.c20 int chip_rev; member
267 priv->chip_rev = phy_read_mmd(phydev, 3, LAN88XX_MMD3_CHIP_REV); in lan88xx_probe()
/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.c82 char *chip_rev);
2818 bfa_ioc_get_pci_chip_rev(struct bfa_ioc *ioc, char *chip_rev) in bfa_ioc_get_pci_chip_rev() argument
2820 BUG_ON(!(chip_rev)); in bfa_ioc_get_pci_chip_rev()
2822 memset(chip_rev, 0, BFA_IOC_CHIP_REV_LEN); in bfa_ioc_get_pci_chip_rev()
2824 chip_rev[0] = 'R'; in bfa_ioc_get_pci_chip_rev()
2825 chip_rev[1] = 'e'; in bfa_ioc_get_pci_chip_rev()
2826 chip_rev[2] = 'v'; in bfa_ioc_get_pci_chip_rev()
2827 chip_rev[3] = '-'; in bfa_ioc_get_pci_chip_rev()
2828 chip_rev[4] = ioc->attr->asic_rev; in bfa_ioc_get_pci_chip_rev()
2829 chip_rev[5] = '\0'; in bfa_ioc_get_pci_chip_rev()
[all …]
Dbfa_defs.h90 char chip_rev[BFA_IOC_CHIP_REV_LEN]; /*!< chip revision */ member
/drivers/power/supply/
Dbd99954-charger.c111 int chip_rev; member
1083 ret = regmap_field_read(bd->rmap_fields[F_CHIP_REV], &bd->chip_rev); in bd9995x_probe()
1089 dev_info(bd->dev, "Found BD99954 chip rev %d\n", bd->chip_rev); in bd9995x_probe()
/drivers/ata/
Dpata_ep93xx.c981 int chip_rev = ep93xx_chip_revision(); in ep93xx_pata_probe() local
983 if (chip_rev == EP93XX_CHIP_REV_E1) in ep93xx_pata_probe()
985 else if (chip_rev == EP93XX_CHIP_REV_E2) in ep93xx_pata_probe()
/drivers/scsi/bfa/
Dbfad_drv.h174 u8 chip_rev[BFA_IOC_CHIP_REV_LEN]; /* chip revision */ member
/drivers/usb/isp1760/
Disp1760-hcd.c1590 u32 chip_rev; in isp1763_run() local
1599 chip_rev = isp1760_hcd_read(hcd, HC_CHIP_REV); in isp1763_run()
1601 chipid_h, chipid_l, chip_rev); in isp1763_run()
1665 u32 chip_rev; in isp1760_run() local
1720 chip_rev = isp1760_hcd_read(hcd, HC_CHIP_REV); in isp1760_run()
1722 chipid_h, chipid_l, chip_rev); in isp1760_run()
/drivers/net/ethernet/qlogic/qed/
Dqed.h720 u16 chip_rev; member
723 #define CHIP_REV_IS_B0(_cdev) ((_cdev)->chip_rev == 1)
/drivers/infiniband/hw/bnxt_re/
Dqplib_res.h55 u8 chip_rev; member

123