Home
last modified time | relevance | path

Searched refs:chip_version (Results 1 – 25 of 46) sorted by relevance

12

/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dnv04.c113 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-5.19.10/drivers/net/ethernet/amd/
Dlance.c251 unsigned char chip_version; /* See lance_chip_type. */ member
425 int ver = lp->chip_version; in do_lance_probe()
523 int chip_version = inw(ioaddr+LANCE_DATA); in lance_probe1() local
525 chip_version |= inw(ioaddr+LANCE_DATA) << 16; in lance_probe1()
527 printk(" LANCE chip version is %#x.\n", chip_version); in lance_probe1()
528 if ((chip_version & 0xfff) != 0x003) in lance_probe1()
530 chip_version = (chip_version >> 12) & 0xffff; in lance_probe1()
532 if (chip_table[lance_version].id_number == chip_version) in lance_probe1()
570 lp->chip_version = lance_version; in lance_probe1()
720 if (chip_table[lp->chip_version].flags & LANCE_ENABLE_AUTOSELECT) { in lance_probe1()
[all …]
Dpcnet32.c301 unsigned short chip_version; /* which variant this is */ member
685 if (lp->chip_version < PCNET32_79C970A) in pcnet32_suspend()
727 } else if (lp->chip_version == PCNET32_79C970A) { in pcnet32_get_link_ksettings()
760 } else if (lp->chip_version == PCNET32_79C970A) { in pcnet32_set_link_ksettings()
818 } else if (lp->chip_version == PCNET32_79C970A) { in pcnet32_get_link()
825 } else if (lp->chip_version > PCNET32_79C970A) { in pcnet32_get_link()
1597 int chip_version; in pcnet32_probe1() local
1623 chip_version = in pcnet32_probe1()
1626 pr_info(" PCnet chip version is %#x\n", chip_version); in pcnet32_probe1()
1627 if ((chip_version & 0xfff) != 0x003) { in pcnet32_probe1()
[all …]
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.c32 enum version_8192c chip_version = VERSION_UNKNOWN; in rtl92c_read_chip_version() local
38 chip_version = (value32 & TYPE_ID) ? VERSION_TEST_CHIP_92C : in rtl92c_read_chip_version()
42 chip_version = NORMAL_CHIP; in rtl92c_read_chip_version()
43 chip_version |= ((value32 & TYPE_ID) ? CHIP_92C : 0); in rtl92c_read_chip_version()
44 chip_version |= ((value32 & VENDOR_ID) ? CHIP_VENDOR_UMC : 0); in rtl92c_read_chip_version()
45 if (IS_VENDOR_UMC(chip_version)) in rtl92c_read_chip_version()
46 chip_version |= ((value32 & CHIP_VER_RTL_MASK) ? in rtl92c_read_chip_version()
48 if (IS_92C_SERIAL(chip_version)) { in rtl92c_read_chip_version()
50 chip_version |= ((CHIP_BONDING_IDENTIFIER(value32) == in rtl92c_read_chip_version()
54 rtlhal->version = (enum version_8192c)chip_version; in rtl92c_read_chip_version()
[all …]
/linux-5.19.10/sound/pci/
Dcmipci.c454 int chip_version; member
842 if (!rec->is_dac && cm->chip_version) { in snd_cmipci_pcm_prepare()
1191 if (cm->chip_version == 33) { in setup_ac3()
1649 if (cm->chip_version == 68) { in snd_cmipci_playback_open()
1653 } else if (cm->chip_version == 55) { in snd_cmipci_playback_open()
1676 if (cm->chip_version == 68) { // 8768 only supports 44k/48k recording in snd_cmipci_capture_open()
1679 } else if (cm->chip_version == 55) { in snd_cmipci_capture_open()
1715 if (cm->chip_version == 68) { in snd_cmipci_playback2_open()
1719 } else if (cm->chip_version == 55) { in snd_cmipci_playback2_open()
1743 if (cm->chip_version >= 37) { in snd_cmipci_playback_spdif_open()
[all …]
/linux-5.19.10/drivers/char/hw_random/
Dn2-drv.c310 if (np->data->chip_version == 1) { in n2rng_control_default()
625 if (np->data->chip_version == 1) { in n2rng_control_configure_units()
804 .chip_version = 1,
810 .chip_version = 1,
816 .chip_version = 1,
822 .chip_version = 2,
828 .chip_version = 2,
Dn2rng.h91 int chip_version; member
/linux-5.19.10/drivers/staging/rtl8712/
Dusb_halinit.c31 if (registrypriv->chip_version == RTL8712_FPGA) { in r8712_usb_hal_bus_init()
99 } else if (registrypriv->chip_version == RTL8712_1stCUT) { in r8712_usb_hal_bus_init()
164 } else if (registrypriv->chip_version == RTL8712_2ndCUT || in r8712_usb_hal_bus_init()
165 registrypriv->chip_version == RTL8712_3rdCUT) { in r8712_usb_hal_bus_init()
Dos_intfs.c36 static int chip_version = RTL8712_2ndCUT; variable
92 module_param(chip_version, int, 0644);
120 registry_par->chip_version = (u8)chip_version; in loadparam()
Dusb_intf.c421 padapter->registrypriv.chip_version = in r871xu_drv_init()
424 padapter->registrypriv.chip_version = in r871xu_drv_init()
426 switch (padapter->registrypriv.chip_version) { in r871xu_drv_init()
432 padapter->registrypriv.chip_version = in r871xu_drv_init()
Drtl8712_hal.h61 unsigned char chip_version; /*the same value as register value*/ member
Ddrv_types.h70 u8 chip_version; member
/linux-5.19.10/drivers/media/i2c/
Dths8200.c42 uint8_t chip_version; member
129 v4l2_info(sd, "version: %u\n", state->chip_version); in ths8200_log_status()
456 state->chip_version = ths8200_read(sd, THS8200_VERSION); in ths8200_probe()
457 v4l2_dbg(1, debug, sd, "chip version 0x%x\n", state->chip_version); in ths8200_probe()
Dmt9m032.c710 int chip_version; in mt9m032_probe() local
738 chip_version = mt9m032_read(client, MT9M032_CHIP_VERSION); in mt9m032_probe()
739 if (chip_version != MT9M032_CHIP_VERSION_VALUE) { in mt9m032_probe()
741 "0x%04x\n", chip_version); in mt9m032_probe()
/linux-5.19.10/include/linux/
Dti_wilink_st.h214 struct chip_version { struct
257 struct chip_version version;
/linux-5.19.10/drivers/power/supply/
Dbq25890_charger.c123 enum bq25890_chip_version chip_version; member
512 val->strval = bq25890_chip_name[bq->chip_version]; in bq25890_power_supply_get_property()
623 if (bq->chip_version != BQ25892) in bq25890_charger_external_power_changed()
1042 bq->chip_version = BQ25890; in bq25890_get_chip_version()
1049 bq->chip_version = BQ25896; in bq25890_get_chip_version()
1052 bq->chip_version = BQ25892; in bq25890_get_chip_version()
1058 bq->chip_version = BQ25892; in bq25890_get_chip_version()
1063 bq->chip_version = BQ25895; in bq25890_get_chip_version()
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb/
Dcommon.h200 unsigned char chip_version; member
304 return adapter->params.chip_version == version && in adapter_matches_type()
Dsubr.c923 p->chip_version = bi->chip_term; in t1_get_board_rev()
924 p->is_asic = (p->chip_version != CHBT_TERM_FPGA); in t1_get_board_rev()
925 if (p->chip_version == CHBT_TERM_T1 || in t1_get_board_rev()
926 p->chip_version == CHBT_TERM_T2 || in t1_get_board_rev()
927 p->chip_version == CHBT_TERM_FPGA) { in t1_get_board_rev()
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dpllnv04.c139 int chip_version = subdev->device->bios->version.chip; in getMNP_double() local
191 if (chip_version < 0x60) in getMNP_double()
/linux-5.19.10/drivers/media/usb/dvb-usb-v2/
Daf9035.h50 u8 chip_version; member
/linux-5.19.10/drivers/gpu/drm/nouveau/
Dnouveau_bios.c528 int ret, chip_version = bios->chip_version; in nouveau_bios_parse_lvds_table() local
544 if (chip_version < 0x25) { in nouveau_bios_parse_lvds_table()
555 } else if (chip_version < 0x30) { in nouveau_bios_parse_lvds_table()
619 if (pxclk && (chip_version < 0x25 || chip_version > 0x28)) in nouveau_bios_parse_lvds_table()
641 int cv = bios->chip_version; in run_tmds_table()
2028 legacy->chip_version = bios->version.chip; in NVInitVBIOS()
Dnouveau_bios.h86 uint8_t chip_version; member
/linux-5.19.10/arch/sparc/kernel/
Dprom_irqtrans.c375 int chip_version; member
418 ((irq_data->chip_version <= 4) ? in schizo_irq_build()
446 irq_data->chip_version = of_getintprop_default(dp, "version#", 0); in __schizo_irq_trans_init()
Dpci_impl.h88 int chip_version; member
/linux-5.19.10/drivers/phy/rockchip/
Dphy-rockchip-inno-hdmi.c242 int chip_version; member
476 cfg->version & inno->chip_version) in inno_hdmi_phy_power_on()
890 inno->chip_version = 1; in inno_hdmi_phy_rk3228_init()
989 inno->chip_version = 1; in inno_hdmi_phy_rk3328_init()
1004 inno->chip_version = efuse_buf[0] + 1; in inno_hdmi_phy_rk3328_init()

12