Lines Matching refs:dest
219 int qrtr_decode(struct qrtr_packet *dest, void *buf, size_t len, in qrtr_decode() argument
228 dest->type = le32_to_cpu(ctrl->cmd); in qrtr_decode()
229 switch (dest->type) { in qrtr_decode()
231 dest->node = le32_to_cpu(ctrl->client.node); in qrtr_decode()
234 dest->node = le32_to_cpu(ctrl->client.node); in qrtr_decode()
235 dest->port = le32_to_cpu(ctrl->client.port); in qrtr_decode()
239 dest->node = le32_to_cpu(ctrl->server.node); in qrtr_decode()
240 dest->port = le32_to_cpu(ctrl->server.port); in qrtr_decode()
241 dest->service = le32_to_cpu(ctrl->server.service); in qrtr_decode()
242 dest->version = le32_to_cpu(ctrl->server.instance) & 0xff; in qrtr_decode()
243 dest->instance = le32_to_cpu(ctrl->server.instance) >> 8; in qrtr_decode()
246 dest->type = 0; in qrtr_decode()
249 dest->type = QRTR_TYPE_DATA; in qrtr_decode()
250 dest->node = sq->sq_node; in qrtr_decode()
251 dest->port = sq->sq_port; in qrtr_decode()
253 dest->data = buf; in qrtr_decode()
254 dest->data_len = len; in qrtr_decode()