Lines Matching refs:dest
125 static void aggregate_4bit(uint32_t * dest, uint32_t val)
127 if ((((*dest) + val) < (*dest)) || ((*dest) + val) > 0xf)
128 (*dest) = 0xf;
130 (*dest) = (*dest) + val;
133 static void aggregate_8bit(uint32_t * dest, uint32_t val)
135 if ((((*dest) + val) < (*dest))
136 || ((*dest) + val) > 0xff)
137 (*dest) = 0xff;
139 (*dest) = (*dest) + val;
142 static void aggregate_16bit(uint32_t * dest, uint32_t val)
144 if ((((*dest) + val) < (*dest))
145 || ((*dest) + val) > 0xffff)
146 (*dest) = 0xffff;
148 (*dest) = (*dest) + val;
151 static void aggregate_32bit(uint32_t * dest, uint32_t val)
153 if (((*dest) + val) < (*dest))
154 (*dest) = 0xffffffff;
156 (*dest) = (*dest) + val;
159 static void aggregate_64bit(uint64_t * dest, uint64_t val)
161 if (((*dest) + val) < (*dest))
162 (*dest) = 0xffffffffffffffffULL;
164 (*dest) = (*dest) + val;
529 static uint8_t *ext_speeds_reset_via(void *rcvbuf, ib_portid_t * dest,
534 int lid = dest->lid;
558 if (!dest->qp)
559 dest->qp = 1;
560 if (!dest->qkey)
561 dest->qkey = IB_DEFAULT_QP1_QKEY;
563 return mad_rpc(srcport, &rpc, dest, rcvbuf, rcvbuf);