Searched refs:COUNTER_MASK (Results 1 – 3 of 3) sorted by relevance
/drivers/staging/rdma/hfi1/ |
D | mad.h | 317 #define COUNTER_MASK(q, n) (q << ((9 - n) * 3)) macro 319 cpu_to_be32(COUNTER_MASK(1, 0) | \ 320 COUNTER_MASK(1, 1) | \ 321 COUNTER_MASK(1, 2) | \ 322 COUNTER_MASK(1, 3) | \ 323 COUNTER_MASK(1, 4))
|
/drivers/infiniband/hw/qib/ |
D | qib_mad.h | 292 #define COUNTER_MASK(q, n) (q << ((9 - n) * 3)) macro 294 cpu_to_be32(COUNTER_MASK(1, 0) | \ 295 COUNTER_MASK(1, 1) | \ 296 COUNTER_MASK(1, 2) | \ 297 COUNTER_MASK(1, 3) | \ 298 COUNTER_MASK(1, 4))
|
/drivers/staging/rdma/ipath/ |
D | ipath_mad.c | 827 #define COUNTER_MASK(q, n) (q << ((9 - n) * 3)) macro 828 #define COUNTER_MASK0_9 cpu_to_be32(COUNTER_MASK(1, 0) | \ 829 COUNTER_MASK(1, 1) | \ 830 COUNTER_MASK(1, 2) | \ 831 COUNTER_MASK(1, 3) | \ 832 COUNTER_MASK(1, 4))
|