| /linux-6.15/drivers/net/ethernet/chelsio/cxgb4/ |
| H A 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.15/drivers/watchdog/ |
| H A D | it87_wdt.c | 98 static unsigned int max_units, chip_type; variable 180 if (chip_type != IT8721_ID) in _wdt_update_timeout() 298 chip_type = superio_inw(CHIPID); in it87_wdt_init() 306 switch (chip_type) { in it87_wdt_init() 337 chip_type, chip_rev); in it87_wdt_init() 344 chip_type, chip_rev); in it87_wdt_init() 355 switch (chip_type) { in it87_wdt_init() 395 chip_type, chip_rev, timeout, nowayout, testmode); in it87_wdt_init()
|
| H A D | it8712f_wdt.c | 360 int chip_type; in it8712f_wdt_find() local 365 chip_type = superio_inw(DEVID); in it8712f_wdt_find() 366 if (chip_type != IT8712F_DEVID) in it8712f_wdt_find() 393 chip_type, revision, *address); in it8712f_wdt_find()
|
| /linux-6.15/sound/pci/ctxfi/ |
| H A 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()
|
| H A D | ctatc.h | 80 int chip_type; member 152 unsigned int rsr, unsigned int msr, int chip_type,
|
| /linux-6.15/drivers/iio/imu/inv_mpu6050/ |
| H A D | inv_mpu_i2c.c | 30 switch (st->chip_type) { in inv_mpu_i2c_aux_bus() 67 switch (st->chip_type) { in inv_mpu_i2c_aux_setup() 105 enum inv_devices chip_type; in inv_mpu_probe() local 115 chip_type = (uintptr_t)match; in inv_mpu_probe() 118 chip_type = (enum inv_devices) in inv_mpu_probe() 133 inv_mpu_i2c_aux_setup, chip_type); in inv_mpu_probe()
|
| H A 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()
|
| H A 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()
|
| H A D | inv_mpu_core.c | 344 switch (st->chip_type) { in inv_mpu6050_clock_switch() 515 switch (st->chip_type) { in inv_mpu6050_set_gyro_fsr() 531 switch (st->chip_type) { in inv_mpu6050_set_accel_lpf_regs() 984 switch (st->chip_type) { in inv_mpu6050_set_wom_int() 1017 switch (st->chip_type) { in inv_mpu6050_set_wom_threshold() 1053 switch (st->chip_type) { in inv_mpu6050_set_lp_odr() 1906 if (chip_type < 0 || chip_type >= INV_NUM_PARTS) { in inv_mpu_core_probe() 1908 chip_type, name); in inv_mpu_core_probe() 1913 st->chip_type = chip_type; in inv_mpu_core_probe() 2031 switch (chip_type) { in inv_mpu_core_probe() [all …]
|
| /linux-6.15/arch/sparc/kernel/ |
| H A D | pci_schizo.c | 1081 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) in schizo_scan_bus() 1098 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) { in schizo_pbm_strbuf_init() 1272 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO && in schizo_pbm_hw_init() 1287 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) in schizo_pbm_hw_init() 1316 int chip_type) in schizo_pbm_init() argument 1323 switch (chip_type) { in schizo_pbm_init() 1364 pbm->chip_type = chip_type; in schizo_pbm_init() 1371 if (chip_type == PBM_CHIP_TYPE_TOMATILLO) in schizo_pbm_init() 1399 if (chip_type == PBM_CHIP_TYPE_TOMATILLO) { in portid_compare() 1469 if (!chip_type) in schizo_probe() [all …]
|
| /linux-6.15/drivers/power/supply/ |
| H A D | max17042_battery.c | 59 enum max170xx_chip_type chip_type; member 287 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) in max17042_get_property() 647 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17047 || in max17042_write_config_regs() 648 chip->chip_type == MAXIM_DEVICE_TYPE_MAX17050 || in max17042_write_config_regs() 649 chip->chip_type == MAXIM_DEVICE_TYPE_MAX17055) in max17042_write_config_regs() 662 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) { in max17042_write_custom_regs() 1036 enum max170xx_chip_type chip_type) in max17042_probe() argument 1054 chip->chip_type = chip_type; in max17042_probe() 1142 enum max170xx_chip_type chip_type; in max17042_i2c_probe() local 1145 chip_type = id->driver_data; in max17042_i2c_probe() [all …]
|
| /linux-6.15/sound/pci/ |
| H A 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() 687 int err, chip_type; in snd_als300_probe() local 702 chip_type = pci_id->driver_data; in snd_als300_probe() 704 err = snd_als300_create(card, pci, chip_type); in snd_als300_probe() 709 if (chip->chip_type == DEVICE_ALS300_PLUS) in snd_als300_probe()
|
| H A D | via82xx.c | 345 int chip_type; member 726 if (chip->chip_type != TYPE_VIA686) in snd_via82xx_pcm_trigger() 2303 int chip_type, in snd_via82xx_create() argument 2314 chip->chip_type = chip_type; in snd_via82xx_create() 2451 int chip_type = 0, card_type; in __snd_via82xx_probe() local 2466 chip_type = TYPE_VIA686; in __snd_via82xx_probe() 2469 chip_type = TYPE_VIA8233; in __snd_via82xx_probe() 2485 chip_type = TYPE_VIA8233A; in __snd_via82xx_probe() 2487 chip_type = TYPE_VIA8233; in __snd_via82xx_probe() 2489 if (chip_type == TYPE_VIA8233A) in __snd_via82xx_probe() [all …]
|
| /linux-6.15/drivers/bluetooth/ |
| H A D | btrtl.c | 83 __u8 chip_type; member 134 .chip_type = RTL_CHIP_8723CS_CG, 146 .chip_type = RTL_CHIP_8723CS_VF, 158 .chip_type = RTL_CHIP_8723CS_XX, 335 u8 chip_type) in btrtl_match_ic() argument 353 (ic_id_table[i].chip_type != chip_type)) in btrtl_match_ic() 1026 chip_type = skb_pull_data(skb, sizeof(*chip_type)); in rtl_read_chip_type() 1027 if (!chip_type) { in rtl_read_chip_type() 1034 chip_type->status, chip_type->type); in rtl_read_chip_type() 1099 chip_type); in btrtl_initialize() [all …]
|
| /linux-6.15/drivers/net/ethernet/cirrus/ |
| H A 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()
|
| H A D | cs89x0.c | 295 if (chip_type == CS8900) { in write_irq() 349 if (lp->chip_type == CS8900) in get_dma_channel() 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() 1283 if (lp->chip_type != CS8900) { in reset_chip() 1371 lp->chip_type == CS8900 ? '0' : '2', in cs89x0_probe1() 1372 lp->chip_type == CS8920M ? "M" : "", in cs89x0_probe1() 1431 if (lp->chip_type == CS8900) in cs89x0_probe1() 1522 if (lp->chip_type != CS8900 && in cs89x0_probe1() [all …]
|
| /linux-6.15/drivers/gpio/ |
| H A 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.15/drivers/regulator/ |
| H A 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.15/drivers/mfd/ |
| H A D | rohm-bd9576.c | 97 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 D | rohm-bd718x7.c | 134 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()
|
| /linux-6.15/drivers/video/fbdev/via/ |
| H A 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.15/drivers/media/usb/dvb-usb-v2/ |
| H A D | af9035.c | 350 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer() 357 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer() 412 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer() 419 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer() 445 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer() 451 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer() 517 if (state->chip_type == 0x9135) { in af9035_identify_state() 569 if (state->chip_type != 0x9135 && state->chip_type != 0x9306) in af9035_identify_state() 780 (state->chip_type == 0x9306)) { in af9035_download_firmware() 849 if (state->chip_type == 0x9135) { in af9035_read_config() [all …]
|
| /linux-6.15/drivers/usb/serial/ |
| H A D | ftdi_sio.c | 70 enum ftdi_chip_type chip_type; member 1294 switch (priv->chip_type) { in get_ftdi_divisor() 1402 if (priv->chip_type == SIO || priv->chip_type == FT232A) in write_latency_timer() 1443 if (priv->chip_type == SIO || priv->chip_type == FT232A) in read_latency_timer() 1536 priv->chip_type = FT232A; in ftdi_determine_type() 1550 priv->chip_type = FT232B; in ftdi_determine_type() 1559 priv->chip_type = FT232R; in ftdi_determine_type() 1570 priv->chip_type = FT232H; in ftdi_determine_type() 1573 priv->chip_type = FTX; in ftdi_determine_type() 1599 priv->chip_type = SIO; in ftdi_determine_type() [all …]
|
| /linux-6.15/drivers/net/ethernet/chelsio/cxgb4vf/ |
| H A 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.15/drivers/gpu/drm/rockchip/ |
| H A D | analogix_dp-rockchip.c | 59 u32 chip_type; member 436 dp->plat_data.dev_type = dp->data->chip_type; in rockchip_dp_probe() 489 .chip_type = RK3399_EDP, 498 .chip_type = RK3288_DP,
|