| /OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/ |
| H A D | bt_test.c | 74 static int chip_type; 80 int chip_type = RTL8188EU; 97 chip_type = BCM4329; 101 chip_type = RTL8188CU; 105 chip_type = RTL8188EU; 109 chip_type = BCM4330; 113 chip_type = RK901; 117 chip_type = RK903; 121 chip_type = MT6620; 125 chip_type = RT5370; [all …]
|
| /OK3568_Linux_fs/external/rk_pcba_test/ |
| H A D | echo_bt_test.c | 83 static int chip_type; variable 149 int chip_type; in get_chip_type() local 154 chip_type = RK903; in get_chip_type() 157 chip_type = MT5931; in get_chip_type() 160 chip_type = RDA587x; in get_chip_type() 163 chip_type = RDA5990; in get_chip_type() 166 chip_type = RTK8723AS; in get_chip_type() 169 chip_type = RTK8723BS; in get_chip_type() 172 chip_type = RTK8723AU; in get_chip_type() 175 chip_type = RTK8723BU; in get_chip_type() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/ide/ |
| H A D | hpt366.c | 398 u8 chip_type; /* Chip type */ member 449 .chip_type = HPT36x, 457 .chip_type = HPT370, 465 .chip_type = HPT370A, 473 .chip_type = HPT374, 481 .chip_type = HPT372, 489 .chip_type = HPT372A, 497 .chip_type = HPT302, 505 .chip_type = HPT371, 513 .chip_type = HPT372N, [all …]
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/drivers/watchdog/ |
| H A D | it87_wdt.c | 87 static unsigned int max_units, chip_type; variable 176 if (chip_type != IT8721_ID) in _wdt_update_timeout() 272 chip_type = superio_inw(CHIPID); in it87_wdt_init() 276 switch (chip_type) { in it87_wdt_init() 307 chip_type, chip_rev); in it87_wdt_init() 314 chip_type, chip_rev); in it87_wdt_init() 347 chip_type, chip_rev, timeout, nowayout, testmode); in it87_wdt_init()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/drivers/iio/imu/inv_mpu6050/ |
| H A D | inv_mpu_i2c.c | 30 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()
|
| H A D | inv_mpu_spi.c | 42 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()
|
| 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() 269 switch (st->chip_type) { in inv_mpu_magn_set_orient()
|
| /OK3568_Linux_fs/kernel/arch/sparc/kernel/ |
| H A D | pci_schizo.c | 1078 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/power/supply/ |
| H A D | max17042_battery.c | 59 enum max170xx_chip_type chip_type; member 285 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) in max17042_get_property() 287 else if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17055) in max17042_get_property() 643 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17047 || in max17042_write_config_regs() 644 chip->chip_type == MAXIM_DEVICE_TYPE_MAX17050 || in max17042_write_config_regs() 645 chip->chip_type == MAXIM_DEVICE_TYPE_MAX17055) in max17042_write_config_regs() 658 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) { in max17042_write_custom_regs() 767 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) in max17042_override_por_values() 774 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17042) in max17042_override_por_values() 776 if (chip->chip_type == MAXIM_DEVICE_TYPE_MAX17055) in max17042_override_por_values() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/serial/ |
| H A D | ftdi_sio.c | 52 enum ftdi_chip_type chip_type; member 1310 switch (priv->chip_type) { in get_ftdi_divisor() 1383 ftdi_chip_name[priv->chip_type]); in get_ftdi_divisor() 1401 if (priv->chip_type == FT2232C || priv->chip_type == FT2232H || in change_speed() 1402 priv->chip_type == FT4232H || priv->chip_type == FT232H || in change_speed() 1403 priv->chip_type == FTX) { in change_speed() 1425 if (priv->chip_type == SIO || priv->chip_type == FT8U232AM) in write_latency_timer() 1478 if (priv->chip_type == SIO || priv->chip_type == FT8U232AM) in read_latency_timer() 1592 priv->chip_type = FT4232H; in ftdi_determine_type() 1596 priv->chip_type = FT2232H; in ftdi_determine_type() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/os_dep/linux/ |
| H A D | usb_intf.c | 418 pdvobjpriv->chip_type = pdid->driver_info; in rtw_decide_chip_type_by_usb_info() 421 if (pdvobjpriv->chip_type == RTL8188E) in rtw_decide_chip_type_by_usb_info() 426 if (pdvobjpriv->chip_type == RTL8812 || pdvobjpriv->chip_type == RTL8821) in rtw_decide_chip_type_by_usb_info() 431 if (pdvobjpriv->chip_type == RTL8192E) in rtw_decide_chip_type_by_usb_info() 436 if (pdvobjpriv->chip_type == RTL8723B) in rtw_decide_chip_type_by_usb_info() 441 if (pdvobjpriv->chip_type == RTL8814A) in rtw_decide_chip_type_by_usb_info() 446 if (pdvobjpriv->chip_type == RTL8188F) in rtw_decide_chip_type_by_usb_info() 451 if (pdvobjpriv->chip_type == RTL8188GTV) in rtw_decide_chip_type_by_usb_info() 456 if (pdvobjpriv->chip_type == RTL8703B) in rtw_decide_chip_type_by_usb_info() 461 if (pdvobjpriv->chip_type == RTL8822B) in rtw_decide_chip_type_by_usb_info() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/tpm/ |
| H A D | tpm_tis_infineon.c | 81 if ((chip->chip_type == SLB9635) || (chip->chip_type == UNKNOWN)) { in tpm_tis_i2c_read() 135 if (chip->chip_type == SLB9635) { in tpm_tis_i2c_write_generic() 533 if (chip->chip_type == SLB9635) { in tpm_tis_i2c_init() 541 if (chip->chip_type != UNKNOWN && vendor != expected_did_vid) { in tpm_tis_i2c_init() 548 chip_name[chip->chip_type], vendor >> 16); in tpm_tis_i2c_init() 595 chip_name[chip->chip_type], in tpm_tis_get_desc() 604 chip->chip_type = dev_get_driver_data(dev); in tpm_tis_i2c_probe()
|
| /OK3568_Linux_fs/external/rkwifibt/tools/rtk_hciattach/ |
| H A D | hciattach_rtk.c | 615 rtb_cfg.chip_type = (skb->data[1] & 0x0f); in h5_init_hci_cc() 617 RS_INFO("Read chip type %02x", rtb_cfg.chip_type); in h5_init_hci_cc() 1764 rtb_cfg.chip_type = CHIP_8761BTC; in rtb_config() 1772 rtb_cfg.chip_type = CHIP_8761BH4; in rtb_config() 1780 rtb_cfg.chip_type = CHIP_8761ATF; in rtb_config() 1782 rtb_cfg.chip_type = CHIP_8761AT; in rtb_config() 1784 rtb_cfg.chip_type = CHIP_UNKNOWN; in rtb_config() 1789 rtb_cfg.chip_type = CHIP_8723DS; in rtb_config() 1792 rtb_cfg.chip_type = CHIP_8723BS; in rtb_config() 1810 rtl->chip_type = CHIP_8703AS; in rtb_config() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/os_dep/linux/ |
| H A D | sdio_intf.c | 564 dvobj->chip_type = pdid->driver_data; in rtw_decide_chip_type_by_device_id() 567 if (dvobj->chip_type == RTL8188E) { in rtw_decide_chip_type_by_device_id() 574 if (dvobj->chip_type == RTL8723B) { in rtw_decide_chip_type_by_device_id() 581 if (dvobj->chip_type == RTL8821) { in rtw_decide_chip_type_by_device_id() 588 if (dvobj->chip_type == RTL8192E) { in rtw_decide_chip_type_by_device_id() 595 if (dvobj->chip_type == RTL8703B) { in rtw_decide_chip_type_by_device_id() 602 if (dvobj->chip_type == RTL8723D) { in rtw_decide_chip_type_by_device_id() 609 if (dvobj->chip_type == RTL8188F) { in rtw_decide_chip_type_by_device_id() 616 if (dvobj->chip_type == RTL8188GTV) { in rtw_decide_chip_type_by_device_id() 623 if (dvobj->chip_type == RTL8822B) { in rtw_decide_chip_type_by_device_id() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/os_dep/linux/ |
| H A D | sdio_intf.c | 565 dvobj->chip_type = pdid->driver_data; in rtw_decide_chip_type_by_device_id() 568 if (dvobj->chip_type == RTL8188E) { in rtw_decide_chip_type_by_device_id() 575 if (dvobj->chip_type == RTL8723B) { in rtw_decide_chip_type_by_device_id() 582 if (dvobj->chip_type == RTL8821) { in rtw_decide_chip_type_by_device_id() 589 if (dvobj->chip_type == RTL8192E) { in rtw_decide_chip_type_by_device_id() 596 if (dvobj->chip_type == RTL8703B) { in rtw_decide_chip_type_by_device_id() 603 if (dvobj->chip_type == RTL8723D) { in rtw_decide_chip_type_by_device_id() 610 if (dvobj->chip_type == RTL8188F) { in rtw_decide_chip_type_by_device_id() 617 if (dvobj->chip_type == RTL8188GTV) { in rtw_decide_chip_type_by_device_id() 624 if (dvobj->chip_type == RTL8822B) { in rtw_decide_chip_type_by_device_id() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/os_dep/linux/ |
| H A D | sdio_intf.c | 571 dvobj->chip_type = pdid->driver_data; in rtw_decide_chip_type_by_device_id() 574 if (dvobj->chip_type == RTL8188E) { in rtw_decide_chip_type_by_device_id() 581 if (dvobj->chip_type == RTL8723B) { in rtw_decide_chip_type_by_device_id() 588 if (dvobj->chip_type == RTL8821) { in rtw_decide_chip_type_by_device_id() 595 if (dvobj->chip_type == RTL8192E) { in rtw_decide_chip_type_by_device_id() 602 if (dvobj->chip_type == RTL8703B) { in rtw_decide_chip_type_by_device_id() 609 if (dvobj->chip_type == RTL8723D) { in rtw_decide_chip_type_by_device_id() 616 if (dvobj->chip_type == RTL8188F) { in rtw_decide_chip_type_by_device_id() 623 if (dvobj->chip_type == RTL8188GTV) { in rtw_decide_chip_type_by_device_id() 630 if (dvobj->chip_type == RTL8822B) { in rtw_decide_chip_type_by_device_id() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/os_dep/linux/ |
| H A D | sdio_intf.c | 565 dvobj->chip_type = pdid->driver_data; in rtw_decide_chip_type_by_device_id() 568 if (dvobj->chip_type == RTL8188E) { in rtw_decide_chip_type_by_device_id() 575 if (dvobj->chip_type == RTL8723B) { in rtw_decide_chip_type_by_device_id() 582 if (dvobj->chip_type == RTL8821) { in rtw_decide_chip_type_by_device_id() 589 if (dvobj->chip_type == RTL8192E) { in rtw_decide_chip_type_by_device_id() 596 if (dvobj->chip_type == RTL8703B) { in rtw_decide_chip_type_by_device_id() 603 if (dvobj->chip_type == RTL8723D) { in rtw_decide_chip_type_by_device_id() 610 if (dvobj->chip_type == RTL8188F) { in rtw_decide_chip_type_by_device_id() 617 if (dvobj->chip_type == RTL8188GTV) { in rtw_decide_chip_type_by_device_id() 624 if (dvobj->chip_type == RTL8822B) { in rtw_decide_chip_type_by_device_id() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/ |
| H A D | sdio_intf.c | 571 dvobj->chip_type = pdid->driver_data; in rtw_decide_chip_type_by_device_id() 574 if (dvobj->chip_type == RTL8188E) { in rtw_decide_chip_type_by_device_id() 581 if (dvobj->chip_type == RTL8723B) { in rtw_decide_chip_type_by_device_id() 588 if (dvobj->chip_type == RTL8821) { in rtw_decide_chip_type_by_device_id() 595 if (dvobj->chip_type == RTL8192E) { in rtw_decide_chip_type_by_device_id() 602 if (dvobj->chip_type == RTL8703B) { in rtw_decide_chip_type_by_device_id() 609 if (dvobj->chip_type == RTL8723D) { in rtw_decide_chip_type_by_device_id() 616 if (dvobj->chip_type == RTL8188F) { in rtw_decide_chip_type_by_device_id() 623 if (dvobj->chip_type == RTL8188GTV) { in rtw_decide_chip_type_by_device_id() 630 if (dvobj->chip_type == RTL8822B) { in rtw_decide_chip_type_by_device_id() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/os_dep/linux/ |
| H A D | sdio_intf.c | 449 dvobj->chip_type = pdid->driver_data; in rtw_decide_chip_type_by_device_id() 452 if (dvobj->chip_type == RTL8188E) { in rtw_decide_chip_type_by_device_id() 459 dvobj->chip_type = RTL8723B; in rtw_decide_chip_type_by_device_id() 464 if (dvobj->chip_type == RTL8821) { in rtw_decide_chip_type_by_device_id() 471 if (dvobj->chip_type == RTL8192E) { in rtw_decide_chip_type_by_device_id() 478 if (dvobj->chip_type == RTL8703B) { in rtw_decide_chip_type_by_device_id() 485 if (dvobj->chip_type == RTL8723D) { in rtw_decide_chip_type_by_device_id() 492 if (dvobj->chip_type == RTL8188F) { in rtw_decide_chip_type_by_device_id() 499 if (dvobj->chip_type == RTL8188GTV) { in rtw_decide_chip_type_by_device_id() 506 if (dvobj->chip_type == RTL8822B) { in rtw_decide_chip_type_by_device_id() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/power/ |
| H A D | twl6030.c | 14 .chip_type = chip_TWL6030, 23 .chip_type = chip_TWL6032, 136 if (twl->chip_type == chip_TWL6030) { in twl6030_get_battery_voltage() 187 if (twl->chip_type == chip_TWL6030) { in twl6030_init_battery_charging()
|
| /OK3568_Linux_fs/kernel/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() 295 if (lp->chip_type == CS8900) in net_open()
|
| H A D | cs89x0.c | 137 int chip_type; /* one of: CS8900, CS8920, CS8920M */ member 290 write_irq(struct net_device *dev, int chip_type, int irq) in write_irq() argument 294 if (chip_type == CS8900) { in write_irq() 348 if (lp->chip_type == CS8900) in get_dma_channel() 358 write_dma(struct net_device *dev, int chip_type, int dma) in write_dma() argument 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() 876 write_irq(dev, lp->chip_type, dev->irq); in net_open() 910 write_dma(dev, lp->chip_type, dev->dma); in net_open() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/ |
| H A D | als300.c | 119 int chip_type; /* ALS300 or ALS300+ */ member 159 if (((chip->revision > 5 || chip->chip_type == DEVICE_ALS300_PLUS) ^ in snd_als300_set_irq_flag() 613 struct pci_dev *pci, int chip_type, in snd_als300_create() argument 645 chip->chip_type = chip_type; in snd_als300_create() 655 if (chip->chip_type == DEVICE_ALS300_PLUS) in snd_als300_create() 729 int err, chip_type; in snd_als300_probe() local 744 chip_type = pci_id->driver_data; in snd_als300_probe() 746 if ((err = snd_als300_create(card, pci, chip_type, &chip)) < 0) { in snd_als300_probe() 753 if (chip->chip_type == DEVICE_ALS300_PLUS) in snd_als300_probe()
|