/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | nv04.c | 113 powerctrl_1_shift(int chip_version, int reg) in powerctrl_1_shift() argument 117 if (chip_version < 0x17 || chip_version == 0x1a || chip_version == 0x20) in powerctrl_1_shift() 135 if (shift > 4 && (chip_version < 0x32 || chip_version == 0x35 || in powerctrl_1_shift() 136 chip_version == 0x36 || chip_version >= 0x40)) in powerctrl_1_shift() 147 int chip_version = device->bios->version.chip; in setPLL_single() local 152 int shift_powerctrl_1 = powerctrl_1_shift(chip_version, reg); in setPLL_single() 171 if ((chip_version < 0x17 || chip_version == 0x1a) && in setPLL_single() 172 chip_version != 0x11) in setPLL_single() 202 int chip_version = device->bios->version.chip; in setPLL_double_highregs() local 203 bool nv3035 = chip_version == 0x30 || chip_version == 0x35; in setPLL_double_highregs() [all …]
|
/linux-4.4.14/drivers/net/ethernet/amd/ |
D | lance.c | 251 unsigned char chip_version; /* See lance_chip_type. */ member 423 int ver = lp->chip_version; in do_lance_probe() 521 int chip_version = inw(ioaddr+LANCE_DATA); in lance_probe1() local 523 chip_version |= inw(ioaddr+LANCE_DATA) << 16; in lance_probe1() 525 printk(" LANCE chip version is %#x.\n", chip_version); in lance_probe1() 526 if ((chip_version & 0xfff) != 0x003) in lance_probe1() 528 chip_version = (chip_version >> 12) & 0xffff; in lance_probe1() 530 if (chip_table[lance_version].id_number == chip_version) in lance_probe1() 567 lp->chip_version = lance_version; in lance_probe1() 717 if (chip_table[lp->chip_version].flags & LANCE_ENABLE_AUTOSELECT) { in lance_probe1() [all …]
|
D | pcnet32.c | 302 unsigned short chip_version; /* which variant this is */ member 733 } else if (lp->chip_version >= PCNET32_79C970A) { in pcnet32_get_link() 1083 if (lp->chip_version < PCNET32_79C970A) in pcnet32_suspend() 1548 int chip_version; in pcnet32_probe1() local 1573 chip_version = in pcnet32_probe1() 1576 pr_info(" PCnet chip version is %#x\n", chip_version); in pcnet32_probe1() 1577 if ((chip_version & 0xfff) != 0x003) { in pcnet32_probe1() 1585 chip_version = (chip_version >> 12) & 0xffff; in pcnet32_probe1() 1587 switch (chip_version) { in pcnet32_probe1() 1651 chip_version); in pcnet32_probe1() [all …]
|
D | amd8111e.h | 810 static unsigned int chip_version; variable
|
D | amd8111e.c | 1408 "%u", chip_version); in amd8111e_get_drvinfo() 1915 chip_version = (readl(lp->mmio + CHIPID) & 0xf0000000)>>28; in amd8111e_probe_one() 1918 chip_version, dev->dev_addr); in amd8111e_probe_one()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | mac.c | 59 enum version_8192c chip_version = VERSION_UNKNOWN; in rtl92c_read_chip_version() local 65 chip_version = (value32 & TYPE_ID) ? VERSION_TEST_CHIP_92C : in rtl92c_read_chip_version() 69 chip_version = NORMAL_CHIP; in rtl92c_read_chip_version() 70 chip_version |= ((value32 & TYPE_ID) ? CHIP_92C : 0); in rtl92c_read_chip_version() 71 chip_version |= ((value32 & VENDOR_ID) ? CHIP_VENDOR_UMC : 0); in rtl92c_read_chip_version() 72 if (IS_VENDOR_UMC(chip_version)) in rtl92c_read_chip_version() 73 chip_version |= ((value32 & CHIP_VER_RTL_MASK) ? in rtl92c_read_chip_version() 75 if (IS_92C_SERIAL(chip_version)) { in rtl92c_read_chip_version() 77 chip_version |= ((CHIP_BONDING_IDENTIFIER(value32) == in rtl92c_read_chip_version() 81 rtlhal->version = (enum version_8192c)chip_version; in rtl92c_read_chip_version() [all …]
|
/linux-4.4.14/sound/pci/ |
D | cmipci.c | 472 int chip_version; member 871 if (!rec->is_dac && cm->chip_version) { in snd_cmipci_pcm_prepare() 1220 if (cm->chip_version == 33) { in setup_ac3() 1673 if (cm->chip_version == 68) { in snd_cmipci_playback_open() 1677 } else if (cm->chip_version == 55) { in snd_cmipci_playback_open() 1699 if (cm->chip_version == 68) { // 8768 only supports 44k/48k recording in snd_cmipci_capture_open() 1702 } else if (cm->chip_version == 55) { in snd_cmipci_capture_open() 1736 if (cm->chip_version == 68) { in snd_cmipci_playback2_open() 1740 } else if (cm->chip_version == 55) { in snd_cmipci_playback2_open() 1762 if (cm->chip_version >= 37) { in snd_cmipci_playback_spdif_open() [all …]
|
/linux-4.4.14/drivers/staging/rtl8712/ |
D | usb_halinit.c | 43 if (pregistrypriv->chip_version == RTL8712_FPGA) { in r8712_usb_hal_bus_init() 111 } else if (pregistrypriv->chip_version == RTL8712_1stCUT) { in r8712_usb_hal_bus_init() 176 } else if (pregistrypriv->chip_version == RTL8712_2ndCUT || in r8712_usb_hal_bus_init() 177 pregistrypriv->chip_version == RTL8712_3rdCUT) { in r8712_usb_hal_bus_init()
|
D | os_intfs.c | 48 static int chip_version = RTL8712_2ndCUT; variable 104 module_param(chip_version, int, 0644); 132 registry_par->chip_version = (u8)chip_version; in loadparam()
|
D | usb_intf.c | 441 padapter->registrypriv.chip_version = in r871xu_drv_init() 444 padapter->registrypriv.chip_version = in r871xu_drv_init() 446 switch (padapter->registrypriv.chip_version) { in r871xu_drv_init() 452 padapter->registrypriv.chip_version = in r871xu_drv_init()
|
D | rtl8712_hal.h | 73 unsigned char chip_version; /*the same value as register value*/ member
|
D | drv_types.h | 84 u8 chip_version; member
|
/linux-4.4.14/drivers/media/i2c/ |
D | ths8200.c | 42 uint8_t chip_version; member 129 v4l2_info(sd, "version: %u\n", state->chip_version); in ths8200_log_status() 457 state->chip_version = ths8200_read(sd, THS8200_VERSION); in ths8200_probe() 458 v4l2_dbg(1, debug, sd, "chip version 0x%x\n", state->chip_version); in ths8200_probe()
|
D | mt9m032.c | 719 int chip_version; in mt9m032_probe() local 747 chip_version = mt9m032_read(client, MT9M032_CHIP_VERSION); in mt9m032_probe() 748 if (chip_version != MT9M032_CHIP_VERSION_VALUE) { in mt9m032_probe() 750 "0x%04x\n", chip_version); in mt9m032_probe()
|
/linux-4.4.14/include/linux/ |
D | ti_wilink_st.h | 227 struct chip_version { struct 270 struct chip_version version;
|
/linux-4.4.14/drivers/media/i2c/soc_camera/ |
D | mt9v022.c | 164 u16 chip_version; member 250 if (is_mt9v022_rev3(mt9v022->chip_version) || in mt9v022_s_stream() 251 is_mt9v024(mt9v022->chip_version)) { in mt9v022_s_stream() 262 if (is_mt9v022_rev3(mt9v022->chip_version) || in mt9v022_s_stream() 263 is_mt9v024(mt9v022->chip_version)) { in mt9v022_s_stream() 324 if (is_mt9v024(mt9v022->chip_version)) { in mt9v022_s_crop() 683 mt9v022->chip_version = data; in mt9v022_video_probe()
|
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/ |
D | af9035.h | 62 u8 chip_version; member
|
D | af9035.c | 488 state->chip_version = rbuf[0]; in af9035_identify_state() 498 state->chip_version, state->chip_type); in af9035_identify_state() 501 if (state->chip_version == 0x02) in af9035_identify_state() 792 if (state->chip_version == 0x02) { in af9035_read_config() 860 if (state->chip_version == 0x02) { in af9035_read_config()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/ |
D | common.h | 196 unsigned char chip_version; member 301 return adapter->params.chip_version == version && in adapter_matches_type()
|
D | subr.c | 897 p->chip_version = bi->chip_term; in t1_get_board_rev() 898 p->is_asic = (p->chip_version != CHBT_TERM_FPGA); in t1_get_board_rev() 899 if (p->chip_version == CHBT_TERM_T1 || in t1_get_board_rev() 900 p->chip_version == CHBT_TERM_T2 || in t1_get_board_rev() 901 p->chip_version == CHBT_TERM_FPGA) { in t1_get_board_rev()
|
D | cxgb2.c | 774 (PCI_VENDOR_ID_CHELSIO | ((ap)->params.chip_version << 16))
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | pllnv04.c | 139 int chip_version = subdev->device->bios->version.chip; in getMNP_double() local 191 if (chip_version < 0x60) in getMNP_double()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_bios.c | 527 int ret, chip_version = bios->chip_version; in nouveau_bios_parse_lvds_table() local 543 if (chip_version < 0x25) { in nouveau_bios_parse_lvds_table() 554 } else if (chip_version < 0x30) { in nouveau_bios_parse_lvds_table() 618 if (pxclk && (chip_version < 0x25 || chip_version > 0x28)) in nouveau_bios_parse_lvds_table() 640 int cv = bios->chip_version; in run_tmds_table() 2022 legacy->chip_version = bios->version.chip; in NVInitVBIOS()
|
D | nouveau_bios.h | 88 uint8_t chip_version; member
|
/linux-4.4.14/arch/sparc/kernel/ |
D | prom_irqtrans.c | 374 int chip_version; member 417 ((irq_data->chip_version <= 4) ? in schizo_irq_build() 445 irq_data->chip_version = of_getintprop_default(dp, "version#", 0); in __schizo_irq_trans_init()
|
D | pci_impl.h | 87 int chip_version; member
|
D | psycho_common.c | 458 pbm->chip_version = of_getintprop_default(dp, "version#", 0); in psycho_pbm_init_common() 469 pbm->chip_version, pbm->chip_revision); in psycho_pbm_init_common()
|
D | pci_schizo.c | 1268 pbm->chip_version >= 0x2) in schizo_pbm_hw_init() 1277 pbm->chip_version <= 0x1) in schizo_pbm_hw_init() 1360 pbm->chip_version = of_getintprop_default(dp, "version#", 0); in schizo_pbm_init() 1373 pbm->chip_version, pbm->chip_revision); in schizo_pbm_init()
|
/linux-4.4.14/drivers/staging/rtl8723au/include/ |
D | drv_types.h | 60 u8 chip_version; member
|
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/ |
D | wcn36xx.h | 196 u32 chip_version; member
|
D | main.c | 228 wcn->chip_version = WCN36XX_CHIP_3680; in wcn36xx_detect_chip_version() 231 wcn->chip_version = WCN36XX_CHIP_3660; in wcn36xx_detect_chip_version()
|
D | dxe.c | 49 if (wcn->chip_version == WCN36XX_CHIP_3680) \
|
/linux-4.4.14/drivers/staging/rtl8188eu/include/ |
D | drv_types.h | 61 u8 chip_version; member
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | fw.h | 87 u8 chip_version; member
|
/linux-4.4.14/drivers/gpu/drm/i2c/ |
D | ch7006_priv.h | 98 int chip_version; member
|
D | ch7006_drv.c | 467 priv->chip_version = ch7006_read(client, CH7006_VERSION_ID); in ch7006_encoder_init()
|
D | ch7006_mode.c | 319 if (priv->chip_version >= 0x20) in ch7006_setup_power_state()
|
/linux-4.4.14/include/linux/mfd/ |
D | 88pm860x.h | 395 unsigned char chip_version; member
|
/linux-4.4.14/drivers/scsi/ |
D | advansys.c | 473 uchar chip_version; member 1715 uchar chip_version; /* chip version */ member 2355 h->isa_dma_channel, h->chip_version); in asc_prt_asc_dvc_cfg() 2405 h->chip_version, h->mcode_date); in asc_prt_adv_dvc_cfg() 3236 c->chip_version, c->mcode_date, c->mcode_version, in asc_prt_asc_board_info() 3379 "mcode_version 0x%x\n", c->chip_version, in asc_prt_adv_board_info() 8763 uchar chip_version; in AscInitAscDvcVar() local 8800 chip_version = AscGetChipVersion(iop_base, asc_dvc->bus_type); in AscInitAscDvcVar() 8801 asc_dvc->cfg->chip_version = chip_version; in AscInitAscDvcVar() 8805 (chip_version >= ASC_CHIP_VER_PCI_ULTRA_3150)) { in AscInitAscDvcVar() [all …]
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 672 unsigned int chip_version = CHELSIO_CHIP_VERSION(adapter->params.chip); in t4_get_regs_len() local 674 switch (chip_version) { in t4_get_regs_len() 684 "Unsupported chip version %d\n", chip_version); in t4_get_regs_len() 2507 unsigned int chip_version = CHELSIO_CHIP_VERSION(adap->params.chip); in t4_get_regs() local 2512 switch (chip_version) { in t4_get_regs() 2530 "Unsupported chip version %d\n", chip_version); in t4_get_regs() 2986 unsigned int chip_version = CHELSIO_CHIP_VERSION(adap->params.chip); in t4_check_fw_version() local 3000 switch (chip_version) { in t4_check_fw_version()
|
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/ |
D | os_intfs.c | 180 registry_par->chip_version = (u8)rtw_chip_version; in loadparam()
|
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/ |
D | os_intfs.c | 546 registry_par->chip_version = (u8)rtw_chip_version; in loadparam()
|