Home
last modified time | relevance | path

Searched refs:hi_reg_read16 (Results 1 - 20 of 20) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/drivers/gpio/
H A Dhi_flashboot_gpio.c40 hi_reg_read16((HI_GPIO_REG_BASE + GPIO_SWPORT_DDR), reg_val); in hi_gpio_get_dir()
54 hi_reg_read16((HI_GPIO_REG_BASE + GPIO_SWPORT_DR), reg_val); in hi_gpio_get_output_val()
68 hi_reg_read16((HI_GPIO_REG_BASE + GPIO_SWPORT_DR), reg_val); in hi_gpio_set_output_val()
82 hi_reg_read16((HI_GPIO_REG_BASE + GPIO_EXT_PORT), reg_val); in hi_gpio_get_input_val()
95 hi_reg_read16((HI_GPIO_REG_BASE + GPIO_SWPORT_DDR), dir_val); in hi_gpio_set_dir()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/spi/
H A Dspi.c30 hi_reg_read16(reg_base + REG_SPI_SR, reg_val); in spi_check_rx_fifo_empty()
40 hi_reg_read16(reg_base + REG_SPI_SR, reg_val); in spi_check_busy()
52 hi_reg_read16(reg_base + REG_SPI_SR, reg_val); in spi_check_write_timeout()
71 hi_reg_read16(reg_base + REG_SPI_SR, reg_val); in spi_check_tnf_timeout()
94 hi_reg_read16(reg_base + REG_SPI_SR, reg_val); in spi_check_rne_timeout()
115 hi_reg_read16(reg_base + REG_SPI_SR, reg_val); in spi_flush_fifo()
119 hi_reg_read16(reg_base + REG_SPI_DR, reg_val); in spi_flush_fifo()
134 hi_reg_read16(ctrl->reg_base + REG_SPI_CR1, reg_val); in spi_disable()
143 hi_reg_read16(ctrl->reg_base + REG_SPI_CR1, reg_val); in spi_enable()
161 hi_reg_read16(CLDO_CTL_SOFT_RESET_RE in spi_reset()
[all...]
H A Dhi_spi.c258 hi_reg_read16(g_spi_ctrl[id]->reg_base + REG_SPI_CR1, reg_val); in hi_spi_set_loop_back_mode()
487 hi_reg_read16(CLDO_CTL_CLKEN_REG, reg_val); in spi_ctrl_init()
603 hi_reg_read16(CLDO_CTL_CLKEN_REG, reg_val); in hi_spi_deinit()
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/
H A Dapp_main.c179 hi_reg_read16(CLDO_CTL_CLKEN_REG, reg_val); in peripheral_close_clken()
187 hi_reg_read16(CLDO_CTL_CLKEN1_REG, reg_val); in peripheral_close_clken()
193 hi_reg_read16(CLDO_CTL_CLKEN2_REG, reg_val); in peripheral_close_clken()
196 hi_reg_read16(W_CTL_UART_MAC80M_CLKEN_REG, reg_val); in peripheral_close_clken()
343 hi_reg_read16(iocfg_reg_addr(HI_IO_NAME_GPIO_6), g_iocfg_backup.gpio6_cfg); in config_before_sleep()
344 hi_reg_read16(iocfg_reg_addr(HI_IO_NAME_GPIO_8), g_iocfg_backup.gpio8_cfg); in config_before_sleep()
345 hi_reg_read16(iocfg_reg_addr(HI_IO_NAME_GPIO_10), g_iocfg_backup.gpio10_cfg); in config_before_sleep()
346 hi_reg_read16(iocfg_reg_addr(HI_IO_NAME_GPIO_11), g_iocfg_backup.gpio11_cfg); in config_before_sleep()
347 hi_reg_read16(iocfg_reg_addr(HI_IO_NAME_GPIO_12), g_iocfg_backup.gpio12_cfg); in config_before_sleep()
348 hi_reg_read16(iocfg_reg_add in config_before_sleep()
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/wifiiot_app/src/
H A Dapp_main.c164 hi_reg_read16(CLDO_CTL_CLKEN_REG, reg_val); in peripheral_close_clken()
172 hi_reg_read16(CLDO_CTL_CLKEN1_REG, reg_val); in peripheral_close_clken()
178 hi_reg_read16(CLDO_CTL_CLKEN2_REG, reg_val); in peripheral_close_clken()
181 hi_reg_read16(W_CTL_UART_MAC80M_CLKEN_REG, reg_val); in peripheral_close_clken()
317 hi_reg_read16(iocfg_reg_addr(HI_IO_NAME_GPIO_6), g_iocfg_backup.gpio6_cfg); in config_before_sleep()
318 hi_reg_read16(iocfg_reg_addr(HI_IO_NAME_GPIO_8), g_iocfg_backup.gpio8_cfg); in config_before_sleep()
319 hi_reg_read16(iocfg_reg_addr(HI_IO_NAME_GPIO_10), g_iocfg_backup.gpio10_cfg); in config_before_sleep()
320 hi_reg_read16(iocfg_reg_addr(HI_IO_NAME_GPIO_11), g_iocfg_backup.gpio11_cfg); in config_before_sleep()
321 hi_reg_read16(iocfg_reg_addr(HI_IO_NAME_GPIO_12), g_iocfg_backup.gpio12_cfg); in config_before_sleep()
322 hi_reg_read16(iocfg_reg_add in config_before_sleep()
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/pwm/
H A Dhi_pwm.c43 hi_reg_read16(CLDO_CTL_CLKEN1_REG, reg_val); in hi_pwm_init()
88 hi_reg_read16(CLDO_CTL_CLKEN1_REG, reg_val); in pwm_deinit_clken()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/drivers/lsadc/
H A Dadc_drv.c49 hi_reg_read16(LS_ADC_CLK_DIV1_REG, reg_val); in get_ref_voltage()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/drivers/lsadc/
H A Dadc_drv.c49 hi_reg_read16(LS_ADC_CLK_DIV1_REG, reg_val); in get_ref_voltage()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/uart/
H A Dhi_uart.c248 hi_reg_read16(W_CTL_UART_MAC80M_CLKEN_REG, reg_val); in hi_uart_init()
396 hi_reg_read16(W_CTL_UART_MAC80M_CLKEN_REG, reg_val); in hi_uart_deinit()
467 hi_reg_read16(W_CTL_UART_MAC80M_CLKEN_REG, temp); in hi_uart_lp_restore()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/adc/
H A Dhi_adc.c64 hi_reg_read16(LS_ADC_CLK_DIV1_REG, reg_val); in hi_adc_read()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/upg/
H A Dboot_start.c79 hi_reg_read16(CLDO_CTL_GEN_REG0, reg_val); in set_running_kernel_flag()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/drivers/flash/
H A Dhi_flashboot_flash.c90 hi_reg_read16(PMU_CMU_CTL_CMU_CLK_SEL_REG, reg_val); in sfc_config_update_freq()
286 hi_reg_read16(PMU_CMU_CTL_FLASHLDO_CFG_1_REG, reg_val); in flash_clk_config()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/drivers/flash/
H A Dhi_loaderboot_flash.c90 hi_reg_read16(PMU_CMU_CTL_CMU_CLK_SEL_REG, reg_val); in sfc_config_update_freq()
234 hi_reg_read16(PMU_CMU_CTL_FLASHLDO_CFG_1_REG, reg_val); in flash_clk_config()
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/
H A Dat_io.c49 hi_reg_read16(0x50006004, reg_val); in gpio_get_dir()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/include/
H A Dhi_boot_rom.h51 #define hi_reg_read16(addr, val) ((val) = *(volatile hi_u16*)(uintptr_t)(addr)) macro
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/i2c/
H A Di2c.c786 hi_reg_read16(CLDO_CTL_CLKEN_REG, reg_val); in hi_i2c_init()
826 hi_reg_read16(CLDO_CTL_CLKEN_REG, reg_val); in hi_i2c_deinit()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/
H A Dupg_common.c100 hi_reg_read16(DIAG_CTL_GP_REG0_REG, val); in upg_get_boot_key_addr()
102 hi_reg_read16(DIAG_CTL_GP_REG1_REG, val); in upg_get_boot_key_addr()
106 hi_reg_read16(DIAG_CTL_GP_REG2_REG, val); in upg_get_boot_key_addr()
108 hi_reg_read16(DIAG_CTL_GP_REG3_REG, val); in upg_get_boot_key_addr()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/
H A Dhi_types_base.h479 #define hi_reg_read16(addr, val) ((val) = *(volatile unsigned short *)(uintptr_t)(addr)) macro
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
H A Dhi_types_base.h478 #define hi_reg_read16(addr, val) ((val) = *(volatile unsigned short *)(uintptr_t)(addr)) macro
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/include/
H A Dhi_boot_rom.h51 #define hi_reg_read16(addr, val) ((val) = *(volatile hi_u16*)(uintptr_t)(addr)) macro

Completed in 18 milliseconds