Lines Matching refs:cu

514 	p->interval_min = sys_cpu_to_le16(ctx->data.cu.interval_min);  in encode_conn_param_req_rsp_common()
515 p->interval_max = sys_cpu_to_le16(ctx->data.cu.interval_max); in encode_conn_param_req_rsp_common()
516 p->latency = sys_cpu_to_le16(ctx->data.cu.latency); in encode_conn_param_req_rsp_common()
517 p->timeout = sys_cpu_to_le16(ctx->data.cu.timeout); in encode_conn_param_req_rsp_common()
518 p->preferred_periodicity = ctx->data.cu.preferred_periodicity; in encode_conn_param_req_rsp_common()
519 p->reference_conn_event_count = sys_cpu_to_le16(ctx->data.cu.reference_conn_event_count); in encode_conn_param_req_rsp_common()
520 p->offset0 = sys_cpu_to_le16(ctx->data.cu.offsets[0]); in encode_conn_param_req_rsp_common()
521 p->offset1 = sys_cpu_to_le16(ctx->data.cu.offsets[1]); in encode_conn_param_req_rsp_common()
522 p->offset2 = sys_cpu_to_le16(ctx->data.cu.offsets[2]); in encode_conn_param_req_rsp_common()
523 p->offset3 = sys_cpu_to_le16(ctx->data.cu.offsets[3]); in encode_conn_param_req_rsp_common()
524 p->offset4 = sys_cpu_to_le16(ctx->data.cu.offsets[4]); in encode_conn_param_req_rsp_common()
525 p->offset5 = sys_cpu_to_le16(ctx->data.cu.offsets[5]); in encode_conn_param_req_rsp_common()
546 ctx->data.cu.interval_min = sys_le16_to_cpu(p->interval_min); in decode_conn_param_req_rsp_common()
547 ctx->data.cu.interval_max = sys_le16_to_cpu(p->interval_max); in decode_conn_param_req_rsp_common()
548 ctx->data.cu.latency = sys_le16_to_cpu(p->latency); in decode_conn_param_req_rsp_common()
549 ctx->data.cu.timeout = sys_le16_to_cpu(p->timeout); in decode_conn_param_req_rsp_common()
550 ctx->data.cu.preferred_periodicity = p->preferred_periodicity; in decode_conn_param_req_rsp_common()
551 ctx->data.cu.reference_conn_event_count = sys_le16_to_cpu(p->reference_conn_event_count); in decode_conn_param_req_rsp_common()
552 ctx->data.cu.offsets[0] = sys_le16_to_cpu(p->offset0); in decode_conn_param_req_rsp_common()
553 ctx->data.cu.offsets[1] = sys_le16_to_cpu(p->offset1); in decode_conn_param_req_rsp_common()
554 ctx->data.cu.offsets[2] = sys_le16_to_cpu(p->offset2); in decode_conn_param_req_rsp_common()
555 ctx->data.cu.offsets[3] = sys_le16_to_cpu(p->offset3); in decode_conn_param_req_rsp_common()
556 ctx->data.cu.offsets[4] = sys_le16_to_cpu(p->offset4); in decode_conn_param_req_rsp_common()
557 ctx->data.cu.offsets[5] = sys_le16_to_cpu(p->offset5); in decode_conn_param_req_rsp_common()
582 p->win_size = ctx->data.cu.win_size; in llcp_pdu_encode_conn_update_ind()
583 p->win_offset = sys_cpu_to_le16(ctx->data.cu.win_offset_us / CONN_INT_UNIT_US); in llcp_pdu_encode_conn_update_ind()
584 p->latency = sys_cpu_to_le16(ctx->data.cu.latency); in llcp_pdu_encode_conn_update_ind()
585 p->interval = sys_cpu_to_le16(ctx->data.cu.interval_max); in llcp_pdu_encode_conn_update_ind()
586 p->timeout = sys_cpu_to_le16(ctx->data.cu.timeout); in llcp_pdu_encode_conn_update_ind()
587 p->instant = sys_cpu_to_le16(ctx->data.cu.instant); in llcp_pdu_encode_conn_update_ind()
595 ctx->data.cu.win_size = p->win_size; in llcp_pdu_decode_conn_update_ind()
596 ctx->data.cu.win_offset_us = sys_le16_to_cpu(p->win_offset) * CONN_INT_UNIT_US; in llcp_pdu_decode_conn_update_ind()
597 ctx->data.cu.latency = sys_le16_to_cpu(p->latency); in llcp_pdu_decode_conn_update_ind()
598 ctx->data.cu.interval_max = sys_le16_to_cpu(p->interval); in llcp_pdu_decode_conn_update_ind()
599 ctx->data.cu.timeout = sys_le16_to_cpu(p->timeout); in llcp_pdu_decode_conn_update_ind()
600 ctx->data.cu.instant = sys_le16_to_cpu(p->instant); in llcp_pdu_decode_conn_update_ind()