/lk-master/lib/bytes/ |
A D | bytes.c | 14 uint16_t val; in bytes_read_u16_be() local 22 uint32_t val; in bytes_read_u24_be() local 30 uint32_t val; in bytes_read_u32_be() local 37 uint8_t *bytes_write_u16_be(uint8_t *buf, uint16_t val) { in bytes_write_u16_be() 64 uint16_t val; in bytes_read_u16_le() local 72 uint32_t val; in bytes_read_u24_le() local 80 uint32_t val; in bytes_read_u32_le() local 111 uint8_t bytes_swap_bits_u8(uint8_t val) { in bytes_swap_bits_u8() 119 uint16_t bytes_swap_bits_u16(uint16_t val) { in bytes_swap_bits_u16() 128 uint32_t bytes_swap_bits_u24(uint32_t val) { in bytes_swap_bits_u24() [all …]
|
/lk-master/lib/libc/include/ |
A D | endian.h | 29 #define LE64(val) SWAP_64(val) argument 30 #define LE32(val) SWAP_32(val) argument 31 #define LE16(val) SWAP_16(val) argument 32 #define BE64(val) (val) argument 33 #define BE32(val) (val) argument 34 #define BE16(val) (val) argument 36 #define LE64(val) (val) argument 37 #define LE32(val) (val) argument 38 #define LE16(val) (val) argument 39 #define BE64(val) SWAP_64(val) argument [all …]
|
/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/src/ |
A D | ritimer_15xx.c | 66 void Chip_RIT_SetCTRL(LPC_RITIMER_T *pRITimer, uint32_t val) in Chip_RIT_SetCTRL() 75 void Chip_RIT_ClearCTRL(LPC_RITIMER_T *pRITimer, uint32_t val) in Chip_RIT_ClearCTRL() 84 void Chip_RIT_SetCompareValue(LPC_RITIMER_T *pRITimer, uint64_t val) in Chip_RIT_SetCompareValue() 93 uint64_t val; in Chip_RIT_GetCompareValue() local 112 uint64_t val; in Chip_RIT_GetMaskValue() local 131 uint64_t val; in Chip_RIT_GetCounter() local
|
/lk-master/external/lib/fdt/include/ |
A D | libfdt.h | 1286 const char *name, uint32_t val) in fdt_setprop_inplace_u32() 1321 const char *name, uint64_t val) in fdt_setprop_inplace_u64() 1333 const char *name, uint32_t val) in fdt_setprop_inplace_cell() 1436 static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val) in fdt_property_u32() 1441 static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val) in fdt_property_u64() 1647 uint32_t val) in fdt_setprop_u32() 1682 uint64_t val) in fdt_setprop_u64() 1694 uint32_t val) in fdt_setprop_cell() 1819 const char *name, uint32_t val) in fdt_appendprop_u32() 1854 const char *name, uint64_t val) in fdt_appendprop_u64() [all …]
|
/lk-master/top/include/lk/ |
A D | pow2.h | 18 static inline __ALWAYS_INLINE bool ispow2(uint val) { in ispow2() 22 static inline __ALWAYS_INLINE uint log2_uint(uint val) { in log2_uint() 33 static inline __ALWAYS_INLINE uint divpow2(uint val, uint divp2) { in divpow2() 37 static inline __ALWAYS_INLINE uint modpow2(uint val, uint modp2) { in modpow2()
|
A D | reg.h | 18 #define RMWREG64(addr, startbit, width, val) *REG64(addr) = (*REG64(addr) & ~(((1<<(width)) - 1) <<… argument 19 #define RMWREG32(addr, startbit, width, val) *REG32(addr) = (*REG32(addr) & ~(((1<<(width)) - 1) <<… argument 20 #define RMWREG16(addr, startbit, width, val) *REG16(addr) = (*REG16(addr) & ~(((1<<(width)) - 1) <<… argument 21 #define RMWREG8(addr, startbit, width, val) *REG8(addr) = (*REG8(addr) & ~(((1<<(width)) - 1) << (s… argument
|
/lk-master/arch/include/arch/ |
A D | atomic.h | 18 static inline int atomic_add(volatile int *ptr, int val) { in atomic_add() 22 static inline int atomic_or(volatile int *ptr, int val) { in atomic_or() 26 static inline int atomic_and(volatile int *ptr, int val) { in atomic_and() 30 static inline int atomic_swap(volatile int *ptr, int val) { in atomic_swap()
|
/lk-master/external/lib/lwip/netif/ppp/ |
A D | lcp.c | 573 #define ADDCISHORT(opt, neg, val) \ in lcp_addci() argument 588 #define ADDCILONG(opt, neg, val) \ in lcp_addci() argument 595 #define ADDCILQR(opt, neg, val) \ in lcp_addci() argument 603 #define ADDCICHAR(opt, neg, val) \ in lcp_addci() argument 658 #define ACKCISHORT(opt, neg, val) \ in lcp_ackci() argument 670 #define ACKCICHAR(opt, neg, val) \ in lcp_ackci() argument 697 #define ACKCILONG(opt, neg, val) \ in lcp_ackci() argument 709 #define ACKCILQR(opt, neg, val) \ in lcp_ackci() argument 1136 #define REJCILONG(opt, neg, val) \ in lcp_rejci() argument 1151 #define REJCILQR(opt, neg, val) \ in lcp_rejci() argument [all …]
|
/lk-master/arch/arm/include/arch/ |
A D | arch_atomic.h | 17 static inline int atomic_add(volatile int *ptr, int val) { in atomic_add() 30 static inline int atomic_and(volatile int *ptr, int val) { in atomic_and() 43 static inline int atomic_or(volatile int *ptr, int val) { in atomic_or() 56 static inline int atomic_swap(volatile int *ptr, int val) { in atomic_swap()
|
/lk-master/external/arch/arm/arm-m/CMSIS/Include/ |
A D | cmsis_compiler.h | 106 …#define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void*)(addr))->v… argument 114 …#define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->… argument 178 …#define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))->… argument 186 …#define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->… argument 249 …#define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))->… argument 257 …#define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->… argument
|
/lk-master/lib/debugcommands/ |
A D | debugcommands.c | 120 uint32_t val = (byte_order != BYTE_ORDER) ? in cmd_display_mem() local 127 uint16_t val = (byte_order != BYTE_ORDER) ? in cmd_display_mem() local 168 unsigned int val = argv[2].u; in cmd_modify_mem() local 210 unsigned int val = argv[3].u; in cmd_fill_mem() local
|
/lk-master/external/lib/fdt/ |
A D | fdt_addresses.c | 17 uint32_t val; in fdt_cells() local 36 int val; in fdt_address_cells() local 48 int val; in fdt_size_cells() local
|
A D | fdt_wip.c | 15 uint32_t idx, const void *val, in fdt_setprop_inplace_namelen_partial() 34 const void *val, int len) in fdt_setprop_inplace()
|
/lk-master/external/platform/cc13xx/cc13xxware/driverlib/ |
A D | rf_mailbox.h | 278 #define HW_REG_OVERRIDE(addr, val) ((((uintptr_t) (addr)) & 0xFFFC) | ((uint32_t)(val) << 16)) argument 280 #define ADI_REG_OVERRIDE(adiNo, addr, val) (2 | ((uint32_t)(val) << 16) | \ argument 283 #define ADI_2REG_OVERRIDE(adiNo, addr, val, addr2, val2) \ argument 287 #define ADI_HALFREG_OVERRIDE(adiNo, addr, mask, val) (2 | (ADI_VAL_MASK(addr, mask, val) << 16) | \ argument 290 #define ADI_2HALFREG_OVERRIDE(adiNo, addr, mask, val, addr2, mask2, val2) \ argument 295 #define SW_REG_OVERRIDE(cmd, field, val) (3 | ((_POSITION_##cmd##_##field) << 4) | ((uint32_t)(val)… argument 297 #define SW_REG_IND_OVERRIDE(cmd, field, offset, val) (3 | \ argument 300 #define SW_REG_BYTE_OVERRIDE(cmd, field, val) (0x8003 | ((_POSITION_##cmd##_##field) << 4) | \ argument
|
/lk-master/external/platform/pico/rp2_common/hardware_interp/include/hardware/ |
A D | interp.h | 311 static inline void interp_set_base(interp_hw_t *interp, uint lane, uint32_t val) { in interp_set_base() 335 static inline void interp_set_base_both(interp_hw_t *interp, uint32_t val) { in interp_set_base_both() 347 static inline void interp_set_accumulator(interp_hw_t *interp, uint lane, uint32_t val) { in interp_set_accumulator() 414 static inline void interp_add_accumulater(interp_hw_t *interp, uint lane, uint32_t val) { in interp_add_accumulater()
|
/lk-master/dev/include/dev/ |
A D | i2c.h | 35 static inline status_t i2c_write_reg(int bus, uint8_t address, uint8_t reg, uint8_t val) { in i2c_write_reg() 39 static inline status_t i2c_read_reg(int bus, uint8_t address, uint8_t reg, uint8_t *val) { in i2c_read_reg()
|
/lk-master/arch/riscv/ |
A D | spinlock.c | 13 unsigned long val = arch_curr_cpu_num() + 1UL; in riscv_spin_trylock() local 28 unsigned long val = arch_curr_cpu_num() + 1UL; in riscv_spin_lock() local
|
/lk-master/arch/arm/arm/ |
A D | debug.c | 42 uint32_t val = arm_read_dbgdtrrxint(); in dcc_worker_entry() local 94 uint32_t val = arm_read_dbgdtrrxint(); in arm_dcc_read() local 132 static void dcc_rx_callback(uint32_t val) { in dcc_rx_callback()
|
A D | fpu.c | 25 uint32_t val; in read_fpexc() local 31 static inline void write_fpexc(uint32_t val) { in write_fpexc()
|
/lk-master/target/dartuinoP0/display/ |
A D | LS013B7DH06.c | 40 uint8_t val = *framebuffer++; in lcd_get_line() local 66 uint8_t val = *framebuffer; in lcd_get_line() local
|
/lk-master/app/tests/ |
A D | float.c | 35 FLOAT *val = arg; in float_thread() local 78 FLOAT val[countof(t)]; in float_tests() local
|
/lk-master/arch/arm/include/arch/arm/ |
A D | mmu.h | 114 #define MMU_MEMORY_SET_L1_INNER(val) (((val) & 0x3) << MMU_MEMORY_L1_CB_SHIFT) argument 115 #define MMU_MEMORY_SET_L1_OUTER(val) (((val) & 0x3) << MMU_MEMORY_L1_TEX_SHIFT) argument 129 #define MMU_MEMORY_SET_L2_INNER(val) (((val) & 0x3) << MMU_MEMORY_L2_CB_SHIFT) argument 130 #define MMU_MEMORY_SET_L2_OUTER(val) (((val) & 0x3) << MMU_MEMORY_L2_TEX_SHIFT) argument
|
/lk-master/external/platform/nrfx/hal/ |
A D | nrf_systick.h | 142 NRF_STATIC_INLINE void nrf_systick_csr_set(uint32_t val) in nrf_systick_csr_set() 152 NRF_STATIC_INLINE void nrf_systick_load_set(uint32_t val) in nrf_systick_load_set()
|
/lk-master/external/lib/lwip/include/lwip/ |
A D | sys.h | 297 #define SYS_ARCH_INC(var, val) do { \ argument 306 #define SYS_ARCH_DEC(var, val) do { \ argument 324 #define SYS_ARCH_SET(var, val) do { \ argument
|
/lk-master/dev/timer/arm_generic/ |
A D | arm_generic_timer.c | 47 #define WRITE_TIMER_REG32(reg, val) ARM64_WRITE_SYSREG(reg, val) argument 48 #define WRITE_TIMER_REG64(reg, val) ARM64_WRITE_SYSREG(reg, val) argument 84 #define WRITE_TIMER_REG32(reg, val) \ argument 90 #define WRITE_TIMER_REG64(reg, val) \ argument
|