/linux/drivers/gpu/drm/radeon/ |
A D | uvd_v2_2.c | 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() 171 chip_id = 0x0100000f; in uvd_v2_2_resume() [all …]
|
A 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/drivers/hwmon/pmbus/ |
A D | ltc2978.c | 568 int chip_id; in ltc2978_get_id() local 606 else if (chip_id == LTC2978_ID_REV1 || chip_id == LTC2978_ID_REV2) in ltc2978_get_id() 608 else if (chip_id == LTC2979_ID_A || chip_id == LTC2979_ID_B) in ltc2978_get_id() 610 else if (chip_id == LTC2980_ID_A || chip_id == LTC2980_ID_B) in ltc2978_get_id() 614 else if (chip_id == LTC3882_ID || chip_id == LTC3882_ID_D1) in ltc2978_get_id() 628 else if (chip_id == LTM2987_ID_A || chip_id == LTM2987_ID_B) in ltc2978_get_id() 637 else if (chip_id == LTM4677_ID_REV1 || chip_id == LTM4677_ID_REV2) in ltc2978_get_id() 654 int i, chip_id; in ltc2978_probe() local 669 if (chip_id < 0) in ltc2978_probe() 670 return chip_id; in ltc2978_probe() [all …]
|
A 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()
|
A D | max16601.c | 303 int ret, chip_id; in max16601_probe() local 310 chip_id = max16601_get_id(client); in max16601_probe() 311 if (chip_id < 0) in max16601_probe() 312 return chip_id; in max16601_probe() 315 if (chip_id != id->driver_data) in max16601_probe() 318 id->name, (int) id->driver_data, chip_id); in max16601_probe() 333 data->id = chip_id; in max16601_probe()
|
/linux/include/linux/mfd/abx500/ |
A 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() 471 return is_ab8540(ab) && (ab->chip_id <= AB8500_CUT1P0); in is_ab8540_1p0_or_earlier() 476 return is_ab8540(ab) && (ab->chip_id <= AB8500_CUT1P1); in is_ab8540_1p1_or_earlier() 481 return is_ab8540(ab) && (ab->chip_id <= AB8500_CUT1P2); in is_ab8540_1p2_or_earlier() 486 return is_ab8540(ab) && (ab->chip_id <= AB8500_CUT2P0); in is_ab8540_2p0_or_earlier() 491 return is_ab8540(ab) && (ab->chip_id == AB8500_CUT2P0); in is_ab8540_2p0() 496 return (is_ab8505(ab) && (ab->chip_id < AB8500_CUT2P0)); in is_ab8505_2p0_earlier() [all …]
|
/linux/drivers/net/dsa/b53/ |
A D | b53_priv.h | 114 u32 chip_id; member 171 dev->chip_id == BCM5398_DEVICE_ID; in is5397_98() 177 dev->chip_id == BCM5397_DEVICE_ID || in is539x() 178 dev->chip_id == BCM5398_DEVICE_ID; in is539x() 184 dev->chip_id == BCM53125_DEVICE_ID || in is531x5() 185 dev->chip_id == BCM53128_DEVICE_ID; in is531x5() 196 dev->chip_id == BCM53011_DEVICE_ID || in is5301x() 197 dev->chip_id == BCM53012_DEVICE_ID || in is5301x() 199 dev->chip_id == BCM53019_DEVICE_ID; in is5301x() 206 dev->chip_id == BCM7445_DEVICE_ID || in is58xx() [all …]
|
A D | b53_common.c | 2292 u32 chip_id; member 2315 .chip_id = BCM5325_DEVICE_ID, 2325 .chip_id = BCM5365_DEVICE_ID, 2335 .chip_id = BCM5389_DEVICE_ID, 2348 .chip_id = BCM5395_DEVICE_ID, 2361 .chip_id = BCM5397_DEVICE_ID, 2374 .chip_id = BCM5398_DEVICE_ID, 2579 if (chip->chip_id == dev->chip_id) { in b53_switch_init() 2730 dev->chip_id = id8; in b53_switch_detect() 2746 dev->chip_id = id32; in b53_switch_detect() [all …]
|
/linux/drivers/crypto/nx/ |
A 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() 886 chip_id, ret); in nx_coproc_init() 911 int chip_id, vasid, ret = 0; in nx_powernv_probe_vas() local 916 if (chip_id < 0) { in nx_powernv_probe_vas() 958 int chip_id; in nx842_powernv_probe() local 961 if (chip_id < 0) { in nx842_powernv_probe() [all …]
|
/linux/arch/mips/cavium-octeon/executive/ |
A D | octeon-model.c | 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() 507 const char *__init octeon_model_get_string(uint32_t chip_id) in octeon_model_get_string() argument [all …]
|
/linux/drivers/net/ethernet/dec/tulip/ |
A D | dmfe.c | 446 db->chip_id = ent->driver_data; in dmfe_init_one() 622 if (db->chip_id == PCI_DM9009_ID) { in dmfe_init_dm910x() 643 if (db->chip_id == PCI_DM9132_ID) in dmfe_init_dm910x() 1061 if (db->chip_id == PCI_DM9132_ID) in dmfe_set_filter_mode() 1185 if (db->chip_id == PCI_DM9132_ID) in dmfe_timer() 1192 ((db->chip_id == PCI_DM9132_ID) && in dmfe_timer() 1230 0, 0x1000, db->chip_id); in dmfe_timer() 1770 u16 phy_data, u32 chip_id) in dmfe_phy_write() argument 1774 if (chip_id == PCI_DM9132_ID) { in dmfe_phy_write() 1822 if (chip_id == PCI_DM9132_ID) { in dmfe_phy_read() [all …]
|
/linux/arch/mips/bcm47xx/ |
A 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/drivers/media/dvb-frontends/ |
A 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() 426 if (intp->chip_id == 0x10) { in stv0900_set_dvbs2_rolloff() 870 intp->chip_id); in stv0900_track_optimization() 951 if (intp->chip_id < 0x20) in stv0900_track_optimization() 954 if (intp->chip_id == 0x10) in stv0900_track_optimization() 1009 if (intp->chip_id >= 0x20) in stv0900_track_optimization() 1401 if (intp->chip_id >= 0x30) in stv0900_search_srate_coarse() [all …]
|
/linux/drivers/ssb/ |
A D | driver_chipcommon_pmu.c | 117 switch (bus->chip_id) { in ssb_pmu0_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() 640 bus->chip_id); in ssb_pmu_get_alp_clock() 655 bus->chip_id); in ssb_pmu_get_cpu_clock() [all …]
|
/linux/drivers/regulator/ |
A 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() 346 switch (di->chip_id) { in fan53526_voltages_setup_tcs() 609 di->chip_id = val & DIE_ID; in fan53555_regulator_probe() [all …]
|
A D | pfuze100-regulator.c | 72 int chip_id; member 125 switch (pfuze100->chip_id) { in pfuze100_set_ramp_delay() 527 switch (chip->chip_id) { in pfuze_parse_regulators_dt() 614 if (pfuze_chip->chip_id != PFUZE100) { in pfuze_power_off_prepare_init() 652 (value != pfuze_chip->chip_id)) { in pfuze_identify() 705 pfuze_chip->chip_id = id->driver_data; in pfuze100_regulator_probe() 729 switch (pfuze_chip->chip_id) { in pfuze100_regulator_probe() 789 if (pfuze_chip->chip_id == PFUZE3000 || in pfuze100_regulator_probe() 790 pfuze_chip->chip_id == PFUZE3001) { in pfuze100_regulator_probe() 808 if (pfuze_chip->chip_id == PFUZE100 || in pfuze100_regulator_probe() [all …]
|
/linux/drivers/mux/ |
A 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/drivers/video/fbdev/ |
A D | tridentfb.c | 35 int chip_id; member 797 if (par->chip_id == TGUI9440 || par->chip_id == CYBER9320) in set_lwidth() 1290 if (par->chip_id != TGUI9440 && par->chip_id != IMAGE975) in tridentfb_set_par() 1467 int chip_id; in trident_pci_probe() local 1479 chip_id = id->device; in trident_pci_probe() 1492 chip_id = CYBER9397; in trident_pci_probe() 1504 chip_id = CYBER9385; in trident_pci_probe() 1507 chip_id = CYBER9382; in trident_pci_probe() 1519 if (is_xp(chip_id)) { in trident_pci_probe() 1546 default_par->chip_id = chip_id; in trident_pci_probe() [all …]
|
/linux/drivers/iio/accel/ |
A 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()
|
A 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/drivers/mfd/ |
A 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()
|
A D | max77620.c | 285 switch (chip->chip_id) { in max77620_get_fps_period_reg_value() 322 switch (chip->chip_id) { in max77620_config_fps() 435 if (chip->chip_id == MAX77663) in max77620_initialise_fps() 448 if ((chip->chip_id == MAX20024) && chip->sleep_enable) { in max77620_initialise_fps() 512 chip->chip_id = (enum max77620_chip_id)id->driver_data; in max77620_probe() 514 switch (chip->chip_id) { in max77620_probe() 531 dev_err(chip->dev, "ChipID is invalid %d\n", chip->chip_id); in max77620_probe() 617 if (chip->chip_id == MAX20024) in max77620_i2c_suspend() 629 if (chip->chip_id == MAX77663) in max77620_i2c_suspend() 667 if (chip->chip_id == MAX20024 || chip->chip_id == MAX77663) in max77620_i2c_resume()
|
/linux/arch/mips/txx9/generic/ |
A 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/arch/powerpc/platforms/powernv/ |
A D | rng.c | 120 int chip_id, cpu; in rng_init_per_cpu() local 122 chip_id = of_get_ibm_chip_id(dn); in rng_init_per_cpu() 123 if (chip_id == -1) in rng_init_per_cpu() 128 cpu_to_chip_id(cpu) == chip_id) { in rng_init_per_cpu()
|
/linux/drivers/power/supply/ |
A D | max17040_battery.c | 42 enum chip_id { enum 439 enum chip_id chip_id; in max17040_probe() local 454 chip_id = (enum chip_id) id->driver_data; in max17040_probe() 459 chip_id = (uintptr_t)of_device_get_match_data(&client->dev); in max17040_probe() 461 chip->data = max17040_family[chip_id]; in max17040_probe() 478 if (chip_id == ID_MAX17040 || chip_id == ID_MAX17041) in max17040_probe()
|