Searched refs:header_ptr (Results 1 – 2 of 2) sorted by relevance
281 #define HIL_IDD_AXIS_COUNTS_PER_M(header_ptr) \ argument282 (!(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) \ argument288 ((!(*(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 …]
1181 u8 __user *header_ptr; in ib_uverbs_poll_cq() local1196 header_ptr = attrs->ucore.outbuf; in ib_uverbs_poll_cq()1197 data_ptr = header_ptr + sizeof resp; in ib_uverbs_poll_cq()1215 if (copy_to_user(header_ptr, &resp, sizeof resp)) { in ib_uverbs_poll_cq()