Home
last modified time | relevance | path

Searched refs:chip_id (Results 1 – 25 of 94) sorted by relevance

1234

/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/drivers/flash/
Dhi_loaderboot_flash.c37 hi_u8 chip_id[HI_FLASH_CHIP_ID_NUM]; member
62 hi_void sfc_config_set_experience(const hi_u8 *chip_id, flash_vlt_sfc_info *flash_info, in sfc_config_set_experience() argument
70 if (memcmp(info->chip_id, chip_id, HI_FLASH_CHIP_ID_NUM) == HI_ERR_SUCCESS) { in sfc_config_set_experience()
242 hi_u8 chip_id; in flash_clk_config() local
244 ret = hi_efuse_read(HI_EFUSE_CHIP_RW_ID, (hi_u8 *)&chip_id, (hi_u8)sizeof(hi_u8)); in flash_clk_config()
246 if (chip_id == HI_CHIP_ID_1131SV200) { in flash_clk_config()
263 if ((g_voltage <= HI_FLASH_VOLTAGE_TH0) && (memcmp(g_flash_vlt_sfc_info.chip_id, in hi_flash_erase()
264 g_flash_vlt_sfc_info_tbl[2].chip_id, HI_FLASH_CHIP_ID_NUM) == HI_ERR_SUCCESS)) { // 2 in hi_flash_erase()
270 if ((g_voltage <= HI_FLASH_VOLTAGE_TH0) && (memcmp(g_flash_vlt_sfc_info.chip_id, in hi_flash_erase()
271 g_flash_vlt_sfc_info_tbl[2].chip_id, HI_FLASH_CHIP_ID_NUM) == HI_ERR_SUCCESS)) { // 2 in hi_flash_erase()
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/drivers/flash/
Dhi_flashboot_flash.c37 hi_u8 chip_id[HI_FLASH_CHIP_ID_NUM]; member
62 hi_void sfc_config_set_experience(const hi_u8 *chip_id, flash_vlt_sfc_info *flash_info, in sfc_config_set_experience() argument
70 if (memcmp(info->chip_id, chip_id, HI_FLASH_CHIP_ID_NUM) == HI_ERR_SUCCESS) { in sfc_config_set_experience()
296 hi_u8 chip_id; in flash_clk_config() local
298 ret = hi_efuse_read(HI_EFUSE_CHIP_RW_ID, (hi_u8 *)&chip_id, (hi_u8)sizeof(hi_u8)); in flash_clk_config()
300 if (chip_id == HI_CHIP_ID_1131SV200) { in flash_clk_config()
317 if ((g_voltage <= HI_FLASH_VOLTAGE_TH0) && (memcmp(g_flash_vlt_sfc_info.chip_id, in hi_flash_erase()
318 g_flash_vlt_sfc_info_tbl[2].chip_id, HI_FLASH_CHIP_ID_NUM) == HI_ERR_SUCCESS)) { // 2 in hi_flash_erase()
330 if ((g_voltage <= HI_FLASH_VOLTAGE_TH0) && (memcmp(g_flash_vlt_sfc_info.chip_id, in hi_flash_erase()
331 g_flash_vlt_sfc_info_tbl[2].chip_id, HI_FLASH_CHIP_ID_NUM) == HI_ERR_SUCCESS)) { // 2 in hi_flash_erase()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/modules/sensor/nvp6324/
Dmipi_dev_nvp6324.c43 int chip_id[4]; variable
248 chip_id[chip] = check_id(jaguar1_i2c_addr[chip]); in check_decoder_count()
250 if ((chip_id[chip] != JAGUAR1_4PORT_R0_ID) && in check_decoder_count()
251 (chip_id[chip] != JAGUAR1_2PORT_R0_ID) && in check_decoder_count()
252 (chip_id[chip] != JAGUAR1_1PORT_R0_ID) && in check_decoder_count()
253 (chip_id[chip] != AFE_NVP6134E_R0_ID) in check_decoder_count()
255 sensor_err("Device ID Error... %x, Chip Count:[%d]\n", chip_id[chip], chip); in check_decoder_count()
257 chip_id[chip] = 0xFF; in check_decoder_count()
260 jaguar1_i2c_addr[chip], chip_id[chip], chip); in check_decoder_count()
268 chip_id[jaguar1_cnt] = chip_id[chip]; in check_decoder_count()
[all …]
Djaguar1_drv.c71 static int chip_id[4]; variable
231 chip_id[chip] = check_id(jaguar1_i2c_addr[chip]); in check_decoder_count()
233 if ((chip_id[chip] != JAGUAR1_4PORT_R0_ID) && in check_decoder_count()
234 (chip_id[chip] != JAGUAR1_2PORT_R0_ID) && in check_decoder_count()
235 (chip_id[chip] != JAGUAR1_1PORT_R0_ID) && in check_decoder_count()
236 (chip_id[chip] != AFE_NVP6134E_R0_ID) in check_decoder_count()
238 printk("Device ID Error... %x, Chip Count:[%d]\n", chip_id[chip], chip); in check_decoder_count()
240 chip_id[chip] = 0xFF; in check_decoder_count()
242 …printk("Device (0x%x) ID OK... %x , Chip Count:[%d]\n", jaguar1_i2c_addr[chip], chip_id[chip], chi… in check_decoder_count()
250 chip_id[jaguar1_cnt] = chip_id[chip]; in check_decoder_count()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/halmac/
Dhalmac_api.c179 if (adapter->chip_id == HALMAC_CHIP_ID_8822B || in halmac_init_adapter()
180 adapter->chip_id == HALMAC_CHIP_ID_8821C || in halmac_init_adapter()
181 adapter->chip_id == HALMAC_CHIP_ID_8822C || in halmac_init_adapter()
182 adapter->chip_id == HALMAC_CHIP_ID_8812F) { in halmac_init_adapter()
189 if (adapter->chip_id == HALMAC_CHIP_ID_8814B) { in halmac_init_adapter()
194 if (adapter->chip_id == HALMAC_CHIP_ID_8814B) { in halmac_init_adapter()
204 if (adapter->chip_id == HALMAC_CHIP_ID_8822B) { in halmac_init_adapter()
211 if (adapter->chip_id == HALMAC_CHIP_ID_8821C) { in halmac_init_adapter()
218 if (adapter->chip_id == HALMAC_CHIP_ID_8814B) { in halmac_init_adapter()
225 if (adapter->chip_id == HALMAC_CHIP_ID_8822C) { in halmac_init_adapter()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/modules/sensor/nvp6134/
Dcsi_dev_nvp6134.c40 int chip_id[4]; variable
158 chip_id[0] = NVP6134B_R0_ID; in sensor_init_hardware()
160 chip_id[0] = NVP6134_R0_ID; in sensor_init_hardware()
166 chip_id[chip] = check_id(nvp6134_iic_addr[chip]); in sensor_init_hardware()
168 if ((chip_id[chip] != NVP6134_R0_ID) && in sensor_init_hardware()
169 (chip_id[chip] != NVP6134B_R0_ID)) { in sensor_init_hardware()
170 sensor_print("Device ID Error... %x\n", chip_id[chip]); in sensor_init_hardware()
181 chip_id[nvp6134_cnt] = chip_id[chip]; in sensor_init_hardware()
211 if (chip_id[chip] == NVP6134_R0_ID) { in sensor_init_hardware()
228 } else if (chip_id[chip] == NVP6134B_R0_ID) { in sensor_init_hardware()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/chip_support/
Dchip_support.c30 uint32_t chip_id; member
58 chip_info->chip_id = sys_drv_get_chip_id(); in bk_get_chip_info()
78 chip_info.chip_id, in bk_is_chip_supported()
87 if ( (supported_chips[i].chip_id & chip_id_mask) != in bk_is_chip_supported()
88 (chip_info.chip_id & chip_id_mask) ) { in bk_is_chip_supported()
103 chip_info.chip_id, in bk_is_chip_supported()
110 chip_info.chip_id, in bk_is_chip_supported()
/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/ddr_init/boot/
Dlowlevel_init_v300.c321 unsigned int chip_id = readl(SYS_CHIP_ID); in set_hpm_core_volt() local
327 if (chip_id == 0x3516D300) in set_hpm_core_volt()
334 else if (chip_id == 0x3516C500) in set_hpm_core_volt()
341 else if (chip_id == 0x35590200) in set_hpm_core_volt()
348 else if (chip_id == 0x35560200) in set_hpm_core_volt()
355 else if (chip_id == 0x3516A300) in set_hpm_core_volt()
411 unsigned int chip_id = readl(SYS_CHIP_ID); in start_svb() local
417 if (chip_id == 0x3516D300){ in start_svb()
419 }else if (chip_id == 0x3516C500){ in start_svb()
421 }else if (chip_id == 0x35590200){ in start_svb()
[all …]
/device/soc/bestechnic/bes2600/liteos_m/components/drivers/touch/
Dtouch_fts.c213 uint8_t chip_id[2] = {0}; in fts_get_ic_information() local
221 ret = fts_i2c_read_reg(client, FTS_REG_CHIP_ID, &chip_id[0]); in fts_get_ic_information()
222 ret = fts_i2c_read_reg(client, FTS_REG_CHIP_ID2, &chip_id[1]); in fts_get_ic_information()
223 if ((ret < 0) || (0x0 == chip_id[0]) || (0x0 == chip_id[1])) { in fts_get_ic_information()
224 HDF_LOGD("i2c read invalid, read:0x%02x%02x", chip_id[0], chip_id[1]); in fts_get_ic_information()
226 ret = fts_get_chip_types(ts_data, chip_id[0], chip_id[1], VALID); in fts_get_ic_information()
230 HDF_LOGD("TP not ready, read:0x%02x%02x", chip_id[0], chip_id[1]); in fts_get_ic_information()
258 ret = fts_i2c_read(client, id_cmd, id_cmd_len, chip_id, 2); in fts_get_ic_information()
259 if ((ret < 0) || (0x0 == chip_id[0]) || (0x0 == chip_id[1])) { in fts_get_ic_information()
263 ret = fts_get_chip_types(ts_data, chip_id[0], chip_id[1], 0); in fts_get_ic_information()
/device/soc/esp/esp32/components/spi_flash/
Dspi_flash_chip_gd.c27 #define WRSR_16B_REQUIRED(chip_id) (((chip_id) & FLASH_ID_MASK) == GD25LQ_PRODUCT_ID || \ argument
28 ((chip_id) & FLASH_SIZE_MASK) <= 0x15)
50 if (WRSR_16B_REQUIRED(chip->chip_id)) { in spi_flash_chip_gd_set_io_mode()
/device/board/hisilicon/hispark_phoenix/peripherals/bluetooth/rtkbt/code/libbt-vendor/src/
Dhardware.c221 uint16_t chip_id; in rtk_get_patch_entry() local
239 STREAM_TO_UINT16(chip_id, p); in rtk_get_patch_entry()
240 if (chip_id == cfg_cb->eversion + 1) in rtk_get_patch_entry()
242 entry->chip_id = chip_id; in rtk_get_patch_entry()
249 entry->chip_id, entry->patch_length, entry->patch_offset); in rtk_get_patch_entry()
/device/board/unionman/unionpi_tiger/hardware/bt/src/
Dhardware.c187 uint16_t chip_id; in rtk_get_patch_entry() local
202 STREAM_TO_UINT16(chip_id, p); in rtk_get_patch_entry()
203 if (chip_id == cfg_cb->eversion + 1) { in rtk_get_patch_entry()
204 entry->chip_id = chip_id; in rtk_get_patch_entry()
209 … HILOGI("rtk_get_patch_entry: chip_id %d, patch_len 0x%x, patch_offset 0x%x", entry->chip_id, in rtk_get_patch_entry()
/device/soc/esp/esp32/components/bootloader_support/src/
Dbootloader_common_loader.c73 esp_chip_id_t chip_id = CONFIG_IDF_FIRMWARE_CHIP_ID; in bootloader_common_check_chip_validity() local
74 if (chip_id != img_hdr->chip_id) { in bootloader_common_check_chip_validity()
75 ESP_LOGE(TAG, "mismatch chip ID, expected %d, found %d", chip_id, img_hdr->chip_id); in bootloader_common_check_chip_validity()
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/best2003/
Dhal_analogif_best2003.c152 unsigned short chip_id; in hal_analogif_open() local
175 ret = hal_analogif_rawread(ANA_REG_CHIP_ID, &chip_id); in hal_analogif_open()
181 chip_id = ANA_CHIP_ID(ANA_VAL_CHIP_ID); in hal_analogif_open()
184 if (GET_BITFIELD(chip_id, ANA_CHIP_ID) != ANA_VAL_CHIP_ID) { in hal_analogif_open()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/
Ddev.c544 dev->chip_id == CHIP_RK3588_CIF && in rkcif_write_register()
568 dev->chip_id == CHIP_RK3588_CIF && in rkcif_write_register_or()
596 dev->chip_id == CHIP_RK3588_CIF && in rkcif_write_register_and()
624 dev->chip_id == CHIP_RK3588_CIF && in rkcif_read_register()
687 if (dev->chip_id == CHIP_RK3568_CIF) { in rkcif_enable_dvp_clk_dual_edge()
693 } else if (dev->chip_id == CHIP_RV1126_CIF) { in rkcif_enable_dvp_clk_dual_edge()
699 } else if (dev->chip_id == CHIP_RK3588_CIF) { in rkcif_enable_dvp_clk_dual_edge()
719 if (dev->chip_id == CHIP_RV1126_CIF) { in rkcif_config_dvp_clk_sampling_edge()
726 if (dev->chip_id == CHIP_RK3568_CIF) { in rkcif_config_dvp_clk_sampling_edge()
733 if (dev->chip_id == CHIP_RK3588_CIF) { in rkcif_config_dvp_clk_sampling_edge()
[all …]
Dhw.c727 .chip_id = CHIP_PX30_CIF,
736 .chip_id = CHIP_RK1808_CIF,
745 .chip_id = CHIP_RK3128_CIF,
754 .chip_id = CHIP_RK3288_CIF,
763 .chip_id = CHIP_RK3328_CIF,
772 .chip_id = CHIP_RK3368_CIF,
781 .chip_id = CHIP_RV1126_CIF,
790 .chip_id = CHIP_RV1126_CIF_LITE,
799 .chip_id = CHIP_RK3568_CIF,
808 .chip_id = CHIP_RK3588_CIF,
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/media/cif/
Ddev.c544 dev->chip_id == CHIP_RK3588_CIF && in rkcif_write_register()
568 dev->chip_id == CHIP_RK3588_CIF && in rkcif_write_register_or()
596 dev->chip_id == CHIP_RK3588_CIF && in rkcif_write_register_and()
624 dev->chip_id == CHIP_RK3588_CIF && in rkcif_read_register()
687 if (dev->chip_id == CHIP_RK3568_CIF) { in rkcif_enable_dvp_clk_dual_edge()
693 } else if (dev->chip_id == CHIP_RV1126_CIF) { in rkcif_enable_dvp_clk_dual_edge()
699 } else if (dev->chip_id == CHIP_RK3588_CIF) { in rkcif_enable_dvp_clk_dual_edge()
719 if (dev->chip_id == CHIP_RV1126_CIF) { in rkcif_config_dvp_clk_sampling_edge()
726 if (dev->chip_id == CHIP_RK3568_CIF) { in rkcif_config_dvp_clk_sampling_edge()
733 if (dev->chip_id == CHIP_RK3588_CIF) { in rkcif_config_dvp_clk_sampling_edge()
[all …]
Dhw.c727 .chip_id = CHIP_PX30_CIF,
736 .chip_id = CHIP_RK1808_CIF,
745 .chip_id = CHIP_RK3128_CIF,
754 .chip_id = CHIP_RK3288_CIF,
763 .chip_id = CHIP_RK3328_CIF,
772 .chip_id = CHIP_RK3368_CIF,
781 .chip_id = CHIP_RV1126_CIF,
790 .chip_id = CHIP_RV1126_CIF_LITE,
799 .chip_id = CHIP_RK3568_CIF,
808 .chip_id = CHIP_RK3588_CIF,
[all …]
/device/soc/chipsea/cst85/liteos_m/sdk/modules/ble_task/src/
Dble_task.c112 uint8_t chip_id = ChipIdGet(0); in RTOS_TASK_FCT() local
113 if (chip_id == 0x03) { in RTOS_TASK_FCT()
115 } else if (chip_id == 0x07) { in RTOS_TASK_FCT()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/
Dhw.c711 .chip_id = CHIP_PX30_CIF,
720 .chip_id = CHIP_RK1808_CIF,
729 .chip_id = CHIP_RK3128_CIF,
738 .chip_id = CHIP_RK3288_CIF,
747 .chip_id = CHIP_RK3328_CIF,
756 .chip_id = CHIP_RK3368_CIF,
765 .chip_id = CHIP_RV1126_CIF,
774 .chip_id = CHIP_RV1126_CIF_LITE,
783 .chip_id = CHIP_RK3568_CIF,
792 .chip_id = CHIP_RK3588_CIF,
[all …]
Ddev.c496 …if (dev->inf_id == RKCIF_MIPI_LVDS && dev->chip_id == CHIP_RK3588_CIF && index >= CIF_REG_MIPI_LVD… in rkcif_write_register()
516 …if (dev->inf_id == RKCIF_MIPI_LVDS && dev->chip_id == CHIP_RK3588_CIF && index >= CIF_REG_MIPI_LVD… in rkcif_write_register_or()
540 …if (dev->inf_id == RKCIF_MIPI_LVDS && dev->chip_id == CHIP_RK3588_CIF && index >= CIF_REG_MIPI_LVD… in rkcif_write_register_and()
564 …if (dev->inf_id == RKCIF_MIPI_LVDS && dev->chip_id == CHIP_RK3588_CIF && index >= CIF_REG_MIPI_LVD… in rkcif_read_register()
621 if (dev->chip_id == CHIP_RK3568_CIF) { in rkcif_enable_dvp_clk_dual_edge()
628 } else if (dev->chip_id == CHIP_RV1126_CIF) { in rkcif_enable_dvp_clk_dual_edge()
635 } else if (dev->chip_id == CHIP_RK3588_CIF) { in rkcif_enable_dvp_clk_dual_edge()
654 if (dev->chip_id == CHIP_RV1126_CIF) { in rkcif_config_dvp_clk_sampling_edge()
662 if (dev->chip_id == CHIP_RK3568_CIF) { in rkcif_config_dvp_clk_sampling_edge()
670 if (dev->chip_id == CHIP_RK3588_CIF) { in rkcif_config_dvp_clk_sampling_edge()
[all …]
/device/soc/chipsea/cst85/liteos_m/sdk/modules/bt_task/src/
Dbt_task.c123 uint8_t chip_id = ChipIdGet(0); in RTOS_TASK_FCT() local
124 if (chip_id == 0x03) { in RTOS_TASK_FCT()
126 } else if (chip_id == 0x07) { in RTOS_TASK_FCT()
/device/soc/rockchip/common/sdk_linux/drivers/regulator/
Dfan53555.c135 int chip_id; member
376 switch (di->chip_id) { in fan53526_voltages_setup_fairchild()
384 … dev_err(di->dev, "Chip ID %d with rev %d not supported!\n", di->chip_id, di->chip_rev); in fan53526_voltages_setup_fairchild()
389 dev_err(di->dev, "Chip ID %d not supported!\n", di->chip_id); in fan53526_voltages_setup_fairchild()
401 switch (di->chip_id) { in fan53555_voltages_setup_fairchild()
413 … dev_err(di->dev, "Chip ID %d with rev %d not supported!\n", di->chip_id, di->chip_rev); in fan53555_voltages_setup_fairchild()
429 dev_err(di->dev, "Chip ID %d not supported!\n", di->chip_id); in fan53555_voltages_setup_fairchild()
490 switch (di->chip_id) { in fan53555_voltages_setup_silergy()
497 dev_err(di->dev, "Chip ID %d not supported!\n", di->chip_id); in fan53555_voltages_setup_silergy()
756 di->chip_id = val & DIE_ID; in fan53555_regulator_probe()
[all …]
/device/soc/chipsea/cst85/liteos_m/sdk/bsp/driver/bt/
Dbt_common_config.c83 desc->chip_id = CSBT_CHIP_ID_U02; in bt_common_get_patch_init_desc()
97 desc->chip_id = CSBT_CHIP_ID_U03; in bt_common_get_patch_init_desc()
111 desc->chip_id = CSBT_CHIP_ID_U04; in bt_common_get_patch_init_desc()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/startup/
Dmain.c57 hi_u16 chip_id, chip_id_bk; in boot_extern_32k() local
59 ret = hi_efuse_read(HI_EFUSE_CHIP_RW_ID, (hi_u8 *)&chip_id, (hi_u8)sizeof(hi_u8)); in boot_extern_32k()
67 hi_u8 chip_ver = (chip_id >> OFFSET_4_B) & MSK_3_B; /* chip_id bit[4:7] is chip_ver. */ in boot_extern_32k()

1234