/hal_espressif-latest/components/soc/esp32c6/include/soc/ |
D | dport_access.h | 33 #define _DPORT_REG_READ(_r) (*(volatile uint32_t *)(_r)) argument 34 #define _DPORT_REG_WRITE(_r, _v) (*(volatile uint32_t *)(_r)) = (_v) argument 37 #define DPORT_REG_WRITE(_r, _v) _DPORT_REG_WRITE((_r), (_v)) argument 39 #define DPORT_REG_READ(_r) _DPORT_REG_READ(_r) argument 40 #define DPORT_SEQUENCE_REG_READ(_r) _DPORT_REG_READ(_r) argument 43 #define DPORT_REG_GET_BIT(_r, _b) (DPORT_REG_READ(_r) & (_b)) argument 46 #define DPORT_REG_SET_BIT(_r, _b) DPORT_REG_WRITE((_r), (DPORT_REG_READ(_r)|(_b))) argument 49 #define DPORT_REG_CLR_BIT(_r, _b) DPORT_REG_WRITE((_r), (DPORT_REG_READ(_r) & (~(_b)))) argument 52 #define DPORT_REG_SET_BITS(_r, _b, _m) DPORT_REG_WRITE((_r), ((DPORT_REG_READ(_r) & (~(_m))) | ((_b… argument 55 #define DPORT_REG_GET_FIELD(_r, _f) ((DPORT_REG_READ(_r) >> (_f##_S)) & (_f##_V)) argument [all …]
|
D | soc.h | 38 #define REG_WRITE(_r, _v) do { … argument 39 …(*(volatile uint32_t *)(_r)) = (_v); … 43 #define REG_READ(_r) ({ … argument 44 …(*(volatile uint32_t *)(_r)); … 48 #define REG_GET_BIT(_r, _b) ({ … argument 49 …(*(volatile uint32_t*)(_r) & (_b)); … 53 #define REG_SET_BIT(_r, _b) do { … argument 54 …*(volatile uint32_t*)(_r) = (*(volatile uint32_t*)(_r)) | (_b); … 58 #define REG_CLR_BIT(_r, _b) do { … argument 59 …*(volatile uint32_t*)(_r) = (*(volatile uint32_t*)(_r)) & (~(_b)); … [all …]
|
/hal_espressif-latest/components/soc/esp32s3/include/soc/ |
D | dport_access.h | 30 #define _DPORT_REG_READ(_r) (*(volatile uint32_t *)(_r)) argument 31 #define _DPORT_REG_WRITE(_r, _v) (*(volatile uint32_t *)(_r)) = (_v) argument 34 #define DPORT_REG_WRITE(_r, _v) _DPORT_REG_WRITE((_r), (_v)) argument 36 #define DPORT_REG_READ(_r) _DPORT_REG_READ(_r) argument 37 #define DPORT_SEQUENCE_REG_READ(_r) _DPORT_REG_READ(_r) argument 40 #define DPORT_REG_GET_BIT(_r, _b) (DPORT_REG_READ(_r) & (_b)) argument 43 #define DPORT_REG_SET_BIT(_r, _b) DPORT_REG_WRITE((_r), (DPORT_REG_READ(_r)|(_b))) argument 46 #define DPORT_REG_CLR_BIT(_r, _b) DPORT_REG_WRITE((_r), (DPORT_REG_READ(_r) & (~(_b)))) argument 49 #define DPORT_REG_SET_BITS(_r, _b, _m) DPORT_REG_WRITE((_r), ((DPORT_REG_READ(_r) & (~(_m))) | ((_b… argument 52 #define DPORT_REG_GET_FIELD(_r, _f) ((DPORT_REG_READ(_r) >> (_f##_S)) & (_f##_V)) argument [all …]
|
D | soc.h | 51 #define REG_WRITE(_r, _v) do { … argument 52 …(*(volatile uint32_t *)(_r)) = (_v); … 56 #define REG_READ(_r) ({ … argument 57 …(*(volatile uint32_t *)(_r)); … 61 #define REG_GET_BIT(_r, _b) ({ … argument 62 …(*(volatile uint32_t*)(_r) & (_b)); … 66 #define REG_SET_BIT(_r, _b) do { … argument 67 …*(volatile uint32_t*)(_r) = (*(volatile uint32_t*)(_r)) | (_b); … 71 #define REG_CLR_BIT(_r, _b) do { … argument 72 …*(volatile uint32_t*)(_r) = (*(volatile uint32_t*)(_r)) & (~(_b)); … [all …]
|
/hal_espressif-latest/components/soc/esp32h2/include/soc/ |
D | dport_access.h | 32 #define _DPORT_REG_READ(_r) (*(volatile uint32_t *)(_r)) argument 33 #define _DPORT_REG_WRITE(_r, _v) (*(volatile uint32_t *)(_r)) = (_v) argument 36 #define DPORT_REG_WRITE(_r, _v) _DPORT_REG_WRITE((_r), (_v)) argument 38 #define DPORT_REG_READ(_r) _DPORT_REG_READ(_r) argument 39 #define DPORT_SEQUENCE_REG_READ(_r) _DPORT_REG_READ(_r) argument 42 #define DPORT_REG_GET_BIT(_r, _b) (DPORT_REG_READ(_r) & (_b)) argument 45 #define DPORT_REG_SET_BIT(_r, _b) DPORT_REG_WRITE((_r), (DPORT_REG_READ(_r)|(_b))) argument 48 #define DPORT_REG_CLR_BIT(_r, _b) DPORT_REG_WRITE((_r), (DPORT_REG_READ(_r) & (~(_b)))) argument 51 #define DPORT_REG_SET_BITS(_r, _b, _m) DPORT_REG_WRITE((_r), ((DPORT_REG_READ(_r) & (~(_m))) | ((_b… argument 54 #define DPORT_REG_GET_FIELD(_r, _f) ((DPORT_REG_READ(_r) >> (_f##_S)) & (_f##_V)) argument [all …]
|
D | soc.h | 36 #define REG_WRITE(_r, _v) do { … argument 37 …(*(volatile uint32_t *)(_r)) = (_v); … 41 #define REG_READ(_r) ({ … argument 42 …(*(volatile uint32_t *)(_r)); … 46 #define REG_GET_BIT(_r, _b) ({ … argument 47 …(*(volatile uint32_t*)(_r) & (_b)); … 51 #define REG_SET_BIT(_r, _b) do { … argument 52 …*(volatile uint32_t*)(_r) = (*(volatile uint32_t*)(_r)) | (_b); … 56 #define REG_CLR_BIT(_r, _b) do { … argument 57 …*(volatile uint32_t*)(_r) = (*(volatile uint32_t*)(_r)) & (~(_b)); … [all …]
|
/hal_espressif-latest/components/soc/esp32c3/include/soc/ |
D | dport_access.h | 33 #define _DPORT_REG_READ(_r) (*(volatile uint32_t *)(_r)) argument 34 #define _DPORT_REG_WRITE(_r, _v) (*(volatile uint32_t *)(_r)) = (_v) argument 37 #define DPORT_REG_WRITE(_r, _v) _DPORT_REG_WRITE((_r), (_v)) argument 39 #define DPORT_REG_READ(_r) _DPORT_REG_READ(_r) argument 40 #define DPORT_SEQUENCE_REG_READ(_r) _DPORT_REG_READ(_r) argument 43 #define DPORT_REG_GET_BIT(_r, _b) (DPORT_REG_READ(_r) & (_b)) argument 46 #define DPORT_REG_SET_BIT(_r, _b) DPORT_REG_WRITE((_r), (DPORT_REG_READ(_r)|(_b))) argument 49 #define DPORT_REG_CLR_BIT(_r, _b) DPORT_REG_WRITE((_r), (DPORT_REG_READ(_r) & (~(_b)))) argument 52 #define DPORT_REG_SET_BITS(_r, _b, _m) DPORT_REG_WRITE((_r), ((DPORT_REG_READ(_r) & (~(_m))) | ((_b… argument 55 #define DPORT_REG_GET_FIELD(_r, _f) ((DPORT_REG_READ(_r) >> (_f##_S)) & (_f##_V)) argument [all …]
|
D | soc.h | 36 #define REG_WRITE(_r, _v) do { … argument 37 …(*(volatile uint32_t *)(_r)) = (_v); … 41 #define REG_READ(_r) ({ … argument 42 …(*(volatile uint32_t *)(_r)); … 46 #define REG_GET_BIT(_r, _b) ({ … argument 47 …(*(volatile uint32_t*)(_r) & (_b)); … 51 #define REG_SET_BIT(_r, _b) do { … argument 52 …*(volatile uint32_t*)(_r) = (*(volatile uint32_t*)(_r)) | (_b); … 56 #define REG_CLR_BIT(_r, _b) do { … argument 57 …*(volatile uint32_t*)(_r) = (*(volatile uint32_t*)(_r)) & (~(_b)); … [all …]
|
/hal_espressif-latest/components/soc/esp32c2/include/soc/ |
D | dport_access.h | 33 #define _DPORT_REG_READ(_r) (*(volatile uint32_t *)(_r)) argument 34 #define _DPORT_REG_WRITE(_r, _v) (*(volatile uint32_t *)(_r)) = (_v) argument 37 #define DPORT_REG_WRITE(_r, _v) _DPORT_REG_WRITE((_r), (_v)) argument 39 #define DPORT_REG_READ(_r) _DPORT_REG_READ(_r) argument 40 #define DPORT_SEQUENCE_REG_READ(_r) _DPORT_REG_READ(_r) argument 43 #define DPORT_REG_GET_BIT(_r, _b) (DPORT_REG_READ(_r) & (_b)) argument 46 #define DPORT_REG_SET_BIT(_r, _b) DPORT_REG_WRITE((_r), (DPORT_REG_READ(_r)|(_b))) argument 49 #define DPORT_REG_CLR_BIT(_r, _b) DPORT_REG_WRITE((_r), (DPORT_REG_READ(_r) & (~(_b)))) argument 52 #define DPORT_REG_SET_BITS(_r, _b, _m) DPORT_REG_WRITE((_r), ((DPORT_REG_READ(_r) & (~(_m))) | ((_b… argument 55 #define DPORT_REG_GET_FIELD(_r, _f) ((DPORT_REG_READ(_r) >> (_f##_S)) & (_f##_V)) argument [all …]
|
D | soc.h | 44 #define REG_WRITE(_r, _v) do { … argument 45 …(*(volatile uint32_t *)(_r)) = (_v); … 49 #define REG_READ(_r) ({ … argument 50 …(*(volatile uint32_t *)(_r)); … 54 #define REG_GET_BIT(_r, _b) ({ … argument 55 …(*(volatile uint32_t*)(_r) & (_b)); … 59 #define REG_SET_BIT(_r, _b) do { … argument 60 …*(volatile uint32_t*)(_r) = (*(volatile uint32_t*)(_r)) | (_b); … 64 #define REG_CLR_BIT(_r, _b) do { … argument 65 …*(volatile uint32_t*)(_r) = (*(volatile uint32_t*)(_r)) & (~(_b)); … [all …]
|
/hal_espressif-latest/components/soc/esp32s2/include/soc/ |
D | dport_access.h | 31 #define _DPORT_REG_READ(_r) (*(volatile uint32_t *)(_r)) argument 32 #define _DPORT_REG_WRITE(_r, _v) (*(volatile uint32_t *)(_r)) = (_v) argument 35 #define DPORT_REG_WRITE(_r, _v) _DPORT_REG_WRITE((_r), (_v)) argument 37 #define DPORT_REG_READ(_r) _DPORT_REG_READ(_r) argument 38 #define DPORT_SEQUENCE_REG_READ(_r) _DPORT_REG_READ(_r) argument 41 #define DPORT_REG_GET_BIT(_r, _b) (DPORT_REG_READ(_r) & (_b)) argument 44 #define DPORT_REG_SET_BIT(_r, _b) DPORT_REG_WRITE((_r), (DPORT_REG_READ(_r)|(_b))) argument 47 #define DPORT_REG_CLR_BIT(_r, _b) DPORT_REG_WRITE((_r), (DPORT_REG_READ(_r) & (~(_b)))) argument 50 #define DPORT_REG_SET_BITS(_r, _b, _m) DPORT_REG_WRITE((_r), ((DPORT_REG_READ(_r) & (~(_m))) | ((_b… argument 53 #define DPORT_REG_GET_FIELD(_r, _f) ((DPORT_REG_READ(_r) >> (_f##_S)) & (_f##_V)) argument [all …]
|
D | soc.h | 42 #define REG_WRITE(_r, _v) do { … argument 43 …(*(volatile uint32_t *)(_r)) = (_v); … 47 #define REG_READ(_r) ({ … argument 48 …(*(volatile uint32_t *)(_r)); … 52 #define REG_GET_BIT(_r, _b) ({ … argument 53 …(*(volatile uint32_t*)(_r) & (_b)); … 57 #define REG_SET_BIT(_r, _b) do { … argument 58 …*(volatile uint32_t*)(_r) = (*(volatile uint32_t*)(_r)) | (_b); … 62 #define REG_CLR_BIT(_r, _b) do { … argument 63 …*(volatile uint32_t*)(_r) = (*(volatile uint32_t*)(_r)) & (~(_b)); … [all …]
|
/hal_espressif-latest/components/soc/esp32/include/soc/ |
D | dport_access.h | 47 #define _DPORT_REG_READ(_r) (*(volatile uint32_t *)(_r)) argument 48 #define _DPORT_REG_WRITE(_r, _v) (*(volatile uint32_t *)(_r)) = (_v) argument 51 #define DPORT_REG_WRITE(_r, _v) _DPORT_REG_WRITE((_r), (_v)) argument 134 #define DPORT_REG_GET_BIT(_r, _b) (DPORT_REG_READ(_r) & (_b)) argument 137 #define DPORT_REG_SET_BIT(_r, _b) DPORT_REG_WRITE((_r), (DPORT_REG_READ(_r)|(_b))) argument 140 #define DPORT_REG_CLR_BIT(_r, _b) DPORT_REG_WRITE((_r), (DPORT_REG_READ(_r) & (~(_b)))) argument 143 #define DPORT_REG_SET_BITS(_r, _b, _m) DPORT_REG_WRITE((_r), ((DPORT_REG_READ(_r) & (~(_m))) | ((_b… argument 146 #define DPORT_REG_GET_FIELD(_r, _f) ((DPORT_REG_READ(_r) >> (_f##_S)) & (_f##_V)) argument 149 #define DPORT_REG_SET_FIELD(_r, _f, _v) DPORT_REG_WRITE((_r), ((DPORT_REG_READ(_r) & (~((_f##_V) <<… argument 152 #define DPORT_VALUE_GET_FIELD(_r, _f) (((_r) >> (_f##_S)) & (_f)) argument [all …]
|
D | soc.h | 31 #define IS_DPORT_REG(_r) (((_r) >= DR_REG_DPORT_BASE) && (_r) <= DR_REG_DPORT_END) argument 34 #define ASSERT_IF_DPORT_REG(_r, OP) TRY_STATIC_ASSERT(!IS_DPORT_REG(_r), (Cannot use OP for DPORT … argument 36 #define ASSERT_IF_DPORT_REG(_r, OP) argument 40 #define REG_WRITE(_r, _v) do { … argument 41 …ASSERT_IF_DPORT_REG((_r), REG_WRITE); … 42 …(*(volatile uint32_t *)(_r)) = (_v); … 46 #define REG_READ(_r) ({ … argument 47 …ASSERT_IF_DPORT_REG((_r), REG_READ); … 48 …(*(volatile uint32_t *)(_r)); … 52 #define REG_GET_BIT(_r, _b) ({ … argument [all …]
|
/hal_espressif-latest/components/riscv/include/riscv/ |
D | csr.h | 182 #define RV_SET_CSR_FIELD(_r, _f, _v) ({ (RV_WRITE_CSR((_r),((RV_READ_CSR(_r) & ~((_f##_V) << (_f##_… argument 183 #define RV_CLEAR_CSR_FIELD(_r, _f) ({ (RV_WRITE_CSR((_r),(RV_READ_CSR(_r) & ~((_f##_V) << (_f##_S))… argument
|
/hal_espressif-latest/components/bootloader_support/src/secure_boot_v2/ |
D | secure_boot_ecdsa_signature.c | 58 uint8_t _r[ECDSA_INTEGER_LEN] = {}; in verify_ecdsa_signature_block() local 63 _r[i] = trusted_block->ecdsa.signature[key_size - i - 1]; in verify_ecdsa_signature_block() 68 ret = mbedtls_mpi_read_binary(&r, _r, key_size); in verify_ecdsa_signature_block()
|
/hal_espressif-latest/tools/esptool_py/flasher_stub/include/ |
D | soc_support.h | 26 #define REG_SET_FIELD(_r, _f, _v) (WRITE_REG((_r),((READ_REG(_r) & ~((_f) << (_f##_S)))|(((_v) & (_… argument
|