Home
last modified time | relevance | path

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

/linux-4.4.14/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 …]
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dt4_chip_type.h54 enum chip_type { enum
70 static inline int is_t4(enum chip_type chip) in is_t4()
75 static inline int is_t5(enum chip_type chip) in is_t5()
80 static inline int is_t6(enum chip_type chip) in is_t6()
Dcxgb4_uld.h294 unsigned int cxgb4_tp_smt_idx(enum chip_type chip, unsigned int viid);
Dcxgb4.h334 enum chip_type chip; /* chip code */
710 enum chip_type chip;
Dsge.c1036 static u64 hwcsum(enum chip_type chip, const struct sk_buff *skb) in hwcsum()
2489 enum chip_type chip = CHELSIO_CHIP_VERSION(adap->params.chip); in t4_sge_alloc_rxq()
Dcxgb4_main.c1950 unsigned int cxgb4_tp_smt_idx(enum chip_type chip, unsigned int viid) in cxgb4_tp_smt_idx()
4653 enum chip_type chip; in init_one()
Dcxgb4_debugfs.c2566 enum chip_type chip = CHELSIO_CHIP_VERSION(adap->params.chip); in tid_info_show()
Dt4_hw.c4055 enum chip_type chip = CHELSIO_CHIP_VERSION(adap->params.chip); in le_intr_handler()
/linux-4.4.14/sound/pci/ctxfi/
Dcthardware.c23 int create_hw_obj(struct pci_dev *pci, enum CHIPTYP chip_type, in create_hw_obj() argument
28 switch (chip_type) { in create_hw_obj()
43 (*rhw)->chip_type = chip_type; in create_hw_obj()
Dctatc.h84 int chip_type; member
156 unsigned int rsr, unsigned int msr, int chip_type,
Dcthardware.h193 enum CHIPTYP chip_type; member
197 int create_hw_obj(struct pci_dev *pci, enum CHIPTYP chip_type,
Dctdaio.c109 switch (hw->chip_type) { in daio_device_index()
337 switch (hw->chip_type) { in daio_rsc_init()
361 switch (hw->chip_type) { in daio_rsc_init()
Dctatc.c1265 switch (atc->chip_type) { in atc_identify_card()
1294 if (atc->chip_type == ATC20K1) in atc_identify_card()
1335 err = create_hw_obj(atc->pci, atc->chip_type, atc->model, &hw); in atc_create_hw_devs()
1679 int chip_type, unsigned int ssid, in ct_atc_create() argument
1701 atc->chip_type = chip_type; in ct_atc_create()
/linux-4.4.14/arch/sparc/kernel/
Dpci_schizo.c1076 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) in schizo_scan_bus()
1093 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) { in schizo_pbm_strbuf_init()
1267 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO && in schizo_pbm_hw_init()
1276 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO && in schizo_pbm_hw_init()
1282 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) in schizo_pbm_hw_init()
1295 if (pbm->chip_type == PBM_CHIP_TYPE_TOMATILLO) { in schizo_pbm_hw_init()
1311 int chip_type) in schizo_pbm_init() argument
1318 switch (chip_type) { in schizo_pbm_init()
1359 pbm->chip_type = chip_type; in schizo_pbm_init()
1366 if (chip_type == PBM_CHIP_TYPE_TOMATILLO) in schizo_pbm_init()
[all …]
Dpsycho_common.h46 const char *chip_name, int chip_type);
Dpsycho_common.c451 const char *chip_name, int chip_type) in psycho_pbm_init_common() argument
457 pbm->chip_type = chip_type; in psycho_pbm_init_common()
Dpci_impl.h81 int chip_type; member
Dpci_sabre.c320 if (pbm->chip_type == PBM_CHIP_TYPE_SABRE) in sabre_register_error_handlers()
/linux-4.4.14/drivers/usb/serial/
Dftdi_sio.c55 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()
1568 priv->chip_type = FT4232H; in ftdi_determine_type()
1572 priv->chip_type = FT2232H; in ftdi_determine_type()
1576 priv->chip_type = FT2232C; in ftdi_determine_type()
1598 priv->chip_type = SIO; in ftdi_determine_type()
1604 priv->chip_type = FT8U232AM; in ftdi_determine_type()
[all …]
/linux-4.4.14/drivers/gpio/
Dgpio-pca953x.c108 int chip_type; member
166 switch (chip->chip_type) { in pca953x_write_regs()
226 switch (chip->chip_type) { in pca953x_gpio_direction_input()
261 switch (chip->chip_type) { in pca953x_gpio_direction_output()
277 switch (chip->chip_type) { in pca953x_gpio_direction_output()
303 switch (chip->chip_type) { in pca953x_gpio_get_value()
338 switch (chip->chip_type) { in pca953x_gpio_set_value()
467 switch (chip->chip_type) { in pca953x_irq_pending()
540 switch (chip->chip_type) { in pca953x_irq_setup()
702 chip->chip_type = PCA_CHIP_TYPE(chip->driver_data); in pca953x_probe()
[all …]
Dgpio-it87.c293 u16 chip_type; in it87_gpio_init() local
303 chip_type = superio_inw(CHIPID); in it87_gpio_init()
309 switch (chip_type) { in it87_gpio_init()
331 chip_type, chip_rev); in it87_gpio_init()
347 chip_type, chip_rev, it87_gpio->chip.ngpio, in it87_gpio_init()
/linux-4.4.14/sound/pci/
Dals300.c132 int chip_type; /* ALS300 or ALS300+ */ member
172 if (((chip->revision > 5 || chip->chip_type == DEVICE_ALS300_PLUS) ^ in snd_als300_set_irq_flag()
646 struct pci_dev *pci, int chip_type, in snd_als300_create() argument
678 chip->chip_type = chip_type; in snd_als300_create()
688 if (chip->chip_type == DEVICE_ALS300_PLUS) in snd_als300_create()
763 int err, chip_type; in snd_als300_probe() local
778 chip_type = pci_id->driver_data; in snd_als300_probe()
780 if ((err = snd_als300_create(card, pci, chip_type, &chip)) < 0) { in snd_als300_probe()
787 if (chip->chip_type == DEVICE_ALS300_PLUS) in snd_als300_probe()
Dvia82xx.c360 int chip_type; member
738 if (chip->chip_type != TYPE_VIA686) in snd_via82xx_pcm_trigger()
1923 if (chip->chip_type != TYPE_VIA686) { in snd_via82xx_mixer_new()
1999 caps = chip->chip_type == TYPE_VIA8233A ? 1 : 2; in snd_via8233_init_misc()
2011 if (chip->chip_type != TYPE_VIA8233A) { in snd_via8233_init_misc()
2162 if (chip->chip_type == TYPE_VIA686) in snd_via82xx_chip_init()
2232 if (chip->chip_type == TYPE_VIA686) { in snd_via82xx_chip_init()
2239 if (chip->chip_type != TYPE_VIA686) { in snd_via82xx_chip_init()
2253 if (chip->chip_type != TYPE_VIA8233A) { in snd_via82xx_chip_init()
2287 if (chip->chip_type != TYPE_VIA686) { in snd_via82xx_suspend()
[all …]
Dvia82xx_modem.c1098 int chip_type, in snd_via82xx_create() argument
1164 int chip_type = 0, card_type; in snd_via82xx_probe() local
1184 if ((err = snd_via82xx_create(card, pci, chip_type, pci->revision, in snd_via82xx_probe()
Des1968.c2675 int chip_type, in snd_es1968_create() argument
2707 chip->type = chip_type; in snd_es1968_create()
/linux-4.4.14/drivers/net/ethernet/cirrus/
Dmac89x0.c112 int chip_type; /* one of: CS8900, CS8920, CS8920M */ member
246 lp->chip_type = rev_type &~ REVISON_BITS; in mac89x0_probe()
252 if (lp->chip_type == CS8900 && lp->chip_revision >= 'F') in mac89x0_probe()
254 if (lp->chip_type != CS8900 && lp->chip_revision >= 'C') in mac89x0_probe()
262 lp->chip_type==CS8900?'0':'2', in mac89x0_probe()
263 lp->chip_type==CS8920M?"M":"", in mac89x0_probe()
338 if (lp->chip_type == CS8900) in net_open()
Dcs89x0.c135 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 …]
/linux-4.4.14/drivers/watchdog/
Dit87_wdt.c143 static unsigned int base, gpact, ciract, max_units, chip_type; variable
246 if (chip_type != IT8721_ID) in wdt_update_timeout()
618 chip_type = superio_inw(CHIPID); in it87_wdt_init()
622 switch (chip_type) { in it87_wdt_init()
643 chip_type, chip_rev); in it87_wdt_init()
650 chip_type, chip_rev); in it87_wdt_init()
738 chip_type, chip_rev, timeout, in it87_wdt_init()
Dit8712f_wdt.c365 int chip_type; in it8712f_wdt_find() local
370 chip_type = superio_inw(DEVID); in it8712f_wdt_find()
371 if (chip_type != IT8712F_DEVID) in it8712f_wdt_find()
398 chip_type, revision, *address); in it8712f_wdt_find()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_common.h56 enum chip_type { enum
226 enum chip_type chip; /* chip code */
283 static inline int is_t4(enum chip_type chip) in is_t4()
Dsge.c1085 static u64 hwcsum(enum chip_type chip, const struct sk_buff *skb) in hwcsum()
2265 enum chip_type chip = in t4vf_sge_alloc_rxq()
/linux-4.4.14/drivers/video/fbdev/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()
Dhw.h666 void viafb_init_chip_info(int chip_type);
Dviafbdev.c1794 viafb_init_chip_info(vdev->chip_type); in via_fb_pci_probe()
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/
Daf9035.c340 (state->chip_type == 0x9135)) { in af9035_i2c_master_xfer()
357 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer()
364 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer()
383 (state->chip_type == 0x9135)) { 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()
430 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer()
436 if (state->chip_type == 0x9306) { in af9035_i2c_master_xfer()
489 state->chip_type = rbuf[2] << 8 | rbuf[1] << 0; in af9035_identify_state()
498 state->chip_version, state->chip_type); in af9035_identify_state()
[all …]
Daf9035.h63 u16 chip_type; member
/linux-4.4.14/drivers/power/
Dmax17042_battery.c72 enum max170xx_chip_type chip_type; member
217 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) in max17042_get_property()
544 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17047 || in max17042_write_config_regs()
545 chip->chip_type == MAXIM_DEVICE_TYPE_MAX17050) in max17042_write_config_regs()
558 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) { in max17042_write_custom_regs()
667 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) in max17042_override_por_values()
674 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) in max17042_override_por_values()
683 if (chip->chip_type) { in max17042_override_por_values()
889 chip->chip_type = id->driver_data; in max17042_probe()
/linux-4.4.14/include/linux/platform_data/
Dbt-nokia-h4p.h27 int chip_type; member
/linux-4.4.14/drivers/hwmon/
Dadm1031.c80 int chip_type; member
135 chan < ((data->chip_type == adm1031) ? 3 : 2); chan++) { in adm1031_update_device()
184 if (data->chip_type == adm1030) in adm1031_update_device()
187 for (chan = 0; chan < (data->chip_type == adm1030 ? 1 : 2); in adm1031_update_device()
564 || (data->chip_type == adm1031 in trust_fan_readings()
1023 if (data->chip_type == adm1031) { in adm1031_init_client()
1059 data->chip_type = id->driver_data; in adm1031_probe()
1062 if (data->chip_type == adm1030) in adm1031_probe()
1072 if (data->chip_type == adm1031) in adm1031_probe()
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()
Dw83795.c337 enum chip_types chip_type; member
481 if ((i == 2 && data->chip_type == w83795adg) || in w83795_update_limits()
2164 data->chip_type = id->driver_data; in w83795_probe()
2211 if (data->chip_type == w83795g) in w83795_probe()
2217 if (data->chip_type == w83795g) { in w83795_probe()
2234 if (data->chip_type == w83795g) in w83795_probe()
Dit87.c1848 u16 chip_type; in it87_find() local
1857 chip_type = force_id ? force_id : superio_inw(DEVID); in it87_find()
1859 switch (chip_type) { in it87_find()
1916 pr_debug("Unsupported chip (DEVID=0x%x)\n", chip_type); in it87_find()
1934 pr_info("Found IT%04x%s chip at 0x%x, revision %d\n", chip_type, in it87_find()
/linux-4.4.14/drivers/char/tpm/
Dtpm_i2c_infineon.c71 enum i2c_chip_type chip_type; member
119 if (tpm_dev.chip_type == SLB9645) { in iic_tpm_read()
611 tpm_dev.chip_type = SLB9645; in tpm_tis_i2c_init()
613 tpm_dev.chip_type = SLB9635; in tpm_tis_i2c_init()
/linux-4.4.14/arch/mips/include/asm/octeon/
Docteon.h102 uint16_t chip_type; member
155 uint16_t chip_type;
/linux-4.4.14/drivers/scsi/
Dadvansys.c1844 uchar chip_type; member
2690 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in advansys_info()
2692 } else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) { in advansys_info()
2969 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in asc_prt_adv_board_eeprom()
2971 } else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) { in asc_prt_adv_board_eeprom()
2981 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in asc_prt_adv_board_eeprom()
2983 } else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) { in asc_prt_adv_board_eeprom()
2994 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) in asc_prt_adv_board_eeprom()
2999 else if (adv_dvc_varp->chip_type == ADV_CHIP_ASC38C0800) in asc_prt_adv_board_eeprom()
3011 if (adv_dvc_varp->chip_type == ADV_CHIP_ASC3550) { in asc_prt_adv_board_eeprom()
[all …]
Dfdomain.c340 enum chip_type { enum
399 static enum chip_type chip = unknown;
/linux-4.4.14/drivers/scsi/csiostor/
Dcsio_hw_chip.h55 enum chip_type { enum
/linux-4.4.14/drivers/media/dvb-frontends/
Dsi2165.c48 u8 chip_type; member
1001 io_ret = si2165_readreg8(state, 0x0118, &state->chip_type); in si2165_attach()
1015 switch (state->chip_type) { in si2165_attach()
1027 KBUILD_MODNAME, state->chip_type, state->chip_revcode); in si2165_attach()
1033 KBUILD_MODNAME, chip_name, rev_char, state->chip_type, in si2165_attach()
/linux-4.4.14/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c279 memcpy(&st->chip_config, hw_info[st->chip_type].config, in inv_mpu6050_init_config()
735 st->chip_type = INV_MPU6050; in inv_check_and_setup_chip()
736 st->hw = &hw_info[st->chip_type]; in inv_check_and_setup_chip()
737 st->reg = hw_info[st->chip_type].reg; in inv_check_and_setup_chip()
Dinv_mpu_iio.h120 enum inv_devices chip_type; member
/linux-4.4.14/include/linux/
Dvia-core.h83 int chip_type; member
/linux-4.4.14/drivers/staging/rtl8723au/include/
Ddrv_types.h215 u16 chip_type; member
/linux-4.4.14/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()
1154 if (db->chip_type && (db->chip_id==PCI_DM9102_ID)) { in dmfe_timer()
1730 if ( db->chip_type && (db->chip_id == PCI_DM9102_ID) ) in dmfe_set_phyxcer()
1732 if ( !db->chip_type ) in dmfe_set_phyxcer()
1777 if ( db->chip_type && (db->chip_id == PCI_DM9102_ID) ) in dmfe_process_mode()
/linux-4.4.14/drivers/staging/rtl8188eu/include/
Ddrv_types.h179 u16 chip_type; member
/linux-4.4.14/drivers/message/fusion/
Dmptctl.h285 int chip_type; member
Dmptctl.c1541 karg.chip_type = ioc->mfcnt; in mptctl_readtest()
1543 karg.chip_type = ioc->pcidev->device; in mptctl_readtest()
/linux-4.4.14/drivers/net/ethernet/via/
Dvia-velocity.h1138 enum chip_type { enum
1143 enum chip_type chip_id;
1444 enum chip_type chip_id;
Dvia-velocity.c401 static const char *get_chip_name(enum chip_type chip_id) in get_chip_name()
/linux-4.4.14/drivers/input/touchscreen/
Dcyttsp4_core.h272 size_t chip_type; member
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.c940 void exhalbtc_set_chip_type(u8 chip_type) in exhalbtc_set_chip_type() argument
942 switch (chip_type) { in exhalbtc_set_chip_type()
Dhalbtcoutsrc.h537 void exhalbtc_set_chip_type(u8 chip_type);
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/
Dusb_intf.c363 padapter->chip_type = RTL8188E; in rtw_usb_if1_init()
/linux-4.4.14/drivers/staging/rtl8723au/hal/
Dusb_ops_linux.c691 padapter->chip_type = RTL8723A; in rtl8723au_set_hw_type()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dcm.c656 enum chip_type adapter_type = ep->com.dev->rdev.lldi.adapter_type; in send_connect()
1931 bool clear_mpa_v1, enum chip_type adapter_type) in import_ep()
2249 enum chip_type adapter_type = ep->com.dev->rdev.lldi.adapter_type; in accept_cr()
2343 static void get_4tuple(struct cpl_pass_accept_req *req, enum chip_type type, in get_4tuple()
3654 enum chip_type type; in build_cpl_pass_accept_req()
/linux-4.4.14/drivers/ata/
Dsata_mv.c475 enum chip_type { enum