Home
last modified time | relevance | path

Searched defs:b (Results 1 – 25 of 226) sorted by relevance

12345678910

/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/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
47 #define MPP_VSWAP(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/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/arch/riscv32/
Dsyscall_arch.h25 static inline long __syscall2(long n, long a, long b) in __syscall2()
33 static inline long __syscall3(long n, long a, long b, long c) in __syscall3()
42 static inline long __syscall4(long n, long a, long b, long c, long d) in __syscall4()
52 static inline long __syscall5(long n, long a, long b, long c, long d, long e) in __syscall5()
63 static inline long __syscall6(long n, long a, long b, long c, long d, long e, long f) in __syscall6()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dsiutils_priv.h181 #define GOODCOREADDR(x, b) (((x) >= (b)) && ((x) < ((b) + SI_MAXCORES * SI_CORE_SIZE)) && \ argument
336 #define ub_scan(a, b, c) do {} while (0) argument
338 #define ub_setint(a, b) do {} while (0) argument
343 #define ub_setcoreidx(a, b) (0) argument
344 #define ub_core_cflags(a, b, c) (0) argument
345 #define ub_core_cflags_wo(a, b, c) do {} while (0) argument
346 #define ub_core_sflags(a, b, c) (0) argument
347 #define ub_corereg(a, b, c, d, e) (0) argument
348 #define ub_core_reset(a, b, c) do {} while (0) argument
349 #define ub_core_disable(a, b) do {} while (0) argument
[all …]
Ddhd_proto.h202 #define dhd_prot_send_host_timestamp(a, b, c, d, e) 0 argument
203 #define dhd_prot_data_path_tx_timestamp_logging(a, b, c) 0 argument
204 #define dhd_prot_data_path_rx_timestamp_logging(a, b, c) 0 argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
Dmali_kbase_fence_defs.h35 #define dma_fence_init(a, b, c, d, e) fence_init(a, b, c, d, e) argument
40 #define dma_fence_add_callback(a, b, c) fence_add_callback(a, b, c) argument
41 #define dma_fence_remove_callback(a, b) fence_remove_callback(a, b) argument
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
Dmali_kbase_fence_defs.h33 #define dma_fence_init(a, b, c, d, e) fence_init(a, b, c, d, e) argument
38 #define dma_fence_add_callback(a, b, c) fence_add_callback(a, b, c) argument
39 #define dma_fence_remove_callback(a, b) fence_remove_callback(a, b) argument
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
Dbcmtcp.h88 #define IS_TCPSEQ_GE(a, b) ((a - b) < NBITVAL(31)) /* a >= b */ argument
89 #define IS_TCPSEQ_LE(a, b) ((b - a) < NBITVAL(31)) /* a =< b */ argument
90 #define IS_TCPSEQ_GT(a, b) !IS_TCPSEQ_LE(a, b) /* a > b */ argument
91 #define IS_TCPSEQ_LT(a, b) !IS_TCPSEQ_GE(a, b) /* a < b */ argument
Dlinuxver.h389 #define rtc_time_to_tm(a, b) rtc_time64_to_tm(a, b) argument
391 #define rtc_time_to_tm(a, b) rtc_time_to_tm(a, b) argument
486 #define PCI_SAVE_STATE(a, b) pci_save_state(a) argument
487 #define PCI_RESTORE_STATE(a, b) pci_restore_state(a) argument
489 #define PCI_SAVE_STATE(a, b) pci_save_state(a, b) argument
490 #define PCI_RESTORE_STATE(a, b) pci_restore_state(a, b) argument
870 #define kfifo_in_spinlocked(a, b, c, d) kfifo_put(a, (u8 *)b, c) argument
871 #define kfifo_out_spinlocked(a, b, c, d) kfifo_get(a, (u8 *)b, c) argument
875 #define kfifo_in_spinlocked(a, b, c, d) kfifo_in_locked(a, b, c, d) argument
876 #define kfifo_out_spinlocked(a, b, c, d) kfifo_out_locked(a, b, c, d) argument
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
Dparams.h18 #define ISPP_PACK_4BYTE(a, b, c, d) (((a)&0xFF) << 0 | ((b)&0xFF) << 8 | ((c)&0xFF) << 16 | ((d)&0x… argument
20 #define ISPP_PACK_4BIT(a, b, c, d, e, f, g, h) … argument
24 #define ISPP_PACK_4BYTE(a, b, c, d) (((a)&0xFF) << 0 | ((b)&0xFF) << 8 | ((c)&0xFF) << 16 | ((d)&0x… argument
26 #define ISPP_PACK_2SHORT(a, b) (((a)&0xFFFF) << 0 | ((b)&0xFFFF) << 16) argument
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/
Dparams.h18 #define ISPP_PACK_4BYTE(a, b, c, d) \ argument
22 #define ISPP_PACK_4BIT(a, b, c, d, e, f, g, h) \ argument
28 #define ISPP_PACK_4BYTE(a, b, c, d) \ argument
32 #define ISPP_PACK_2SHORT(a, b) \ argument
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
Dmali_kbase_fence_defs.h38 #define dma_fence_init(a, b, c, d, e) fence_init(a, b, c, d, e) argument
43 #define dma_fence_add_callback(a, b, c) fence_add_callback(a, b, c) argument
44 #define dma_fence_remove_callback(a, b) fence_remove_callback(a, b) argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
Dmali_kbase_fence_defs.h37 #define dma_fence_init(a, b, c, d, e) fence_init(a, b, c, d, e) argument
42 #define dma_fence_add_callback(a, b, c) fence_add_callback(a, b, c) argument
43 #define dma_fence_remove_callback(a, b) fence_remove_callback(a, b) argument
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/arch/generic/bits/
Dioctl.h1 #define _IOC(a,b,c,d) ( ((a)<<30) | ((b)<<8) | (c) | ((d)<<16) ) argument
6 #define _IO(a,b) _IOC(_IOC_NONE,(a),(b),0) argument
7 #define _IOW(a,b,c) _IOC(_IOC_WRITE,(a),(b),sizeof(c)) argument
8 #define _IOR(a,b,c) _IOC(_IOC_READ,(a),(b),sizeof(c)) argument
9 #define _IOWR(a,b,c) _IOC(_IOC_READ|_IOC_WRITE,(a),(b),sizeof(c)) argument
/device/soc/rockchip/rk3588/kernel/include/uapi/linux/
Drk-video-format.h9 #define v4l2_fourcc(a, b, c, d)\ argument
11 #define v4l2_fourcc_be(a, b, c, d) (v4l2_fourcc(a, b, c, d) | (1U << 31)) argument
/device/soc/rockchip/common/sdk_linux/include/uapi/linux/
Drk-video-format.h9 #define v4l2_fourcc(a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | ((__u32)(c) << 16) | ((__u32)(d) … argument
10 #define v4l2_fourcc_be(a, b, c, d) (v4l2_fourcc(a, b, c, d) | (1U << 31)) argument
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/
Dcoap_time.h156 COAP_STATIC_INLINE int coap_time_lt(coap_tick_t a, coap_tick_t b) { in coap_time_lt()
164 COAP_STATIC_INLINE int coap_time_le(coap_tick_t a, coap_tick_t b) { in coap_time_le()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
Ddef.h57 #define LWIP_MAKEU32(a, b, c, d) (((u32_t)((a) & 0xff) << 24) | \ argument
65 #define LWIP_MAKE_U16(a, b) (((a) << 8) | (b)) argument
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
Dhi_types_base.h339 #define hi_makeu16(a, b) ((hi_u16)(((hi_u8)(a)) | ((hi_u16)((hi_u8)(b))) << 8)) argument
340 #define hi_makeu32(a, b) ((hi_u32)(((hi_u16)(a)) | ((hi_u32)((hi_u16)(b))) << 16)) argument
341 #define hi_makeu64(a, b) ((hi_u64)(((hi_u32)(a)) | ((hi_u64)((hi_u32)(b))) <<32)) argument
342 #define hi_joinu32(a, b, c, d) ((a) | ((hi_u32)(b) << 8) | ((hi_u32)(c) << 16) | ((hi_u32)(d) << 24… argument
352 #define hi_max(a, b) (((a) > (b)) ? (a) : (b)) argument
353 #define hi_min(a, b) (((a) < (b)) ? (a) : (b)) argument
354 #define hi_sub(a, b) (((a) > (b)) ? ((a) - (b)) : 0) argument
355 #define hi_abs_sub(a, b) (((a) > (b)) ? ((a) - (b)) : ((b) - (a))) argument
382 #define hi_make_identifier(a, b, c, d) hi_makeu32(hi_makeu16(a, b), hi_makeu16(c, d)) argument
383 #define hi_make_ver16(spc, b) ((hi_u16)(((hi_u8)((spc)&0x0F)) | ((hi_u16)((hi_u8)(b))) <… argument
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/
Dhi_types_base.h342 #define hi_makeu16(a, b) ((hi_u16)(((hi_u8)(a)) | ((hi_u16)((hi_u8)(b))) << 8)) argument
343 #define hi_makeu32(a, b) ((hi_u32)(((hi_u16)(a)) | ((hi_u32)((hi_u16)(b))) << 16)) argument
344 #define hi_makeu64(a, b) ((hi_u64)(((hi_u32)(a)) | ((hi_u64)((hi_u32)(b))) <<32)) argument
345 #define hi_joinu32(a, b, c, d) ((a) | ((hi_u32)(b) << 8) | ((hi_u32)(c) << 16) | ((hi_u32)(d) << 24… argument
355 #define hi_max(a, b) (((a) > (b)) ? (a) : (b)) argument
356 #define hi_min(a, b) (((a) < (b)) ? (a) : (b)) argument
357 #define hi_sub(a, b) (((a) > (b)) ? ((a) - (b)) : 0) argument
358 #define hi_abs_sub(a, b) (((a) > (b)) ? ((a) - (b)) : ((b) - (a))) argument
385 #define hi_make_identifier(a, b, c, d) hi_makeu32(hi_makeu16(a, b), hi_makeu16(c, d)) argument
386 #define hi_make_ver16(spc, b) ((hi_u16)(((hi_u8)((spc)&0x0F)) | ((hi_u16)((hi_u8)(b)… argument
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/sys/
Dparam.h18 #define MIN(a,b) (((a)<(b))?(a):(b)) argument
19 #define MAX(a,b) (((a)>(b))?(a):(b)) argument
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/adapt/
Dhi_math_adapt.h142 #define rgb(r, g, b) ((((r) & 0xff) << 16) | (((g) & 0xff) << 8) | ((b) & 0xff)) argument
172 __inline static hi_void rgb2_yc(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 *pcr) in rgb2_yc()
193 __inline static hi_void rgb2_yc_full(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 … in rgb2_yc_full()
219 __inline static hi_void rgb2_yc_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 *pcr) in rgb2_yc_8_bit()
240 __inline static hi_void rgb2_yc_full_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 … in rgb2_yc_full_8_bit()
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/adapt/
Dhi_math_adapt.h142 #define rgb(r, g, b) ((((r) & 0xff) << 16) | (((g) & 0xff) << 8) | ((b) & 0xff)) argument
172 __inline static hi_void rgb2_yc(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 *pcr) in rgb2_yc()
193 __inline static hi_void rgb2_yc_full(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 … in rgb2_yc_full()
219 __inline static hi_void rgb2_yc_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 *pcr) in rgb2_yc_8_bit()
240 __inline static hi_void rgb2_yc_full_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 … in rgb2_yc_full_8_bit()

12345678910