/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | uvd_v2_2.c | 101 uint32_t chip_id, size; in uvd_v2_2_resume() local 142 chip_id = 0x01000005; in uvd_v2_2_resume() 145 chip_id = 0x01000006; in uvd_v2_2_resume() 148 chip_id = 0x01000007; in uvd_v2_2_resume() 152 chip_id = 0x01000008; in uvd_v2_2_resume() 155 chip_id = 0x01000009; in uvd_v2_2_resume() 158 chip_id = 0x0100000a; in uvd_v2_2_resume() 161 chip_id = 0x0100000b; in uvd_v2_2_resume() 165 chip_id = 0x0100000c; in uvd_v2_2_resume() 168 chip_id = 0x0100000e; in uvd_v2_2_resume() [all …]
|
D | vce_v1_0.c | 45 uint32_t chip_id; member 161 uint32_t chip_id; in vce_v1_0_load_fw() local 166 chip_id = 0x01000014; in vce_v1_0_load_fw() 169 chip_id = 0x01000015; in vce_v1_0_load_fw() 172 chip_id = 0x01000016; in vce_v1_0_load_fw() 175 chip_id = 0x01000017; in vce_v1_0_load_fw() 182 if (le32_to_cpu(sign->val[i].chip_id) == chip_id) in vce_v1_0_load_fw()
|
/linux-6.1.9/drivers/hwmon/pmbus/ |
D | ltc2978.c | 596 int chip_id; in ltc2978_get_id() local 598 chip_id = i2c_smbus_read_word_data(client, LTC2978_MFR_SPECIAL_ID); in ltc2978_get_id() 599 if (chip_id < 0) { in ltc2978_get_id() 624 chip_id &= LTC2978_ID_MASK; in ltc2978_get_id() 626 if (chip_id == LTC2972_ID) in ltc2978_get_id() 628 else if (chip_id == LTC2974_ID) in ltc2978_get_id() 630 else if (chip_id == LTC2975_ID) in ltc2978_get_id() 632 else if (chip_id == LTC2977_ID) in ltc2978_get_id() 634 else if (chip_id == LTC2978_ID_REV1 || chip_id == LTC2978_ID_REV2) in ltc2978_get_id() 636 else if (chip_id == LTC2979_ID_A || chip_id == LTC2979_ID_B) in ltc2978_get_id() [all …]
|
D | ltc3815.c | 183 int chip_id; in ltc3815_probe() local 189 chip_id = i2c_smbus_read_word_data(client, LTC3815_MFR_SPECIAL_ID); in ltc3815_probe() 190 if (chip_id < 0) in ltc3815_probe() 191 return chip_id; in ltc3815_probe() 192 if ((chip_id & LTC3815_ID_MASK) != LTC3815_ID) in ltc3815_probe()
|
D | max16601.c | 306 int ret, chip_id; in max16601_probe() local 313 chip_id = max16601_get_id(client); in max16601_probe() 314 if (chip_id < 0) in max16601_probe() 315 return chip_id; in max16601_probe() 318 if (chip_id != id->driver_data) in max16601_probe() 321 id->name, (int) id->driver_data, chip_id); in max16601_probe() 336 data->id = chip_id; in max16601_probe()
|
/linux-6.1.9/include/linux/mfd/abx500/ |
D | ab8500.h | 355 u8 chip_id; member 414 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab8500_1p0_or_earlier() 420 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT1P1)); in is_ab8500_1p1_or_earlier() 426 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT2P0)); in is_ab8500_2p0_or_earlier() 431 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT3P3)); in is_ab8500_3p3_or_earlier() 437 return (is_ab8500(ab) && (ab->chip_id == AB8500_CUT2P0)); in is_ab8500_2p0() 442 return (is_ab8505(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab8505_1p0_or_earlier() 447 return (is_ab8505(ab) && (ab->chip_id == AB8500_CUT2P0)); in is_ab8505_2p0() 452 return (is_ab9540(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab9540_1p0_or_earlier() 457 return (is_ab9540(ab) && (ab->chip_id == AB8500_CUT2P0)); in is_ab9540_2p0() [all …]
|
/linux-6.1.9/drivers/net/dsa/b53/ |
D | b53_priv.h | 116 u32 chip_id; member 160 return dev->chip_id == BCM5325_DEVICE_ID; in is5325() 166 return dev->chip_id == BCM5365_DEVICE_ID; in is5365() 174 return dev->chip_id == BCM5397_DEVICE_ID || in is5397_98() 175 dev->chip_id == BCM5398_DEVICE_ID; in is5397_98() 180 return dev->chip_id == BCM5395_DEVICE_ID || in is539x() 181 dev->chip_id == BCM5397_DEVICE_ID || in is539x() 182 dev->chip_id == BCM5398_DEVICE_ID; in is539x() 187 return dev->chip_id == BCM53115_DEVICE_ID || in is531x5() 188 dev->chip_id == BCM53125_DEVICE_ID || in is531x5() [all …]
|
/linux-6.1.9/drivers/crypto/nx/ |
D | nx-common-powernv.c | 44 unsigned int chip_id; member 679 coproc->chip_id = chipid; in nx_add_coprocs_list() 716 unsigned int i, chip_id; in nx_open_percpu_txwins() local 721 chip_id = cpu_to_chip_id(i); in nx_open_percpu_txwins() 733 if (coproc->chip_id == chip_id) { in nx_open_percpu_txwins() 768 static int __init vas_cfg_coproc_info(struct device_node *dn, int chip_id, in vas_cfg_coproc_info() argument 855 nx_add_coprocs_list(coproc, chip_id); in vas_cfg_coproc_info() 873 static int __init nx_coproc_init(int chip_id, int ct_842, int ct_gzip) in nx_coproc_init() argument 878 ret = opal_nx_coproc_init(chip_id, ct_842); in nx_coproc_init() 881 ret = opal_nx_coproc_init(chip_id, ct_gzip); in nx_coproc_init() [all …]
|
/linux-6.1.9/arch/mips/cavium-octeon/executive/ |
D | octeon-model.c | 58 static const char *__init octeon_model_get_string_buffer(uint32_t chip_id, in octeon_model_get_string_buffer() argument 80 switch ((chip_id >> 8) & 0xff) { in octeon_model_get_string_buffer() 115 sprintf(pass, "%d.%d", (int)((chip_id >> 3) & 7) + 1, (int)chip_id & 7); in octeon_model_get_string_buffer() 192 switch ((chip_id >> 8) & 0xff) { in octeon_model_get_string_buffer() 209 switch (chip_id & 0xf) { in octeon_model_get_string_buffer() 225 if ((chip_id & 0x10) || l2d_fus3) in octeon_model_get_string_buffer() 233 switch (chip_id & 0xf) { in octeon_model_get_string_buffer() 254 switch (chip_id & 0xf) { in octeon_model_get_string_buffer() 273 if ((chip_id & 0xFF) < 0x8) { in octeon_model_get_string_buffer() 274 switch (chip_id & 0x3) { in octeon_model_get_string_buffer() [all …]
|
/linux-6.1.9/arch/mips/bcm47xx/ |
D | time.c | 34 u16 chip_id = 0; in plat_time_init() local 50 chip_id = bcm47xx_bus.ssb.chip_id; in plat_time_init() 56 chip_id = bcm47xx_bus.bcma.bus.chipinfo.id; in plat_time_init() 61 if (chip_id == 0x5354) { in plat_time_init()
|
/linux-6.1.9/drivers/net/ethernet/dec/tulip/ |
D | dmfe.c | 199 u32 chip_id; /* Chip vendor/Device ID */ member 446 db->chip_id = ent->driver_data; in dmfe_init_one() 567 if ( !chkmode || (db->chip_id == PCI_DM9132_ID) || in dmfe_open() 622 if (db->chip_id == PCI_DM9009_ID) { in dmfe_init_dm910x() 643 if (db->chip_id == PCI_DM9132_ID) in dmfe_init_dm910x() 753 dmfe_phy_write(ioaddr, db->phy_addr, 0, 0x8000, db->chip_id); in dmfe_stop() 1061 if (db->chip_id == PCI_DM9132_ID) in dmfe_set_filter_mode() 1133 if (db->chip_type && (db->chip_id==PCI_DM9102_ID)) { in dmfe_timer() 1136 dmfe_phy_write(ioaddr, db->phy_addr, 0, 0x1000, db->chip_id); in dmfe_timer() 1185 if (db->chip_id == PCI_DM9132_ID) in dmfe_timer() [all …]
|
/linux-6.1.9/drivers/mux/ |
D | adgs1408.c | 56 enum adgs1408_chip_id chip_id; in adgs1408_probe() local 62 chip_id = (enum adgs1408_chip_id)device_get_match_data(dev); in adgs1408_probe() 63 if (!chip_id) in adgs1408_probe() 64 chip_id = spi_get_device_id(spi)->driver_data; in adgs1408_probe() 82 if (chip_id == ADGS1408) in adgs1408_probe()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/ |
D | pci.c | 1651 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_pci_ctrl_dma_io() local 1654 if (chip_id == RTL8852C) { in rtw89_pci_ctrl_dma_io() 1881 if (rtwdev->chip->chip_id != RTL8852B) in rtw89_pci_autok_x() 1897 if (rtwdev->chip->chip_id != RTL8852B) in rtw89_pci_auto_refclk_cal() 2042 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_pci_deglitch_setting() local 2045 if (chip_id == RTL8852A) { in rtw89_pci_deglitch_setting() 2054 } else if (chip_id == RTL8852C) { in rtw89_pci_deglitch_setting() 2066 if (rtwdev->chip->chip_id != RTL8852A) in rtw89_pci_rxdma_prefth() 2074 if (rtwdev->chip->chip_id != RTL8852A && rtwdev->chip->chip_id != RTL8852B) in rtw89_pci_l1off_pwroff() 2084 if (rtwdev->chip->chip_id != RTL8852A) in rtw89_pci_l2_rxen_lat() [all …]
|
D | efuse.c | 20 if (rtwdev->chip->chip_id != RTL8852A) in rtw89_switch_efuse_bank() 49 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_enable_efuse_pwr_cut_ddv() local 52 if (chip_id == RTL8852A) in rtw89_enable_efuse_pwr_cut_ddv() 62 if (chip_id == RTL8852B && hal->cv == CHIP_CAV) in rtw89_enable_efuse_pwr_cut_ddv() 68 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_disable_efuse_pwr_cut_ddv() local 71 if (chip_id == RTL8852A) in rtw89_disable_efuse_pwr_cut_ddv() 74 if (chip_id == RTL8852B && hal->cv == CHIP_CAV) in rtw89_disable_efuse_pwr_cut_ddv()
|
/linux-6.1.9/drivers/media/dvb-frontends/ |
D | stv0900_sw.c | 154 if (intp->chip_id == 0x12) { in stv0900_search_carr_sw_loop() 199 if (intp->chip_id >= 0x20) in stv0900_sw_algo() 208 if (intp->chip_id >= 0x20) in stv0900_sw_algo() 219 if (intp->chip_id >= 0x20) { in stv0900_sw_algo() 246 if (intp->chip_id >= 0x20) { in stv0900_sw_algo() 270 if (intp->chip_id >= 0x20) in stv0900_sw_algo() 426 if (intp->chip_id == 0x10) { in stv0900_set_dvbs2_rolloff() 430 } else if (intp->chip_id <= 0x20) in stv0900_set_dvbs2_rolloff() 544 if (intp->chip_id <= 0x20) { in stv0900_get_demod_cold_lock() 581 if (intp->chip_id <= 0x20) { in stv0900_get_demod_cold_lock() [all …]
|
/linux-6.1.9/drivers/ssb/ |
D | driver_chipcommon_pmu.c | 117 switch (bus->chip_id) { in ssb_pmu0_pllinit_r0() 230 if (bus->chip_id == 0x4312) { in ssb_pmu1_pllinit_r0() 256 switch (bus->chip_id) { in ssb_pmu1_pllinit_r0() 330 switch (bus->chip_id) { in ssb_pmu_pll_init() 353 bus->chip_id); in ssb_pmu_pll_init() 433 switch (bus->chip_id) { in ssb_pmu_resources_init() 475 bus->chip_id); in ssb_pmu_resources_init() 546 switch (bus->chip_id) { in ssb_pmu_set_ldo_voltage() 595 switch (bus->chip_id) { in ssb_pmu_set_ldo_paref() 635 switch (bus->chip_id) { in ssb_pmu_get_alp_clock() [all …]
|
/linux-6.1.9/drivers/regulator/ |
D | fan53555.c | 116 int chip_id; member 246 switch (di->chip_id) { in fan53526_voltages_setup_fairchild() 256 di->chip_id, di->chip_rev); in fan53526_voltages_setup_fairchild() 262 "Chip ID %d not supported!\n", di->chip_id); in fan53526_voltages_setup_fairchild() 278 switch (di->chip_id) { in fan53555_voltages_setup_fairchild() 292 di->chip_id, di->chip_rev); in fan53555_voltages_setup_fairchild() 309 "Chip ID %d not supported!\n", di->chip_id); in fan53555_voltages_setup_fairchild() 324 switch (di->chip_id) { in fan53555_voltages_setup_silergy() 332 "Chip ID %d not supported!\n", di->chip_id); in fan53555_voltages_setup_silergy() 346 switch (di->chip_id) { in fan53526_voltages_setup_tcs() [all …]
|
D | pfuze100-regulator.c | 73 int chip_id; member 126 switch (pfuze100->chip_id) { in pfuze100_set_ramp_delay() 529 switch (chip->chip_id) { in pfuze_parse_regulators_dt() 621 if (pfuze_chip->chip_id != PFUZE100) { in pfuze_power_off_prepare_init() 649 if (((value & 0x0f) == 0x8) && (pfuze_chip->chip_id == PFUZE100)) { in pfuze_identify() 655 } else if ((value & 0x0f) != pfuze_chip->chip_id && in pfuze_identify() 656 (value & 0xf0) >> 4 != pfuze_chip->chip_id && in pfuze_identify() 657 (value != pfuze_chip->chip_id)) { in pfuze_identify() 708 pfuze_chip->chip_id = (int)(long)match->data; in pfuze100_regulator_probe() 710 pfuze_chip->chip_id = id->driver_data; in pfuze100_regulator_probe() [all …]
|
/linux-6.1.9/drivers/video/fbdev/ |
D | tridentfb.c | 36 int chip_id; member 280 if (is_oldclock(par->chip_id)) { /* not sure if this check is OK */ in tridentfb_setup_ddc_bus() 733 if (!is_oldprotect(par->chip_id)) in enable_mmio() 748 if (!is_oldprotect(par->chip_id)) in disable_mmio() 798 if (par->chip_id == TGUI9440 || par->chip_id == CYBER9320) in set_lwidth() 809 if (par->chip_id != CYBERBLADEXPAi1) in screen_stretch() 843 unsigned char shift = !is_oldclock(par->chip_id) ? 2 : 1; in set_vclk() 863 if (is_oldclock(par->chip_id)) { in set_vclk() 871 if (is3Dchip(par->chip_id)) { in set_vclk() 904 if (crt || !iscyber(par->chip_id)) in is_flatpanel() [all …]
|
/linux-6.1.9/drivers/iio/accel/ |
D | mxc6255.c | 122 unsigned int chip_id; in mxc6255_probe() local 146 ret = regmap_read(data->regmap, MXC6255_REG_CHIP_ID, &chip_id); in mxc6255_probe() 152 if ((chip_id & 0x1f) != MXC6255_CHIP_ID) { in mxc6255_probe() 153 dev_err(&client->dev, "Invalid chip id %x\n", chip_id); in mxc6255_probe() 157 dev_dbg(&client->dev, "Chip id %x\n", chip_id); in mxc6255_probe()
|
D | dmard06.c | 57 u8 chip_id; member 86 if (dmard06->chip_id == DMARD06_CHIP_ID) in dmard06_read_raw() 93 if (dmard06->chip_id != DMARD06_CHIP_ID) in dmard06_read_raw() 111 if (dmard06->chip_id == DMARD06_CHIP_ID) in dmard06_read_raw() 161 dmard06->chip_id = ret; in dmard06_probe()
|
/linux-6.1.9/drivers/mfd/ |
D | rt4831.c | 49 unsigned int chip_id; in rt4831_probe() local 64 ret = regmap_read(regmap, RT4831_REG_REVISION, &chip_id); in rt4831_probe() 70 if ((chip_id & RT4831_VID_MASK) != RICHTEK_VENDOR_ID) { in rt4831_probe() 71 dev_err(&client->dev, "Chip vendor ID 0x%02x not matched\n", chip_id); in rt4831_probe()
|
D | max77620.c | 285 switch (chip->chip_id) { in max77620_get_fps_period_reg_value() 322 switch (chip->chip_id) { in max77620_config_fps() 437 if (chip->chip_id == MAX77663) in max77620_initialise_fps() 450 if ((chip->chip_id == MAX20024) && chip->sleep_enable) { in max77620_initialise_fps() 514 chip->chip_id = (enum max77620_chip_id)id->driver_data; in max77620_probe() 516 switch (chip->chip_id) { in max77620_probe() 533 dev_err(chip->dev, "ChipID is invalid %d\n", chip->chip_id); in max77620_probe() 619 if (chip->chip_id == MAX20024) in max77620_i2c_suspend() 631 if (chip->chip_id == MAX77663) in max77620_i2c_suspend() 669 if (chip->chip_id == MAX20024 || chip->chip_id == MAX77663) in max77620_i2c_resume()
|
/linux-6.1.9/arch/mips/txx9/generic/ |
D | smsc_fdc37m81x.c | 105 u8 chip_id; in smsc_fdc37m81x_init() local 115 chip_id = smsc_fdc37m81x_rd(SMSC_FDC37M81X_DID); in smsc_fdc37m81x_init() 116 if (chip_id == SMSC_FDC37M81X_CHIP_ID) in smsc_fdc37m81x_init() 119 pr_warn("%s: unknown chip id 0x%02x\n", __func__, chip_id); in smsc_fdc37m81x_init()
|
/linux-6.1.9/drivers/hwmon/ |
D | lm90.c | 1904 static const char *lm90_detect_national(struct i2c_client *client, int chip_id, in lm90_detect_national() argument 1920 switch (chip_id & 0xf0) { in lm90_detect_national() 1939 static const char *lm90_detect_on(struct i2c_client *client, int chip_id, int config1, in lm90_detect_on() argument 1945 switch (chip_id) { in lm90_detect_on() 1958 int chip_id, int config1, int convrate) in lm90_detect_analog() argument 2006 switch (chip_id) { in lm90_detect_analog() 2115 int chip_id, int config1, int convrate) in lm90_detect_maxim() argument 2121 switch (chip_id) { in lm90_detect_maxim() 2316 static const char *lm90_detect_nuvoton(struct i2c_client *client, int chip_id, in lm90_detect_nuvoton() argument 2327 if (chip_id == 0x01 && convrate <= 0x09) { in lm90_detect_nuvoton() [all …]
|