Lines Matching refs:osdp_event
117 static struct osdp_event *pd_event_alloc(struct osdp_pd *pd) in pd_event_alloc()
119 struct osdp_event *event = NULL; in pd_event_alloc()
128 static void pd_event_free(struct osdp_pd *pd, struct osdp_event *event) in pd_event_free()
133 static void pd_event_enqueue(struct osdp_pd *pd, struct osdp_event *event) in pd_event_enqueue()
138 static int pd_event_dequeue(struct osdp_pd *pd, struct osdp_event **event) in pd_event_dequeue()
147 *event = CONTAINER_OF(node, struct osdp_event, node); in pd_event_dequeue()
151 static int pd_translate_event(struct osdp_pd *pd, struct osdp_event *event) in pd_translate_event()
178 memcpy(pd->ephemeral_data, event, sizeof(struct osdp_event)); in pd_translate_event()
263 struct osdp_event *event; in pd_decode_command()
578 struct osdp_event *event; in pd_build_reply()
655 event = (struct osdp_event *)pd->ephemeral_data; in pd_build_reply()
669 event = (struct osdp_event *)pd->ephemeral_data; in pd_build_reply()
685 event = (struct osdp_event *)pd->ephemeral_data; in pd_build_reply()
1058 int osdp_pd_notify_event(const struct osdp_event *event) in osdp_pd_notify_event()
1060 struct osdp_event *ev; in osdp_pd_notify_event()
1068 memcpy(ev, event, sizeof(struct osdp_event)); in osdp_pd_notify_event()