| /device/soc/hisilicon/ws63v100/sdk/open_source/mbedtls/mbedtls_v3.1.0/library/ |
| D | common.h | 95 #define MBEDTLS_GET_UINT32_BE( data , offset ) \ argument 114 #define MBEDTLS_PUT_UINT32_BE( n, data, offset ) \ argument 133 #define MBEDTLS_GET_UINT32_LE( data, offset ) \ argument 152 #define MBEDTLS_PUT_UINT32_LE( n, data, offset ) \ argument 171 #define MBEDTLS_GET_UINT16_LE( data, offset ) \ argument 188 #define MBEDTLS_PUT_UINT16_LE( n, data, offset ) \ argument 205 #define MBEDTLS_GET_UINT16_BE( data, offset ) \ argument 222 #define MBEDTLS_PUT_UINT16_BE( n, data, offset ) \ argument 239 #define MBEDTLS_GET_UINT24_BE( data , offset ) \ argument 257 #define MBEDTLS_PUT_UINT24_BE( n, data, offset ) \ argument [all …]
|
| /device/soc/hisilicon/ws63v100/sdk/drivers/drivers/hal/security_unified/crypto_osal/cfbb/boot/ |
| D | crypto_osal_lib.h | 58 #define spacc_reg_read(offset) crypto_reg_read(SPACC_REG_BASE_ADDR + (offset)) argument 59 #define spacc_reg_write(offset, value) crypto_ex_reg_write(SPACC_REG_BASE_ADDR + (offset), value) argument 61 #define pke_reg_read(offset) crypto_reg_read(PKE_REG_BASE_ADDR + (offset)) argument 62 #define pke_reg_write(offset, value) crypto_ex_reg_write(PKE_REG_BASE_ADDR + (offset), value) argument 64 #define km_reg_read(offset) crypto_reg_read(KM_REG_BASE_ADDR + (offset)) argument 65 #define km_reg_write(offset, value) crypto_ex_reg_write(KM_REG_BASE_ADDR + (offset), value) argument 67 #define trng_reg_read(offset) crypto_reg_read(TRNG_REG_BASE_ADDR + (offset)) argument 68 #define trng_reg_write(offset, value) crypto_ex_reg_write(TRNG_REG_BASE_ADDR + (offset), value) argument 70 #define fapc_reg_read(offset) crypto_reg_read(FAPC_REG_BASE_ADDR + (offset)) argument 71 #define fapc_reg_write(offset, value) crypto_ex_reg_write(FAPC_REG_BASE_ADDR + (offset), value) argument
|
| /device/soc/hisilicon/ws63v100/sdk/drivers/drivers/hal/security_unified/crypto_osal/cfbb/os/ |
| D | crypto_osal_lib.h | 79 #define spacc_reg_read(offset) crypto_reg_read(SPACC_REG_BASE_ADDR + (offset)) argument 80 #define spacc_reg_write(offset, value) crypto_ex_reg_write(SPACC_REG_BASE_ADDR + (offset), value) argument 82 #define pke_reg_read(offset) crypto_reg_read(PKE_REG_BASE_ADDR + (offset)) argument 83 #define pke_reg_write(offset, value) crypto_ex_reg_write(PKE_REG_BASE_ADDR + (offset), value) argument 85 #define km_reg_read(offset) crypto_reg_read(KM_REG_BASE_ADDR + (offset)) argument 86 #define km_reg_write(offset, value) crypto_ex_reg_write(KM_REG_BASE_ADDR + (offset), value) argument 88 #define trng_reg_read(offset) crypto_reg_read(TRNG_REG_BASE_ADDR + (offset)) argument 89 #define trng_reg_write(offset, value) crypto_ex_reg_write(TRNG_REG_BASE_ADDR + (offset), value) argument 91 #define fapc_reg_read(offset) crypto_reg_read(FAPC_REG_BASE_ADDR + (offset)) argument 92 #define fapc_reg_write(offset, value) crypto_ex_reg_write(FAPC_REG_BASE_ADDR + (offset), value) argument
|
| /device/soc/rockchip/common/vendor/drivers/gpio/ |
| D | gpio-rockchip.c | 72 …ic inline void rockchip_gpio_writel(struct rockchip_pin_bank *bank, u32 value, unsigned int offset) in rockchip_gpio_writel() 83 static inline u32 rockchip_gpio_readl(struct rockchip_pin_bank *bank, unsigned int offset) in rockchip_gpio_readl() 97 …d rockchip_gpio_writel_bit(struct rockchip_pin_bank *bank, u32 bit, u32 value, unsigned int offset) in rockchip_gpio_writel_bit() 119 …ic inline u32 rockchip_gpio_readl_bit(struct rockchip_pin_bank *bank, u32 bit, unsigned int offset) in rockchip_gpio_readl_bit() 135 static void rockchip_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in rockchip_gpio_set() 145 static int rockchip_gpio_get(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_get() 157 static int rockchip_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) in rockchip_gpio_get_direction() 167 static int rockchip_gpio_set_direction(struct gpio_chip *chip, unsigned int offset, bool input) in rockchip_gpio_set_direction() 177 static int rockchip_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_direction_input() 182 static int rockchip_gpio_direction_output(struct gpio_chip *gc, unsigned int offset, int value) in rockchip_gpio_direction_output() [all …]
|
| /device/soc/rockchip/rk3588/kernel/drivers/gpio/ |
| D | gpio-rockchip.c | 75 u32 value, unsigned int offset) in rockchip_gpio_writel() 86 unsigned int offset) in rockchip_gpio_readl() 101 unsigned int offset) in rockchip_gpio_writel_bit() 122 u32 bit, unsigned int offset) in rockchip_gpio_readl_bit() 139 unsigned int offset) in rockchip_gpio_get_direction() 152 unsigned int offset, bool input) in rockchip_gpio_set_direction() 165 static void rockchip_gpio_set(struct gpio_chip *gc, unsigned int offset, in rockchip_gpio_set() 176 static int rockchip_gpio_get(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_get() 189 unsigned int offset, in rockchip_gpio_set_debounce() 250 unsigned int offset) in rockchip_gpio_direction_input() [all …]
|
| /device/soc/rockchip/common/sdk_linux/drivers/gpio/ |
| D | gpio-rockchip.c | 72 …ic inline void rockchip_gpio_writel(struct rockchip_pin_bank *bank, u32 value, unsigned int offset) in rockchip_gpio_writel() 83 static inline u32 rockchip_gpio_readl(struct rockchip_pin_bank *bank, unsigned int offset) in rockchip_gpio_readl() 97 …d rockchip_gpio_writel_bit(struct rockchip_pin_bank *bank, u32 bit, u32 value, unsigned int offset) in rockchip_gpio_writel_bit() 119 …ic inline u32 rockchip_gpio_readl_bit(struct rockchip_pin_bank *bank, u32 bit, unsigned int offset) in rockchip_gpio_readl_bit() 135 static void rockchip_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in rockchip_gpio_set() 145 static int rockchip_gpio_get(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_get() 157 static int rockchip_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) in rockchip_gpio_get_direction() 167 static int rockchip_gpio_set_direction(struct gpio_chip *chip, unsigned int offset, bool input) in rockchip_gpio_set_direction() 177 static int rockchip_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_direction_input() 182 static int rockchip_gpio_direction_output(struct gpio_chip *gc, unsigned int offset, int value) in rockchip_gpio_direction_output() [all …]
|
| /device/soc/hisilicon/ws63v100/sdk/middleware/utils/common_headers/ |
| D | chip_io.h | 189 #define reg(base, offset) (*(volatile uint32_t *)(uintptr_t)((uint32_t)(b… argument 190 #define regb(base, offset) (*(volatile uint8_t *)(uintptr_t)((uint32_t)(ba… argument 191 #define regw(base, offset) (*(volatile uint16_t *)(uintptr_t)((uint32_t)(b… argument 198 #define reg_clrbit(base, offset, pos) ((reg(base, offset)) &= ~((uint32_t)(1) << (pos… argument 199 #define regw_clrbit(base, offset, pos) ((regw(base, offset)) &= ~((uint16_t)(1) << (po… argument 200 #define regb_clrbit(base, offset, pos) ((regb(base, offset)) &= ~((uint8_t)(1) << (pos… argument 202 #define reg_setbit(base, offset, pos) ((reg(base, offset)) |= ((uint32_t)(1) << (pos)… argument 203 #define regw_setbit(base, offset, pos) ((regw(base, offset)) |= (uint16_t)((uint32_t)(… argument 204 #define regb_setbit(base, offset, pos) ((regb(base, offset)) |= ((uint8_t)(1) << (pos)… argument 207 #define reg_clrbits(base, offset, pos, bits) (reg(base, offset) &= ~((((uint32_t)1 << (bits)… argument [all …]
|
| /device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/osal/include/ |
| D | drv_osal_lib.h | 301 #define symc_read(offset) module_reg_read(CRYPTO_MODULE_ID_SYMC, offset) argument 302 #define symc_write(offset, val) module_reg_write(CRYPTO_MODULE_ID_SYMC, offset, val) argument 305 #define hash_read(offset) module_reg_read(CRYPTO_MODULE_ID_HASH, offset) argument 306 #define hash_write(offset, val) module_reg_write(CRYPTO_MODULE_ID_HASH, offset, val) argument 309 #define ifep_rsa_read(offset) module_reg_read(CRYPTO_MODULE_ID_IFEP_RSA, offset) argument 310 #define ifep_rsa_write(offset, val) module_reg_write(CRYPTO_MODULE_ID_IFEP_RSA, offset, val) argument 313 #define trng_read(offset) module_reg_read(CRYPTO_MODULE_ID_TRNG, offset) argument 314 #define trng_write(offset, val) module_reg_write(CRYPTO_MODULE_ID_TRNG, offset, val) argument 317 #define sm2_read(offset) module_reg_read(CRYPTO_MODULE_ID_SM2, offset) argument 318 #define sm2_write(offset, val) module_reg_write(CRYPTO_MODULE_ID_SM2, offset, val) argument [all …]
|
| /device/soc/rockchip/common/sdk_linux/drivers/tty/serial/8250/ |
| D | 8250_dw.c | 77 static inline int dw8250_modify_msr(struct uart_port *p, int offset, int value) in dw8250_modify_msr() 100 void __iomem *offset = p->membase + (UART_LCR << p->regshift); in dw8250_check_lcr() local 156 static void dw8250_serial_out38x(struct uart_port *p, int offset, int value) in dw8250_serial_out38x() 172 static void dw8250_serial_out(struct uart_port *p, int offset, int value) in dw8250_serial_out() 183 static unsigned int dw8250_serial_in(struct uart_port *p, int offset) in dw8250_serial_in() 191 static unsigned int dw8250_serial_inq(struct uart_port *p, int offset) in dw8250_serial_inq() 200 static void dw8250_serial_outq(struct uart_port *p, int offset, int value) in dw8250_serial_outq() 215 static void dw8250_serial_out32(struct uart_port *p, int offset, int value) in dw8250_serial_out32() 226 static unsigned int dw8250_serial_in32(struct uart_port *p, int offset) in dw8250_serial_in32() 233 static void dw8250_serial_out32be(struct uart_port *p, int offset, int value) in dw8250_serial_out32be() [all …]
|
| /device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/ |
| D | drv_mmz_intf.c | 80 HI_SIZE_T offset = 0; in remap_mmb() local 103 HI_SIZE_T offset = 0; in remap_mmb_cached() local 231 HI_U32 offset; in get_nonsecsmmu_by_secsmmu() local 248 HI_U32 offset; in get_phys_by_secsmmu() local 265 HI_U32 offset; in get_sec_smmu_by_phys() local 282 HI_U32 offset; in get_sec_smmu_by_nosmmu() local
|
| /device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/realtek/r8168/ |
| D | r8168_asf.c | 240 void rtl8168_asf_ip_address(struct rtl8168_private *tp, int arg, int offset, unsigned int *data) in rtl8168_asf_ip_address() 264 void rtl8168_asf_config_regs(struct rtl8168_private *tp, int arg, int offset, unsigned int *data) in rtl8168_asf_config_regs() 282 void rtl8168_asf_capability_masks(struct rtl8168_private *tp, int arg, int offset, unsigned int *da… in rtl8168_asf_capability_masks() 332 void rtl8168_asf_time_period(struct rtl8168_private *tp, int arg, int offset, unsigned int *data) in rtl8168_asf_time_period() 352 void rtl8168_asf_key_access(struct rtl8168_private *tp, int arg, int offset, unsigned int *data) in rtl8168_asf_key_access() 380 void rtl8168_asf_rw_hexadecimal(struct rtl8168_private *tp, int arg, int offset, int len, unsigned … in rtl8168_asf_rw_hexadecimal()
|
| /device/soc/hisilicon/ws63v100/sdk/middleware/utils/update/storage/ |
| D | upg_storage.c | 206 STATIC errcode_t upg_write_package(uint32_t offset, const uint8_t *buff, uint16_t len) in upg_write_package() 232 errcode_t uapi_upg_write_package_async(uint32_t offset, const uint8_t *buff, uint16_t len, in uapi_upg_write_package_async() 252 errcode_t uapi_upg_write_package_sync(uint32_t offset, const uint8_t *buff, uint16_t len) in uapi_upg_write_package_sync() 263 errcode_t uapi_upg_read_package(uint32_t offset, uint8_t *buff, uint32_t len) in uapi_upg_read_package() 383 STATIC errcode_t upg_package_storage_write(uint32_t offset, const uint8_t *buff, uint16_t len, uint… in upg_package_storage_write() 427 STATIC errcode_t upg_package_storage_write(uint32_t offset, const uint8_t *buff, uint16_t len, uint… in upg_package_storage_write()
|
| /device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/device/backend/ |
| D | mali_kbase_device_hw_csf.c | 183 static bool kbase_is_register_accessible(u32 offset) in kbase_is_register_accessible() 196 void kbase_reg_write(struct kbase_device *kbdev, u32 offset, u32 value) in kbase_reg_write() 215 u32 kbase_reg_read(struct kbase_device *kbdev, u32 offset) in kbase_reg_read()
|
| D | mali_kbase_device_hw_jm.c | 102 void kbase_reg_write(struct kbase_device *kbdev, u32 offset, u32 value) in kbase_reg_write() 118 u32 kbase_reg_read(struct kbase_device *kbdev, u32 offset) in kbase_reg_read()
|
| /device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/ |
| D | mali_kbase_csf_firmware_no_mali.c | 106 static inline u32 input_page_read(const u32 *const input, const u32 offset) in input_page_read() 113 static inline void input_page_write(u32 *const input, const u32 offset, in input_page_write() 121 static inline u32 output_page_read(const u32 *const output, const u32 offset) in output_page_read() 128 static inline void output_page_write(u32 *const output, const u32 offset, in output_page_write() 276 const struct kbase_csf_cmd_stream_info *const info, const u32 offset, in kbase_csf_firmware_cs_input() 292 const u32 offset) in kbase_csf_firmware_cs_input_read() 302 const struct kbase_csf_cmd_stream_info *const info, const u32 offset, in kbase_csf_firmware_cs_input_mask() 315 const struct kbase_csf_cmd_stream_info *const info, const u32 offset) in kbase_csf_firmware_cs_output() 326 const u32 offset, const u32 value) in kbase_csf_firmware_csg_input() 342 const u32 offset) in kbase_csf_firmware_csg_input_read() [all …]
|
| /device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
| D | mali_osk_low_level_mem.c | 61 void inline _mali_osk_mem_iowrite32_relaxed(volatile mali_io_address addr, u32 offset, u32 val) in _mali_osk_mem_iowrite32_relaxed() 66 u32 inline _mali_osk_mem_ioread32(volatile mali_io_address addr, u32 offset) in _mali_osk_mem_ioread32() 71 void inline _mali_osk_mem_iowrite32(volatile mali_io_address addr, u32 offset, u32 val) in _mali_osk_mem_iowrite32() 81 void _mali_osk_cache_ensure_uncached_range_flushed(void *uncached_mapping, u32 offset, u32 size) in _mali_osk_cache_ensure_uncached_range_flushed()
|
| /device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
| D | mali_osk_low_level_mem.c | 60 void inline _mali_osk_mem_iowrite32_relaxed(volatile mali_io_address addr, u32 offset, u32 val) in _mali_osk_mem_iowrite32_relaxed() 65 u32 inline _mali_osk_mem_ioread32(volatile mali_io_address addr, u32 offset) in _mali_osk_mem_ioread32() 70 void inline _mali_osk_mem_iowrite32(volatile mali_io_address addr, u32 offset, u32 val) in _mali_osk_mem_iowrite32() 80 void _mali_osk_cache_ensure_uncached_range_flushed(void *uncached_mapping, u32 offset, u32 size) in _mali_osk_cache_ensure_uncached_range_flushed()
|
| /device/soc/hisilicon/ws63v100/sdk/application/samples/wifi/ohos_connect/hilink_adapt/adapter/ |
| D | hilink_kv_adapter.c | 157 static int ReadFile(const char *filePath, unsigned int offset, unsigned char *value, unsigned int l… in ReadFile() 200 static int WritFile(const char *filePath, unsigned int offset, const unsigned char *value, unsigned… in WritFile() 295 static int ReadFileByKey(const char *key, unsigned int offset, unsigned char *value, unsigned int l… in ReadFileByKey() 317 static int WriteFileByKey(const char *key, unsigned int offset, const unsigned char *value, unsigne… in WriteFileByKey() 394 int HILINK_SetValue(const char *key, unsigned int offset, const unsigned char *value, unsigned int … in HILINK_SetValue() 409 int HILINK_GetValue(const char *key, unsigned int offset, unsigned char *value, unsigned int len) in HILINK_GetValue()
|
| /device/soc/rockchip/rk3588/kernel/drivers/pinctrl/ |
| D | pinctrl-rk806.c | 195 static int rk806_gpio_get(struct gpio_chip *chip, unsigned int offset) in rk806_gpio_get() 216 unsigned int offset, in rk806_gpio_set() 235 unsigned int offset) in rk806_gpio_direction_input() 241 unsigned int offset, in rk806_gpio_direction_output() 249 unsigned int offset) in rk806_gpio_get_direction() 350 unsigned int offset, in _rk806_pinctrl_set_mux() 376 int offset = group; in rk806_pinctrl_set_mux() local 383 unsigned int offset, bool input) in rk806_pmx_gpio_set_direction() 406 unsigned int offset) in rk806_pinctrl_gpio_request_enable()
|
| /device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/upg/ |
| D | boot_upg_tool.c | 26 hi_u32 kernel_comprss_flash_read(hi_u32 offset, hi_u8 *buffer, hi_u32 size) in kernel_comprss_flash_read() 44 hi_u32 kernel_comprss_flash_write(hi_u32 offset, hi_u8 *buffer, hi_u32 size) in kernel_comprss_flash_write() 63 hi_u32 kernel_comprss_flash_hash(hi_u32 offset, hi_u8 *buffer, hi_u32 size) in kernel_comprss_flash_hash() 136 for (uintptr_t offset = 0; offset < total_size;) { in boot_upg_hash_one_content() local 167 for (uintptr_t offset = 0; offset < size;) { in boot_upg_hash_more_content() local
|
| /device/soc/rockchip/common/sdk_linux/drivers/pinctrl/ |
| D | pinctrl-rk805.c | 267 static int rk805_gpio_get(struct gpio_chip *chip, unsigned int offset) in rk805_gpio_get() 286 static void rk805_gpio_set(struct gpio_chip *chip, unsigned int offset, int value) in rk805_gpio_set() 300 static int rk805_gpio_direction_input(struct gpio_chip *chip, unsigned int offset) in rk805_gpio_direction_input() 305 static int rk805_gpio_direction_output(struct gpio_chip *chip, unsigned int offset, int value) in rk805_gpio_direction_output() 311 static int rk805_gpio_get_direction(struct gpio_chip *chip, unsigned int offset) in rk805_gpio_get_direction() 436 static int _rk805_pinctrl_set_mux(struct pinctrl_dev *pctldev, unsigned int offset, int mux) in _rk805_pinctrl_set_mux() 466 static int _rk817_pinctrl_set_mux(struct pinctrl_dev *pctldev, unsigned int offset, int mux) in _rk817_pinctrl_set_mux() 488 int offset = group; in rk805_pinctrl_set_mux() local 505 unsigned int offset, bool input) in rk805_pmx_gpio_set_direction() 526 unsigned int offset) in rk805_pinctrl_gpio_request_enable()
|
| /device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/ |
| D | mali_kbase_debug_job_fault_backend.c | 86 int offset = 0; in kbase_debug_job_fault_reg_snapshot_init() local 148 int offset = 0; in kbase_job_fault_get_reg_snapshot() local
|
| /device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/ |
| D | mali_kbase_debug_job_fault_backend.c | 80 int offset = 0; in kbase_debug_job_fault_reg_snapshot_init() local 142 int offset = 0; in kbase_job_fault_get_reg_snapshot() local
|
| /device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/ |
| D | mali_kbase_debug_job_fault_backend.c | 44 int offset = 0; in kbase_debug_job_fault_reg_snapshot_init() local 102 int offset = 0; in kbase_job_fault_get_reg_snapshot() local
|
| /device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/ |
| D | mali_kbase_debug_job_fault_backend.c | 51 int offset = 0; in kbase_debug_job_fault_reg_snapshot_init() local 109 int offset = 0; in kbase_job_fault_get_reg_snapshot() local
|