/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_chip_type.h | 56 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()
|
/linux-6.1.9/sound/pci/ctxfi/ |
D | cthardware.c | 19 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()
|
D | ctatc.h | 80 int chip_type; member 152 unsigned int rsr, unsigned int msr, int chip_type,
|
/linux-6.1.9/drivers/watchdog/ |
D | it87_wdt.c | 87 static unsigned int max_units, chip_type; variable 168 if (chip_type != IT8721_ID) in _wdt_update_timeout() 264 chip_type = superio_inw(CHIPID); in it87_wdt_init() 268 switch (chip_type) { in it87_wdt_init() 299 chip_type, chip_rev); in it87_wdt_init() 306 chip_type, chip_rev); in it87_wdt_init() 339 chip_type, chip_rev, timeout, nowayout, testmode); in it87_wdt_init()
|
D | it8712f_wdt.c | 361 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()
|
/linux-6.1.9/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_i2c.c | 30 switch (st->chip_type) { in inv_mpu_i2c_aux_bus() 65 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()
|
D | inv_mpu_spi.c | 41 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()
|
D | inv_mpu_magn.c | 49 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()
|
D | inv_mpu_core.c | 301 switch (st->chip_type) { in inv_mpu6050_clock_switch() 454 switch (st->chip_type) { in inv_mpu6050_set_gyro_fsr() 483 switch (st->chip_type) { in inv_mpu6050_set_lpf_regs() 1320 st->hw = &hw_info[st->chip_type]; in inv_check_and_setup_chip() 1321 st->reg = hw_info[st->chip_type].reg; in inv_check_and_setup_chip() 1322 memcpy(&st->chip_config, hw_info[st->chip_type].config, in inv_check_and_setup_chip() 1354 switch (st->chip_type) { in inv_check_and_setup_chip() 1445 int (*inv_mpu_bus_setup)(struct iio_dev *), int chip_type) in inv_mpu_core_probe() argument 1460 if (chip_type < 0 || chip_type >= INV_NUM_PARTS) { in inv_mpu_core_probe() 1462 chip_type, name); in inv_mpu_core_probe() [all …]
|
/linux-6.1.9/arch/sparc/kernel/ |
D | pci_schizo.c | 1078 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 …]
|
/linux-6.1.9/sound/pci/ |
D | als300.c | 118 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()
|
D | via82xx.c | 345 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() 2133 if (chip->chip_type == TYPE_VIA686) in snd_via82xx_chip_init() 2205 if (chip->chip_type == TYPE_VIA686) { in snd_via82xx_chip_init() 2212 if (chip->chip_type != TYPE_VIA686) { in snd_via82xx_chip_init() 2226 if (chip->chip_type != TYPE_VIA8233A) { in snd_via82xx_chip_init() 2257 if (chip->chip_type != TYPE_VIA686) { in snd_via82xx_suspend() [all …]
|
/linux-6.1.9/drivers/power/supply/ |
D | max17042_battery.c | 58 enum max170xx_chip_type chip_type; member 285 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) in max17042_get_property() 650 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17047 || in max17042_write_config_regs() 651 chip->chip_type == MAXIM_DEVICE_TYPE_MAX17050 || in max17042_write_config_regs() 652 chip->chip_type == MAXIM_DEVICE_TYPE_MAX17055) in max17042_write_config_regs() 665 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) { in max17042_write_custom_regs() 779 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) { in max17042_override_por_values() 787 if ((chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) || in max17042_override_por_values() 788 (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17047) || in max17042_override_por_values() 789 (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17050)) { in max17042_override_por_values() [all …]
|
/linux-6.1.9/drivers/net/ethernet/cirrus/ |
D | mac89x0.c | 106 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()
|
D | cs89x0.c | 137 int chip_type; /* one of: CS8900, CS8920, CS8920M */ member 290 write_irq(struct net_device *dev, int chip_type, int irq) in write_irq() argument 294 if (chip_type == CS8900) { in write_irq() 348 if (lp->chip_type == CS8900) in get_dma_channel() 358 write_dma(struct net_device *dev, int chip_type, int dma) in write_dma() argument 363 if (chip_type == CS8900) in write_dma() 584 if (lp->chip_type == CS8900) { in detect_tp() 848 write_irq(dev, lp->chip_type, i); in net_open() 876 write_irq(dev, lp->chip_type, dev->irq); in net_open() 910 write_dma(dev, lp->chip_type, dev->dma); in net_open() [all …]
|
/linux-6.1.9/drivers/gpio/ |
D | gpio-it87.c | 275 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()
|
/linux-6.1.9/drivers/regulator/ |
D | rt5759-regulator.c | 54 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()
|
/linux-6.1.9/drivers/mfd/ |
D | rohm-bd9576.c | 98 unsigned long chip_type; in bd957x_i2c_probe() local 102 chip_type = (unsigned long)of_device_get_match_data(&i2c->dev); in bd957x_i2c_probe() 104 switch (chip_type) { in bd957x_i2c_probe()
|
D | rohm-bd718x7.c | 136 unsigned int chip_type; in bd718xx_i2c_probe() local 144 chip_type = (unsigned int)(uintptr_t) in bd718xx_i2c_probe() 146 switch (chip_type) { in bd718xx_i2c_probe()
|
/linux-6.1.9/drivers/video/fbdev/via/ |
D | via-core.c | 192 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()
|
/linux-6.1.9/drivers/media/usb/dvb-usb-v2/ |
D | af9035.c | 343 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer() 350 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer() 401 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer() 408 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer() 434 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer() 440 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer() 496 state->chip_type = rbuf[2] << 8 | rbuf[1] << 0; in af9035_identify_state() 503 state->prechip_version, state->chip_version, state->chip_type); in af9035_identify_state() 505 if (state->chip_type == 0x9135) { in af9035_identify_state() 526 } else if (state->chip_type == 0x9306) { in af9035_identify_state() [all …]
|
/linux-6.1.9/drivers/usb/serial/ |
D | ftdi_sio.c | 70 enum ftdi_chip_type chip_type; member 1276 switch (priv->chip_type) { in get_ftdi_divisor() 1347 ftdi_chip_name[priv->chip_type]); in get_ftdi_divisor() 1384 if (priv->chip_type == SIO || priv->chip_type == FT232A) in write_latency_timer() 1425 if (priv->chip_type == SIO || priv->chip_type == FT232A) in read_latency_timer() 1516 priv->chip_type = FT232A; in ftdi_determine_type() 1526 priv->chip_type = FT232B; in ftdi_determine_type() 1530 priv->chip_type = FT232B; in ftdi_determine_type() 1535 priv->chip_type = FT2232C; in ftdi_determine_type() 1539 priv->chip_type = FT232R; in ftdi_determine_type() [all …]
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_common.h | 57 enum chip_type { enum 267 enum chip_type chip; /* chip code */ 342 static inline int is_t4(enum chip_type chip) in is_t4()
|
/linux-6.1.9/drivers/gpu/drm/rockchip/ |
D | analogix_dp-rockchip.c | 54 u32 chip_type; member 396 dp->plat_data.dev_type = dp->data->chip_type; in rockchip_dp_probe() 465 .chip_type = RK3399_EDP, 472 .chip_type = RK3288_DP,
|
/linux-6.1.9/drivers/hwmon/ |
D | adm1031.c | 67 int chip_type; member 122 chan < ((data->chip_type == adm1031) ? 3 : 2); chan++) { in adm1031_update_device() 171 if (data->chip_type == adm1030) in adm1031_update_device() 174 for (chan = 0; chan < (data->chip_type == adm1030 ? 1 : 2); in adm1031_update_device() 544 || (data->chip_type == adm1031 in trust_fan_readings() 1001 if (data->chip_type == adm1031) { in adm1031_init_client() 1038 data->chip_type = i2c_match_id(adm1031_id, client)->driver_data; in adm1031_probe() 1041 if (data->chip_type == adm1030) in adm1031_probe() 1051 if (data->chip_type == adm1031) in adm1031_probe()
|