/linux-5.19.10/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-5.19.10/drivers/net/ethernet/amd/ |
D | lance.c | 251 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 …]
|
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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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 | 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 | 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 | 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-5.19.10/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()
|
D | mt9m032.c | 710 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/ |
D | ti_wilink_st.h | 214 struct chip_version { struct 257 struct chip_version version;
|
/linux-5.19.10/drivers/power/supply/ |
D | bq25890_charger.c | 123 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/ |
D | common.h | 200 unsigned char chip_version; member 304 return adapter->params.chip_version == version && in adapter_matches_type()
|
D | subr.c | 923 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/ |
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-5.19.10/drivers/media/usb/dvb-usb-v2/ |
D | af9035.h | 50 u8 chip_version; member
|
/linux-5.19.10/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() 2028 legacy->chip_version = bios->version.chip; in NVInitVBIOS()
|
D | nouveau_bios.h | 86 uint8_t chip_version; member
|
/linux-5.19.10/arch/sparc/kernel/ |
D | prom_irqtrans.c | 375 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()
|
D | pci_impl.h | 88 int chip_version; member
|
/linux-5.19.10/drivers/phy/rockchip/ |
D | phy-rockchip-inno-hdmi.c | 242 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()
|