Home
last modified time | relevance | path

Searched refs:header_ptr (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/include/linux/
Dhil.h281 #define HIL_IDD_AXIS_COUNTS_PER_M(header_ptr) \ argument
282 (!(HIL_IDD_NUM_AXSETS(*(header_ptr))) ? -1 : \
283 (((*(header_ptr + 1) & HIL_PKT_DATA_MASK) + \
284 ((*(header_ptr + 2) & HIL_PKT_DATA_MASK)) << 8) \
285 * ((*(header_ptr) & HIL_IDD_HEADER_16BIT) ? 100 : 1)))
287 #define HIL_IDD_AXIS_MAX(header_ptr, __axnum) \ argument
288 ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || \
289 (HIL_IDD_NUM_AXES_PER_SET(*(header_ptr)) <= __axnum)) ? 0 : \
290 ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + \
291 ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8)))
[all …]
/Linux-v4.19/drivers/infiniband/core/
Duverbs_cmd.c1243 u8 __user *header_ptr; in ib_uverbs_poll_cq() local
1257 header_ptr = u64_to_user_ptr(cmd.response); in ib_uverbs_poll_cq()
1258 data_ptr = header_ptr + sizeof resp; in ib_uverbs_poll_cq()
1276 if (copy_to_user(header_ptr, &resp, sizeof resp)) { in ib_uverbs_poll_cq()