Home
last modified time | relevance | path

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

12

/drivers/ide/
Dhpt366.c397 u8 chip_type; /* Chip type */ member
448 .chip_type = HPT36x,
456 .chip_type = HPT370,
464 .chip_type = HPT370A,
472 .chip_type = HPT374,
480 .chip_type = HPT372,
488 .chip_type = HPT372A,
496 .chip_type = HPT302,
504 .chip_type = HPT371,
512 .chip_type = HPT372N,
[all …]
/drivers/usb/serial/
Dftdi_sio.c58 enum ftdi_chip_type chip_type; member
1169 switch (priv->chip_type) { in get_ftdi_divisor()
1243 ftdi_chip_name[priv->chip_type]); in get_ftdi_divisor()
1261 if ((priv->chip_type == FT2232C) || (priv->chip_type == FT2232H) || in change_speed()
1262 (priv->chip_type == FT4232H) || (priv->chip_type == FT232H)) { in change_speed()
1449 priv->chip_type = FT4232H; in ftdi_determine_type()
1453 priv->chip_type = FT2232H; in ftdi_determine_type()
1457 priv->chip_type = FT2232C; in ftdi_determine_type()
1479 priv->chip_type = SIO; in ftdi_determine_type()
1485 priv->chip_type = FT8U232AM; in ftdi_determine_type()
[all …]
/drivers/gpio/
Dgpio-pca953x.c98 int chip_type; member
150 switch (chip->chip_type) { in pca953x_write_regs()
212 switch (chip->chip_type) { in pca953x_gpio_direction_input()
249 switch (chip->chip_type) { in pca953x_gpio_direction_output()
265 switch (chip->chip_type) { in pca953x_gpio_direction_output()
293 switch (chip->chip_type) { in pca953x_gpio_get_value()
330 switch (chip->chip_type) { in pca953x_gpio_set_value()
461 switch (chip->chip_type) { in pca953x_irq_pending()
552 switch (chip->chip_type) { in pca953x_irq_setup()
751 chip->chip_type = id->driver_data & (PCA953X_TYPE | PCA957X_TYPE); in pca953x_probe()
[all …]
/drivers/net/ethernet/cirrus/
Dcs89x0.c134 int chip_type; /* one of: CS8900, CS8920, CS8920M */ member
288 write_irq(struct net_device *dev, int chip_type, int irq) in write_irq() argument
292 if (chip_type == CS8900) { in write_irq()
346 if (lp->chip_type == CS8900) in get_dma_channel()
356 write_dma(struct net_device *dev, int chip_type, int dma) in write_dma() argument
361 if (chip_type == CS8900) in write_dma()
583 if (lp->chip_type == CS8900) { in detect_tp()
847 write_irq(dev, lp->chip_type, i); in net_open()
875 write_irq(dev, lp->chip_type, dev->irq); in net_open()
909 write_dma(dev, lp->chip_type, dev->dma); in net_open()
[all …]
Dmac89x0.c112 int chip_type; /* one of: CS8900, CS8920, CS8920M */ member
250 lp->chip_type = rev_type &~ REVISON_BITS; in mac89x0_probe()
256 if (lp->chip_type == CS8900 && lp->chip_revision >= 'F') in mac89x0_probe()
258 if (lp->chip_type != CS8900 && lp->chip_revision >= 'C') in mac89x0_probe()
266 lp->chip_type==CS8900?'0':'2', in mac89x0_probe()
267 lp->chip_type==CS8920M?"M":"", in mac89x0_probe()
342 if (lp->chip_type == CS8900) in net_open()
/drivers/watchdog/
Dit87_wdt.c140 static unsigned int base, gpact, ciract, max_units, chip_type; variable
239 if (chip_type != IT8721_ID) in wdt_update_timeout()
603 chip_type = superio_inw(CHIPID); in it87_wdt_init()
607 switch (chip_type) { in it87_wdt_init()
627 chip_type, chip_rev); in it87_wdt_init()
634 chip_type, chip_rev); in it87_wdt_init()
721 chip_type, chip_rev, timeout, in it87_wdt_init()
Dit8712f_wdt.c366 int chip_type; in it8712f_wdt_find() local
371 chip_type = superio_inw(DEVID); in it8712f_wdt_find()
372 if (chip_type != IT8712F_DEVID) in it8712f_wdt_find()
399 chip_type, revision, *address); in it8712f_wdt_find()
/drivers/video/via/
Dvia-core.c191 if (global_dev.chip_type != UNICHROME_VX855) in viafb_request_dma()
364 static int viafb_get_fb_size_from_pci(int chip_type) in viafb_get_fb_size_from_pci() argument
417 if (chip_type < UNICHROME_CX700) { in viafb_get_fb_size_from_pci()
501 if (vdev->chip_type == UNICHROME_VX900) in via_pci_setup_mmio()
505 ret = vdev->fbmem_len = viafb_get_fb_size_from_pci(vdev->chip_type); in via_pci_setup_mmio()
687 global_dev.chip_type = ent->driver_data; in via_pci_probe()
Dhw.c468 static void init_gfx_chip_info(int chip_type);
1510 void viafb_init_chip_info(int chip_type) in viafb_init_chip_info() argument
1512 via_clock_init(&clock, chip_type); in viafb_init_chip_info()
1513 init_gfx_chip_info(chip_type); in viafb_init_chip_info()
1543 static void init_gfx_chip_info(int chip_type) in init_gfx_chip_info() argument
1547 viaparinfo->chip_info->gfx_chip_name = chip_type; in init_gfx_chip_info()
/drivers/power/
Dmax17042_battery.c71 enum max170xx_chip_type chip_type; member
160 if (chip->chip_type == MAX17042) in max17042_get_property()
407 if (chip->chip_type == MAX17047) in max17042_write_config_regs()
422 if (chip->chip_type == MAX17042) { in max17042_write_custom_regs()
530 if (chip->chip_type == MAX17042) in max17042_override_por_values()
537 if (chip->chip_type == MAX17042) in max17042_override_por_values()
546 if (chip->chip_type) { in max17042_override_por_values()
712 chip->chip_type = MAX17042; in max17042_probe()
715 chip->chip_type = MAX17047; in max17042_probe()
/drivers/hwmon/
Dadm1031.c79 int chip_type; member
499 || (data->chip_type == adm1031 in trust_fan_readings()
963 data->chip_type = id->driver_data; in adm1031_probe()
966 if (data->chip_type == adm1030) in adm1031_probe()
979 if (data->chip_type == adm1031) { in adm1031_probe()
1017 if (data->chip_type == adm1031) { in adm1031_init_client()
1055 chan < ((data->chip_type == adm1031) ? 3 : 2); chan++) { in adm1031_update_device()
1104 if (data->chip_type == adm1030) in adm1031_update_device()
1107 for (chan = 0; chan < (data->chip_type == adm1030 ? 1 : 2); in adm1031_update_device()
Dasc7621.c50 enum asc7621_type chip_type; member
61 .chip_type = asc7621,
70 .chip_type = asc7621a,
1063 static inline int valid_address_for_chip(int chip_type, int address) in valid_address_for_chip() argument
1067 for (i = 0; asc7621_chips[chip_type].addresses[i] != I2C_CLIENT_END; in valid_address_for_chip()
1069 if (asc7621_chips[chip_type].addresses[i] == address) in valid_address_for_chip()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_common.h48 enum chip_type { enum
254 static inline int is_t4(enum chip_type chip) in is_t4()
/drivers/scsi/
Dadvansys.c1938 uchar chip_type; member
2843 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in advansys_info()
2845 } else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) { in advansys_info()
3131 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in asc_prt_adv_board_eeprom()
3133 } else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) { in asc_prt_adv_board_eeprom()
3143 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in asc_prt_adv_board_eeprom()
3145 } else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) { in asc_prt_adv_board_eeprom()
3156 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) in asc_prt_adv_board_eeprom()
3161 else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) in asc_prt_adv_board_eeprom()
3173 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in asc_prt_adv_board_eeprom()
[all …]
/drivers/char/tpm/
Dtpm_i2c_infineon.c73 enum i2c_chip_type chip_type; member
122 if (tpm_dev.chip_type == SLB9645) { in iic_tpm_read()
657 tpm_dev.chip_type = SLB9645; in tpm_tis_i2c_init()
659 tpm_dev.chip_type = SLB9635; in tpm_tis_i2c_init()
/drivers/media/usb/dvb-usb-v2/
Dit913x.c191 st->it913x_config.chip_type = 0x9135; in it913x_query()
196 st->it913x_config.chip_type = (u16)(data[2] << 8) + data[1]; in it913x_query()
199 st->it913x_config.chip_type); in it913x_query()
440 && st->it913x_config.chip_type == 0x9135) in it913x_select_config()
635 (st->it913x_config.chip_type == 0x9135)) { in it913x_download_firmware()
Daf9035.h61 u16 chip_type; member
Daf9035.c312 state->chip_type = rbuf[2] << 8 | rbuf[1] << 0; in af9035_identify_state()
321 state->chip_type); in af9035_identify_state()
323 if (state->chip_type == 0x9135) { in af9035_identify_state()
532 if (state->chip_type == 0x9135) { in af9035_download_firmware()
600 if (state->chip_type == 0x9135) { in af9035_read_config()
730 if (state->chip_type == 0x9135) in af9035_read_config()
/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c190 memcpy(&st->chip_config, hw_info[st->chip_type].config, in inv_mpu6050_init_config()
618 st->chip_type = INV_MPU6050; in inv_check_and_setup_chip()
619 st->hw = &hw_info[st->chip_type]; in inv_check_and_setup_chip()
620 st->reg = hw_info[st->chip_type].reg; in inv_check_and_setup_chip()
Dinv_mpu_iio.h118 enum inv_devices chip_type; member
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h523 enum chip_type { enum
553 enum chip_type chip;
716 static inline int is_t5(enum chip_type chip) in is_t5()
721 static inline int is_t4(enum chip_type chip) in is_t4()
/drivers/net/ethernet/dec/tulip/
Ddmfe.c254 u8 chip_type; /* Keep DM9102A chip type */ member
487 db->chip_type = 1; /* DM9102A E3 */ in dmfe_init_one()
489 db->chip_type = 0; in dmfe_init_one()
1157 if (db->chip_type && (db->chip_id==PCI_DM9102_ID)) { in dmfe_timer()
1733 if ( db->chip_type && (db->chip_id == PCI_DM9102_ID) ) in dmfe_set_phyxcer()
1735 if ( !db->chip_type ) in dmfe_set_phyxcer()
1780 if ( db->chip_type && (db->chip_id == PCI_DM9102_ID) ) in dmfe_process_mode()
/drivers/media/dvb-frontends/
Dit913x-fe.h30 u16 chip_type; member
/drivers/net/ethernet/via/
Dvia-velocity.h1138 enum chip_type { enum
1143 enum chip_type chip_id;
1442 enum chip_type chip_id;
/drivers/message/fusion/
Dmptctl.h285 int chip_type; member

12