/Linux-v6.6/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-v6.6/drivers/net/ethernet/amd/ |
D | lance.c | 252 unsigned char chip_version; /* See lance_chip_type. */ member 426 int ver = lp->chip_version; in do_lance_probe() 524 int chip_version = inw(ioaddr+LANCE_DATA); in lance_probe1() local 526 chip_version |= inw(ioaddr+LANCE_DATA) << 16; in lance_probe1() 528 printk(" LANCE chip version is %#x.\n", chip_version); in lance_probe1() 529 if ((chip_version & 0xfff) != 0x003) in lance_probe1() 531 chip_version = (chip_version >> 12) & 0xffff; in lance_probe1() 533 if (chip_table[lance_version].id_number == chip_version) in lance_probe1() 571 lp->chip_version = lance_version; in lance_probe1() 721 if (chip_table[lp->chip_version].flags & LANCE_ENABLE_AUTOSELECT) { in lance_probe1() [all …]
|
D | pcnet32.c | 301 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-v6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | mac.c | 32 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-v6.6/sound/pci/ |
D | cmipci.c | 454 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-v6.6/drivers/char/hw_random/ |
D | n2-drv.c | 310 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,
|
D | n2rng.h | 91 int chip_version; member
|
/Linux-v6.6/drivers/staging/rtl8712/ |
D | usb_halinit.c | 31 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()
|
D | usb_intf.c | 421 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()
|
D | os_intfs.c | 36 static int chip_version = RTL8712_2ndCUT; variable 92 module_param(chip_version, int, 0644); 120 registry_par->chip_version = (u8)chip_version; in loadparam()
|
D | rtl8712_hal.h | 61 unsigned char chip_version; /*the same value as register value*/ member
|
D | drv_types.h | 70 u8 chip_version; member
|
/Linux-v6.6/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() 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()
|
/Linux-v6.6/include/linux/ |
D | ti_wilink_st.h | 214 struct chip_version { struct 257 struct chip_version version;
|
/Linux-v6.6/drivers/power/supply/ |
D | bq25890_charger.c | 130 enum bq25890_chip_version chip_version; member 532 val->strval = bq25890_chip_name[bq->chip_version]; in bq25890_power_supply_get_property() 750 if (bq->chip_version != BQ25892) in bq25890_charger_external_power_changed() 1297 bq->chip_version = BQ25890; in bq25890_get_chip_version() 1304 bq->chip_version = BQ25896; in bq25890_get_chip_version() 1307 bq->chip_version = BQ25892; in bq25890_get_chip_version() 1313 bq->chip_version = BQ25892; in bq25890_get_chip_version() 1318 bq->chip_version = BQ25895; in bq25890_get_chip_version()
|
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb/ |
D | common.h | 191 unsigned char chip_version; member 295 return adapter->params.chip_version == version && in adapter_matches_type()
|
D | subr.c | 914 p->chip_version = bi->chip_term; in t1_get_board_rev() 915 p->is_asic = (p->chip_version != CHBT_TERM_FPGA); in t1_get_board_rev() 916 if (p->chip_version == CHBT_TERM_T1 || in t1_get_board_rev() 917 p->chip_version == CHBT_TERM_T2 || in t1_get_board_rev() 918 p->chip_version == CHBT_TERM_FPGA) { in t1_get_board_rev()
|
/Linux-v6.6/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-v6.6/drivers/media/usb/dvb-usb-v2/ |
D | af9035.h | 50 u8 chip_version; member
|
/Linux-v6.6/drivers/gpu/drm/nouveau/ |
D | nouveau_bios.c | 528 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() 2030 legacy->chip_version = bios->version.chip; in NVInitVBIOS()
|
D | nouveau_bios.h | 86 uint8_t chip_version; member
|
/Linux-v6.6/arch/sparc/kernel/ |
D | prom_irqtrans.c | 376 int chip_version; member 419 ((irq_data->chip_version <= 4) ? in schizo_irq_build() 447 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 | 461 pbm->chip_version = of_getintprop_default(dp, "version#", 0); in psycho_pbm_init_common() 472 pbm->chip_version, pbm->chip_revision); in psycho_pbm_init_common()
|
/Linux-v6.6/drivers/phy/rockchip/ |
D | phy-rockchip-inno-hdmi.c | 241 int chip_version; member 624 cfg->version & inno->chip_version) in inno_hdmi_phy_power_on() 1049 inno->chip_version = 1; in inno_hdmi_phy_rk3228_init() 1148 inno->chip_version = 1; in inno_hdmi_phy_rk3328_init() 1163 inno->chip_version = efuse_buf[0] + 1; in inno_hdmi_phy_rk3328_init()
|