Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 929) sorted by relevance

12345678910>>...38

/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/demux/sw_demux/dvbcsa2/
Ddvbcsa_bs_stream.c169 int h, i, j, k, b; in dvbcsa_bs_stream_cipher_batch() local
174 for (b = 0; b < 4; b++) in dvbcsa_bs_stream_cipher_batch()
178 A[i][b] = key->stream[b + i * 4]; in dvbcsa_bs_stream_cipher_batch()
179 B[i][b] = key->stream[b + i * 4 + 32]; in dvbcsa_bs_stream_cipher_batch()
183 A[8][b] = BS_VAL8(00); in dvbcsa_bs_stream_cipher_batch()
184 A[9][b] = BS_VAL8(00); in dvbcsa_bs_stream_cipher_batch()
185 B[8][b] = BS_VAL8(00); in dvbcsa_bs_stream_cipher_batch()
186 B[9][b] = BS_VAL8(00); in dvbcsa_bs_stream_cipher_batch()
188 X[b] = BS_VAL8(00); in dvbcsa_bs_stream_cipher_batch()
189 Y[b] = BS_VAL8(00); in dvbcsa_bs_stream_cipher_batch()
[all …]
Ddvbcsa_bs_transpose128.c41 uint64_t t, b; in dvbcsa_bs_stream_transpose_in() local
53 b = dvbcsa_load_le64(pcks->data); in dvbcsa_bs_stream_transpose_in()
57 row[i] = BS_VAL(b, t); in dvbcsa_bs_stream_transpose_in()
62 dvbcsa_bs_word_t t, b; in dvbcsa_bs_stream_transpose_in() local
65 b = row[32 + i]; in dvbcsa_bs_stream_transpose_in()
66 …row[i] = BS_OR(BS_AND(t, BS_VAL64(00000000ffffffff)), BS_SHL8(BS_AND(b, BS_VAL64(00000000ffff… in dvbcsa_bs_stream_transpose_in()
67 …row[32 + i] = BS_OR(BS_AND(b, BS_VAL64(ffffffff00000000)), BS_SHR8(BS_AND(t, BS_VAL64(ffffffff0000… in dvbcsa_bs_stream_transpose_in()
72 dvbcsa_bs_word_t t, b; in dvbcsa_bs_stream_transpose_in() local
77 b = row[j + 16 + i]; in dvbcsa_bs_stream_transpose_in()
78 … row[j + i] = BS_OR(BS_AND(t, BS_VAL32(0000ffff)), BS_SHL8(BS_AND(b, BS_VAL32(0000ffff)), 2)); in dvbcsa_bs_stream_transpose_in()
[all …]
Ddvbcsa_bs_transpose64.c45 dvbcsa_bs_word_t t, b; in dvbcsa_bs_stream_transpose_in() local
48 b = row[32 + i]; in dvbcsa_bs_stream_transpose_in()
49 row[i] = BS_OR(BS_AND(t, BS_VAL64(00000000ffffffff)), BS_SHL8(b, 4)); in dvbcsa_bs_stream_transpose_in()
50 row[32 + i] = BS_OR(BS_AND(b, BS_VAL64(ffffffff00000000)), BS_SHR8(t, 4)); in dvbcsa_bs_stream_transpose_in()
55 dvbcsa_bs_word_t t, b; in dvbcsa_bs_stream_transpose_in() local
60 b = row[j + 16 + i]; in dvbcsa_bs_stream_transpose_in()
61 … row[j + i] = BS_OR(BS_AND(t, BS_VAL32(0000ffff)), BS_SHL8(BS_AND(b, BS_VAL32(0000ffff)), 2)); in dvbcsa_bs_stream_transpose_in()
62 … row[j + 16 + i] = BS_OR(BS_AND(b, BS_VAL32(ffff0000)), BS_SHR8(BS_AND(t, BS_VAL32(ffff0000)), 2)); in dvbcsa_bs_stream_transpose_in()
68 dvbcsa_bs_word_t t, b; in dvbcsa_bs_stream_transpose_in() local
73 b = row[j + 8 + i]; in dvbcsa_bs_stream_transpose_in()
[all …]
Ddvbcsa_bs_transpose32.c48 dvbcsa_bs_word_t t, b; in dvbcsa_bs_stream_transpose_in() local
53 b = row[j + 16 + i]; in dvbcsa_bs_stream_transpose_in()
54 … row[j + i ] = BS_OR(BS_AND(t, BS_VAL32(0000ffff)), BS_SHL8(BS_AND(b, BS_VAL32(0000ffff)), 2)); in dvbcsa_bs_stream_transpose_in()
55 … row[j + 16 + i] = BS_OR(BS_AND(b, BS_VAL32(ffff0000)), BS_SHR8(BS_AND(t, BS_VAL32(ffff0000)), 2)); in dvbcsa_bs_stream_transpose_in()
61 dvbcsa_bs_word_t t, b; in dvbcsa_bs_stream_transpose_in() local
66 b = row[j + 8 + i]; in dvbcsa_bs_stream_transpose_in()
67 row[j + i ] = BS_OR(BS_AND(t, BS_VAL16(00ff)), BS_SHL8(BS_AND(b, BS_VAL16(00ff)), 1)); in dvbcsa_bs_stream_transpose_in()
68 row[j + 8 + i] = BS_OR(BS_AND(b, BS_VAL16(ff00)), BS_SHR8(BS_AND(t, BS_VAL16(ff00)), 1)); in dvbcsa_bs_stream_transpose_in()
74 dvbcsa_bs_word_t t, b; in dvbcsa_bs_stream_transpose_in() local
79 b = row[j + 4 + i]; in dvbcsa_bs_stream_transpose_in()
[all …]
Ddvbcsa_bs_transpose.c52 dvbcsa_bs_word_t t, b; in dvbcsa_bs_block_transpose_in() local
55 b = r[16]; in dvbcsa_bs_block_transpose_in()
56 r[0] = BS_OR(BS_AND(t, BS_VAL32(0000ffff)), BS_SHL8(BS_AND(b, BS_VAL32(0000ffff)), 2)); in dvbcsa_bs_block_transpose_in()
57 r[16] = BS_OR(BS_AND(b, BS_VAL32(ffff0000)), BS_SHR8(BS_AND(t, BS_VAL32(ffff0000)), 2)); in dvbcsa_bs_block_transpose_in()
64 dvbcsa_bs_word_t t, b; in dvbcsa_bs_block_transpose_in() local
67 b = r[8]; in dvbcsa_bs_block_transpose_in()
68 r[0] = BS_OR(BS_AND(t, BS_VAL16(00ff)), BS_SHL8(BS_AND(b, BS_VAL16(00ff)), 1)); in dvbcsa_bs_block_transpose_in()
69 r[8] = BS_OR(BS_AND(b, BS_VAL16(ff00)), BS_SHR8(BS_AND(t, BS_VAL16(ff00)), 1)); in dvbcsa_bs_block_transpose_in()
84 dvbcsa_bs_word_t t, b; in dvbcsa_bs_block_transpose_out() local
87 b = r[8]; in dvbcsa_bs_block_transpose_out()
[all …]
/device/soc/winnermicro/wm800/board/src/bt/blehost/ext/tinycrypt/src/
Dccm_mode.c154 uint8_t b[Nb * Nk]; in tc_ccm_generation_encryption() local
159b[0] = ((alen > 0) ? 0x40 : 0) | (((c->mlen - 2) / 2 << 3)) | (1); // 2:byte alignment, 3:byte ali… in tc_ccm_generation_encryption()
162 b[i] = c->nonce[i - 1]; in tc_ccm_generation_encryption()
165 b[14] = (uint8_t)(plen >> 8); // 14:array element, 8:byte alignment in tc_ccm_generation_encryption()
166 b[15] = (uint8_t)(plen); // 15:array element in tc_ccm_generation_encryption()
168 (void) tc_aes_encrypt(tag, b, c->sched); in tc_ccm_generation_encryption()
180 b[0] = 1; /* q - 1 = 2 - 1 = 1 */ in tc_ccm_generation_encryption()
181 b[14] = b[15] = TC_ZERO_BYTE; // 14:array element, 15:array element in tc_ccm_generation_encryption()
183 ccm_ctr_mode(out, plen, payload, plen, b, c->sched); in tc_ccm_generation_encryption()
184 b[14] = b[15] = TC_ZERO_BYTE; // 14:array element, 15:array element in tc_ccm_generation_encryption()
[all …]
/device/soc/winnermicro/wm800/board/include/driver/
Dwm_tipc.h45 }b; member
70 }b; member
114 vld0.b.I2C = 1; in wm_tipc_enable_i2c()
131 vld0.b.I2C = 0; in wm_tipc_disable_i2c()
148 vld0.b.UART0 = 1; in wm_tipc_enable_uart0()
165 vld0.b.UART0 = 0; in wm_tipc_disable_uart0()
182 vld0.b.SAR_ADC = 1; in wm_tipc_enable_sar_adc()
199 vld0.b.SAR_ADC = 0; in wm_tipc_disable_sar_adc()
216 vld0.b.SPI_LS = 1; in wm_tipc_enable_lspi()
233 vld0.b.SPI_LS = 0; in wm_tipc_disable_lspi()
[all …]
/device/soc/winnermicro/wm800/board/platform/inc/
Dlibtommath.h137 int mp_lshd(mp_int *a, int b);
138 void mp_set(mp_int *a, mp_digit b);
140 void mp_exch(mp_int *a, mp_int *b);
141 void mp_rshd(mp_int *a, int b);
143 int mp_mod_2d(mp_int *a, int b, mp_int *c);
144 int mp_div_2d(mp_int *a, int b, mp_int *c, mp_int *d);
145 int mp_init_copy(mp_int *a, mp_int *b);
146 int mp_mul_2d(mp_int *a, int b, mp_int *c);
148 int mp_div_2(mp_int *a, mp_int *b);
149 int mp_invmod(mp_int *a, mp_int *b, mp_int *c);
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/utils/
Dcommon.h26 #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) argument
27 #define FFMAX3(a,b,c) FFMAX(FFMAX(a,b),c) argument
28 #define FFMIN(a,b) ((a) > (b) ? (b) : (a)) argument
29 #define FFMIN3(a,b,c) FFMIN(FFMIN(a,b),c) argument
64 #define RSHIFT(a,b) ((a) > 0 ? ((a) + ((1<<(b))>>1))>>(b) : ((a) + ((1<<(b))>>1)-1)>>(b)) argument
66 #define ROUNDED_DIV(a,b) (((a)>0 ? (a) + ((b)>>1) : (a) - ((b)>>1))/(b)) argument
/device/soc/rockchip/common/hardware/mpp/include/
Dmpp_common.h25 #define MPP_MAX(a, b) ((a) > (b) ? (a) : (b)) argument
26 #define MPP_MAX3(a, b, c) MPP_MAX(MPP_MAX(a, b), c) argument
27 #define MPP_MAX4(a, b, c, d) MPP_MAX((a), MPP_MAX3((b), (c), (d))) argument
29 #define MPP_MIN(a, b) ((a) > (b) ? (b) : (a)) argument
30 #define MPP_MIN3(a, b, c) MPP_MIN(MPP_MIN(a, b), c) argument
31 #define MPP_MIN4(a, b, c, d) MPP_MIN((a), MPP_MIN3((b), (c), (d))) argument
33 #define MPP_DIV(a, b) ((b) ? (a) / (b) : (a)) argument
37 #define MPP_DIV_SIGN(a, b) (((a) + (MPP_SIGN(a) * (b)) / 2) / (b)) argument
39 #define MPP_SWAP(type, a, b) … argument
41 …type SWAP_tmp = b; …
[all …]
/device/soc/esp/esp32/components/xtensa/include/
Desp_attr.h112 …CE_INLINE_ATTR constexpr TYPE operator| (TYPE a, TYPE b) { return (TYPE)((INT_TYPE)a | (INT_TYPE)b
113 …CE_INLINE_ATTR constexpr TYPE operator& (TYPE a, TYPE b) { return (TYPE)((INT_TYPE)a & (INT_TYPE)b
114 …CE_INLINE_ATTR constexpr TYPE operator^ (TYPE a, TYPE b) { return (TYPE)((INT_TYPE)a ^ (INT_TYPE)b
115 FORCE_INLINE_ATTR constexpr TYPE operator>> (TYPE a, int b) { return (TYPE)((INT_TYPE)a >> b); } \
116 FORCE_INLINE_ATTR constexpr TYPE operator<< (TYPE a, int b) { return (TYPE)((INT_TYPE)a << b); } \
117 FORCE_INLINE_ATTR TYPE& operator|=(TYPE& a, TYPE b) { a = a | b; return a; } \
118 FORCE_INLINE_ATTR TYPE& operator&=(TYPE& a, TYPE b) { a = a & b; return a; } \
119 FORCE_INLINE_ATTR TYPE& operator^=(TYPE& a, TYPE b) { a = a ^ b; return a; } \
120 FORCE_INLINE_ATTR TYPE& operator>>=(TYPE& a, int b) { a >>= b; return a; } \
121 FORCE_INLINE_ATTR TYPE& operator<<=(TYPE& a, int b) { a <<= b; return a; }
/device/soc/esp/esp32/components/spi_flash/sim/stubs/xtensa/
Desp_attr.h111 …CE_INLINE_ATTR constexpr TYPE operator| (TYPE a, TYPE b) { return (TYPE)((INT_TYPE)a | (INT_TYPE)b
112 …CE_INLINE_ATTR constexpr TYPE operator& (TYPE a, TYPE b) { return (TYPE)((INT_TYPE)a & (INT_TYPE)b
113 …CE_INLINE_ATTR constexpr TYPE operator^ (TYPE a, TYPE b) { return (TYPE)((INT_TYPE)a ^ (INT_TYPE)b
114 FORCE_INLINE_ATTR constexpr TYPE operator>> (TYPE a, int b) { return (TYPE)((INT_TYPE)a >> b); } \
115 FORCE_INLINE_ATTR constexpr TYPE operator<< (TYPE a, int b) { return (TYPE)((INT_TYPE)a << b); } \
116 FORCE_INLINE_ATTR TYPE& operator|=(TYPE& a, TYPE b) { a = a | b; return a; } \
117 FORCE_INLINE_ATTR TYPE& operator&=(TYPE& a, TYPE b) { a = a & b; return a; } \
118 FORCE_INLINE_ATTR TYPE& operator^=(TYPE& a, TYPE b) { a = a ^ b; return a; } \
119 FORCE_INLINE_ATTR TYPE& operator>>=(TYPE& a, int b) { a >>= b; return a; } \
120 FORCE_INLINE_ATTR TYPE& operator<<=(TYPE& a, int b) { a <<= b; return a; }
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dbcmsrom.c140 static void _initvars_srom_pci(uint8 sromrev, uint16 *srom, uint off, varbuf_t *b);
2099 varbuf_t b; local
2135 varbuf_init(&b, base, var_cis_size);
2144 b.buf += *count;
2177 varbuf_append(&b, vstr_manf, &cis[i + 2]);
2178 varbuf_append(&b, vstr_productname,
2184 varbuf_append(&b, vstr_manfid, (cis[i + 1] << 8) + cis[i]);
2185 varbuf_append(&b, vstr_prodid, (cis[i + 3] << 8) + cis[i + 2]);
2208 varbuf_append(&b, vstr_sdmaxblk[0],
2210 varbuf_append(&b, vstr_sdmaxspeed,
[all …]
Dsiutils_priv.h247 #define GOODCOREADDR(x, b) (((x) >= (b)) && ((x) < ((b) + SI_MAXCORES * SI_CORE_SIZE)) && \ argument
344 extern void sb_dump(si_t *sih, struct bcmstrbuf *b);
347 extern void sb_dumpregs(si_t *sih, struct bcmstrbuf *b);
405 extern void ai_dumpregs(const si_t *sih, struct bcmstrbuf *b);
425 #define ub_scan(a, b, c) do {} while (0) argument
427 #define ub_setint(a, b) do {} while (0) argument
432 #define ub_setcoreidx(a, b) (0) argument
433 #define ub_core_cflags(a, b, c) (0) argument
434 #define ub_core_cflags_wo(a, b, c) do {} while (0) argument
435 #define ub_core_sflags(a, b, c) (0) argument
[all …]
/device/soc/rockchip/rk3588/hardware/mpp/include/
Dmpp_common.h26 #define MPP_MAX(a, b) ((a) > (b) ? (a) : (b)) argument
27 #define MPP_MAX3(a, b, c) MPP_MAX(MPP_MAX(a,b),c) argument
28 #define MPP_MAX4(a, b, c, d) MPP_MAX((a), MPP_MAX3((b), (c), (d))) argument
30 #define MPP_MIN(a,b) ((a) > (b) ? (b) : (a)) argument
31 #define MPP_MIN3(a,b,c) MPP_MIN(MPP_MIN(a,b),c) argument
32 #define MPP_MIN4(a, b, c, d) MPP_MIN((a), MPP_MIN3((b), (c), (d))) argument
34 #define MPP_DIV(a, b) ((b) ? (a) / (b) : (a)) argument
38 #define MPP_DIV_SIGN(a, b) (((a) + (MPP_SIGN(a) * (b)) / 2) / (b)) argument
40 #define MPP_SWAP(type, a, b) do {type SWAP_tmp = b; b = a; a = SWAP_tmp;} while(0) argument
43 #define MPP_VSWAP(a, b) { a ^= b; b ^= a; a ^= b; } argument
[all …]
/device/soc/rockchip/rk3568/hardware/mpp/include/
Dmpp_common.h25 #define MPP_MAX(a, b) ((a) > (b) ? (a) : (b)) argument
26 #define MPP_MAX3(a, b, c) MPP_MAX(MPP_MAX(a, b), c) argument
27 #define MPP_MAX4(a, b, c, d) MPP_MAX((a), MPP_MAX3((b), (c), (d))) argument
29 #define MPP_MIN(a, b) ((a) > (b) ? (b) : (a)) argument
30 #define MPP_MIN3(a, b, c) MPP_MIN(MPP_MIN(a, b), c) argument
31 #define MPP_MIN4(a, b, c, d) MPP_MIN((a), MPP_MIN3((b), (c), (d))) argument
33 #define MPP_DIV(a, b) ((b) ? (a) / (b) : (a)) argument
37 #define MPP_DIV_SIGN(a, b) (((a) + (MPP_SIGN(a) * (b)) / 2) / (b)) argument
39 #define MPP_SWAP(type, a, b) do {type SWAP_tmp = b; b = a; a = SWAP_tmp; } while (0) argument
42 #define MPP_VSWAP(a, b) { (a) ^= (b); (b) ^= (a); (a) ^= (b); } argument
[all …]
/device/soc/rockchip/rk3399/hardware/mpp/include/
Dmpp_common.h25 #define MPP_MAX(a, b) ((a) > (b) ? (a) : (b)) argument
26 #define MPP_MAX3(a, b, c) MPP_MAX(MPP_MAX(a, b), c) argument
27 #define MPP_MAX4(a, b, c, d) MPP_MAX((a), MPP_MAX3((b), (c), (d))) argument
29 #define MPP_MIN(a, b) ((a) > (b) ? (b) : (a)) argument
30 #define MPP_MIN3(a, b, c) MPP_MIN(MPP_MIN(a, b), c) argument
31 #define MPP_MIN4(a, b, c, d) MPP_MIN((a), MPP_MIN3((b), (c), (d))) argument
33 #define MPP_DIV(a, b) ((b) ? (a) / (b) : (a)) argument
37 #define MPP_DIV_SIGN(a, b) (((a) + (MPP_SIGN(a) * (b)) / 2) / (b)) argument
39 #define MPP_SWAP(type, a, b) do {type SWAP_tmp = b; b = a; a = SWAP_tmp; } while (0) argument
42 #define MPP_VSWAP(a, b) { (a) ^= (b); (b) ^= (a); (a) ^= (b); } argument
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/
Dethernet.h155 #define eacmp(a, b) (((*(const uint32 *)(a)) ^ (*(const uint32 *)(b))) || \ argument
157 (*(const uint16 *)(((const uint8 *)(b)) + 4))))
159 #define ehcmp(a, b) ((((const uint32 *)(a))[0] ^ ((const uint32 *)(b))[0]) || \ argument
160 (((const uint32 *)(a))[1] ^ ((const uint32 *)(b))[1]) || \
161 (((const uint32 *)(a))[2] ^ ((const uint32 *)(b))[2]) || \
163 (*(const uint16 *)(((const uint32 *)(b)) + 3))))
165 #define eacmp(a, b) ((((const uint16 *)(a))[0] ^ ((const uint16 *)(b))[0]) | \ argument
166 (((const uint16 *)(a))[1] ^ ((const uint16 *)(b))[1]) | \
167 (((const uint16 *)(a))[2] ^ ((const uint16 *)(b))[2]))
169 #define ehcmp(a, b) ((((const uint16 *)(a))[0] ^ ((const uint16 *)(b))[0]) | \ argument
[all …]
/device/soc/telink/b91/adapter/hals/mbedtls/src/mbedtls/internal/compatibility/
Dbn_mul.h45 #define MBEDTLS_BYTES_TO_T_UINT_4(a, b, c, d) \ argument
46 ((mbedtls_mpi_uint)(a) << 0) | ((mbedtls_mpi_uint)(b) << 8) | ((mbedtls_mpi_uint)(c) << 16) | \
49 #define MBEDTLS_BYTES_TO_T_UINT_2(a, b) MBEDTLS_BYTES_TO_T_UINT_4(a, b, 0, 0) argument
51 #define MBEDTLS_BYTES_TO_T_UINT_8(a, b, c, d, e, f, g, h) \ argument
52 MBEDTLS_BYTES_TO_T_UINT_4(a, b, c, d), MBEDTLS_BYTES_TO_T_UINT_4(e, f, g, h)
56 #define MBEDTLS_BYTES_TO_T_UINT_8(a, b, c, d, e, f, g, h) … argument
57 …(((mbedtls_mpi_uint)(a) << 0) | ((mbedtls_mpi_uint)(b) << 8) | ((mbedtls_mpi_uint)(c) << 16) | …
61 #define MBEDTLS_BYTES_TO_T_UINT_4(a, b, c, d) MBEDTLS_BYTES_TO_T_UINT_8(a, b, c, d, 0, 0, 0, 0) argument
63 #define MBEDTLS_BYTES_TO_T_UINT_2(a, b) MBEDTLS_BYTES_TO_T_UINT_8(a, b, 0, 0, 0, 0, 0, 0) argument
174 : "m" (t), "m" (s), "m" (d), "m" (c), "m" (b) \
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/src/fw/
Dacamera_math.h53 #define ACAMERA_MIN( a, b ) ( ( a ) >= b ? ( b ) : ( a ) ) argument
54 #define ACAMERA_MAX( a, b ) ( ( a ) >= b ? ( a ) : ( b ) ) argument
55 #define ACAMERA_ABSDIFF( a, b ) ( ( a ) > ( b ) ? ( a - b ) : ( b - a ) ) argument
60 #define MIN( a, b ) ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) ) argument
63 #define MAX( a, b ) ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) ) argument
93 uint32_t acamera_multiplication_fixed_to_fixed( uint32_t a, uint32_t b, const int x1, const int x2 …
98 uint32_t acamera_div_fixed( uint32_t a, uint32_t b, int16_t a_fraction_size );
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/subdev/lens/src/fw/
Dacamera_math.h53 #define ACAMERA_MIN( a, b ) ( ( a ) >= b ? ( b ) : ( a ) ) argument
54 #define ACAMERA_MAX( a, b ) ( ( a ) >= b ? ( a ) : ( b ) ) argument
55 #define ACAMERA_ABSDIFF( a, b ) ( ( a ) > ( b ) ? ( a - b ) : ( b - a ) ) argument
60 #define MIN( a, b ) ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) ) argument
63 #define MAX( a, b ) ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) ) argument
93 uint32_t acamera_multiplication_fixed_to_fixed( uint32_t a, uint32_t b, const int x1, const int x2 …
98 uint32_t acamera_div_fixed( uint32_t a, uint32_t b, int16_t a_fraction_size );
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/subdev/iq/src/fw/
Dacamera_math.h53 #define ACAMERA_MIN( a, b ) ( ( a ) >= b ? ( b ) : ( a ) ) argument
54 #define ACAMERA_MAX( a, b ) ( ( a ) >= b ? ( a ) : ( b ) ) argument
55 #define ACAMERA_ABSDIFF( a, b ) ( ( a ) > ( b ) ? ( a - b ) : ( b - a ) ) argument
60 #define MIN( a, b ) ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) ) argument
63 #define MAX( a, b ) ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) ) argument
93 uint32_t acamera_multiplication_fixed_to_fixed( uint32_t a, uint32_t b, const int x1, const int x2 …
98 uint32_t acamera_div_fixed( uint32_t a, uint32_t b, int16_t a_fraction_size );
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/subdev/sensor/src/fw/
Dacamera_math.h54 #define ACAMERA_MIN( a, b ) ( ( a ) >= b ? ( b ) : ( a ) ) argument
55 #define ACAMERA_MAX( a, b ) ( ( a ) >= b ? ( a ) : ( b ) ) argument
56 #define ACAMERA_ABSDIFF( a, b ) ( ( a ) > ( b ) ? ( a - b ) : ( b - a ) ) argument
61 #define MIN( a, b ) ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) ) argument
64 #define MAX( a, b ) ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) ) argument
94 uint32_t acamera_multiplication_fixed_to_fixed( uint32_t a, uint32_t b, const int x1, const int x2 …
99 uint32_t acamera_div_fixed( uint32_t a, uint32_t b, int16_t a_fraction_size );
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/security/
Dhal_sha.h50 #define PUT_UINT32_BE(n,b,i) \ argument
52 (b)[(i) ] = (unsigned char) ( (n) >> 24 ); \
53 (b)[(i) + 1] = (unsigned char) ( (n) >> 16 ); \
54 (b)[(i) + 2] = (unsigned char) ( (n) >> 8 ); \
55 (b)[(i) + 3] = (unsigned char) ( (n) ); \
60 #define PUT_UINT32_LE(n,b,i) \ argument
62 (b)[(i) ] = (unsigned char) ( ( (n) ) & 0xFF ); \
63 (b)[(i) + 1] = (unsigned char) ( ( (n) >> 8 ) & 0xFF ); \
64 (b)[(i) + 2] = (unsigned char) ( ( (n) >> 16 ) & 0xFF ); \
65 (b)[(i) + 3] = (unsigned char) ( ( (n) >> 24 ) & 0xFF ); \
/device/soc/telink/b91/b91_ble_sdk/common/
Dutility.h27 #define min(a, b) ((a) < (b) ? (a) : (b)) argument
31 #define max(a, b) ((a) > (b) ? (a) : (b)) argument
35 #define min2(a, b) ((a) < (b) ? (a) : (b)) argument
39 #define min3(a, b, c) min2(min2(a, b), c) argument
43 #define max2(a, b) ((a) > (b) ? (a) : (b)) argument
47 #define max3(a, b, c) max2(max2(a, b), c) argument
76 #define MAKE_U24(a, b, c) ((unsigned int)(((a) << 16) | ((b) << 8) | (c))) argument
77 #define MAKE_U32(a, b, c, d) ((unsigned int)(((a) << 24) | ((b) << 16) | ((c) << 8) | (d))) argument
108 #define SORT2(a, b, T) … argument
110 …if ((a) > (b)) …
[all …]

12345678910>>...38