Home
last modified time | relevance | path

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

123

/drivers/watchdog/
A Dit87_wdt.c100 static unsigned int max_units, chip_type; variable
182 if (chip_type != IT8721_ID) in _wdt_update_timeout()
300 chip_type = superio_inw(CHIPID); in it87_wdt_init()
308 switch (chip_type) { in it87_wdt_init()
339 chip_type, chip_rev); in it87_wdt_init()
346 chip_type, chip_rev); in it87_wdt_init()
357 switch (chip_type) { in it87_wdt_init()
397 chip_type, chip_rev, timeout, nowayout, testmode); in it87_wdt_init()
A Dit8712f_wdt.c360 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()
/drivers/net/ethernet/chelsio/cxgb4/
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()
/drivers/power/supply/
A Dmax17042_battery.c59 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 …]
/drivers/iio/imu/inv_mpu6050/
A Dinv_mpu_i2c.c30 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()
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()
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()
A Dinv_mpu_core.c344 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()
982 switch (st->chip_type) { in inv_mpu6050_set_wom_int()
1015 switch (st->chip_type) { in inv_mpu6050_set_wom_threshold()
1051 switch (st->chip_type) { in inv_mpu6050_set_lp_odr()
1903 if (chip_type < 0 || chip_type >= INV_NUM_PARTS) { in inv_mpu_core_probe()
1905 chip_type, name); in inv_mpu_core_probe()
1910 st->chip_type = chip_type; in inv_mpu_core_probe()
2028 switch (chip_type) { in inv_mpu_core_probe()
[all …]
/drivers/bluetooth/
A Dbtrtl.c83 __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 …]
/drivers/net/ethernet/cirrus/
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()
A Dcs89x0.c295 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 …]
/drivers/gpio/
A Dgpio-it87.c278 u16 chip_type; in it87_gpio_init() local
288 chip_type = superio_inw(CHIPID); in it87_gpio_init()
294 switch (chip_type) { in it87_gpio_init()
335 chip_type, chip_rev); in it87_gpio_init()
351 chip_type, chip_rev, it87_gpio->chip.ngpio, in it87_gpio_init()
/drivers/regulator/
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()
/drivers/mfd/
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()
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()
A Drohm-bd71828.c495 unsigned int chip_type; in bd71828_i2c_probe() local
506 chip_type = (unsigned int)(uintptr_t) in bd71828_i2c_probe()
508 switch (chip_type) { in bd71828_i2c_probe()
569 chip_type == ROHM_CHIP_TYPE_BD71828) { in bd71828_i2c_probe()
/drivers/usb/serial/
A Dftdi_sio.c70 enum ftdi_chip_type chip_type; member
1296 switch (priv->chip_type) { in get_ftdi_divisor()
1404 if (priv->chip_type == SIO || priv->chip_type == FT232A) in write_latency_timer()
1445 if (priv->chip_type == SIO || priv->chip_type == FT232A) in read_latency_timer()
1538 priv->chip_type = FT232A; in ftdi_determine_type()
1552 priv->chip_type = FT232B; in ftdi_determine_type()
1561 priv->chip_type = FT232R; in ftdi_determine_type()
1572 priv->chip_type = FT232H; in ftdi_determine_type()
1575 priv->chip_type = FTX; in ftdi_determine_type()
1601 priv->chip_type = SIO; in ftdi_determine_type()
[all …]
/drivers/media/usb/dvb-usb-v2/
A Daf9035.c350 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 …]
/drivers/gpu/drm/rockchip/
A Danalogix_dp-rockchip.c62 u32 chip_type; member
489 dp->plat_data.dev_type = dp->data->chip_type; in rockchip_dp_probe()
553 .chip_type = RK3399_EDP,
562 .chip_type = RK3288_DP,
571 .chip_type = RK3588_EDP,
576 .chip_type = RK3588_EDP,
/drivers/video/fbdev/via/
A Dvia-core.c193 if (global_dev.chip_type != UNICHROME_VX855) in viafb_request_dma()
323 static int viafb_get_fb_size_from_pci(int chip_type) in viafb_get_fb_size_from_pci() argument
376 if (chip_type < UNICHROME_CX700) { in viafb_get_fb_size_from_pci()
460 if (vdev->chip_type == UNICHROME_VX900) in via_pci_setup_mmio()
464 ret = vdev->fbmem_len = viafb_get_fb_size_from_pci(vdev->chip_type); in via_pci_setup_mmio()
635 global_dev.chip_type = ent->driver_data; in via_pci_probe()
/drivers/net/ethernet/chelsio/cxgb4vf/
A Dt4vf_common.h57 enum chip_type { enum
267 enum chip_type chip; /* chip code */
342 static inline int is_t4(enum chip_type chip) in is_t4()
/drivers/hwmon/
A 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()
544 || (data->chip_type == adm1031 in trust_fan_readings()
1001 if (data->chip_type == adm1031) { in adm1031_init_client()
1036 data->chip_type = (uintptr_t)i2c_get_match_data(client); in adm1031_probe()
1039 if (data->chip_type == adm1030) in adm1031_probe()
1049 if (data->chip_type == adm1031) in adm1031_probe()
/drivers/char/tpm/
A Dtpm_i2c_infineon.c67 enum i2c_chip_type chip_type; member
117 if (tpm_dev.chip_type == SLB9645) { in iic_tpm_read()
643 tpm_dev.chip_type = SLB9645; in tpm_tis_i2c_init()
645 tpm_dev.chip_type = SLB9635; in tpm_tis_i2c_init()
/drivers/scsi/
A Dadvansys.c1827 uchar chip_type; member
2952 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) in asc_prt_adv_board_eeprom()
2992 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) in asc_prt_adv_board_eeprom()
4271 if (asc_dvc->chip_type == ADV_CHIP_ASC3550) { in AdvSendIdleCmd()
4376 if (asc_dvc->chip_type != ADV_CHIP_ASC3550) { in AdvInitAsc3550Driver()
6075 if (asc_dvc->chip_type == ADV_CHIP_ASC3550 || in AdvISR()
8350 if (asc_dvc->chip_type == ADV_CHIP_ASC3550 || in AdvExeScsiQueue()
8356 if (asc_dvc->chip_type == ADV_CHIP_ASC3550) { in AdvExeScsiQueue()
10569 if (asc_dvc->chip_type != ADV_CHIP_ASC3550 && in AdvInitGetConfig()
10671 if (adv_dvc->chip_type == ADV_CHIP_ASC3550) { in advansys_wide_init_chip()
[all …]
A Dfdomain.c104 enum chip_type { enum
114 enum chip_type chip;
135 static enum chip_type fdomain_identify(int port) in fdomain_identify()
519 enum chip_type chip; in fdomain_create()

Completed in 839 milliseconds

123