Home
last modified time | relevance | path

Searched refs:chip_type (Results 1 – 25 of 94) sorted by relevance

1234

/openbmc/qemu/tests/qtest/
H A Dpnv-xscom.h23 PnvChipType chip_type; member
33 .chip_type = PNV_CHIP_POWER8,
40 .chip_type = PNV_CHIP_POWER8NVL,
48 .chip_type = PNV_CHIP_POWER9,
56 .chip_type = PNV_CHIP_POWER10,
69 if (chip->chip_type == PNV_CHIP_POWER10) { in pnv_xscom_addr()
71 } else if (chip->chip_type == PNV_CHIP_POWER9) { in pnv_xscom_addr()
H A Dpnv-xscom-test.c34 if (chip->chip_type == PNV_CHIP_POWER9) { in test_cfam_id()
36 } else if (chip->chip_type == PNV_CHIP_POWER10) { in test_cfam_id()
60 if (chip->chip_type == PNV_CHIP_POWER10) { in test_xscom_core()
72 if (chip->chip_type == PNV_CHIP_POWER9) { in test_xscom_core()
90 if (chip->chip_type == PNV_CHIP_POWER9) { in test_core()
92 } else if (chip->chip_type == PNV_CHIP_POWER10) { in test_core()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_chip_type.h56 enum chip_type { enum
72 static inline int is_t4(enum chip_type chip) in is_t4()
77 static inline int is_t5(enum chip_type chip) in is_t5()
82 static inline int is_t6(enum chip_type chip) in is_t6()
/openbmc/linux/drivers/watchdog/
H A Dit87_wdt.c96 static unsigned int max_units, chip_type; variable
177 if (chip_type != IT8721_ID) in _wdt_update_timeout()
291 chip_type = superio_inw(CHIPID); in it87_wdt_init()
299 switch (chip_type) { in it87_wdt_init()
330 chip_type, chip_rev); in it87_wdt_init()
337 chip_type, chip_rev); in it87_wdt_init()
348 switch (chip_type) { in it87_wdt_init()
390 chip_type, chip_rev, timeout, nowayout, testmode); in it87_wdt_init()
H A Dit8712f_wdt.c361 int chip_type; in it8712f_wdt_find() local
366 chip_type = superio_inw(DEVID); in it8712f_wdt_find()
367 if (chip_type != IT8712F_DEVID) in it8712f_wdt_find()
394 chip_type, revision, *address); in it8712f_wdt_find()
/openbmc/linux/sound/pci/ctxfi/
H A Dcthardware.c19 int create_hw_obj(struct pci_dev *pci, enum CHIPTYP chip_type, in create_hw_obj() argument
24 switch (chip_type) { in create_hw_obj()
39 (*rhw)->chip_type = chip_type; in create_hw_obj()
/openbmc/linux/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_i2c.c30 switch (st->chip_type) { in inv_mpu_i2c_aux_bus()
66 switch (st->chip_type) { in inv_mpu_i2c_aux_setup()
104 enum inv_devices chip_type; in inv_mpu_probe() local
114 chip_type = (uintptr_t)match; in inv_mpu_probe()
117 chip_type = (enum inv_devices) in inv_mpu_probe()
132 inv_mpu_i2c_aux_setup, chip_type); in inv_mpu_probe()
H A Dinv_mpu_spi.c41 enum inv_devices chip_type; in inv_mpu_probe() local
44 chip_type = (enum inv_devices)spi_id->driver_data; in inv_mpu_probe()
47 chip_type = (uintptr_t)match; in inv_mpu_probe()
61 inv_mpu_i2c_disable, chip_type); in inv_mpu_probe()
H A Dinv_mpu_magn.c49 switch (st->chip_type) { in inv_magn_supported()
76 switch (st->chip_type) { in inv_magn_init()
113 switch (st->chip_type) { in inv_magn_init()
207 switch (st->chip_type) { in inv_mpu_magn_probe()
270 switch (st->chip_type) { in inv_mpu_magn_set_orient()
/openbmc/linux/arch/sparc/kernel/
H A Dpci_schizo.c1078 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) in schizo_scan_bus()
1095 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) { in schizo_pbm_strbuf_init()
1269 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO && in schizo_pbm_hw_init()
1278 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO && in schizo_pbm_hw_init()
1284 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) in schizo_pbm_hw_init()
1297 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) { in schizo_pbm_hw_init()
1313 int chip_type) in schizo_pbm_init() argument
1320 switch (chip_type) { in schizo_pbm_init()
1361 pbm->chip_type = chip_type; in schizo_pbm_init()
1368 if (chip_type == PBM_CHIP_TYPE_TOMATILLO) in schizo_pbm_init()
[all …]
/openbmc/linux/drivers/bluetooth/
H A Dbtrtl.c80 __u8 chip_type; member
131 .chip_type = RTL_CHIP_8723CS_CG,
143 .chip_type = RTL_CHIP_8723CS_VF,
155 .chip_type = RTL_CHIP_8723CS_XX,
314 u8 chip_type) in btrtl_match_ic() argument
332 (ic_id_table[i].chip_type != chip_type)) in btrtl_match_ic()
993 struct rtl_chip_type_evt *chip_type; in rtl_read_chip_type() local
1005 chip_type = skb_pull_data(skb, sizeof(*chip_type)); in rtl_read_chip_type()
1006 if (!chip_type) { in rtl_read_chip_type()
1013 chip_type->status, chip_type->type); in rtl_read_chip_type()
[all …]
/openbmc/linux/drivers/power/supply/
H A Dmax17042_battery.c58 enum max170xx_chip_type chip_type; member
285 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) in max17042_get_property()
645 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17047 || in max17042_write_config_regs()
646 chip->chip_type == MAXIM_DEVICE_TYPE_MAX17050 || in max17042_write_config_regs()
647 chip->chip_type == MAXIM_DEVICE_TYPE_MAX17055) in max17042_write_config_regs()
660 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) { in max17042_write_custom_regs()
774 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) { in max17042_override_por_values()
782 if ((chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) || in max17042_override_por_values()
783 (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17047) || in max17042_override_por_values()
784 (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17050)) { in max17042_override_por_values()
[all …]
/openbmc/linux/sound/pci/
H A Dals300.c118 int chip_type; /* ALS300 or ALS300+ */ member
158 if (((chip->revision > 5 || chip->chip_type == DEVICE_ALS300_PLUS) ^ in snd_als300_set_irq_flag()
598 struct pci_dev *pci, int chip_type) in snd_als300_create() argument
617 chip->chip_type = chip_type; in snd_als300_create()
626 if (chip->chip_type == DEVICE_ALS300_PLUS) in snd_als300_create()
692 int err, chip_type; in snd_als300_probe() local
707 chip_type = pci_id->driver_data; in snd_als300_probe()
709 err = snd_als300_create(card, pci, chip_type); in snd_als300_probe()
714 if (chip->chip_type == DEVICE_ALS300_PLUS) in snd_als300_probe()
H A Dvia82xx.c345 int chip_type; member
728 if (chip->chip_type != TYPE_VIA686) in snd_via82xx_pcm_trigger()
1901 if (chip->chip_type != TYPE_VIA686) { in snd_via82xx_mixer_new()
1971 caps = chip->chip_type == TYPE_VIA8233A ? 1 : 2; in snd_via8233_init_misc()
1983 if (chip->chip_type != TYPE_VIA8233A) { in snd_via8233_init_misc()
2129 if (chip->chip_type == TYPE_VIA686) in snd_via82xx_chip_init()
2201 if (chip->chip_type == TYPE_VIA686) { in snd_via82xx_chip_init()
2208 if (chip->chip_type != TYPE_VIA686) { in snd_via82xx_chip_init()
2222 if (chip->chip_type != TYPE_VIA8233A) { in snd_via82xx_chip_init()
2253 if (chip->chip_type != TYPE_VIA686) { in snd_via82xx_suspend()
[all …]
/openbmc/u-boot/drivers/tpm/
H A Dtpm_tis_infineon.c78 if ((chip->chip_type == SLB9635) || (chip->chip_type == UNKNOWN)) { in tpm_tis_i2c_read()
132 if (chip->chip_type == SLB9635) { in tpm_tis_i2c_write_generic()
531 if (chip->chip_type == SLB9635) { in tpm_tis_i2c_init()
539 if (chip->chip_type != UNKNOWN && vendor != expected_did_vid) { in tpm_tis_i2c_init()
546 chip_name[chip->chip_type], vendor >> 16); in tpm_tis_i2c_init()
593 chip_name[chip->chip_type], in tpm_tis_get_desc()
602 chip->chip_type = dev_get_driver_data(dev); in tpm_tis_i2c_probe()
H A Dtpm_tis_lpc.c165 ulong chip_type = dev_get_driver_data(dev); in tpm_tis_lpc_probe() local
173 if (didvid != chip_didvid[chip_type]) { in tpm_tis_lpc_probe()
181 debug("Found TPM: %s\n", chip_name[chip_type]); in tpm_tis_lpc_probe()
446 ulong chip_type = dev_get_driver_data(dev); in tpm_tis_get_desc() local
452 chip_name[chip_type]); in tpm_tis_get_desc()
/openbmc/linux/drivers/net/ethernet/cirrus/
H A Dmac89x0.c106 int chip_type; /* one of: CS8900, CS8920, CS8920M */ member
222 lp->chip_type = rev_type &~ REVISON_BITS; in mac89x0_device_probe()
228 if (lp->chip_type == CS8900 && lp->chip_revision >= 'F') in mac89x0_device_probe()
230 if (lp->chip_type != CS8900 && lp->chip_revision >= 'C') in mac89x0_device_probe()
236 lp->chip_type == CS8900 ? '0' : '2', in mac89x0_device_probe()
237 lp->chip_type == CS8920M ? "M" : "", in mac89x0_device_probe()
298 if (lp->chip_type == CS8900) in net_open()
H A Dcs89x0.c138 int chip_type; /* one of: CS8900, CS8920, CS8920M */ member
291 write_irq(struct net_device *dev, int chip_type, int irq) in write_irq() argument
295 if (chip_type == CS8900) { in write_irq()
349 if (lp->chip_type == CS8900) in get_dma_channel()
359 write_dma(struct net_device *dev, int chip_type, int dma) in write_dma() argument
364 if (chip_type == CS8900) in write_dma()
585 if (lp->chip_type == CS8900) { in detect_tp()
849 write_irq(dev, lp->chip_type, i); in net_open()
877 write_irq(dev, lp->chip_type, dev->irq); in net_open()
911 write_dma(dev, lp->chip_type, dev->dma); in net_open()
[all …]
/openbmc/u-boot/drivers/power/
H A Dtwl6030.c13 .chip_type = chip_TWL6030,
22 .chip_type = chip_TWL6032,
135 if (twl->chip_type == chip_TWL6030) { in twl6030_get_battery_voltage()
186 if (twl->chip_type == chip_TWL6030) { in twl6030_init_battery_charging()
/openbmc/linux/drivers/regulator/
H A Drt5759-regulator.c54 unsigned long chip_type; member
243 if (priv->chip_type == CHIP_TYPE_RT5759A) in rt5759_regulator_register()
269 if (priv->chip_type != CHIP_TYPE_RT5759A) in rt5759_init_device_property()
303 if (priv->chip_type == CHIP_TYPE_RT5759A && reg == RT5759A_REG_WDTEN) in rt5759_is_accessible_reg()
327 priv->chip_type = (unsigned long)of_device_get_match_data(&i2c->dev); in rt5759_probe()
/openbmc/linux/drivers/gpio/
H A Dgpio-it87.c275 u16 chip_type; in it87_gpio_init() local
285 chip_type = superio_inw(CHIPID); in it87_gpio_init()
291 switch (chip_type) { in it87_gpio_init()
332 chip_type, chip_rev); in it87_gpio_init()
348 chip_type, chip_rev, it87_gpio->chip.ngpio, in it87_gpio_init()
/openbmc/linux/drivers/mfd/
H A Drohm-bd9576.c97 unsigned long chip_type; in bd957x_i2c_probe() local
101 chip_type = (unsigned long)of_device_get_match_data(&i2c->dev); in bd957x_i2c_probe()
103 switch (chip_type) { in bd957x_i2c_probe()
H A Drohm-bd718x7.c134 unsigned int chip_type; in bd718xx_i2c_probe() local
142 chip_type = (unsigned int)(uintptr_t) in bd718xx_i2c_probe()
144 switch (chip_type) { in bd718xx_i2c_probe()
/openbmc/linux/drivers/video/fbdev/via/
H A Dvia-core.c192 if (global_dev.chip_type != UNICHROME_VX855) in viafb_request_dma()
322 static int viafb_get_fb_size_from_pci(int chip_type) in viafb_get_fb_size_from_pci() argument
375 if (chip_type < UNICHROME_CX700) { in viafb_get_fb_size_from_pci()
459 if (vdev->chip_type == UNICHROME_VX900) in via_pci_setup_mmio()
463 ret = vdev->fbmem_len = viafb_get_fb_size_from_pci(vdev->chip_type); in via_pci_setup_mmio()
634 global_dev.chip_type = ent->driver_data; in via_pci_probe()
/openbmc/u-boot/board/nokia/rx51/
H A Dtag_omap.h151 u8 chip_type; member
161 u8 chip_type; member
264 .u.wlan_cx3110x.chip_type = p1, \

1234