Searched refs:STATIC_ASSERT (Results 1 – 23 of 23) sorted by relevance
/lk-master/platform/cc13xx/include/platform/ |
A D | ti-rf.h | 309 STATIC_ASSERT(sizeof(rf_queue_t) == 8); 310 STATIC_ASSERT(sizeof(rf_queue_entry_t) == 12); 311 STATIC_ASSERT(sizeof(rf_op_basic_t) == 14); 312 STATIC_ASSERT(sizeof(rf_op_radio_setup_t) == 24); 313 STATIC_ASSERT(sizeof(rf_op_fs_t) == 24); 314 STATIC_ASSERT(sizeof(rf_op_fs_power_t) == 20); 315 STATIC_ASSERT(sizeof(rf_op_sync_rat_t) == 20); 316 STATIC_ASSERT(sizeof(rf_op_count_t) == 16); 317 STATIC_ASSERT(sizeof(rf_op_pattern_check_t) == 32); 318 STATIC_ASSERT(sizeof(rf_op_fw_info_t) == 10);
|
A D | ti-rf-prop.h | 150 STATIC_ASSERT(sizeof(rf_op_prop_tx_t) == 24); 151 STATIC_ASSERT(sizeof(rf_op_prop_tx_adv_t) == 32); 152 STATIC_ASSERT(sizeof(rf_op_prop_rx_t) == 36); 154 STATIC_ASSERT(sizeof(rf_prop_output_t) == 12);
|
/lk-master/kernel/include/kernel/ |
A D | vm.h | 59 STATIC_ASSERT(__offsetof(struct mmu_initial_mapping, phys) == __MMU_INITIAL_MAPPING_PHYS_OFFSET); 60 STATIC_ASSERT(__offsetof(struct mmu_initial_mapping, virt) == __MMU_INITIAL_MAPPING_VIRT_OFFSET); 61 STATIC_ASSERT(__offsetof(struct mmu_initial_mapping, size) == __MMU_INITIAL_MAPPING_SIZE_OFFSET); 62 STATIC_ASSERT(__offsetof(struct mmu_initial_mapping, flags) == __MMU_INITIAL_MAPPING_FLAGS_OFFSET); 63 STATIC_ASSERT(sizeof(struct mmu_initial_mapping) == __MMU_INITIAL_MAPPING_SIZE); 88 STATIC_ASSERT(KERNEL_ASPACE_BASE + (KERNEL_ASPACE_SIZE - 1) > KERNEL_ASPACE_BASE); 102 STATIC_ASSERT(USER_ASPACE_BASE + (USER_ASPACE_SIZE - 1) > USER_ASPACE_BASE);
|
A D | thread.h | 213 STATIC_ASSERT((e) < MAX_TLS_ENTRY); \
|
/lk-master/top/include/lk/ |
A D | compiler.h | 104 #define STATIC_ASSERT(e) static_assert(e, #e) macro 106 #define STATIC_ASSERT(e) _Static_assert(e, #e) macro 109 #define STATIC_ASSERT(e) extern char (*ct_assert(void)) [sizeof(char[1 - 2*!(e)])] macro
|
/lk-master/target/dartuinoP0/include/target/display/ |
A D | LS013B7DH03.h | 19 STATIC_ASSERT((MLCD_WIDTH & 0x3) == 0);
|
A D | LS013B7DH06.h | 19 STATIC_ASSERT(((MLCD_WIDTH * 3) & 0x3) == 0);
|
A D | LS027B7DH01.h | 19 STATIC_ASSERT((MLCD_WIDTH & 0x3) == 0);
|
/lk-master/dev/virtio/ |
A D | virtio_priv.h | 41 STATIC_ASSERT(sizeof(struct virtio_mmio_config) == 0x100);
|
/lk-master/platform/lpc15xx/ |
A D | debug.c | 25 STATIC_ASSERT(DEBUG_UART == LPC_USART0);
|
/lk-master/platform/stellaris/ |
A D | debug.c | 62 STATIC_ASSERT(DEBUG_UART == UART0_BASE); in stellaris_debug_early_init()
|
/lk-master/external/platform/nrfx/templates/ |
A D | nrfx_glue.h | 79 #define NRFX_STATIC_ASSERT(expression) STATIC_ASSERT(expression)
|
/lk-master/arch/arm64/ |
A D | fpu.c | 31 STATIC_ASSERT(sizeof(fpstate->regs) == 16 * 32); in arm64_fpu_load_state()
|
A D | mmu.c | 23 STATIC_ASSERT(((long)KERNEL_BASE >> MMU_KERNEL_SIZE_SHIFT) == -1); 24 STATIC_ASSERT(((long)KERNEL_ASPACE_BASE >> MMU_KERNEL_SIZE_SHIFT) == -1); 25 STATIC_ASSERT(MMU_KERNEL_SIZE_SHIFT <= 48); 26 STATIC_ASSERT(MMU_KERNEL_SIZE_SHIFT >= 25);
|
/lk-master/platform/zynq/ |
A D | platform.c | 26 STATIC_ASSERT(SDRAM_SIZE != 0); 205 STATIC_ASSERT(IS_ALIGNED(SDRAM_BASE, MB)); 206 STATIC_ASSERT(IS_ALIGNED(SDRAM_SIZE, MB));
|
/lk-master/arch/mips/include/arch/ |
A D | mips.h | 83 STATIC_ASSERT(sizeof(struct mips_iframe) == 88);
|
/lk-master/arch/mips/ |
A D | arch.c | 50 STATIC_ASSERT(VECTORED_OFFSET_SHIFT == 32); in arch_early_init()
|
/lk-master/dev/virtio/block/ |
A D | virtio-block.c | 39 STATIC_ASSERT(sizeof(struct virtio_blk_config) == 24); 46 STATIC_ASSERT(sizeof(struct virtio_blk_req) == 16);
|
/lk-master/dev/virtio/net/ |
A D | virtio-net.c | 31 STATIC_ASSERT(sizeof(struct virtio_net_config) == 10); 42 STATIC_ASSERT(sizeof(struct virtio_net_hdr) == 12);
|
/lk-master/platform/zynq/include/platform/ |
A D | zynq.h | 348 STATIC_ASSERT(offsetof(struct slcr_regs, SCL) == 0x0); 349 STATIC_ASSERT(offsetof(struct slcr_regs, DDRIOB_DCI_STATUS) == 0xb74);
|
/lk-master/lib/fs/spifs/ |
A D | spifs.c | 497 STATIC_ASSERT(sizeof(toc_header_t) == SPIFS_ENTRY_LENGTH); in spifs_format() 498 STATIC_ASSERT(sizeof(toc_file_t) == SPIFS_ENTRY_LENGTH); in spifs_format() 499 STATIC_ASSERT(sizeof(toc_footer_t) == SPIFS_ENTRY_LENGTH); in spifs_format()
|
/lk-master/lib/heap/cmpctmalloc/ |
A D | cmpctmalloc.c | 43 STATIC_ASSERT(IS_PAGE_ALIGNED(HEAP_GROW_SIZE)); 52 STATIC_ASSERT(HEAP_GROW_SIZE <= (1u << HEAP_ALLOC_VIRTUAL_BITS));
|
/lk-master/kernel/ |
A D | thread.c | 57 STATIC_ASSERT(NUM_PRIORITIES <= sizeof(run_queue_bitmap) * 8); 567 STATIC_ASSERT((THREAD_STACK_PADDING_SIZE % sizeof(uint32_t)) == 0); in thread_resched()
|
Completed in 50 milliseconds