/linux/drivers/gpu/drm/radeon/ ! |
H A 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 in uvd_v2_2_resume() [all...] |
H 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/net/dsa/b53/ ! |
H A D | b53_priv.h | 132 u32 chip_id; member 178 return dev->chip_id == BCM5325_DEVICE_ID; in is5325() 196 return dev->chip_id == BCM5365_DEVICE_ID; in is5365() 204 return dev->chip_id == BCM5397_DEVICE_ID || in is5397_98() 205 dev->chip_id == BCM5398_DEVICE_ID; in is5397_98() 210 return dev->chip_id == BCM5395_DEVICE_ID || in is539x() 211 dev->chip_id == BCM5397_DEVICE_ID || in is539x() 212 dev->chip_id == BCM5398_DEVICE_ID; in is539x() 217 return dev->chip_id == BCM53115_DEVICE_ID || in is531x5() 218 dev->chip_id in is531x5() [all...] |
/linux/drivers/hwmon/pmbus/ ! |
H A D | ltc2978.c | 606 int chip_id; in ltc2978_get_id() local 608 chip_id = i2c_smbus_read_word_data(client, LTC2978_MFR_SPECIAL_ID); in ltc2978_get_id() 609 if (chip_id < 0) { in ltc2978_get_id() 634 chip_id &= LTC2978_ID_MASK; in ltc2978_get_id() 636 if (chip_id == LT7170_ID) { in ltc2978_get_id() 655 if (chip_id == LTC2972_ID) in ltc2978_get_id() 657 else if (chip_id == LTC2974_ID) in ltc2978_get_id() 659 else if (chip_id == LTC2975_ID) in ltc2978_get_id() 661 else if (chip_id == LTC2977_ID) in ltc2978_get_id() 663 else if (chip_id in ltc2978_get_id() 717 int i, chip_id; ltc2978_probe() local [all...] |
H A D | mpq8785.c | 107 enum chips chip_id; in mpq8785_probe() local 116 chip_id = (kernel_ulong_t)of_device_get_match_data(dev); in mpq8785_probe() 118 chip_id = (kernel_ulong_t)i2c_get_match_data(client); in mpq8785_probe() 120 switch (chip_id) { in mpq8785_probe() 139 if (voltage_scale > voltage_scale_loop_max_val[chip_id]) in mpq8785_probe()
|
H 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()
|
/linux/include/linux/mfd/abx500/ ! |
H A D | ab8500.h | 335 * @chip_id: chip revision id 355 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 < in is_ab9540_1p0_or_earlier() [all...] |
/linux/drivers/cpufreq/ ! |
H A D | powernv-trace.h | 15 TP_PROTO(int chip_id, const char *reason, int pmax), 17 TP_ARGS(chip_id, reason, pmax), 20 __field(int, chip_id) 26 __entry->chip_id = chip_id; 31 TP_printk("Chip %d Pmax %d %s", __entry->chip_id,
|
/linux/drivers/crypto/nx/ ! |
H A D | nx-common-powernv.c | 45 unsigned int chip_id; member 677 coproc->chip_id = chipid; in nx_add_coprocs_list() 714 unsigned int i, chip_id; in nx_open_percpu_txwins() local 719 chip_id = cpu_to_chip_id(i); in nx_open_percpu_txwins() 731 if (coproc->chip_id == chip_id) { in nx_open_percpu_txwins() 766 static int __init vas_cfg_coproc_info(struct device_node *dn, int chip_id, in vas_cfg_coproc_info() argument 853 nx_add_coprocs_list(coproc, chip_id); in vas_cfg_coproc_info() 871 static int __init nx_coproc_init(int chip_id, int ct_842, int ct_gzip) in nx_coproc_init() argument 876 ret = opal_nx_coproc_init(chip_id, ct_84 in nx_coproc_init() 892 find_nx_device_tree(struct device_node * dn,int chip_id,int vasid,int type,char * devname,int * ct) find_nx_device_tree() argument 909 int chip_id, vasid, ret = 0; nx_powernv_probe_vas() local 956 int chip_id; nx842_powernv_probe() local [all...] |
/linux/arch/mips/cavium-octeon/executive/ ! |
H A 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 in octeon_model_get_string_buffer() 507 octeon_model_get_string(uint32_t chip_id) octeon_model_get_string() argument [all...] |
/linux/drivers/misc/ ! |
H A D | tps6594-pfsm.c | 48 * @chip_id: chip identifier of the device 53 unsigned long chip_id; member 150 if (pfsm->chip_id != TPS65224 && pfsm->chip_id != TPS652G1) { in tps6594_pfsm_ioctl() 164 if (pfsm->chip_id == TPS65224 || pfsm->chip_id == TPS652G1) in tps6594_pfsm_ioctl() 189 if (pfsm->chip_id == TPS65224 || pfsm->chip_id == TPS652G1) in tps6594_pfsm_ioctl() 215 if (pfsm->chip_id == TPS65224 || pfsm->chip_id in tps6594_pfsm_ioctl() [all...] |
/linux/arch/mips/bcm47xx/ ! |
H 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/net/ethernet/dec/tulip/ ! |
H A 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 in dmfe_timer() 1770 dmfe_phy_write(void __iomem * ioaddr,u8 phy_addr,u8 offset,u16 phy_data,u32 chip_id) dmfe_phy_write() argument 1817 dmfe_phy_read(void __iomem * ioaddr,u8 phy_addr,u8 offset,u32 chip_id) dmfe_phy_read() argument [all...] |
/linux/drivers/mfd/ ! |
H A D | 88pm886.c | 91 unsigned int chip_id; in pm886_probe() local 99 chip->chip_id = (uintptr_t)device_get_match_data(dev); in pm886_probe() 107 err = regmap_read(regmap, PM886_REG_ID, &chip_id); in pm886_probe() 111 if (chip->chip_id != chip_id) in pm886_probe() 112 return dev_err_probe(dev, -EINVAL, "Unsupported chip: 0x%x\n", chip_id); in pm886_probe()
|
H 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()
|
/linux/drivers/regulator/ ! |
H A D | fan53555.c | 129 int chip_id; member 262 switch (di->chip_id) { in fan53526_voltages_setup_fairchild() 272 di->chip_id, di->chip_rev); in fan53526_voltages_setup_fairchild() 278 "Chip ID %d not supported!\n", di->chip_id); in fan53526_voltages_setup_fairchild() 295 switch (di->chip_id) { in fan53555_voltages_setup_fairchild() 311 di->chip_id, di->chip_rev); in fan53555_voltages_setup_fairchild() 334 "Chip ID %d not supported!\n", di->chip_id); in fan53555_voltages_setup_fairchild() 349 switch (di->chip_id) { in fan53555_voltages_setup_rockchip() 356 "Chip ID %d not supported!\n", di->chip_id); in fan53555_voltages_setup_rockchip() 372 switch (di->chip_id) { in rk8602_voltages_setup_rockchip() [all...] |
H A 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() 707 pfuze_chip->chip_id = (int)(long)match->data; in pfuze100_regulator_probe() 709 pfuze_chip->chip_id in pfuze100_regulator_probe() [all...] |
/linux/drivers/media/dvb-frontends/ ! |
H 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() 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 < in stv0900_get_demod_cold_lock() [all...] |
/linux/drivers/gpu/drm/loongson/ ! |
H A D | loongson_device.c | 56 .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/drivers/ssb/ ! |
H A 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/drivers/gpu/drm/msm/adreno/ ! |
H A D | adreno_device.c | 43 static const struct adreno_info *adreno_info(uint32_t chip_id) in adreno_info() argument 54 if (info->chip_ids[k] == chip_id) in adreno_info() 184 uint32_t chip_id; in adreno_has_gpu() local 187 ret = find_chipid(node, &chip_id); in adreno_has_gpu() 191 info = adreno_info(chip_id); in adreno_has_gpu() 194 node, ADRENO_CHIPID_ARGS(chip_id)); in adreno_has_gpu() 210 ret = find_chipid(dev->of_node, &config.chip_id); in adreno_bind() 211 /* We shouldn't have gotten this far if we can't parse the chip_id */ in adreno_bind() 218 info = adreno_info(config.chip_id); in adreno_bind() 225 DBG("Found GPU: %"ADRENO_CHIPID_FMT, ADRENO_CHIPID_ARGS(config.chip_id)); in adreno_bind() [all...] |
/linux/drivers/iio/accel/ ! |
H A D | mxc6255.c | 120 unsigned int chip_id; in mxc6255_probe() local 144 ret = regmap_read(data->regmap, MXC6255_REG_CHIP_ID, &chip_id); in mxc6255_probe() 150 if ((chip_id & 0x1f) != MXC6255_CHIP_ID) { in mxc6255_probe() 151 dev_err(&client->dev, "Invalid chip id %x\n", chip_id); in mxc6255_probe() 155 dev_dbg(&client->dev, "Chip id %x\n", chip_id); in mxc6255_probe()
|
/linux/drivers/video/fbdev/ ! |
H A D | tridentfb.c | 36 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() 1467 int chip_id; trident_pci_probe() local [all...] |
/linux/drivers/soc/hisilicon/ ! |
H A D | kunpeng_hccs.h | 54 u8 chip_id; member 117 u8 chip_id; member 121 u8 chip_id; member 145 u8 chip_id; member 151 u8 chip_id; member
|
/linux/drivers/hwmon/ ! |
H A D | lm90.c | 1855 * The calling code already checked man_id and chip_id. in lm90_detect_max1617() 1912 static const char *lm90_detect_national(struct i2c_client *client, int chip_id, in lm90_detect_national() argument 1928 switch (chip_id & 0xf0) { in lm90_detect_national() 1947 static const char *lm90_detect_on(struct i2c_client *client, int chip_id, int config1, in lm90_detect_on() argument 1953 switch (chip_id) { in lm90_detect_on() 1966 int chip_id, int config1, int convrate) in lm90_detect_analog() argument 2014 switch (chip_id) { in lm90_detect_analog() 2123 int chip_id, int config1, int convrate) in lm90_detect_maxim() argument 2129 switch (chip_id) { in lm90_detect_maxim() 2166 * The chip_id registe in lm90_detect_maxim() 2324 lm90_detect_nuvoton(struct i2c_client * client,int chip_id,int config1,int convrate) lm90_detect_nuvoton() argument 2346 lm90_detect_nuvoton_50(struct i2c_client * client,int chip_id,int config1,int convrate) lm90_detect_nuvoton_50() argument 2379 lm90_detect_nxp(struct i2c_client * client,bool common_address,int chip_id,int config1,int convrate) lm90_detect_nxp() argument 2404 lm90_detect_gmt(struct i2c_client * client,int chip_id,int config1,int convrate) lm90_detect_gmt() argument 2447 lm90_detect_ti49(struct i2c_client * client,bool common_address,int chip_id,int config1,int convrate) lm90_detect_ti49() argument 2458 lm90_detect_ti(struct i2c_client * client,int chip_id,int config1,int convrate) lm90_detect_ti() argument 2490 int man_id, chip_id, config1, convrate, lhigh; lm90_detect() local [all...] |