Home
last modified time | relevance | path

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

12345678910>>...16

/linux-6.6.21/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.c45 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.6.21/drivers/hwmon/pmbus/
Dltc2978.c597 int chip_id; in ltc2978_get_id() local
599 chip_id = i2c_smbus_read_word_data(client, LTC2978_MFR_SPECIAL_ID); in ltc2978_get_id()
600 if (chip_id < 0) { in ltc2978_get_id()
625 chip_id &= LTC2978_ID_MASK; in ltc2978_get_id()
627 if (chip_id == LTC2972_ID) in ltc2978_get_id()
629 else if (chip_id == LTC2974_ID) in ltc2978_get_id()
631 else if (chip_id == LTC2975_ID) in ltc2978_get_id()
633 else if (chip_id == LTC2977_ID) in ltc2978_get_id()
635 else if (chip_id == LTC2978_ID_REV1 || chip_id == LTC2978_ID_REV2) in ltc2978_get_id()
637 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()
/linux-6.6.21/drivers/net/dsa/b53/
Db53_priv.h118 u32 chip_id; member
162 return dev->chip_id == BCM5325_DEVICE_ID; in is5325()
168 return dev->chip_id == BCM5365_DEVICE_ID; in is5365()
176 return dev->chip_id == BCM5397_DEVICE_ID || in is5397_98()
177 dev->chip_id == BCM5398_DEVICE_ID; in is5397_98()
182 return dev->chip_id == BCM5395_DEVICE_ID || in is539x()
183 dev->chip_id == BCM5397_DEVICE_ID || in is539x()
184 dev->chip_id == BCM5398_DEVICE_ID; in is539x()
189 return dev->chip_id == BCM53115_DEVICE_ID || in is531x5()
190 dev->chip_id == BCM53125_DEVICE_ID || in is531x5()
[all …]
/linux-6.6.21/include/linux/mfd/abx500/
Dab8500.h355 u8 chip_id; member
410 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab8500_1p0_or_earlier()
416 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT1P1)); in is_ab8500_1p1_or_earlier()
422 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT2P0)); in is_ab8500_2p0_or_earlier()
427 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT3P3)); in is_ab8500_3p3_or_earlier()
433 return (is_ab8500(ab) && (ab->chip_id == AB8500_CUT2P0)); in is_ab8500_2p0()
438 return (is_ab8505(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab8505_1p0_or_earlier()
443 return (is_ab8505(ab) && (ab->chip_id == AB8500_CUT2P0)); in is_ab8505_2p0()
448 return (is_ab9540(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab9540_1p0_or_earlier()
453 return (is_ab9540(ab) && (ab->chip_id == AB8500_CUT2P0)); in is_ab9540_2p0()
[all …]
/linux-6.6.21/drivers/crypto/nx/
Dnx-common-powernv.c44 unsigned int chip_id; member
676 coproc->chip_id = chipid; in nx_add_coprocs_list()
713 unsigned int i, chip_id; in nx_open_percpu_txwins() local
718 chip_id = cpu_to_chip_id(i); in nx_open_percpu_txwins()
730 if (coproc->chip_id == chip_id) { in nx_open_percpu_txwins()
765 static int __init vas_cfg_coproc_info(struct device_node *dn, int chip_id, in vas_cfg_coproc_info() argument
852 nx_add_coprocs_list(coproc, chip_id); in vas_cfg_coproc_info()
870 static int __init nx_coproc_init(int chip_id, int ct_842, int ct_gzip) in nx_coproc_init() argument
875 ret = opal_nx_coproc_init(chip_id, ct_842); in nx_coproc_init()
878 ret = opal_nx_coproc_init(chip_id, ct_gzip); in nx_coproc_init()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/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()
/linux-6.6.21/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()
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.6.21/drivers/net/wireless/realtek/rtw89/
Dpci.c1688 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_pci_ctrl_dma_io() local
1691 if (chip_id == RTL8852C) { in rtw89_pci_ctrl_dma_io()
1916 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_pci_autok_x() local
1919 if (chip_id != RTL8852B && chip_id != RTL8851B) in rtw89_pci_autok_x()
1929 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_pci_auto_refclk_cal() local
1936 if (chip_id != RTL8852B && chip_id != RTL8851B) in rtw89_pci_auto_refclk_cal()
2081 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_pci_deglitch_setting() local
2084 if (chip_id == RTL8852A) { in rtw89_pci_deglitch_setting()
2093 } else if (chip_id == RTL8852C) { in rtw89_pci_deglitch_setting()
2105 if (rtwdev->chip->chip_id != RTL8852A) in rtw89_pci_rxdma_prefth()
[all …]
Defuse.c24 if (rtwdev->chip->chip_id != RTL8852A) in rtw89_switch_efuse_bank()
53 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_enable_efuse_pwr_cut_ddv() local
56 if (chip_id == RTL8852A) in rtw89_enable_efuse_pwr_cut_ddv()
66 if (chip_id == RTL8852B && hal->cv == CHIP_CAV) in rtw89_enable_efuse_pwr_cut_ddv()
72 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_disable_efuse_pwr_cut_ddv() local
75 if (chip_id == RTL8852A) in rtw89_disable_efuse_pwr_cut_ddv()
78 if (chip_id == RTL8852B && hal->cv == CHIP_CAV) in rtw89_disable_efuse_pwr_cut_ddv()
/linux-6.6.21/drivers/regulator/
Dfan53555.c129 int chip_id; member
261 switch (di->chip_id) { in fan53526_voltages_setup_fairchild()
271 di->chip_id, di->chip_rev); in fan53526_voltages_setup_fairchild()
277 "Chip ID %d not supported!\n", di->chip_id); in fan53526_voltages_setup_fairchild()
293 switch (di->chip_id) { in fan53555_voltages_setup_fairchild()
307 di->chip_id, di->chip_rev); in fan53555_voltages_setup_fairchild()
324 "Chip ID %d not supported!\n", di->chip_id); in fan53555_voltages_setup_fairchild()
339 switch (di->chip_id) { in fan53555_voltages_setup_rockchip()
346 "Chip ID %d not supported!\n", di->chip_id); in fan53555_voltages_setup_rockchip()
361 switch (di->chip_id) { in rk8602_voltages_setup_rockchip()
[all …]
Dpfuze100-regulator.c73 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()
707 pfuze_chip->chip_id = (int)(long)match->data; in pfuze100_regulator_probe()
709 pfuze_chip->chip_id = id->driver_data; in pfuze100_regulator_probe()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/soc/hisilicon/
Dkunpeng_hccs.h41 u8 chip_id; member
83 u8 chip_id; member
87 u8 chip_id; member
111 u8 chip_id; member
117 u8 chip_id; member
/linux-6.6.21/drivers/gpu/drm/loongson/
Dloongson_device.c56 .chip_id = CHIP_LS7A1000,
88 .chip_id = CHIP_LS7A2000,
99 lsdc_device_probe(struct pci_dev *pdev, enum loongson_chip_id chip_id) in lsdc_device_probe() argument
101 return __chip_id_desc_table[chip_id]; in lsdc_device_probe()
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/video/fbdev/
Dtridentfb.c36 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.6.21/drivers/iio/accel/
Dmxc6255.c121 unsigned int chip_id; in mxc6255_probe() local
145 ret = regmap_read(data->regmap, MXC6255_REG_CHIP_ID, &chip_id); in mxc6255_probe()
151 if ((chip_id & 0x1f) != MXC6255_CHIP_ID) { in mxc6255_probe()
152 dev_err(&client->dev, "Invalid chip id %x\n", chip_id); in mxc6255_probe()
156 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()
160 dmard06->chip_id = ret; in dmard06_probe()
/linux-6.6.21/drivers/mfd/
Drt4831.c49 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()
Dmax77620.c284 switch (chip->chip_id) { in max77620_get_fps_period_reg_value()
321 switch (chip->chip_id) { in max77620_config_fps()
436 if (chip->chip_id == MAX77663) in max77620_initialise_fps()
449 if ((chip->chip_id == MAX20024) && chip->sleep_enable) { in max77620_initialise_fps()
513 chip->chip_id = (enum max77620_chip_id)id->driver_data; in max77620_probe()
515 switch (chip->chip_id) { in max77620_probe()
532 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-6.6.21/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()

12345678910>>...16