Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/watchdog/
Dit87_wdt.c257 u8 chip_rev; in it87_wdt_init() local
265 chip_rev = superio_inb(CHIPREV) & 0x0f; in it87_wdt_init()
273 max_units = (chip_rev < 8) ? 255 : 65535; in it87_wdt_init()
299 chip_type, chip_rev); in it87_wdt_init()
306 chip_type, chip_rev); in it87_wdt_init()
339 chip_type, chip_rev, timeout, nowayout, testmode); in it87_wdt_init()
/linux-6.1.9/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()
/linux-6.1.9/drivers/regulator/
Dfan53555.c117 int chip_rev; member
248 switch (di->chip_rev) { in fan53526_voltages_setup_fairchild()
256 di->chip_id, di->chip_rev); in fan53526_voltages_setup_fairchild()
280 switch (di->chip_rev) { in fan53555_voltages_setup_fairchild()
292 di->chip_id, di->chip_rev); in fan53555_voltages_setup_fairchild()
616 di->chip_rev = val & DIE_REV; in fan53555_regulator_probe()
618 di->chip_id, di->chip_rev); in fan53555_regulator_probe()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/
Drt2x00dump.h106 __le16 chip_rev; member
/linux-6.1.9/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
/linux-6.1.9/drivers/media/i2c/
Dov7251.c1507 u8 chip_id_high, chip_id_low, chip_rev; in ov7251_detect_chip() local
1520 ret = ov7251_read_reg(ov7251, OV7251_SC_GP_IO_IN1, &chip_rev); in ov7251_detect_chip()
1524 chip_rev >>= 4; in ov7251_detect_chip()
1528 chip_rev, in ov7251_detect_chip()
1529 chip_rev == 0x4 ? "1A / 1B" : in ov7251_detect_chip()
1530 chip_rev == 0x5 ? "1C / 1D" : in ov7251_detect_chip()
1531 chip_rev == 0x6 ? "1E" : in ov7251_detect_chip()
1532 chip_rev == 0x7 ? "1F" : "unknown", in ov7251_detect_chip()
/linux-6.1.9/sound/soc/codecs/
Dmt6660.h27 u16 chip_rev; member
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()
/linux-6.1.9/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()
/linux-6.1.9/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 …]
/linux-6.1.9/include/linux/ssb/
Dssb_driver_gige.h88 (dev->dev->bus->chip_rev < 2)); in ssb_gige_one_dma_at_once()
/linux-6.1.9/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
/linux-6.1.9/drivers/power/supply/
Dbd99954-charger.c111 int chip_rev; member
1085 ret = regmap_field_read(bd->rmap_fields[F_CHIP_REV], &bd->chip_rev); in bd9995x_probe()
1091 dev_info(bd->dev, "Found BD99954 chip rev %d\n", bd->chip_rev); in bd9995x_probe()
/linux-6.1.9/drivers/ata/
Dpata_ep93xx.c980 int chip_rev = ep93xx_chip_revision(); in ep93xx_pata_probe() local
982 if (chip_rev == EP93XX_CHIP_REV_E1) in ep93xx_pata_probe()
984 else if (chip_rev == EP93XX_CHIP_REV_E2) in ep93xx_pata_probe()
/linux-6.1.9/drivers/scsi/bfa/
Dbfad_drv.h174 u8 chip_rev[BFA_IOC_CHIP_REV_LEN]; /* chip revision */ member

123