Home
last modified time | relevance | path

Searched refs:chip_id (Results 76 – 100 of 445) sorted by relevance

12345678910>>...18

/openbmc/linux/drivers/media/tuners/
H A Dtda18250.c750 unsigned char chip_id[3]; in tda18250_probe() local
806 regmap_bulk_read(dev->regmap, R00_ID1, &chip_id, 3); in tda18250_probe()
808 chip_id[0], chip_id[1], chip_id[2]); in tda18250_probe()
810 switch (chip_id[0]) { in tda18250_probe()
822 if (chip_id[1] != 0x4a) { in tda18250_probe()
827 switch (chip_id[2]) { in tda18250_probe()
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dutil.c108 const char *qtnf_chipid_to_string(unsigned long chip_id) in qtnf_chipid_to_string() argument
110 switch (chip_id) { in qtnf_chipid_to_string()
/openbmc/linux/drivers/hwmon/
H A Dadm1029.c299 u8 man_id, chip_id, temp_devices_installed, nb_fan_support; in adm1029_detect() local
312 chip_id = i2c_smbus_read_byte_data(client, ADM1029_REG_CHIP_ID); in adm1029_detect()
322 if ((chip_id & 0xF0) != 0x00) { in adm1029_detect()
328 chip_id); in adm1029_detect()
H A Dlm83.c372 u8 man_id, chip_id; in lm83_detect() local
391 chip_id = i2c_smbus_read_byte_data(client, LM83_REG_R_CHIP_ID); in lm83_detect()
392 switch (chip_id) { in lm83_detect()
411 man_id, chip_id); in lm83_detect()
/openbmc/linux/include/trace/events/
H A Dfsi.h164 __field(int, chip_id)
173 __entry->chip_id = slave->chip_id;
182 __entry->chip_id,
/openbmc/linux/drivers/input/touchscreen/
H A Dimagis.c252 int chip_id, error; in imagis_probe() local
280 &chip_id); in imagis_probe()
286 if (chip_id != IST3038C_WHOAMI) { in imagis_probe()
287 dev_err(dev, "unknown chip ID: 0x%x\n", chip_id); in imagis_probe()
H A Dsilead.c75 u32 chip_id; member
488 __le32 chip_id; in silead_ts_get_id() local
492 sizeof(chip_id), (u8 *)&chip_id); in silead_ts_get_id()
496 data->chip_id = le32_to_cpu(chip_id); in silead_ts_get_id()
497 dev_info(&client->dev, "Silead chip ID: 0x%8X", data->chip_id); in silead_ts_get_id()
/openbmc/linux/drivers/mfd/
H A Dda903x.c248 uint8_t chip_id; in da9030_init_chip() local
251 err = __da903x_read(chip->client, DA9030_CHIP_ID, &chip_id); in da9030_init_chip()
259 dev_info(chip->dev, "DA9030 (CHIP ID: 0x%02x) detected\n", chip_id); in da9030_init_chip()
309 uint8_t chip_id; in da9034_init_chip() local
312 err = __da903x_read(chip->client, DA9034_CHIP_ID, &chip_id); in da9034_init_chip()
336 dev_info(chip->dev, "DA9034 (CHIP ID: 0x%02x) detected\n", chip_id); in da9034_init_chip()
H A Dsi476x-i2c.c646 return core->chip_id == SI476X_CHIP_SI4761 || in si476x_core_has_am()
647 core->chip_id == SI476X_CHIP_SI4764; in si476x_core_has_am()
653 return core->chip_id == SI476X_CHIP_SI4764; in si476x_core_has_diversity()
795 core->chip_id = id->driver_data; in si476x_core_probe()
810 if ((core->chip_id == SI476X_CHIP_SI4761 || in si476x_core_probe()
811 core->chip_id == SI476X_CHIP_SI4764) && in si476x_core_probe()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dhwmgr.c119 switch (hwmgr->chip_id) { in hwmgr_early_init()
157 switch (hwmgr->chip_id) { in hwmgr_early_init()
179 switch (hwmgr->chip_id) { in hwmgr_early_init()
485 if (((hwmgr->chip_id == CHIP_POLARIS11) && !hwmgr->is_kicker) || in polaris_set_asic_special_caps()
486 (hwmgr->chip_id == CHIP_POLARIS12)) in polaris_set_asic_special_caps()
490 if (hwmgr->chip_id != CHIP_POLARIS11) { in polaris_set_asic_special_caps()
H A Dsmu_helper.c508 if (hwmgr->chip_id >= CHIP_POLARIS10 && in phm_initializa_dynamic_state_adjustment_rule_settings()
509 hwmgr->chip_id <= CHIP_VEGAM) in phm_initializa_dynamic_state_adjustment_rule_settings()
514 if (hwmgr->chip_id >= CHIP_POLARIS10 && in phm_initializa_dynamic_state_adjustment_rule_settings()
515 hwmgr->chip_id <= CHIP_VEGAM) in phm_initializa_dynamic_state_adjustment_rule_settings()
520 if (hwmgr->chip_id >= CHIP_POLARIS10 && in phm_initializa_dynamic_state_adjustment_rule_settings()
521 hwmgr->chip_id <= CHIP_VEGAM) in phm_initializa_dynamic_state_adjustment_rule_settings()
588 if (hwmgr->chip_id < CHIP_TONGA) { in phm_get_voltage_evv_on_sclk()
590 } else if (hwmgr->chip_id < CHIP_POLARIS10) { in phm_get_voltage_evv_on_sclk()
/openbmc/linux/drivers/video/backlight/
H A Dlp855x_bl.c66 enum lp855x_chip_id chip_id; member
106 switch (lp->chip_id) { in lp855x_is_valid_rom_area()
310 static DEVICE_ATTR(chip_id, S_IRUGO, lp855x_get_chip_id, NULL);
416 lp->chip_id = id->driver_data; in lp855x_probe()
423 lp->chip_id = acpi_id->driver_data; in lp855x_probe()
426 switch (lp->chip_id) { in lp855x_probe()
/openbmc/linux/drivers/video/fbdev/
H A Dsm712fb.c47 u16 chip_id; member
902 switch (sfb->chip_id) { in smtc_blank()
1263 switch (sfb->chip_id) { in smtc_set_timing()
1380 if (sfb->chip_id == 0x720) in smtc_map_smem()
1408 if (sfb->chip_id == 0x720) in smtc_unmap_smem()
1428 switch (sfb->chip_id) { in sm7xx_vram_probe()
1529 sfb->chip_id = ent->device; in smtcfb_pci_probe()
1549 switch (sfb->chip_id) { in smtcfb_pci_probe()
1635 sfb->chip_id, sfb->chip_rev_id, sfb->fb->var.xres, in smtcfb_pci_probe()
1712 switch (sfb->chip_id) { in smtcfb_pci_resume()
/openbmc/linux/drivers/ssb/
H A Ddriver_chipcommon.c215 if (bus->chip_id == 0x4321) { in chipco_powercontrol_init()
246 switch (bus->chip_id) { in pmu_fast_powerup_delay()
424 if (cc->dev->bus->chip_id != 0x5365) { in ssb_chipco_get_clockcontrol()
452 if ((bus->chip_id == 0x5365) || in ssb_chipco_timing_init()
455 if ((bus->chip_id == 0x5365) || in ssb_chipco_timing_init()
457 ((bus->chip_id == 0x5350) && (bus->chip_rev == 0))) in ssb_chipco_timing_init()
460 if (bus->chip_id == 0x5350) { in ssb_chipco_timing_init()
/openbmc/linux/drivers/iio/chemical/
H A Dvz89x.c357 int chip_id; in vz89x_probe() local
373 chip_id = id->driver_data; in vz89x_probe()
375 chip_id = (unsigned long)device_get_match_data(dev); in vz89x_probe()
379 data->chip = &vz89x_chips[chip_id]; in vz89x_probe()
/openbmc/linux/drivers/media/dvb-frontends/
H A Dstv0900_core.c365 if (intp->chip_id >= 0x20) { in stv0900_set_ts_parallel_serial()
887 if (intp->chip_id <= 0x11) { in stv0900_activate_s2_modcod()
963 if (intp->chip_id == 0x10) in stv0900_start_search()
966 if (intp->chip_id < 0x20) in stv0900_start_search()
969 if (intp->chip_id <= 0x20) { in stv0900_start_search()
1015 if (intp->chip_id >= 0x20) { in stv0900_start_search()
1035 if (intp->chip_id >= 0x20) { in stv0900_start_search()
1037 if (intp->chip_id <= 0x20) in stv0900_start_search()
1081 if (chip_id <= 0x12) { in stv0900_get_optim_carr_loop()
1188 u8 chip_id) in stv0900_get_optim_short_carr_loop() argument
[all …]
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_device.h449 u16 chip_id; member
623 ((_oct->chip_id == OCTEON_CN66XX) || \
624 (_oct->chip_id == OCTEON_CN68XX)); })
625 #define OCTEON_CN23XX_PF(oct) ((oct)->chip_id == OCTEON_CN23XX_PF_VID)
626 #define OCTEON_CN23XX_VF(oct) ((oct)->chip_id == OCTEON_CN23XX_VF_VID)
H A Docteon_device.c577 if (oct->chip_id == OCTEON_CN66XX) { in __retrieve_octeon_config_info()
579 } else if ((oct->chip_id == OCTEON_CN68XX) && in __retrieve_octeon_config_info()
582 } else if ((oct->chip_id == OCTEON_CN68XX) && in __retrieve_octeon_config_info()
585 } else if (oct->chip_id == OCTEON_CN23XX_PF_VID) { in __retrieve_octeon_config_info()
587 } else if (oct->chip_id == OCTEON_CN23XX_VF_VID) { in __retrieve_octeon_config_info()
599 switch (oct->chip_id) { in __verify_octeon_config_info()
854 if (oct->chip_id == OCTEON_CN23XX_PF_VID) in octeon_allocate_ioq_vector()
961 } else if (oct->chip_id == OCTEON_CN23XX_VF_VID) { in octeon_set_io_queues_off()
1353 if ((oct->chip_id == OCTEON_CN66XX) || in lio_pci_readq()
1354 (oct->chip_id == OCTEON_CN68XX) || in lio_pci_readq()
[all …]
/openbmc/linux/drivers/iio/frequency/
H A Dadrf6780.c374 unsigned int chip_id, enable_reg, enable_reg_msk; in adrf6780_init() local
382 ret = __adrf6780_spi_read(st, ADRF6780_REG_CONTROL, &chip_id); in adrf6780_init()
386 chip_id = FIELD_GET(ADRF6780_CHIP_ID_MSK, chip_id); in adrf6780_init()
387 if (chip_id != ADRF6780_CHIP_ID) { in adrf6780_init()
/openbmc/linux/drivers/media/usb/em28xx/
H A Dem28xx-core.c498 if (dev->chip_id == CHIP_ID_EM2870 || in em28xx_audio_setup()
499 dev->chip_id == CHIP_ID_EM2874 || in em28xx_audio_setup()
500 dev->chip_id == CHIP_ID_EM28174 || in em28xx_audio_setup()
501 dev->chip_id == CHIP_ID_EM28178) { in em28xx_audio_setup()
521 if (dev->chip_id < CHIP_ID_EM2860 && in em28xx_audio_setup()
525 else if (dev->chip_id >= CHIP_ID_EM2860 && in em28xx_audio_setup()
626 if (dev->chip_id == CHIP_ID_EM2874 || in em28xx_capture_start()
627 dev->chip_id == CHIP_ID_EM2884 || in em28xx_capture_start()
628 dev->chip_id == CHIP_ID_EM28174 || in em28xx_capture_start()
629 dev->chip_id == CHIP_ID_EM28178) { in em28xx_capture_start()
/openbmc/linux/drivers/iio/adc/
H A Dad7192.c173 unsigned int chip_id; member
405 if (id != st->chip_info->chip_id) in ad7192_setup()
407 id, st->chip_info->chip_id); in ad7192_setup()
420 if (refin2_en && st->chip_info->chip_id != CHIPID_AD7195) in ad7192_setup()
935 .chip_id = CHIPID_AD7190,
939 .chip_id = CHIPID_AD7192,
943 .chip_id = CHIPID_AD7193,
947 .chip_id = CHIPID_AD7195,
956 switch (st->chip_info->chip_id) { in ad7192_channels_config()
1049 if (st->chip_info->chip_id == CHIPID_AD7195) in ad7192_probe()
H A Dad7124.c142 unsigned int chip_id; member
200 .chip_id = CHIPID_AD7124_4,
205 .chip_id = CHIPID_AD7124_8,
784 unsigned int readval, chip_id, silicon_rev; in ad7124_check_chip_id() local
791 chip_id = AD7124_DEVICE_ID_GET(readval); in ad7124_check_chip_id()
794 if (chip_id != st->chip_info->chip_id) { in ad7124_check_chip_id()
797 st->chip_info->chip_id, chip_id); in ad7124_check_chip_id()
/openbmc/linux/include/linux/ssb/
H A Dssb_driver_gige.h87 return ((dev->dev->bus->chip_id == 0x4785) && in ssb_gige_one_dma_at_once()
97 return (dev->dev->bus->chip_id == 0x4785); in ssb_gige_must_flush_posted_writes()
/openbmc/linux/arch/mips/include/asm/mach-ar7/
H A Dar7.h134 u16 chip_id = ar7_chip_id(); in ar7_has_high_cpmac() local
135 switch (chip_id) { in ar7_has_high_cpmac()
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A Dinterrupt.c92 if(tp->chip_id == LC82C168) { in tulip_refill_rx()
327 iowrite32(tulip_tbl[tp->chip_id].valid_intrs, tp->base_addr+CSR7); in tulip_poll()
561 iowrite32(tulip_tbl[tp->chip_id].valid_intrs&~RxPollInt, ioaddr + CSR7); in tulip_interrupt()
735 iowrite32(tulip_tbl[tp->chip_id].valid_intrs, ioaddr + CSR7); in tulip_interrupt()
750 } else if (tp->chip_id == LC82C168) { in tulip_interrupt()
794 if (tp->chip_id == LC82C168) {
803 iowrite32(tulip_tbl[tp->chip_id].valid_intrs | TimerInt,

12345678910>>...18