/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A D | nv04.c | 112 powerctrl_1_shift(int chip_version, int reg) powerctrl_1_shift() argument 116 if (chip_version < 0x17 || chip_version == 0x1a || chip_version == 0x20) powerctrl_1_shift() 134 if (shift > 4 && (chip_version < 0x32 || chip_version == 0x35 || powerctrl_1_shift() 135 chip_version == 0x36 || chip_version >= 0x40)) powerctrl_1_shift() 145 int chip_version = nvkm_bios(devinit)->version.chip; setPLL_single() local 150 int shift_powerctrl_1 = powerctrl_1_shift(chip_version, reg); setPLL_single() 169 if ((chip_version < 0x17 || chip_version == 0x1a) && setPLL_single() 170 chip_version != 0x11) setPLL_single() 199 int chip_version = nvkm_bios(devinit)->version.chip; setPLL_double_highregs() local 200 bool nv3035 = chip_version == 0x30 || chip_version == 0x35; setPLL_double_highregs() 209 int shift_powerctrl_1 = powerctrl_1_shift(chip_version, reg1); setPLL_double_highregs() 217 if (chip_version > 0x40 && reg1 >= 0x680508) { /* !nv40 */ setPLL_double_highregs() 226 if (chip_version > 0x70) setPLL_double_highregs() 240 if (chip_version >= 0x40) { setPLL_double_highregs() 268 if (chip_version >= 0x40) setPLL_double_highregs()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192cu/ |
H A D | mac.c | 59 enum version_8192c chip_version = VERSION_UNKNOWN; rtl92c_read_chip_version() local 65 chip_version = (value32 & TYPE_ID) ? VERSION_TEST_CHIP_92C : rtl92c_read_chip_version() 69 chip_version = NORMAL_CHIP; rtl92c_read_chip_version() 70 chip_version |= ((value32 & TYPE_ID) ? CHIP_92C : 0); rtl92c_read_chip_version() 71 chip_version |= ((value32 & VENDOR_ID) ? CHIP_VENDOR_UMC : 0); rtl92c_read_chip_version() 73 chip_version |= ((value32 & BT_FUNC) ? CHIP_8723 : 0); rtl92c_read_chip_version() 74 if (IS_VENDOR_UMC(chip_version)) rtl92c_read_chip_version() 75 chip_version |= ((value32 & CHIP_VER_RTL_MASK) ? rtl92c_read_chip_version() 77 if (IS_92C_SERIAL(chip_version)) { rtl92c_read_chip_version() 79 chip_version |= ((CHIP_BONDING_IDENTIFIER(value32) == rtl92c_read_chip_version() 81 } else if (IS_8723_SERIES(chip_version)) { rtl92c_read_chip_version() 83 chip_version |= ((value32 & RF_RL_ID) ? rtl92c_read_chip_version() 87 rtlhal->version = (enum version_8192c)chip_version; rtl92c_read_chip_version() 88 pr_info("Chip version 0x%x\n", chip_version); rtl92c_read_chip_version()
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
H A D | lance.c | 251 unsigned char chip_version; /* See lance_chip_type. */ member in struct:lance_private 423 int ver = lp->chip_version; do_lance_probe() 521 int chip_version = inw(ioaddr+LANCE_DATA); lance_probe1() local 523 chip_version |= inw(ioaddr+LANCE_DATA) << 16; lance_probe1() 525 printk(" LANCE chip version is %#x.\n", chip_version); lance_probe1() 526 if ((chip_version & 0xfff) != 0x003) lance_probe1() 528 chip_version = (chip_version >> 12) & 0xffff; lance_probe1() 530 if (chip_table[lance_version].id_number == chip_version) lance_probe1() 567 lp->chip_version = lance_version; lance_probe1() 717 if (chip_table[lp->chip_version].flags & LANCE_ENABLE_AUTOSELECT) { lance_probe1() 776 if (chip_table[lp->chip_version].flags & LANCE_MUST_UNRESET) lance_open() 779 if (chip_table[lp->chip_version].flags & LANCE_ENABLE_AUTOSELECT) { lance_open() 908 (chip_table[lp->chip_version].flags & LANCE_MUST_REINIT_RING)) { lance_restart() 977 if (chip_table[lp->chip_version].flags & LANCE_MUST_PAD) { lance_start_xmit() 1233 if (chip_table[lp->chip_version].flags & LANCE_HAS_MISSED_FRAME) { lance_close() 1264 if (chip_table[lp->chip_version].flags & LANCE_HAS_MISSED_FRAME) { lance_get_stats()
|
H A D | pcnet32.c | 302 unsigned short chip_version; /* which variant this is */ member in struct:pcnet32_private 733 } else if (lp->chip_version >= PCNET32_79C970A) { pcnet32_get_link() 1083 if (lp->chip_version < PCNET32_79C970A) pcnet32_suspend() 1547 int chip_version; pcnet32_probe1() local 1572 chip_version = pcnet32_probe1() 1575 pr_info(" PCnet chip version is %#x\n", chip_version); pcnet32_probe1() 1576 if ((chip_version & 0xfff) != 0x003) { pcnet32_probe1() 1584 chip_version = (chip_version >> 12) & 0xffff; pcnet32_probe1() 1586 switch (chip_version) { pcnet32_probe1() 1650 chip_version); pcnet32_probe1() 1744 if (((chip_version + 1) & 0xfffe) == 0x2624) { pcnet32_probe1() 1811 lp->chip_version = chip_version; pcnet32_probe1() 1901 if (i == 31 && ((chip_version + 1) & 0xfffe) == 0x2624) pcnet32_probe1() 2084 if (lp->chip_version == 0x2627) pcnet32_open() 2222 if (lp->chip_version >= PCNET32_79C970A) { pcnet32_open()
|
H A D | amd8111e.c | 1408 "%u", chip_version); amd8111e_get_drvinfo() 1915 chip_version = (readl(lp->mmio + CHIPID) & 0xf0000000)>>28; amd8111e_probe_one() 1918 chip_version, dev->dev_addr); amd8111e_probe_one()
|
H A D | amd8111e.h | 810 static unsigned int chip_version; variable
|
/linux-4.1.27/drivers/staging/rtl8712/ |
H A D | usb_halinit.c | 43 if (pregistrypriv->chip_version == RTL8712_FPGA) { r8712_usb_hal_bus_init() 111 } else if (pregistrypriv->chip_version == RTL8712_1stCUT) { r8712_usb_hal_bus_init() 176 } else if (pregistrypriv->chip_version == RTL8712_2ndCUT || r8712_usb_hal_bus_init() 177 pregistrypriv->chip_version == RTL8712_3rdCUT) { r8712_usb_hal_bus_init()
|
H A D | os_intfs.c | 48 static int chip_version = RTL8712_2ndCUT; variable 104 module_param(chip_version, int, 0644); 134 registry_par->chip_version = (u8)chip_version; loadparam()
|
H A D | usb_intf.c | 442 padapter->registrypriv.chip_version = r871xu_drv_init() 445 padapter->registrypriv.chip_version = r871xu_drv_init() 447 switch (padapter->registrypriv.chip_version) { r871xu_drv_init() 453 padapter->registrypriv.chip_version = r871xu_drv_init()
|
H A D | drv_types.h | 83 u8 chip_version; member in struct:registry_priv
|
H A D | rtl8712_hal.h | 72 unsigned char chip_version; /*the same value as register value*/ member in struct:fw_priv
|
/linux-4.1.27/sound/pci/ |
H A D | cmipci.c | 472 int chip_version; member in struct:cmipci 871 if (!rec->is_dac && cm->chip_version) { snd_cmipci_pcm_prepare() 1220 if (cm->chip_version == 33) { setup_ac3() 1673 if (cm->chip_version == 68) { snd_cmipci_playback_open() 1677 } else if (cm->chip_version == 55) { snd_cmipci_playback_open() 1699 if (cm->chip_version == 68) { // 8768 only supports 44k/48k recording snd_cmipci_capture_open() 1702 } else if (cm->chip_version == 55) { snd_cmipci_capture_open() 1736 if (cm->chip_version == 68) { snd_cmipci_playback2_open() 1740 } else if (cm->chip_version == 55) { snd_cmipci_playback2_open() 1762 if (cm->chip_version >= 37) { snd_cmipci_playback_spdif_open() 1788 if (cm->can_96k && !(cm->chip_version == 68)) { snd_cmipci_capture_spdif_open() 2521 cm->chip_version >= 39 ? 3 : 2, texts); snd_cmipci_line_in_mode_info() 2527 if (cm->chip_version >= 39) { get_line_in_mode() 2686 if (cm->chip_version == 68) { // 8768 has no PCM volume snd_cmipci_mixer_new() 2726 if (cm->chip_version <= 37) { snd_cmipci_mixer_new() 2735 if (cm->chip_version >= 39) { snd_cmipci_mixer_new() 2749 if (cm->chip_version < 39) { snd_cmipci_mixer_new() 2831 cm->chip_version = 33; query_chip() 2838 cm->chip_version = 37; query_chip() 2842 cm->chip_version = 39; query_chip() 2849 cm->chip_version = 39; query_chip() 2855 cm->chip_version = 68; query_chip() 2859 cm->chip_version = 55; query_chip() 2972 if (cm->chip_version >= 39) { snd_cmipci_create_fm() 3076 cm->chip_version = 0; snd_cmipci_create() 3115 if (cm->chip_version) { snd_cmipci_create() 3133 if (cm->chip_version < 68) { snd_cmipci_create() 3161 if (cm->chip_version < 68) snd_cmipci_create() 3162 sprintf(modelstr, " (model %d)", cm->chip_version); snd_cmipci_create() 3173 if (cm->chip_version >= 39) { snd_cmipci_create() 3206 if (cm->chip_version < 68) { snd_cmipci_create()
|
/linux-4.1.27/drivers/media/i2c/ |
H A D | ths8200.c | 42 uint8_t chip_version; member in struct:ths8200_state 129 v4l2_info(sd, "version: %u\n", state->chip_version); ths8200_log_status() 457 state->chip_version = ths8200_read(sd, THS8200_VERSION); ths8200_probe() 458 v4l2_dbg(1, debug, sd, "chip version 0x%x\n", state->chip_version); ths8200_probe()
|
H A D | mt9m032.c | 719 int chip_version; mt9m032_probe() local 747 chip_version = mt9m032_read(client, MT9M032_CHIP_VERSION); mt9m032_probe() 748 if (chip_version != MT9M032_CHIP_VERSION_VALUE) { mt9m032_probe() 750 "0x%04x\n", chip_version); mt9m032_probe()
|
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/ |
H A D | af9035.h | 62 u8 chip_version; member in struct:state
|
H A D | af9035.c | 488 state->chip_version = rbuf[0]; af9035_identify_state() 496 "%s: prechip_version=%02x chip_version=%02x chip_type=%04x\n", af9035_identify_state() 498 state->chip_version, state->chip_type); af9035_identify_state() 501 if (state->chip_version == 0x02) af9035_identify_state() 792 if (state->chip_version == 0x02) { af9035_read_config() 860 if (state->chip_version == 0x02) { af9035_read_config()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/ |
H A D | common.h | 196 unsigned char chip_version; member in struct:adapter_params 301 return adapter->params.chip_version == version && adapter_matches_type()
|
H A D | subr.c | 897 p->chip_version = bi->chip_term; t1_get_board_rev() 898 p->is_asic = (p->chip_version != CHBT_TERM_FPGA); t1_get_board_rev() 899 if (p->chip_version == CHBT_TERM_T1 || t1_get_board_rev() 900 p->chip_version == CHBT_TERM_T2 || t1_get_board_rev() 901 p->chip_version == CHBT_TERM_FPGA) { t1_get_board_rev()
|
H A D | cxgb2.c | 774 (PCI_VENDOR_ID_CHELSIO | ((ap)->params.chip_version << 16))
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | pllnv04.c | 139 int chip_version = nvkm_bios(subdev)->version.chip; getMNP_double() local 191 if (chip_version < 0x60) getMNP_double()
|
/linux-4.1.27/drivers/media/i2c/soc_camera/ |
H A D | mt9v022.c | 164 u16 chip_version; member in struct:mt9v022 250 if (is_mt9v022_rev3(mt9v022->chip_version) || mt9v022_s_stream() 251 is_mt9v024(mt9v022->chip_version)) { mt9v022_s_stream() 262 if (is_mt9v022_rev3(mt9v022->chip_version) || mt9v022_s_stream() 263 is_mt9v024(mt9v022->chip_version)) { mt9v022_s_stream() 324 if (is_mt9v024(mt9v022->chip_version)) { mt9v022_s_crop() 670 mt9v022->chip_version = data; mt9v022_video_probe()
|
/linux-4.1.27/drivers/staging/rtl8723au/include/ |
H A D | drv_types.h | 60 u8 chip_version; member in struct:registry_priv
|
/linux-4.1.27/drivers/staging/rtl8188eu/include/ |
H A D | drv_types.h | 61 u8 chip_version; member in struct:registry_priv
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | pci_impl.h | 87 int chip_version; member in struct:pci_pbm_info
|
H A D | psycho_common.c | 458 pbm->chip_version = of_getintprop_default(dp, "version#", 0); psycho_pbm_init_common() 469 pbm->chip_version, pbm->chip_revision); psycho_pbm_init_common()
|
H A D | prom_irqtrans.c | 374 int chip_version; member in struct:schizo_irq_data 417 ((irq_data->chip_version <= 4) ? schizo_irq_build() 445 irq_data->chip_version = of_getintprop_default(dp, "version#", 0); __schizo_irq_trans_init()
|
H A D | pci_schizo.c | 1268 pbm->chip_version >= 0x2) schizo_pbm_hw_init() 1277 pbm->chip_version <= 0x1) schizo_pbm_hw_init() 1360 pbm->chip_version = of_getintprop_default(dp, "version#", 0); schizo_pbm_init() 1373 pbm->chip_version, pbm->chip_revision); schizo_pbm_init()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bios.h | 88 uint8_t chip_version; member in struct:nvbios
|
H A D | nouveau_bios.c | 526 int ret, chip_version = bios->chip_version; nouveau_bios_parse_lvds_table() local 542 if (chip_version < 0x25) { nouveau_bios_parse_lvds_table() 553 } else if (chip_version < 0x30) { nouveau_bios_parse_lvds_table() 617 if (pxclk && (chip_version < 0x25 || chip_version > 0x28)) nouveau_bios_parse_lvds_table() 639 int cv = bios->chip_version; run_tmds_table() 2022 legacy->chip_version = bios->version.chip; NVInitVBIOS()
|
/linux-4.1.27/include/linux/ |
H A D | ti_wilink_st.h | 225 * struct chip_version - save the chip version 227 struct chip_version { struct 270 struct chip_version version; 280 * ldisc installed, read chip_version, download relevant fw
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192se/ |
H A D | fw.h | 87 u8 chip_version; member in struct:fw_priv
|
/linux-4.1.27/drivers/net/wireless/ath/wcn36xx/ |
H A D | wcn36xx.h | 196 u32 chip_version; member in struct:wcn36xx
|
H A D | main.c | 228 wcn->chip_version = WCN36XX_CHIP_3680; wcn36xx_detect_chip_version() 231 wcn->chip_version = WCN36XX_CHIP_3660; wcn36xx_detect_chip_version()
|
H A D | dxe.c | 49 if (wcn->chip_version == WCN36XX_CHIP_3680) \
|
/linux-4.1.27/drivers/gpu/drm/i2c/ |
H A D | ch7006_priv.h | 98 int chip_version; member in struct:ch7006_priv
|
H A D | ch7006_drv.c | 467 priv->chip_version = ch7006_read(client, CH7006_VERSION_ID); ch7006_encoder_init()
|
H A D | ch7006_mode.c | 319 if (priv->chip_version >= 0x20) ch7006_setup_power_state()
|
/linux-4.1.27/include/linux/mfd/ |
H A D | 88pm860x.h | 395 unsigned char chip_version; member in struct:pm860x_chip
|
/linux-4.1.27/drivers/scsi/ |
H A D | advansys.c | 528 uchar chip_version; member in struct:asc_dvc_cfg 1806 uchar chip_version; /* chip version */ member in struct:adv_dvc_cfg 2448 "chip_version %d,\n", h->chip_scsi_id, h->isa_dma_speed, asc_prt_asc_dvc_cfg() 2449 h->isa_dma_channel, h->chip_version); asc_prt_asc_dvc_cfg() 2499 printk(" chip_version 0x%x, mcode_date 0x%x\n", asc_prt_adv_dvc_cfg() 2500 h->chip_version, h->mcode_date); asc_prt_adv_dvc_cfg() 3387 seq_printf(m, " chip_version %u, mcode_date 0x%x, " asc_prt_asc_board_info() 3389 c->chip_version, c->mcode_date, c->mcode_version, asc_prt_asc_board_info() 3531 seq_printf(m, " chip_version %u, mcode_date 0x%x, " asc_prt_adv_board_info() 3532 "mcode_version 0x%x\n", c->chip_version, asc_prt_adv_board_info() 9191 uchar chip_version; AscInitAscDvcVar() local 9229 chip_version = AscGetChipVersion(iop_base, asc_dvc->bus_type); AscInitAscDvcVar() 9230 asc_dvc->cfg->chip_version = chip_version; AscInitAscDvcVar() 9234 (chip_version >= ASC_CHIP_VER_PCI_ULTRA_3150)) { AscInitAscDvcVar() 9238 if (chip_version == ASC_CHIP_VER_PCI_ULTRA_3150) { AscInitAscDvcVar() 9241 } else if (chip_version >= ASC_CHIP_VER_PCI_ULTRA_3050) { AscInitAscDvcVar() 9255 if (chip_version >= ASC_CHIP_MIN_VER_ISA_PNP) { AscInitAscDvcVar() 9581 if (asc_dvc->cfg->chip_version == 3) { AscInitFromEEP() 11169 asc_dvc->cfg->chip_version = AdvInitGetConfig()
|
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/ |
H A D | os_intfs.c | 180 registry_par->chip_version = (u8)rtw_chip_version; loadparam()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 636 unsigned int chip_version = CHELSIO_CHIP_VERSION(adapter->params.chip); t4_get_regs_len() local 638 switch (chip_version) { t4_get_regs_len() 647 "Unsupported chip version %d\n", chip_version); t4_get_regs_len() 1315 unsigned int chip_version = CHELSIO_CHIP_VERSION(adap->params.chip); t4_get_regs() local 1320 switch (chip_version) { t4_get_regs() 1333 "Unsupported chip version %d\n", chip_version); t4_get_regs()
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
H A D | os_intfs.c | 519 registry_par->chip_version = (u8)rtw_chip_version; loadparam()
|