/linux-4.4.14/drivers/mfd/ |
D | wm8350-core.c | 281 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()
|
/linux-4.4.14/drivers/net/phy/ |
D | microchip.c | 29 int chip_rev; member 83 priv->chip_rev = phy_read_mmd_indirect(phydev, LAN88XX_MMD3_CHIP_REV, in lan88xx_probe()
|
/linux-4.4.14/drivers/gpio/ |
D | gpio-it87.c | 294 u8 chip_rev, gpio_ba_reg; in it87_gpio_init() local 304 chip_rev = superio_inb(CHIPREV) & 0x0f; in it87_gpio_init() 331 chip_type, chip_rev); in it87_gpio_init() 347 chip_type, chip_rev, it87_gpio->chip.ngpio, in it87_gpio_init()
|
/linux-4.4.14/drivers/ssb/ |
D | scan.c | 300 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()
|
D | driver_chipcommon.c | 216 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-4.4.14/drivers/watchdog/ |
D | it87_wdt.c | 609 u8 chip_rev; in it87_wdt_init() local 619 chip_rev = superio_inb(CHIPREV) & 0x0f; in it87_wdt_init() 627 max_units = (chip_rev < 8) ? 255 : 65535; in it87_wdt_init() 643 chip_type, chip_rev); in it87_wdt_init() 650 chip_type, chip_rev); in it87_wdt_init() 738 chip_type, chip_rev, timeout, in it87_wdt_init()
|
/linux-4.4.14/drivers/net/wireless/b43/ |
D | bus.c | 125 dev->chip_rev = core->bus->chipinfo.rev; in b43_bus_dev_bcma_init() 224 dev->chip_rev = sdev->bus->chip_rev; in b43_bus_dev_ssb_init()
|
D | bus.h | 47 u8 chip_rev; member
|
D | tables_nphy.c | 3368 if (dev->dev->chip_id == 43224 && dev->dev->chip_rev == 1) { in b43_ntab_read_bulk() 3444 dev->dev->chip_rev == 1) { in b43_ntab_write_bulk()
|
D | phy_lp.c | 446 if ((dev->dev->chip_id == 0x4325) && (dev->dev->chip_rev == 0)) { in lpphy_baseband_rev2plus_init() 464 if ((dev->dev->chip_id == 0x4325) && (dev->dev->chip_rev == 0)) { in lpphy_baseband_rev2plus_init() 489 if ((dev->dev->chip_id == 0x4325) && (dev->dev->chip_rev == 0)) { in lpphy_baseband_rev2plus_init() 1850 if (dev->dev->chip_id == 0x4325 && dev->dev->chip_rev == 0) in lpphy_papd_cal_txpwr()
|
D | main.c | 3148 dev->dev->chip_rev == 3) in b43_adjust_opmode() 4586 if (dev->dev->chip_rev == 0) in b43_phy_versioning() 4588 else if (dev->dev->chip_rev == 1) in b43_phy_versioning() 4755 if ((bus->chip_id == 0x4311 && bus->chip_rev == 2) || in b43_imcfglo_timeouts_workaround()
|
D | tables_lpphy.c | 2343 if ((dev->dev->chip_id == 0x4325) && (dev->dev->chip_rev == 0)) { in lpphy_rev2plus_table_init()
|
/linux-4.4.14/drivers/net/wireless/rt2x00/ |
D | rt2x00dump.h | 117 __le16 chip_rev; member
|
D | rt2x00debug.c | 197 dump_hdr->chip_rev = cpu_to_le16(rt2x00dev->chip.rev); in rt2x00debug_dump_frame()
|
/linux-4.4.14/drivers/regulator/ |
D | fan53555.c | 83 int chip_rev; member 409 di->chip_rev = val & DIE_REV; in fan53555_regulator_probe() 411 di->chip_id, di->chip_rev); in fan53555_regulator_probe()
|
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/ |
D | mxl111sf.c | 214 state->chip_rev = MXL111SF_V6; in mxl1x1sf_get_chip_info() 218 state->chip_rev = MXL111SF_V8_100; in mxl1x1sf_get_chip_info() 222 state->chip_rev = MXL111SF_V8_200; in mxl1x1sf_get_chip_info() 226 state->chip_rev = 0; in mxl1x1sf_get_chip_info() 297 (state->chip_rev > MXL111SF_V6)) { in mxl111sf_adap_fe_init() 387 if (state->chip_rev > MXL111SF_V6) in mxl111sf_ep5_streaming_ctrl() 630 (MXL111SF_V8_200 == state->chip_rev) ? in mxl111sf_lg2161_frontend_attach() 717 (MXL111SF_V8_200 == state->chip_rev) ? in mxl111sf_lg2161_ep6_frontend_attach() 911 if (state->chip_rev > MXL111SF_V6) in mxl111sf_init()
|
D | mxl111sf.h | 62 u8 chip_rev; member
|
D | mxl111sf-i2c.c | 819 int hwi2c = (state->chip_rev > MXL111SF_V6); in mxl111sf_i2c_xfer()
|
/linux-4.4.14/drivers/net/ethernet/marvell/ |
D | sky2.c | 232 if (hw->chip_id == CHIP_ID_YUKON_XL && hw->chip_rev > CHIP_REV_YU_XL_A1) in sky2_power_on() 274 if (hw->chip_id == CHIP_ID_YUKON_XL && hw->chip_rev > CHIP_REV_YU_XL_A1) in sky2_power_aux() 367 hw->chip_rev == CHIP_REV_YU_FE2_A0) { in sky2_phy_init() 609 hw->chip_rev == CHIP_REV_YU_FE2_A0) { in sky2_phy_init() 613 } else if (hw->chip_id == CHIP_ID_YUKON_OPT && hw->chip_rev == 0) { in sky2_phy_init() 714 if (hw->chip_id == CHIP_ID_YUKON_XL && hw->chip_rev > CHIP_REV_YU_XL_A1) in sky2_phy_power_up() 894 hw->chip_rev != CHIP_REV_YU_EX_A0) || in sky2_set_tx_stfwd() 922 hw->chip_rev == CHIP_REV_YU_XL_A0 && in sky2_mac_init() 978 hw->chip_rev == CHIP_REV_YU_EC_U_B1) in sky2_mac_init() 1015 hw->chip_rev == CHIP_REV_YU_FE2_A0) in sky2_mac_init() [all …]
|
D | skge.c | 165 if (hw->chip_id == CHIP_ID_YUKON && hw->chip_rev == 0) in wol_supported() 186 hw->chip_rev >= CHIP_REV_YU_LITE_A3) { in skge_wol_init() 2064 hw->chip_rev >= CHIP_REV_YU_LITE_A3) { in yukon_mac_init() 2076 hw->chip_rev >= CHIP_REV_YU_LITE_A3) { in yukon_mac_init() 2769 hw->chip_rev == 0 && hw->chip_id == CHIP_ID_YUKON) in skge_xmit_frame() 3261 (hw->chip_id == CHIP_ID_YUKON && hw->chip_rev == 0) in skge_mac_parity() 3592 hw->chip_rev = (mac_cfg & CFG_CHIP_R_MSK) >> 4; in skge_reset() 3983 skge_board_name(hw), hw->chip_rev); in skge_probe()
|
D | skge.h | 2417 u8 chip_rev; member
|
D | sky2.h | 2297 u8 chip_rev; member
|
/linux-4.4.14/include/linux/ssb/ |
D | ssb_driver_gige.h | 87 (dev->dev->bus->chip_rev < 2)); in ssb_gige_one_dma_at_once()
|
D | ssb.h | 456 u8 chip_rev; member
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc.c | 90 char *chip_rev); 2820 bfa_ioc_get_pci_chip_rev(struct bfa_ioc *ioc, char *chip_rev) in bfa_ioc_get_pci_chip_rev() argument 2822 BUG_ON(!(chip_rev)); in bfa_ioc_get_pci_chip_rev() 2824 memset(chip_rev, 0, BFA_IOC_CHIP_REV_LEN); in bfa_ioc_get_pci_chip_rev() 2826 chip_rev[0] = 'R'; in bfa_ioc_get_pci_chip_rev() 2827 chip_rev[1] = 'e'; in bfa_ioc_get_pci_chip_rev() 2828 chip_rev[2] = 'v'; in bfa_ioc_get_pci_chip_rev() 2829 chip_rev[3] = '-'; in bfa_ioc_get_pci_chip_rev() 2830 chip_rev[4] = ioc->attr->asic_rev; in bfa_ioc_get_pci_chip_rev() 2831 chip_rev[5] = '\0'; in bfa_ioc_get_pci_chip_rev() [all …]
|
D | bfa_defs.h | 98 char chip_rev[BFA_IOC_CHIP_REV_LEN]; /*!< chip revision */ member
|
/linux-4.4.14/include/linux/ |
D | cyclades.h | 143 int chip_rev; member
|
/linux-4.4.14/drivers/ata/ |
D | pata_ep93xx.c | 981 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()
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfad_drv.h | 181 u8 chip_rev[BFA_IOC_CHIP_REV_LEN]; /* chip revision */ member
|
D | bfa_ioc.c | 2779 bfa_ioc_get_pci_chip_rev(struct bfa_ioc_s *ioc, char *chip_rev) in bfa_ioc_get_pci_chip_rev() argument 2781 WARN_ON(!chip_rev); in bfa_ioc_get_pci_chip_rev() 2783 memset((void *)chip_rev, 0, BFA_IOC_CHIP_REV_LEN); in bfa_ioc_get_pci_chip_rev() 2785 chip_rev[0] = 'R'; in bfa_ioc_get_pci_chip_rev() 2786 chip_rev[1] = 'e'; in bfa_ioc_get_pci_chip_rev() 2787 chip_rev[2] = 'v'; in bfa_ioc_get_pci_chip_rev() 2788 chip_rev[3] = '-'; in bfa_ioc_get_pci_chip_rev() 2789 chip_rev[4] = ioc->attr->asic_rev; in bfa_ioc_get_pci_chip_rev() 2790 chip_rev[5] = '\0'; in bfa_ioc_get_pci_chip_rev() 2886 bfa_ioc_get_pci_chip_rev(ioc, ioc_attr->pci_attr.chip_rev); in bfa_ioc_get_attr()
|
D | bfa_defs.h | 337 char chip_rev[BFA_IOC_CHIP_REV_LEN]; /* chip revision */ member
|
D | bfa_ioc.h | 911 void bfa_ioc_get_pci_chip_rev(struct bfa_ioc_s *ioc, char *chip_rev);
|
D | bfad_bsg.c | 137 memcpy(bfad->pci_attr.chip_rev, iocmd->ioc_attr.pci_attr.chip_rev, in bfad_iocmd_ioc_get_attr() 138 sizeof(bfad->pci_attr.chip_rev)); in bfad_iocmd_ioc_get_attr()
|
/linux-4.4.14/drivers/mmc/host/ |
D | sdhci-pci-core.c | 694 u8 chip_rev = readb(slot->host->ioaddr + SYSKT_CHIP_REV); in syskt_probe_slot() local 698 chip_rev >> 4, chip_rev & 0xf); in syskt_probe_slot() 699 if (chip_rev >= 0x20) in syskt_probe_slot()
|
/linux-4.4.14/include/uapi/drm/ |
D | amdgpu_drm.h | 581 uint32_t chip_rev; member
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/ |
D | qed.h | 361 u16 chip_rev; member
|
D | qed_dev.c | 1300 cdev->chip_rev = (u16)qed_rd(cdev->hwfns, cdev->hwfns[0].p_main_ptt, in qed_get_dev_info() 1302 MASK_FIELD(CHIP_REV, cdev->chip_rev); in qed_get_dev_info() 1324 cdev->chip_num, cdev->chip_rev, in qed_get_dev_info()
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
D | cvmx-npi-defs.h | 381 uint64_t chip_rev:8; member 421 uint64_t chip_rev:8; 428 uint64_t chip_rev:8; member 456 uint64_t chip_rev:8; 463 uint64_t chip_rev:8; member 497 uint64_t chip_rev:8;
|
D | cvmx-npei-defs.h | 762 uint64_t chip_rev:8; member 764 uint64_t chip_rev:8; 788 uint64_t chip_rev:8; member 790 uint64_t chip_rev:8; 810 uint64_t chip_rev:8; member 812 uint64_t chip_rev:8;
|
D | cvmx-sli-defs.h | 356 uint64_t chip_rev:8; member 358 uint64_t chip_rev:8; 368 uint64_t chip_rev:8; member 370 uint64_t chip_rev:8;
|
/linux-4.4.14/drivers/net/ethernet/atheros/alx/ |
D | hw.c | 935 u8 chip_rev = alx_hw_revision(hw); in alx_configure_basic() local 942 if (chip_rev >= ALX_REV_B0) in alx_configure_basic()
|
/linux-4.4.14/drivers/video/fbdev/aty/ |
D | aty128fb.c | 1929 u8 chip_rev; in aty128_init() local 1933 chip_rev = (aty_ld_le32(CNFG_CNTL) >> 16) & 0x1F; in aty128_init() 1944 printk(KERN_INFO "aty128fb: %s [chip rev 0x%x] ", video_card, chip_rev); in aty128_init()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_kms.c | 432 dev_info.chip_rev = adev->rev_id; in amdgpu_info_ioctl()
|
/linux-4.4.14/drivers/tty/ |
D | cyclades.c | 1939 __u32 cy_clock = ((info->chip_rev >= CD1400_REV_J) ? 60000000 : in cyy_baud_calc() 2021 if (info->chip_rev >= CD1400_REV_J) { in cy_set_line_char() 2699 ret_val = info->chip_rev; in cy_ioctl() 3134 info->chip_rev = cyy_readb(info, CyGFRCR); in cy_init_card() 3136 if (info->chip_rev >= CD1400_REV_J) { in cy_init_card()
|
/linux-4.4.14/drivers/net/wireless/b43legacy/ |
D | main.c | 2073 dev->dev->bus->chip_rev == 3) in b43legacy_adjust_opmode() 3058 if (dev->dev->bus->chip_rev == 0) in b43legacy_phy_versioning() 3060 else if (dev->dev->bus->chip_rev == 1) in b43legacy_phy_versioning()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_hsi.h | 711 u8 chip_rev; member
|