| /OK3568_Linux_fs/kernel/drivers/media/tuners/ |
| H A D | it913x.c | 17 u8 chip_ver:2; member 104 if (dev->chip_ver == 1) { in it913x_init() 397 dev->chip_ver = id->driver_data; in it913x_probe() 405 if (dev->chip_ver == 1) in it913x_probe() 407 else if (dev->chip_ver == 2) in it913x_probe() 414 dev_dbg(&pdev->dev, "chip_ver %u, role %u\n", dev->chip_ver, dev->role); in it913x_probe()
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | rk817_codec.c | 95 int chip_ver; member 269 if (rk817->chip_ver <= 0x4) { in rk817_reset() 382 if (rk817->chip_ver <= 0x4) { in rk817_codec_power_up() 413 if (rk817->chip_ver <= 0x4) { in rk817_codec_power_up() 955 if (rk817->chip_ver <= 0x4) { in rk817_hw_params() 1222 int chip_ver = 0; in rk817_probe() local 1237 chip_ver = snd_soc_component_read(component, RK817_PMIC_CHIP_VER); in rk817_probe() 1238 rk817->chip_ver = (chip_ver & 0x0f); in rk817_probe() 1239 dev_info(component->dev, "%s: chip_name:0x%x, chip_ver:0x%x\n", __func__, chip_name, chip_ver); in rk817_probe()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/halmac/ |
| H A D | halmac_api.c | 497 u8 chip_ver; in get_chip_info() local 516 chip_ver = pltfm_reg_r_indir_sdio(drv_adapter, pltfm_api, in get_chip_info() 520 chip_ver = pltfm_api->REG_READ_8(drv_adapter, in get_chip_info() 524 adapter->chip_ver = (enum halmac_chip_ver)chip_ver; in get_chip_info()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/halmac/ |
| H A D | halmac_api.c | 497 u8 chip_ver; in get_chip_info() local 516 chip_ver = pltfm_reg_r_indir_sdio(drv_adapter, pltfm_api, in get_chip_info() 520 chip_ver = pltfm_api->REG_READ_8(drv_adapter, in get_chip_info() 524 adapter->chip_ver = (enum halmac_chip_ver)chip_ver; in get_chip_info()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/halmac/ |
| H A D | halmac_api.c | 496 u8 chip_ver; in get_chip_info() local 515 chip_ver = pltfm_reg_r_indir_sdio(drv_adapter, pltfm_api, in get_chip_info() 519 chip_ver = pltfm_api->REG_READ_8(drv_adapter, in get_chip_info() 523 adapter->chip_ver = (enum halmac_chip_ver)chip_ver; in get_chip_info()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/halmac/ |
| H A D | halmac_api.c | 496 u8 chip_ver; in get_chip_info() local 515 chip_ver = pltfm_reg_r_indir_sdio(drv_adapter, pltfm_api, in get_chip_info() 519 chip_ver = pltfm_api->REG_READ_8(drv_adapter, in get_chip_info() 523 adapter->chip_ver = (enum halmac_chip_ver)chip_ver; in get_chip_info()
|
| /OK3568_Linux_fs/kernel/drivers/media/rc/ |
| H A D | nuvoton-cir.h | 55 enum nvt_chip_ver chip_ver; member 76 enum nvt_chip_ver chip_ver; member
|
| H A D | nuvoton-cir.c | 53 return nvt->chip_ver == NVT_W83667HG; in is_w83667hg() 383 if ((id & SIO_ID_MASK) == nvt_chips[i].chip_ver) { in nvt_find_chip() 384 nvt->chip_ver = nvt_chips[i].chip_ver; in nvt_find_chip()
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | saa7115.c | 1708 char chip_ver[CHIP_VER_SIZE]; in saa711x_detect_chip() local 1718 chip_ver[i] = i2c_smbus_read_byte_data(client, 0); in saa711x_detect_chip() 1719 name[i] = (chip_ver[i] & 0x0f) + '0'; in saa711x_detect_chip() 1735 if (chip_ver[0] & 0xf0) { in saa711x_detect_chip() 1761 chip_id |= (chip_ver[i] & 0x80) ? 1 : 0; in saa711x_detect_chip() 1781 name, 16, chip_ver, client->addr << 1); in saa711x_detect_chip() 1795 name, 16, chip_ver, client->addr << 1); in saa711x_detect_chip() 1803 16, chip_ver, client->addr << 1); in saa711x_detect_chip()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_filter.c | 690 unsigned int chip_ver) in cxgb4_set_ftid() argument 702 if (chip_ver < CHELSIO_T6) in cxgb4_set_ftid() 731 unsigned int chip_ver) in cxgb4_clear_ftid() argument 737 if (chip_ver < CHELSIO_T6) in cxgb4_clear_ftid() 1533 unsigned int max_fidx, fidx, chip_ver; in __cxgb4_set_filter() local 1538 chip_ver = CHELSIO_CHIP_VERSION(adapter->params.chip); in __cxgb4_set_filter() 1584 if (chip_ver < CHELSIO_T6) in __cxgb4_set_filter() 1599 if (chip_ver < CHELSIO_T6) { in __cxgb4_set_filter() 1654 chip_ver); in __cxgb4_set_filter() 1728 chip_ver); in __cxgb4_set_filter() [all …]
|
| H A D | cudbg_lib_common.h | 28 u8 chip_ver; member
|
| H A D | sge.c | 730 static inline int is_eth_imm(const struct sk_buff *skb, unsigned int chip_ver) in is_eth_imm() argument 735 chip_ver > CHELSIO_T5) { in is_eth_imm() 759 unsigned int chip_ver) in calc_tx_flits() argument 762 int hdrlen = is_eth_imm(skb, chip_ver); in calc_tx_flits() 782 if (skb->encapsulation && chip_ver > CHELSIO_T5) { in calc_tx_flits() 815 unsigned int chip_ver) in calc_tx_descs() argument 817 return flits_to_desc(calc_tx_flits(skb, chip_ver)); in calc_tx_descs() 1517 unsigned int chip_ver; in cxgb4_eth_xmit() local 1561 chip_ver = CHELSIO_CHIP_VERSION(adap->params.chip); in cxgb4_eth_xmit() 1562 flits = calc_tx_flits(skb, chip_ver); in cxgb4_eth_xmit() [all …]
|
| H A D | cxgb4_cudbg.c | 190 cudbg_hdr->chip_ver = adap->params.chip; in cxgb4_cudbg_collect()
|
| H A D | cxgb4_debugfs.c | 1675 unsigned int chip_ver = CHELSIO_CHIP_VERSION(adap->params.chip); in mps_tcam_show() local 1677 if (chip_ver > CHELSIO_T5) { in mps_tcam_show() 1706 if (chip_ver > CHELSIO_T5) { in mps_tcam_show() 1767 if (chip_ver > CHELSIO_T5) in mps_tcam_show() 1812 if (chip_ver > CHELSIO_T5) { in mps_tcam_show() 1871 if (chip_ver > CHELSIO_T5) in mps_tcam_show()
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | rk806-core.c | 717 int name_h, name_l, chip_ver, otp_ver; in rk806_device_init() local 743 chip_ver = rk806_field_read(rk806, CHIP_VER); in rk806_device_init() 746 name_h, name_l, chip_ver, otp_ver); in rk806_device_init() 747 if (chip_ver == VERSION_AB) in rk806_device_init()
|
| /OK3568_Linux_fs/kernel/drivers/net/dsa/ |
| H A D | rtl8366rb.c | 724 u32 chip_ver = 0; in rtl8366rb_setup() local 748 &chip_ver); in rtl8366rb_setup() 755 chip_id, chip_ver & RTL8366RB_CHIP_VERSION_MASK); in rtl8366rb_setup() 758 switch (chip_ver) { in rtl8366rb_setup() 841 (chip_ver == 1) ? 0x0007 : 0x0003); in rtl8366rb_setup()
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H A D | stmfts.c | 94 u8 chip_ver; member 421 return sprintf(buf, "%u\n", sdata->chip_ver); in stmfts_sysfs_chip_version() 549 sdata->chip_ver = reg[0]; in stmfts_power_on()
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/dvb-usb-v2/ |
| H A D | mxl111sf.h | 65 u8 chip_ver; member
|
| H A D | mxl111sf.c | 191 if ((state->chip_id) && (state->chip_ver)) in mxl1x1sf_get_chip_info() 202 state->chip_ver = ver; in mxl1x1sf_get_chip_info()
|
| /OK3568_Linux_fs/external/rkwifibt/tools/rtk_hciattach/ |
| H A D | hciattach.h | 153 uint8_t chip_ver; member
|
| H A D | hciattach_rtk.c | 616 rtb_cfg.chip_ver = (skb->data[2] & 0x0f); in h5_init_hci_cc() 618 RS_INFO("Read chip ver %02x", rtb_cfg.chip_ver); in h5_init_hci_cc() 1832 rtb_cfg.eversion = rtb_cfg.chip_ver; in rtb_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4vf/ |
| H A D | sge.c | 2273 unsigned int chip_ver = in t4vf_sge_alloc_rxq() local 2324 FW_IQ_CMD_FL0FBMIN_V(chip_ver <= CHELSIO_T5 in t4vf_sge_alloc_rxq() 2327 FW_IQ_CMD_FL0FBMAX_V((chip_ver <= CHELSIO_T5) ? in t4vf_sge_alloc_rxq() 2417 unsigned int chip_ver = CHELSIO_CHIP_VERSION(adapter->params.chip); in t4vf_sge_alloc_eth_txq() local 2462 cpu_to_be32(FW_EQ_ETH_CMD_FBMIN_V(chip_ver <= CHELSIO_T5 in t4vf_sge_alloc_eth_txq()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/csiostor/ |
| H A D | csio_hw.h | 507 char chip_ver; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/halmac/halmac_88xx/ |
| H A D | halmac_common_88xx.c | 414 *(u8 *)value = adapter->chip_ver; in get_hw_value_88xx() 2978 switch (adapter->chip_ver) { in pwr_seq_parser_88xx() 3170 switch (adapter->chip_ver) { in parse_intf_phy_88xx()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/halmac/halmac_88xx/ |
| H A D | halmac_common_88xx.c | 414 *(u8 *)value = adapter->chip_ver; in get_hw_value_88xx() 2989 switch (adapter->chip_ver) { in pwr_seq_parser_88xx() 3181 switch (adapter->chip_ver) { in parse_intf_phy_88xx()
|