Home
last modified time | relevance | path

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

123

/linux/drivers/watchdog/
H A Dit87_wdt.c289 u8 chip_rev; in it87_wdt_init() local
299 chip_rev = superio_inb(CHIPREV) & 0x0f; in it87_wdt_init()
311 max_units = (chip_rev < 8) ? 255 : 65535; in it87_wdt_init()
337 chip_type, chip_rev); in it87_wdt_init()
344 chip_type, chip_rev); in it87_wdt_init()
395 chip_type, chip_rev, timeout, nowayout, testmode); in it87_wdt_init()
/linux/drivers/mfd/
H A Datc260x-core.c258 unsigned int chip_rev; in atc260x_device_probe() local
269 ret = regmap_read(atc260x->regmap, atc260x->rev_reg, &chip_rev); in atc260x_device_probe()
275 if (chip_rev > ATC260X_CHIP_REV_MAX) { in atc260x_device_probe()
276 dev_err(dev, "Unknown chip revision: %u\n", chip_rev); in atc260x_device_probe()
280 atc260x->ic_ver = __ffs(chip_rev + 1U); in atc260x_device_probe()
H A 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()
H A Drt5033.c58 unsigned int dev_id, chip_rev; in rt5033_i2c_probe() local
81 chip_rev = dev_id & RT5033_CHIP_REV_MASK; in rt5033_i2c_probe()
82 dev_info(&i2c->dev, "Device found (rev. %d)\n", chip_rev); in rt5033_i2c_probe()
H A Dmt6360-core.c32 unsigned int chip_rev; member
363 ddata->chip_rev = info & CHIP_REV_MASK; in mt6360_check_vendor_info()
/linux/drivers/regulator/
H A Dfan53555.c130 int chip_rev; member
263 switch (di->chip_rev) { in fan53526_voltages_setup_fairchild()
271 di->chip_id, di->chip_rev); in fan53526_voltages_setup_fairchild()
295 switch (di->chip_rev) { in fan53555_voltages_setup_fairchild()
307 di->chip_id, di->chip_rev); in fan53555_voltages_setup_fairchild()
715 di->chip_rev = val & DIE_REV; in fan53555_regulator_probe()
717 di->chip_id, di->chip_rev); in fan53555_regulator_probe()
/linux/drivers/ssb/
H A 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()
H A 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()
/linux/drivers/gpio/
H A 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()
/linux/drivers/net/wireless/broadcom/b43/
H A 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()
H A Dbus.h48 u8 chip_rev; member
H A 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()
/linux/drivers/media/usb/dvb-usb-v2/
H A 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()
H A Dmxl111sf.h69 u8 chip_rev; member
/linux/drivers/media/i2c/
H A Dov7251.c1528 u8 chip_id_high, chip_id_low, chip_rev; in ov7251_detect_chip() local
1541 ret = ov7251_read_reg(ov7251, OV7251_SC_GP_IO_IN1, &chip_rev); in ov7251_detect_chip()
1545 chip_rev >>= 4; in ov7251_detect_chip()
1549 chip_rev, in ov7251_detect_chip()
1550 chip_rev == 0x4 ? "1A / 1B" : in ov7251_detect_chip()
1551 chip_rev == 0x5 ? "1C / 1D" : in ov7251_detect_chip()
1552 chip_rev == 0x6 ? "1E" : in ov7251_detect_chip()
1553 chip_rev == 0x7 ? "1F" : "unknown", in ov7251_detect_chip()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00dump.h106 __le16 chip_rev; member
/linux/sound/soc/codecs/
H A Dmt6660.c195 ucontrol->value.integer.value[0] = chip->chip_rev & 0x0f; in mt6660_component_get_volsw()
455 chip->chip_rev = val&0xff; in _mt6660_read_chip_revision()
456 dev_info(chip->dev, "%s chip_rev = %x\n", __func__, chip->chip_rev); in _mt6660_read_chip_revision()
H A Dmt6660.h27 u16 chip_rev; member
/linux/drivers/net/ethernet/marvell/
H A Dsky2.c222 if (hw->chip_id == CHIP_ID_YUKON_XL && hw->chip_rev > CHIP_REV_YU_XL_A1) in sky2_power_on()
264 if (hw->chip_id == CHIP_ID_YUKON_XL && hw->chip_rev > CHIP_REV_YU_XL_A1) in sky2_power_aux()
357 hw->chip_rev == CHIP_REV_YU_FE2_A0) { in sky2_phy_init()
599 hw->chip_rev == CHIP_REV_YU_FE2_A0) { in sky2_phy_init()
603 } else if (hw->chip_id == CHIP_ID_YUKON_OPT && hw->chip_rev == 0) { in sky2_phy_init()
704 if (hw->chip_id == CHIP_ID_YUKON_XL && hw->chip_rev > CHIP_REV_YU_XL_A1) in sky2_phy_power_up()
884 hw->chip_rev != CHIP_REV_YU_EX_A0) || in sky2_set_tx_stfwd()
912 hw->chip_rev == CHIP_REV_YU_XL_A0 && in sky2_mac_init()
968 hw->chip_rev == CHIP_REV_YU_EC_U_B1) in sky2_mac_init()
1005 hw->chip_rev == CHIP_REV_YU_FE2_A0) in sky2_mac_init()
[all …]
/linux/drivers/net/phy/
H A Dmicrochip.c26 int chip_rev; member
273 priv->chip_rev = phy_read_mmd(phydev, 3, LAN88XX_MMD3_CHIP_REV); in lan88xx_probe()
/linux/drivers/net/ethernet/brocade/bna/
H A 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 …]
H A Dbfa_defs.h90 char chip_rev[BFA_IOC_CHIP_REV_LEN]; /*!< chip revision */ member
/linux/include/linux/ssb/
H A Dssb_driver_gige.h88 (dev->dev->bus->chip_rev < 2)); in ssb_gige_one_dma_at_once()
/linux/drivers/power/supply/
H A Dbd99954-charger.c104 int chip_rev; member
1020 ret = regmap_field_read(bd->rmap_fields[F_CHIP_REV], &bd->chip_rev); in bd9995x_probe()
1026 dev_info(bd->dev, "Found BD99954 chip rev %d\n", bd->chip_rev); in bd9995x_probe()
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-npi-defs.h352 uint64_t chip_rev:8; member
392 uint64_t chip_rev:8;
399 uint64_t chip_rev:8; member
427 uint64_t chip_rev:8;
434 uint64_t chip_rev:8; member
468 uint64_t chip_rev:8;

123