Home
last modified time | relevance | path

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

1234

/Linux-v5.4/drivers/ide/
Dhpt366.c398 u8 chip_type; /* Chip type */ member
449 .chip_type = HPT36x,
457 .chip_type = HPT370,
465 .chip_type = HPT370A,
473 .chip_type = HPT374,
481 .chip_type = HPT372,
489 .chip_type = HPT372A,
497 .chip_type = HPT302,
505 .chip_type = HPT371,
513 .chip_type = HPT372N,
[all …]
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
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()
/Linux-v5.4/sound/pci/ctxfi/
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()
Dctatc.h80 int chip_type; member
152 unsigned int rsr, unsigned int msr, int chip_type,
/Linux-v5.4/drivers/watchdog/
Dit87_wdt.c84 static unsigned int max_units, chip_type; variable
173 if (chip_type != IT8721_ID) in _wdt_update_timeout()
269 chip_type = superio_inw(CHIPID); in it87_wdt_init()
273 switch (chip_type) { in it87_wdt_init()
301 chip_type, chip_rev); in it87_wdt_init()
308 chip_type, chip_rev); in it87_wdt_init()
341 chip_type, chip_rev, timeout, nowayout, testmode); in it87_wdt_init()
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()
/Linux-v5.4/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_i2c.c83 enum inv_devices chip_type; in inv_mpu_probe() local
92 chip_type = (enum inv_devices) in inv_mpu_probe()
96 chip_type = (enum inv_devices) in inv_mpu_probe()
100 name = inv_mpu_match_acpi_device(&client->dev, &chip_type); in inv_mpu_probe()
115 NULL, chip_type); in inv_mpu_probe()
120 switch (st->chip_type) { in inv_mpu_probe()
Dinv_mpu_spi.c48 enum inv_devices chip_type; in inv_mpu_probe() local
51 chip_type = (enum inv_devices)spi_id->driver_data; in inv_mpu_probe()
54 chip_type = (enum inv_devices)acpi_id->driver_data; in inv_mpu_probe()
67 inv_mpu_i2c_disable, chip_type); in inv_mpu_probe()
Dinv_mpu_core.c277 switch (st->chip_type) { in inv_mpu6050_set_lpf_regs()
334 memcpy(&st->chip_config, hw_info[st->chip_type].config, in inv_mpu6050_init_config()
475 if (st->chip_type == INV_ICM20602) in inv_mpu6050_read_raw()
487 if (st->chip_type == INV_ICM20602) in inv_mpu6050_read_raw()
977 st->hw = &hw_info[st->chip_type]; in inv_check_and_setup_chip()
978 st->reg = hw_info[st->chip_type].reg; in inv_check_and_setup_chip()
1071 int (*inv_mpu_bus_setup)(struct iio_dev *), int chip_type) in inv_mpu_core_probe() argument
1086 if (chip_type < 0 || chip_type >= INV_NUM_PARTS) { in inv_mpu_core_probe()
1088 chip_type, name); in inv_mpu_core_probe()
1093 st->chip_type = chip_type; in inv_mpu_core_probe()
[all …]
Dinv_mpu_iio.h137 enum inv_devices chip_type; member
345 int (*inv_mpu_bus_setup)(struct iio_dev *), int chip_type);
/Linux-v5.4/arch/sparc/kernel/
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 …]
/Linux-v5.4/drivers/usb/serial/
Dftdi_sio.c52 enum ftdi_chip_type chip_type; member
1288 switch (priv->chip_type) { in get_ftdi_divisor()
1362 ftdi_chip_name[priv->chip_type]); in get_ftdi_divisor()
1380 if ((priv->chip_type == FT2232C) || (priv->chip_type == FT2232H) || in change_speed()
1381 (priv->chip_type == FT4232H) || (priv->chip_type == FT232H)) { in change_speed()
1403 if (priv->chip_type == SIO || priv->chip_type == FT8U232AM) in write_latency_timer()
1456 if (priv->chip_type == SIO || priv->chip_type == FT8U232AM) in read_latency_timer()
1569 priv->chip_type = FT4232H; in ftdi_determine_type()
1573 priv->chip_type = FT2232H; in ftdi_determine_type()
1577 priv->chip_type = FT2232C; in ftdi_determine_type()
[all …]
/Linux-v5.4/drivers/net/ethernet/cirrus/
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()
295 if (lp->chip_type == CS8900) in net_open()
Dcs89x0.c137 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-v5.4/sound/pci/
Dals300.c119 int chip_type; /* ALS300 or ALS300+ */ member
159 if (((chip->revision > 5 || chip->chip_type == DEVICE_ALS300_PLUS) ^ in snd_als300_set_irq_flag()
633 struct pci_dev *pci, int chip_type, in snd_als300_create() argument
665 chip->chip_type = chip_type; in snd_als300_create()
675 if (chip->chip_type == DEVICE_ALS300_PLUS) in snd_als300_create()
749 int err, chip_type; in snd_als300_probe() local
764 chip_type = pci_id->driver_data; in snd_als300_probe()
766 if ((err = snd_als300_create(card, pci, chip_type, &chip)) < 0) { in snd_als300_probe()
773 if (chip->chip_type == DEVICE_ALS300_PLUS) in snd_als300_probe()
Dvia82xx.c346 int chip_type; member
726 if (chip->chip_type != TYPE_VIA686) in snd_via82xx_pcm_trigger()
1911 if (chip->chip_type != TYPE_VIA686) { in snd_via82xx_mixer_new()
1987 caps = chip->chip_type == TYPE_VIA8233A ? 1 : 2; in snd_via8233_init_misc()
1999 if (chip->chip_type != TYPE_VIA8233A) { in snd_via8233_init_misc()
2148 if (chip->chip_type == TYPE_VIA686) in snd_via82xx_chip_init()
2218 if (chip->chip_type == TYPE_VIA686) { in snd_via82xx_chip_init()
2225 if (chip->chip_type != TYPE_VIA686) { in snd_via82xx_chip_init()
2239 if (chip->chip_type != TYPE_VIA8233A) { in snd_via82xx_chip_init()
2271 if (chip->chip_type != TYPE_VIA686) { in snd_via82xx_suspend()
[all …]
/Linux-v5.4/drivers/gpio/
Dgpio-it87.c283 u16 chip_type; in it87_gpio_init() local
293 chip_type = superio_inw(CHIPID); in it87_gpio_init()
299 switch (chip_type) { in it87_gpio_init()
340 chip_type, chip_rev); in it87_gpio_init()
356 chip_type, chip_rev, it87_gpio->chip.ngpio, in it87_gpio_init()
/Linux-v5.4/drivers/video/fbdev/via/
Dvia-core.c191 if (global_dev.chip_type != UNICHROME_VX855) in viafb_request_dma()
321 static int viafb_get_fb_size_from_pci(int chip_type) in viafb_get_fb_size_from_pci() argument
374 if (chip_type < UNICHROME_CX700) { in viafb_get_fb_size_from_pci()
458 if (vdev->chip_type == UNICHROME_VX900) in via_pci_setup_mmio()
462 ret = vdev->fbmem_len = viafb_get_fb_size_from_pci(vdev->chip_type); in via_pci_setup_mmio()
644 global_dev.chip_type = ent->driver_data; in via_pci_probe()
/Linux-v5.4/drivers/media/usb/dvb-usb-v2/
Daf9035.c342 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer()
349 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer()
400 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer()
407 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer()
433 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer()
439 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer()
495 state->chip_type = rbuf[2] << 8 | rbuf[1] << 0; in af9035_identify_state()
502 state->prechip_version, state->chip_version, state->chip_type); in af9035_identify_state()
504 if (state->chip_type == 0x9135) { in af9035_identify_state()
525 } else if (state->chip_type == 0x9306) { in af9035_identify_state()
[all …]
/Linux-v5.4/drivers/power/supply/
Dmax17042_battery.c59 enum max170xx_chip_type chip_type; member
283 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) in max17042_get_property()
629 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17047 || in max17042_write_config_regs()
630 chip->chip_type == MAXIM_DEVICE_TYPE_MAX17050) in max17042_write_config_regs()
643 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) { in max17042_write_custom_regs()
752 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) in max17042_override_por_values()
759 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) in max17042_override_por_values()
768 if (chip->chip_type) { in max17042_override_por_values()
932 if (chip->chip_type != MAXIM_DEVICE_TYPE_MAX17042) { in max17042_get_default_pdata()
1027 chip->chip_type = id->driver_data; in max17042_probe()
[all …]
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_common.h57 enum chip_type { enum
266 enum chip_type chip; /* chip code */
341 static inline int is_t4(enum chip_type chip) in is_t4()
/Linux-v5.4/drivers/gpu/drm/rockchip/
Danalogix_dp-rockchip.c55 u32 chip_type; member
347 dp->plat_data.dev_type = dp->data->chip_type; in rockchip_dp_bind()
448 .chip_type = RK3399_EDP,
455 .chip_type = RK3288_DP,
/Linux-v5.4/include/linux/mfd/
Drohm-generic.h15 unsigned int chip_type; member
/Linux-v5.4/drivers/hwmon/
Dadm1031.c67 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()
545 || (data->chip_type == adm1031 in trust_fan_readings()
1002 if (data->chip_type == adm1031) { in adm1031_init_client()
1038 data->chip_type = id->driver_data; in adm1031_probe()
1041 if (data->chip_type == adm1030) in adm1031_probe()
1051 if (data->chip_type == adm1031) in adm1031_probe()
/Linux-v5.4/include/linux/mfd/da9062/
Dcore.h63 enum da9062_compatible_types chip_type; member

1234