Lines Matching defs:pd

117 static struct osdp_event *pd_event_alloc(struct osdp_pd *pd)  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()
151 static int pd_translate_event(struct osdp_pd *pd, struct osdp_event *event) in pd_translate_event()
182 static bool do_command_callback(struct osdp_pd *pd, struct osdp_cmd *cmd) in do_command_callback()
195 static int pd_cmd_cap_ok(struct osdp_pd *pd, struct osdp_cmd *cmd) in pd_cmd_cap_ok()
258 static int pd_decode_command(struct osdp_pd *pd, uint8_t *buf, int len) in pd_decode_command()
573 static int pd_build_reply(struct osdp_pd *pd, uint8_t *buf, int max_len) in pd_build_reply()
807 static int pd_send_reply(struct osdp_pd *pd) in pd_send_reply()
850 static int pd_decode_packet(struct osdp_pd *pd, int *one_pkt_len) in pd_decode_packet()
884 static int pd_receive_and_process_command(struct osdp_pd *pd) in pd_receive_and_process_command()
939 static inline void pd_error_reset(struct osdp_pd *pd) in pd_error_reset()
951 struct osdp_pd *pd = osdp_to_pd(ctx, 0); in osdp_update() local
1006 static void osdp_pd_set_attributes(struct osdp_pd *pd, struct osdp_pd_cap *cap, in osdp_pd_set_attributes()
1028 struct osdp_pd *pd; in osdp_setup() local
1052 struct osdp_pd *pd = osdp_to_pd(osdp_get_ctx(), 0); in osdp_pd_set_command_callback() local
1061 struct osdp_pd *pd = osdp_to_pd(osdp_get_ctx(), 0); in osdp_pd_notify_event() local