Home
last modified time | relevance | path

Searched refs:chip_id (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Duvd_v2_2.c101 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 …]
Dvce_v1_0.c44 uint32_t chip_id; member
160 uint32_t chip_id; in vce_v1_0_load_fw() local
165 chip_id = 0x01000014; in vce_v1_0_load_fw()
168 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()
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/
Dltc2978.c568 int chip_id; in ltc2978_get_id() local
570 chip_id = i2c_smbus_read_word_data(client, LTC2978_MFR_SPECIAL_ID); in ltc2978_get_id()
571 if (chip_id < 0) { in ltc2978_get_id()
596 chip_id &= LTC2978_ID_MASK; in ltc2978_get_id()
598 if (chip_id == LTC2972_ID) in ltc2978_get_id()
600 else if (chip_id == LTC2974_ID) in ltc2978_get_id()
602 else if (chip_id == LTC2975_ID) in ltc2978_get_id()
604 else if (chip_id == LTC2977_ID) in ltc2978_get_id()
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()
[all …]
Dltc3815.c183 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()
/kernel/linux/linux-5.10/include/linux/mfd/abx500/
Dab8500.h355 u8 chip_id; member
417 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab8500_1p0_or_earlier()
423 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT1P1)); in is_ab8500_1p1_or_earlier()
429 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT2P0)); in is_ab8500_2p0_or_earlier()
434 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT3P3)); in is_ab8500_3p3_or_earlier()
440 return (is_ab8500(ab) && (ab->chip_id == AB8500_CUT2P0)); in is_ab8500_2p0()
445 return (is_ab8505(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab8505_1p0_or_earlier()
450 return (is_ab8505(ab) && (ab->chip_id == AB8500_CUT2P0)); in is_ab8505_2p0()
455 return (is_ab9540(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab9540_1p0_or_earlier()
460 return (is_ab9540(ab) && (ab->chip_id == AB8500_CUT2P0)); in is_ab9540_2p0()
[all …]
/kernel/linux/linux-5.10/drivers/net/dsa/b53/
Db53_priv.h112 u32 chip_id; member
155 return dev->chip_id == BCM5325_DEVICE_ID; in is5325()
161 return dev->chip_id == BCM5365_DEVICE_ID; in is5365()
169 return dev->chip_id == BCM5397_DEVICE_ID || in is5397_98()
170 dev->chip_id == BCM5398_DEVICE_ID; in is5397_98()
175 return dev->chip_id == BCM5395_DEVICE_ID || in is539x()
176 dev->chip_id == BCM5397_DEVICE_ID || in is539x()
177 dev->chip_id == BCM5398_DEVICE_ID; in is539x()
182 return dev->chip_id == BCM53115_DEVICE_ID || in is531x5()
183 dev->chip_id == BCM53125_DEVICE_ID || in is531x5()
[all …]
Db53_common.c769 if (dev->chip_id == BCM58XX_DEVICE_ID || in b53_switch_reset()
770 dev->chip_id == BCM583XX_DEVICE_ID) { in b53_switch_reset()
1411 if (dev->chip_id == BCM7278_DEVICE_ID && port == 7 && in b53_vlan_prepare()
1813 if (dev->chip_id == BCM7278_DEVICE_ID && port == 7) in b53_br_join()
2036 if (dev->chip_id == BCM58XX_DEVICE_ID && port == B53_CPU_PORT) { in b53_get_tag_protocol()
2184 allow_10_100 = (dev->chip_id == BCM583XX_DEVICE_ID); in b53_change_mtu()
2237 u32 chip_id; member
2260 .chip_id = BCM5325_DEVICE_ID,
2271 .chip_id = BCM5365_DEVICE_ID,
2282 .chip_id = BCM5389_DEVICE_ID,
[all …]
/kernel/linux/linux-5.10/drivers/crypto/nx/
Dnx-common-powernv.c44 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 …]
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
Docteon-model.c58 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 …]
/kernel/linux/linux-5.10/arch/mips/bcm47xx/
Dtime.c34 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()
Dprom.c46 __init void bcm47xx_set_system_type(u16 chip_id) in bcm47xx_set_system_type() argument
49 (chip_id > 0x9999) ? "Broadcom BCM%d" : in bcm47xx_set_system_type()
51 chip_id); in bcm47xx_set_system_type()
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
Ddmfe.c199 u32 chip_id; /* Chip vendor/Device ID */ member
446 db->chip_id = ent->driver_data; in dmfe_init_one()
568 if ( !chkmode || (db->chip_id == PCI_DM9132_ID) || in dmfe_open()
623 if (db->chip_id == PCI_DM9009_ID) { in dmfe_init_dm910x()
644 if (db->chip_id == PCI_DM9132_ID) in dmfe_init_dm910x()
754 dmfe_phy_write(ioaddr, db->phy_addr, 0, 0x8000, db->chip_id); in dmfe_stop()
1062 if (db->chip_id == PCI_DM9132_ID) in dmfe_set_filter_mode()
1134 if (db->chip_type && (db->chip_id==PCI_DM9102_ID)) { in dmfe_timer()
1137 dmfe_phy_write(ioaddr, db->phy_addr, 0, 0x1000, db->chip_id); in dmfe_timer()
1186 if (db->chip_id == PCI_DM9132_ID) in dmfe_timer()
[all …]
/kernel/linux/linux-5.10/drivers/mux/
Dadgs1408.c56 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()
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dstv0900_sw.c154 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 …]
/kernel/linux/linux-5.10/drivers/ssb/
Ddriver_chipcommon_pmu.c117 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 …]
/kernel/linux/linux-5.10/drivers/regulator/
Dfan53555.c95 int chip_id; member
233 switch (di->chip_id) { in fan53526_voltages_setup_fairchild()
243 di->chip_id, di->chip_rev); in fan53526_voltages_setup_fairchild()
249 "Chip ID %d not supported!\n", di->chip_id); in fan53526_voltages_setup_fairchild()
261 switch (di->chip_id) { in fan53555_voltages_setup_fairchild()
275 di->chip_id, di->chip_rev); in fan53555_voltages_setup_fairchild()
292 "Chip ID %d not supported!\n", di->chip_id); in fan53555_voltages_setup_fairchild()
304 switch (di->chip_id) { in fan53555_voltages_setup_silergy()
312 "Chip ID %d not supported!\n", di->chip_id); in fan53555_voltages_setup_silergy()
514 di->chip_id = val & DIE_ID; in fan53555_regulator_probe()
[all …]
Dpfuze100-regulator.c72 int chip_id; member
134 switch (pfuze100->chip_id) { in pfuze100_set_ramp_delay()
538 switch (chip->chip_id) { in pfuze_parse_regulators_dt()
642 if (pfuze_chip->chip_id != PFUZE100) { in pfuze_power_off_prepare_init()
672 if (((value & 0x0f) == 0x8) && (pfuze_chip->chip_id == PFUZE100)) { in pfuze_identify()
678 } else if ((value & 0x0f) != pfuze_chip->chip_id && in pfuze_identify()
679 (value & 0xf0) >> 4 != pfuze_chip->chip_id && in pfuze_identify()
680 (value != pfuze_chip->chip_id)) { in pfuze_identify()
733 pfuze_chip->chip_id = (int)(long)match->data; in pfuze100_regulator_probe()
735 pfuze_chip->chip_id = id->driver_data; in pfuze100_regulator_probe()
[all …]
/kernel/linux/linux-5.10/drivers/iio/accel/
Dmxc6255.c122 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()
Ddmard06.c57 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()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dtridentfb.c35 int chip_id; member
279 if (is_oldclock(par->chip_id)) { /* not sure if this check is OK */ in tridentfb_setup_ddc_bus()
732 if (!is_oldprotect(par->chip_id)) in enable_mmio()
747 if (!is_oldprotect(par->chip_id)) in disable_mmio()
797 if (par->chip_id == TGUI9440 || par->chip_id == CYBER9320) in set_lwidth()
808 if (par->chip_id != CYBERBLADEXPAi1) in screen_stretch()
842 unsigned char shift = !is_oldclock(par->chip_id) ? 2 : 1; in set_vclk()
862 if (is_oldclock(par->chip_id)) { in set_vclk()
870 if (is3Dchip(par->chip_id)) { in set_vclk()
903 if (crt || !iscyber(par->chip_id)) in is_flatpanel()
[all …]
/kernel/linux/linux-5.10/arch/mips/txx9/generic/
Dsmsc_fdc37m81x.c105 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()
/kernel/linux/linux-5.10/drivers/mfd/
Dmax77620.c285 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()
/kernel/linux/linux-5.10/drivers/power/supply/
Dmax17040_battery.c43 enum chip_id { enum
471 enum chip_id chip_id; in max17040_probe() local
487 chip_id = (enum chip_id) id->driver_data; in max17040_probe()
492 chip_id = (enum chip_id) (uintptr_t) in max17040_probe()
495 chip->data = max17040_family[chip_id]; in max17040_probe()
512 if (chip_id == ID_MAX17040 || chip_id == ID_MAX17041) in max17040_probe()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Drng.c123 int chip_id, cpu; in rng_init_per_cpu() local
125 chip_id = of_get_ibm_chip_id(dn); in rng_init_per_cpu()
126 if (chip_id == -1) in rng_init_per_cpu()
131 cpu_to_chip_id(cpu) == chip_id) { in rng_init_per_cpu()
/kernel/linux/linux-5.10/drivers/net/phy/
Dspi_ks8995.c107 int chip_id; member
117 .chip_id = KS8995_CHIP_ID,
125 .chip_id = KSZ8864_CHIP_ID,
133 .chip_id = KSZ8795_CHIP_ID,
357 (get_chip_id(id1) == ks->chip->chip_id)) { in ks8995_get_revision()
369 (ks->chip->chip_id == KSZ8864_CHIP_ID)) { in ks8995_get_revision()
387 if (get_chip_id(id1) == ks->chip->chip_id) { in ks8995_get_revision()
515 ks->chip->name, ks->chip->chip_id, ks->revision_id); in ks8995_probe()

12345678910>>...13