Lines Matching full:pd
133 struct osdp_pd *pd; in osdp_build_ctx() local
145 ctx->pd = &osdp_pd_ctx[0]; in osdp_build_ctx()
149 pd = osdp_to_pd(ctx, i); in osdp_build_ctx()
150 pd->idx = i; in osdp_build_ctx()
151 pd->seq_number = -1; in osdp_build_ctx()
152 pd->osdp_ctx = ctx; in osdp_build_ctx()
153 pd->address = pd_adddres[i]; in osdp_build_ctx()
154 pd->baud_rate = CONFIG_OSDP_UART_BAUD_RATE; in osdp_build_ctx()
156 SET_FLAG(pd, PD_FLAG_PKT_SKIP_MARK); in osdp_build_ctx()
158 memcpy(&pd->channel, channel, sizeof(struct osdp_channel)); in osdp_build_ctx()
159 k_mem_slab_init(&pd->cmd.slab, pd->cmd.slab_buf, sizeof(union osdp_ephemeral_data), in osdp_build_ctx()