Home
last modified time | relevance | path

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

1234

/linux/drivers/watchdog/
A Dit87_wdt.c87 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()
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()
/linux/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()
/linux/sound/pci/ctxfi/
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()
A Dctatc.h80 int chip_type; member
152 unsigned int rsr, unsigned int msr, int chip_type,
/linux/drivers/iio/imu/inv_mpu6050/
A Dinv_mpu_i2c.c30 switch (st->chip_type) { in inv_mpu_i2c_aux_bus()
64 switch (st->chip_type) { in inv_mpu_i2c_aux_setup()
103 enum inv_devices chip_type; in inv_mpu_probe() local
113 chip_type = (enum inv_devices)match; in inv_mpu_probe()
116 chip_type = (enum inv_devices) in inv_mpu_probe()
131 inv_mpu_i2c_aux_setup, chip_type); in inv_mpu_probe()
A Dinv_mpu_spi.c42 enum inv_devices chip_type; in inv_mpu_probe() local
45 chip_type = (enum inv_devices)spi_id->driver_data; in inv_mpu_probe()
48 chip_type = (enum inv_devices)match; in inv_mpu_probe()
62 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.c292 switch (st->chip_type) { in inv_mpu6050_clock_switch()
445 switch (st->chip_type) { in inv_mpu6050_set_gyro_fsr()
474 switch (st->chip_type) { in inv_mpu6050_set_lpf_regs()
1311 st->hw = &hw_info[st->chip_type]; in inv_check_and_setup_chip()
1312 st->reg = hw_info[st->chip_type].reg; in inv_check_and_setup_chip()
1313 memcpy(&st->chip_config, hw_info[st->chip_type].config, in inv_check_and_setup_chip()
1345 switch (st->chip_type) { in inv_check_and_setup_chip()
1451 if (chip_type < 0 || chip_type >= INV_NUM_PARTS) { in inv_mpu_core_probe()
1453 chip_type, name); in inv_mpu_core_probe()
1458 st->chip_type = chip_type; in inv_mpu_core_probe()
[all …]
/linux/arch/sparc/kernel/
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 …]
/linux/drivers/usb/serial/
A Dftdi_sio.c52 enum ftdi_chip_type chip_type; member
1301 switch (priv->chip_type) { in get_ftdi_divisor()
1393 if (priv->chip_type == FT2232C || priv->chip_type == FT2232H || in change_speed()
1394 priv->chip_type == FT4232H || priv->chip_type == FT232H || in change_speed()
1417 if (priv->chip_type == SIO || priv->chip_type == FT8U232AM) in write_latency_timer()
1458 if (priv->chip_type == SIO || priv->chip_type == FT8U232AM) in read_latency_timer()
1585 priv->chip_type = SIO; in ftdi_determine_type()
1610 priv->chip_type = FT232H; in ftdi_determine_type()
1613 priv->chip_type = FTX; in ftdi_determine_type()
2134 switch (priv->chip_type) { in ftdi_gpio_init()
[all …]
/linux/drivers/power/supply/
A Dmax17042_battery.c57 enum max170xx_chip_type chip_type; member
284 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) in max17042_get_property()
649 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17047 || in max17042_write_config_regs()
650 chip->chip_type == MAXIM_DEVICE_TYPE_MAX17050 || in max17042_write_config_regs()
651 chip->chip_type == MAXIM_DEVICE_TYPE_MAX17055) in max17042_write_config_regs()
664 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) { in max17042_write_custom_regs()
778 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) { in max17042_override_por_values()
786 if ((chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) || in max17042_override_por_values()
787 (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17047) || in max17042_override_por_values()
1062 chip->chip_type = id->driver_data; in max17042_probe()
[all …]
/linux/sound/pci/
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()
A Dvia82xx.c345 int chip_type; member
728 if (chip->chip_type != TYPE_VIA686) in snd_via82xx_pcm_trigger()
2318 int chip_type, in snd_via82xx_create() argument
2329 chip->chip_type = chip_type; in snd_via82xx_create()
2466 int chip_type = 0, card_type; in snd_via82xx_probe() local
2481 chip_type = TYPE_VIA686; in snd_via82xx_probe()
2484 chip_type = TYPE_VIA8233; in snd_via82xx_probe()
2500 chip_type = TYPE_VIA8233A; in snd_via82xx_probe()
2502 chip_type = TYPE_VIA8233; in snd_via82xx_probe()
2504 if (chip_type == TYPE_VIA8233A) in snd_via82xx_probe()
[all …]
/linux/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()
295 if (lp->chip_type == CS8900) in net_open()
A Dcs89x0.c294 if (chip_type == CS8900) { in write_irq()
348 if (lp->chip_type == CS8900) in get_dma_channel()
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()
1282 if (lp->chip_type != CS8900) { in reset_chip()
1370 lp->chip_type == CS8900 ? '0' : '2', in cs89x0_probe1()
1371 lp->chip_type == CS8920M ? "M" : "", in cs89x0_probe1()
1430 if (lp->chip_type == CS8900) in cs89x0_probe1()
1521 if (lp->chip_type != CS8900 && in cs89x0_probe1()
[all …]
/linux/drivers/gpio/
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()
/linux/drivers/mfd/
A Drohm-bd9576.c98 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()
A Drohm-bd718x7.c136 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/drivers/video/fbdev/via/
A 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()
629 global_dev.chip_type = ent->driver_data; in via_pci_probe()
/linux/drivers/media/usb/dvb-usb-v2/
A Daf9035.c343 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()
505 if (state->chip_type == 0x9135) { in af9035_identify_state()
557 if (state->chip_type != 0x9135 && state->chip_type != 0x9306) in af9035_identify_state()
768 (state->chip_type == 0x9306)) { in af9035_download_firmware()
837 if (state->chip_type == 0x9135) { in af9035_read_config()
[all …]
/linux/drivers/gpu/drm/rockchip/
A Danalogix_dp-rockchip.c56 u32 chip_type; member
386 dp->plat_data.dev_type = dp->data->chip_type; in rockchip_dp_probe()
447 .chip_type = RK3399_EDP,
454 .chip_type = RK3288_DP,
/linux/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()
/linux/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()
545 || (data->chip_type == adm1031 in trust_fan_readings()
1002 if (data->chip_type == adm1031) { in adm1031_init_client()
1039 data->chip_type = i2c_match_id(adm1031_id, client)->driver_data; in adm1031_probe()
1042 if (data->chip_type == adm1030) in adm1031_probe()
1052 if (data->chip_type == adm1031) in adm1031_probe()
/linux/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()
642 tpm_dev.chip_type = SLB9645; in tpm_tis_i2c_init()
644 tpm_dev.chip_type = SLB9635; in tpm_tis_i2c_init()

Completed in 61 milliseconds

1234