Searched refs:hi_reg_write (Results 1 - 11 of 11) sorted by relevance
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/drivers/lsadc/ |
H A D | adc_drv.c | 31 hi_reg_write(REG_ADC_STOP, ADC_SCAN_STOP); in adc_scan_stop() 32 hi_reg_write(REG_ADC_IMSC, ADC_ISR_DISABLE); in adc_scan_stop() 58 hi_reg_write(REG_ADC_EN, ADC_POWER_OFF); in get_ref_voltage() 60 hi_reg_write(REG_ADC_EN, ADC_POWER_ON); in get_ref_voltage() 69 hi_reg_write(REG_ADC_CFG, 0xf280); /* 0xf280 */ in get_ref_voltage() 70 hi_reg_write(REG_ADC_FIFO_CFG, 0x6); in get_ref_voltage() 76 hi_reg_write(REG_ADC_START, ADC_SCAN_START); in get_ref_voltage() 86 hi_reg_write(REG_ADC_EN, ADC_POWER_OFF); /* POWER DOWN */ in get_ref_voltage()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/drivers/lsadc/ |
H A D | adc_drv.c | 31 hi_reg_write(REG_ADC_STOP, ADC_SCAN_STOP); in adc_scan_stop() 32 hi_reg_write(REG_ADC_IMSC, ADC_ISR_DISABLE); in adc_scan_stop() 58 hi_reg_write(REG_ADC_EN, ADC_POWER_OFF); in get_ref_voltage() 60 hi_reg_write(REG_ADC_EN, ADC_POWER_ON); in get_ref_voltage() 69 hi_reg_write(REG_ADC_CFG, 0xf280); /* 0xf280 */ in get_ref_voltage() 70 hi_reg_write(REG_ADC_FIFO_CFG, 0x6); in get_ref_voltage() 76 hi_reg_write(REG_ADC_START, ADC_SCAN_START); in get_ref_voltage() 86 hi_reg_write(REG_ADC_EN, ADC_POWER_OFF); /* POWER DOWN */ in get_ref_voltage()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/commonboot/efuse/ |
H A D | efuse_drv.c | 129 hi_reg_write(EFUSE_PGM_ADDR, addr); in efuse_write_bit() 130 hi_reg_write(EFUSE_PGM_EN, HI_TRUE); in efuse_write_bit() 174 hi_reg_write(EFUSE_RD_ADDR, i); in efuse_read_bits() 175 hi_reg_write(EFUSE_RD_EN, HI_TRUE); in efuse_read_bits()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/common/ |
H A D | cmd_loop.c | 88 hi_reg_write(SFC_REG_BASE_ADDRESS + SFC_REG_CMD_DATABUF1, 0); in loader_read_flash_protect_state() 90 hi_reg_write(SFC_REG_BASE_ADDRESS + SFC_REG_CMD_INS, 0x05); in loader_read_flash_protect_state() 91 hi_reg_write(SFC_REG_BASE_ADDRESS + SFC_REG_CMD_CONFIG, 0x183); in loader_read_flash_protect_state() 95 hi_reg_write(SFC_REG_BASE_ADDRESS + SFC_REG_CMD_DATABUF1, 0); in loader_read_flash_protect_state() 97 hi_reg_write(SFC_REG_BASE_ADDRESS + SFC_REG_CMD_INS, 0x35); in loader_read_flash_protect_state() 98 hi_reg_write(SFC_REG_BASE_ADDRESS + SFC_REG_CMD_CONFIG, 0x183); in loader_read_flash_protect_state() 458 hi_reg_write(NMI_BASE_ADDRESS + NMI_CTRL, 0x0); in boot_nmi_handler()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/drivers/io/ |
H A D | hi_flashboot_io.c | 73 hi_reg_write((HI_IOCFG_REG_BASE + IO_CTRL_REG_BASE_ADDR + ((hi_u32)id << 2)), reg_val); /* lift shift 2 bits */ in hi_io_set_driver_strength() 100 hi_reg_write((HI_IOCFG_REG_BASE + IO_CTRL_REG_BASE_ADDR + ((hi_u32)id << OFFSET_2_B)), reg_val); in hi_io_set_input_enable()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/startup/ |
H A D | main.c | 82 hi_reg_write(HI_IOCFG_REG_BASE + IO_CTRL_REG_BASE_ADDR, reg_val); in boot_extern_32k()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/commonboot/ |
H A D | boot_rom.h | 256 hi_reg_write(SFC_REG_BASE_ADDRESS + (_reg), (_value))
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/include/ |
H A D | hi_boot_rom.h | 33 #define hi_reg_write(addr, val) (*(volatile hi_u32*)(uintptr_t)(addr) = (val)) macro
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/ |
H A D | hi_types_base.h | 463 #define hi_reg_write(addr, val) (*(volatile unsigned int *)(uintptr_t)(addr) = (val)) macro
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
H A D | hi_types_base.h | 462 #define hi_reg_write(addr, val) (*(volatile unsigned int *)(uintptr_t)(addr) = (val)) macro
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/include/ |
H A D | hi_boot_rom.h | 33 #define hi_reg_write(addr, val) (*(volatile hi_u32*)(uintptr_t)(addr) = (val)) macro
|
Completed in 11 milliseconds