/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/bk7235/soc/ |
D | dma2d_struct.h | 47 uint32_t v; member 63 uint32_t v; member 79 uint32_t v; member 89 uint32_t v; member 100 uint32_t v; member 110 uint32_t v; member 121 uint32_t v; member 141 uint32_t v; member 154 uint32_t v; member 174 uint32_t v; member [all …]
|
D | aon_pmu_struct.h | 37 uint32_t v; member 50 uint32_t v; member 69 uint32_t v; member 79 uint32_t v; member 89 uint32_t v; member 99 uint32_t v; member 109 uint32_t v; member 119 uint32_t v; member 129 uint32_t v; member 139 uint32_t v; member [all …]
|
D | aud_struct.h | 43 uint32_t v; member 57 uint32_t v; member 70 uint32_t v; member 83 uint32_t v; member 98 uint32_t v; member 109 uint32_t v; member 120 uint32_t v; member 135 uint32_t v; member 146 uint32_t v; member 157 uint32_t v; member [all …]
|
D | sys_struct.h | 36 uint32_t v; member 46 uint32_t v; member 64 uint32_t v; member 81 uint32_t v; member 96 uint32_t v; member 111 uint32_t v; member 121 uint32_t v; member 131 uint32_t v; member 162 uint32_t v; member 186 uint32_t v; member [all …]
|
D | dma2d_ll.h | 28 return hw->dma2d_control_reg.v; in dma2d_ll_get_dma2d_control_reg_value() 33 hw->dma2d_control_reg.v = value; in dma2d_ll_set_dma2d_control_reg_value() 187 return hw->dma2d_int_status.v; in dma2d_ll_get_dma2d_int_status_value() 232 hw->dma2d_int_clear.v = value; in dma2d_ll_set_dma2d_int_clear_value() 275 return hw->dma2d_fg_address.v; in dma2d_ll_get_dma2d_fg_address_value() 280 hw->dma2d_fg_address.v = value; in dma2d_ll_set_dma2d_fg_address_value() 286 return hw->dma2d_fg_address.v; in dma2d_ll_get_dma2d_fg_address_fg_address() 291 hw->dma2d_fg_address.v = value; in dma2d_ll_set_dma2d_fg_address_fg_address() 298 return hw->dma2d_fg_offset.v; in dma2d_ll_get_dma2d_fg_offset_value() 303 hw->dma2d_fg_offset.v = value; in dma2d_ll_set_dma2d_fg_offset_value() [all …]
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/ |
D | hi_atomic.h | 37 #define hi_atomic_read(v) ((v)->counter) argument 38 #define hi_atomic_set(v, i) (((v)->counter) = (i)) argument 41 #define hi_atomic_inc(v) hi_atomic_add_return(1, v) argument 42 #define hi_atomic_dec(v) hi_atomic_sub_return(1, v) argument 44 #define hi_atomic_inc_return(v) (hi_atomic_add_return(1, v)) argument 45 #define hi_atomic_dec_return(v) (hi_atomic_sub_return(1, v)) argument 46 #define hi_atomic_inc_return_optimize(v) (hi_atomic_add_return_optimize(1, v)) argument 48 #define hi_atomic_inc(v) atomic_add_return(1, (atomic_t *)v) argument 49 #define hi_atomic_dec(v) atomic_sub_return(1, (atomic_t *)v) argument 50 #define hi_atomic_inc_return(v) (atomic_add_return(1, (atomic_t *)v)) argument [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
D | hi_atomic.h | 38 #define hi_atomic_read(v) ((v)->counter) argument 39 #define hi_atomic_set(v, i) (((v)->counter) = (i)) argument 41 #define hi_atomic_inc(v) hi_atomic_add_return(1, v) argument 42 #define hi_atomic_dec(v) hi_atomic_sub_return(1, v) argument 44 #define hi_atomic_inc_return(v) (hi_atomic_add_return(1, v)) argument 45 #define hi_atomic_dec_return(v) (hi_atomic_sub_return(1, v)) argument 52 #define hi_atomic_add_return_op(i, v) (hi_atomic_add_return(i, v)) argument 59 #define hi_atomic_sub_return_op(i, v) (hi_atomic_sub_return(i, v)) argument 66 #define hi_atomic_bit_set_op(bit, v) (hi_atomic_bit_set(bit, v)) argument 72 #define hi_atomic_bit_clear_op(bit, v) (hi_atomic_bit_clear(bit, v)) argument [all …]
|
/device/soc/esp/esp32/components/soc/esp32/include/soc/ |
D | boot_mode.h | 21 #define IS_1XXXX(v) (((v)&0x10)==0x10) argument 24 #define IS_010XX(v) (((v)&0x1c)==0x08) argument 27 #define IS_00XXX(v) (((v)&0x18)==0x00) argument 30 #define IS_00X00(v) (((v)&0x1b)==0x00) argument 33 #define IS_00X01(v) (((v)&0x1b)==0x01) argument 36 #define IS_00X10(v) (((v)&0x1b)==0x02) argument 39 #define IS_00X11(v) (((v)&0x1b)==0x03) argument 42 #define IS_01110(v) (((v)&0x1f)==0x0e) argument 45 #define IS_01111(v) (((v)&0x1f)==0x0f) argument 48 #define IS_01100(v) (((v)&0x1f)==0x0c) argument [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/halmac/ |
D | halmac_bit_8822c.h | 120 #define BIT_SET_VPDIDX_8822C(x, v) \ argument 121 (BIT_CLEAR_VPDIDX_8822C(x) | BIT_VPDIDX_8822C(v)) 131 #define BIT_SET_EEM1_0_8822C(x, v) \ argument 132 (BIT_CLEAR_EEM1_0_8822C(x) | BIT_EEM1_0_8822C(v)) 152 #define BIT_SET_VPD_DATA_8822C(x, v) \ argument 153 (BIT_CLEAR_VPD_DATA_8822C(x) | BIT_VPD_DATA_8822C(v)) 230 #define BIT_SET_SPS18_OCP_TH_8822C(x, v) \ argument 231 (BIT_CLEAR_SPS18_OCP_TH_8822C(x) | BIT_SPS18_OCP_TH_8822C(v)) 242 #define BIT_SET_OCP_WINDOW_8822C(x, v) \ argument 243 (BIT_CLEAR_OCP_WINDOW_8822C(x) | BIT_OCP_WINDOW_8822C(v)) [all …]
|
D | halmac_bit2.h | 54 #define BIT_SET_LLTE_RWM(x, v) (BIT_CLEAR_LLTE_RWM(x) | BIT_LLTE_RWM(v)) argument 74 #define BIT_SET_GTAB_ID(x, v) (BIT_CLEAR_GTAB_ID(x) | BIT_GTAB_ID(v)) argument 107 #define BIT_SET_MBIDCAM_ADDR(x, v) \ argument 108 (BIT_CLEAR_MBIDCAM_ADDR(x) | BIT_MBIDCAM_ADDR(v)) 145 #define BIT_SET_R_OFDM_LEN_V1(x, v) \ argument 146 (BIT_CLEAR_R_OFDM_LEN_V1(x) | BIT_R_OFDM_LEN_V1(v)) 162 #define BIT_SET_COUNTER_BASE(x, v) \ argument 163 (BIT_CLEAR_COUNTER_BASE(x) | BIT_COUNTER_BASE(v)) 172 #define BIT_SET_AGG_VALUE2(x, v) (BIT_CLEAR_AGG_VALUE2(x) | BIT_AGG_VALUE2(v)) argument 203 #define BIT_SET_XTAL_DRV_RF1(x, v) \ argument [all …]
|
/device/soc/chipsea/cst85/liteos_m/sdk/bsp/arch/cmsis/ |
D | cmsis_compiler.h | 95 struct __attribute__((packed)) T_UINT32 { uint32_t v; }; member 96 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) 99 __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; }; variable 100 …_UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void*)(addr))->v) = (val)) 103 __PACKED_STRUCT T_UINT16_READ { uint16_t v; }; variable 104 …ne __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr))->v) 107 __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; }; variable 108 …UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v) = (val)) 111 __PACKED_STRUCT T_UINT32_READ { uint32_t v; }; variable 112 …ne __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(addr))->v) [all …]
|
/device/soc/st/stm32f4xx/sdk/Drivers/CMSIS/Include/ |
D | cmsis_compiler.h | 95 struct __attribute__((packed)) T_UINT32 { uint32_t v; }; member 96 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) 99 __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; }; variable 100 …_UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void*)(addr))->v) = (val)) 103 __PACKED_STRUCT T_UINT16_READ { uint16_t v; }; variable 104 …ne __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr))->v) 107 __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; }; variable 108 …UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v) = (val)) 111 __PACKED_STRUCT T_UINT32_READ { uint32_t v; }; variable 112 …ne __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(addr))->v) [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/arch/ |
D | atomic.h | 52 #define atomic_sub(n, v) LOS_AtomicSub(v, n) argument 53 #define atomic_add(n, v) LOS_AtomicAdd(v, n) argument 56 #define atomic_set(p, v) LOS_AtomicXchg64bits(p, v) argument 58 #define atomic_set(p, v) LOS_AtomicXchg32bits(p, v) 62 #define atomic_add_return(i, v) LOS_AtomicAdd(v, i) argument 63 #define atomic_inc_return(v) LOS_AtomicIncRet(v) argument 64 #define atomic_dec_return(v) LOS_AtomicDecRet(v) argument 65 #define atomic_dec_and_test(v) (atomic_dec_return(v) == 0) argument
|
/device/soc/amlogic/a311d/soc/include/linux/amlogic/media/canvas/ |
D | canvas_mgr.h | 45 #define canvas_0(v) ((v) & 0xff) argument 46 #define canvas_1(v) (((v)>>8) & 0xff) argument 47 #define canvas_2(v) (((v) >> 16) & 0xff) argument 48 #define canvas_3(v) (((v) >> 24) & 0xff) argument 50 #define canvasY(v) canvas_0(v) argument 51 #define canvasU(v) canvas_1(v) argument 52 #define canvasV(v) canvas_2(v) argument 53 #define canvasUV(v) canvas_1(v) argument 54 #define canvasADDR(y, u, v) ((y) | ((u) << 8) | ((v) << 16)) argument
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/canvas/ |
D | canvas_mgr.h | 45 #define canvas_0(v) ((v) & 0xff) argument 46 #define canvas_1(v) (((v)>>8) & 0xff) argument 47 #define canvas_2(v) (((v) >> 16) & 0xff) argument 48 #define canvas_3(v) (((v) >> 24) & 0xff) argument 50 #define canvasY(v) canvas_0(v) argument 51 #define canvasU(v) canvas_1(v) argument 52 #define canvasV(v) canvas_2(v) argument 53 #define canvasUV(v) canvas_1(v) argument 54 #define canvasADDR(y, u, v) ((y) | ((u) << 8) | ((v) << 16)) argument
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/cmsis/inc/ |
D | cmsis_compiler.h | 101 struct __attribute__((packed)) T_UINT32 { uint32_t v; }; member 102 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) 105 __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; }; variable 106 …_UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void*)(addr))->v) = (val)) 109 __PACKED_STRUCT T_UINT16_READ { uint16_t v; }; variable 110 …ne __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(addr))->v) 113 __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; }; variable 114 …UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))->v) = (val)) 117 __PACKED_STRUCT T_UINT32_READ { uint32_t v; }; variable 118 …ne __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(addr))->v) [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/ |
D | rtw_debug.h | 329 int proc_get_read_reg(struct seq_file *m, void *v); 332 int proc_get_fwstate(struct seq_file *m, void *v); 333 int proc_get_sec_info(struct seq_file *m, void *v); 334 int proc_get_mlmext_state(struct seq_file *m, void *v); 336 int proc_get_roam_flags(struct seq_file *m, void *v); 338 int proc_get_roam_param(struct seq_file *m, void *v); 342 int proc_get_qos_option(struct seq_file *m, void *v); 343 int proc_get_ht_option(struct seq_file *m, void *v); 344 int proc_get_rf_info(struct seq_file *m, void *v); 345 int proc_get_scan_param(struct seq_file *m, void *v); [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/ |
D | prng.h | 34 uint16_t v = random_rand(); in contiki_prng_impl() local 35 while (len > sizeof(v)) { in contiki_prng_impl() 36 memcpy(buf, &v, sizeof(v)); in contiki_prng_impl() 37 len -= sizeof(v); in contiki_prng_impl() 38 buf += sizeof(v); in contiki_prng_impl() 39 v = random_rand(); in contiki_prng_impl() 42 memcpy(buf, &v, len); in contiki_prng_impl() 51 u32_t v = LWIP_RAND(); in lwip_prng_impl() local 52 while (len > sizeof(v)) { in lwip_prng_impl() 53 memcpy(buf, &v, sizeof(v)); in lwip_prng_impl() [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/ |
D | linux_osl.h | 174 #define BUS_SWAP32(v) (v) argument 292 extern void osl_bpt_rreg(osl_t *osh, ulong addr, volatile void *v, uint size); 298 #define OSL_WRITE_REG(osh, r, v) (bcmsdh_reg_write(osl_get_bus_handle(osh), \ argument 299 (uintptr)(r), sizeof(*(r)), (v))) 379 #define W_REG(osh, r, v) do { \ argument 381 case sizeof(uint8): osl_writeb((osh), (volatile uint8*)(r), (uint8)(v)); break; \ 382 case sizeof(uint16): osl_writew((osh), (volatile uint16*)(r), (uint16)(v)); break; \ 383 case sizeof(uint32): osl_writel((osh), (volatile uint32*)(r), (uint32)(v)); break; \ 384 case sizeof(uint64): osl_writeq((osh), (volatile uint64*)(r), (uint64)(v)); break; \ 392 extern void osl_writeb(osl_t *osh, volatile uint8 *r, uint8 v); [all …]
|
/device/soc/winnermicro/wm800/board/src/bt/blehost/ext/tinycrypt/src/ |
D | hmac_prng.c | 84 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update() 92 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update() 93 (void)tc_hmac_final(prng->v, sizeof(prng->v), &prng->h); in update() 96 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update() 104 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in update() 105 (void)tc_hmac_final(prng->v, sizeof(prng->v), &prng->h); in update() 121 _set(prng->v, 0x01, sizeof(prng->v)); in tc_hmac_prng_init() 184 (void)tc_hmac_update(&prng->h, prng->v, sizeof(prng->v)); in tc_hmac_prng_generate() 185 (void)tc_hmac_final(prng->v, sizeof(prng->v), &prng->h); in tc_hmac_prng_generate() 188 (void)_copy(out, bufferlen, prng->v, bufferlen); in tc_hmac_prng_generate() [all …]
|
/device/soc/winnermicro/wm800/board/platform/inc/ |
D | tls_common.h | 136 static __inline unsigned short swap_16(unsigned short v) in swap_16() argument 138 return ((v & 0xff) << 8) | (v >> 8); in swap_16() 141 static __inline unsigned int swap_32(unsigned int v) in swap_32() argument 143 return ((v & 0xff) << 24) | ((v & 0xff00) << 8) | in swap_32() 144 ((v & 0xff0000) >> 8) | (v >> 24); in swap_32() 232 static __inline int atomic_sub_return(int i, atomic_t *v) in atomic_sub_return() argument 238 val = v->counter; in atomic_sub_return() 239 v->counter = val -= i; in atomic_sub_return() 245 static __inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() argument 251 val = v->counter; in atomic_add_return() [all …]
|
/device/soc/hpmicro/sdk/hpm_sdk/arch/riscv/ |
D | riscv_core.h | 22 #define write_fcsr(v) __asm volatile("fscsr %0" : : "r"(v)) argument 46 #define write_csr(csr_num, v) __asm volatile("csrw %0, %1" : : "i"(csr_num), "r"(v)) argument 55 #define read_csr(csr_num) ({ uint32_t v; __asm volatile("csrr %0, %1" : "=r"(v) : "i"(csr_num)); v;… 62 #define read_fcsr() ({ uint32_t v; __asm volatile("frcsr %0" : "=r"(v)); v; })
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/codec_mm/ |
D | configs.h | 101 #define MC_U32(n, v) \ argument 102 {.type = CONFIG_TYPE_U32, .item_name = (n), .u32val = (v)} 104 #define MC_I32(n, v) \ argument 105 {.type = CONFIG_TYPE_I32, .item_name = (n), .ival = (v)} 107 #define MC_U64(n, v) \ argument 108 {.type = CONFIG_TYPE_U32, .item_name = (n), .u64val = (v)} 109 #define MC_BOOL(n, v) \ argument 110 {.type = CONFIG_TYPE_BOOL, .item_name = (n), .boolval = (v)} 112 #define MC_STR(n, v) \ argument 113 {.type = CONFIG_TYPE_PSTR, .item_name = (n), .str = (v)} [all …]
|
/device/soc/amlogic/a311d/soc/include/linux/amlogic/media/codec_mm/ |
D | configs.h | 100 #define MC_U32(n, v) … argument 102 ….type = CONFIG_TYPE_U32, .item_name = (n), .u32val = (v) … 105 #define MC_I32(n, v) … argument 107 ….type = CONFIG_TYPE_I32, .item_name = (n), .ival = (v) … 110 #define MC_U64(n, v) … argument 112 ….type = CONFIG_TYPE_U32, .item_name = (n), .u64val = (v) … 114 #define MC_BOOL(n, v) … argument 116 ….type = CONFIG_TYPE_BOOL, .item_name = (n), .boolval = (v) … 119 #define MC_STR(n, v) … argument 121 ….type = CONFIG_TYPE_PSTR, .item_name = (n), .str = (v) … [all …]
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
D | oal_atomic.h | 85 #define oal_atomic_inc_return(v) (oal_atomic_add_return(1, v)) argument 86 #define oal_atomic_dec_return(v) (oal_atomic_sub_return(1, v)) argument 87 #define oal_atomic_sub_and_test(i, v) (oal_atomic_sub_return(i, v) == 0) argument 113 static inline void atomic_add(int i, oal_atomic *v) in atomic_add() argument 125 : "r"(&v->counter), "Ir"(i) in atomic_add() 129 static inline int atomic_add_return(int i, oal_atomic *v) in atomic_add_return() argument 143 : "r"(&v->counter), "Ir"(i) in atomic_add_return() 151 static inline void atomic_sub(int i, oal_atomic *v) in atomic_sub() argument 163 : "r"(&v->counter), "Ir"(i) in atomic_sub() 167 static inline int atomic_sub_return(int i, oal_atomic *v) in atomic_sub_return() argument [all …]
|