OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:HIL_IDD_NUM_AXES_PER_SET
(Results
1 - 25
of
34
) sorted by null
1
2
/bionic/libc/kernel/common/linux/
hil.h
225
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
227
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
230
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/development/ndk/platforms/android-3/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/external/kernel-headers/original/linux/
hil.h
264
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) \
272
2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + \
273
2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * \
289
(
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : \
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/7/platforms/android-3/arch-arm/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/7/platforms/android-3/arch-x86/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/7/platforms/android-4/arch-x86/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/7/platforms/android-5/arch-arm/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/7/platforms/android-5/arch-x86/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/7/platforms/android-8/arch-arm/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/7/platforms/android-8/arch-x86/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/7/platforms/android-9/arch-arm/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
/prebuilts/ndk/8/platforms/android-14/arch-arm/usr/include/linux/
hil.h
194
#define
HIL_IDD_NUM_AXES_PER_SET
(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK)
198
#define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(
HIL_IDD_NUM_AXES_PER_SET
(header_packet))) + 2 *
HIL_IDD_NUM_AXES_PER_SET
(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS))
202
#define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (
HIL_IDD_NUM_AXES_PER_SET
(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
Completed in 222 milliseconds
1
2