Lines Matching defs:pd
62 static struct osdp_cmd *cp_cmd_alloc(struct osdp_pd *pd) in cp_cmd_alloc()
73 static void cp_cmd_free(struct osdp_pd *pd, struct osdp_cmd *cmd) in cp_cmd_free()
78 static void cp_cmd_enqueue(struct osdp_pd *pd, struct osdp_cmd *cmd) in cp_cmd_enqueue()
83 static int cp_cmd_dequeue(struct osdp_pd *pd, struct osdp_cmd **cmd) in cp_cmd_dequeue()
126 static int cp_build_command(struct osdp_pd *pd, uint8_t *buf, int max_len) in cp_build_command()
345 static int cp_decode_response(struct osdp_pd *pd, uint8_t *buf, int len) in cp_decode_response()
563 static int cp_build_packet(struct osdp_pd *pd) in cp_build_packet()
591 static int cp_send_command(struct osdp_pd *pd) in cp_send_command()
617 static int cp_process_reply(struct osdp_pd *pd) in cp_process_reply()
671 static void cp_flush_command_queue(struct osdp_pd *pd) in cp_flush_command_queue()
680 static inline void cp_set_state(struct osdp_pd *pd, enum osdp_cp_state_e state) in cp_set_state()
686 static inline void cp_set_online(struct osdp_pd *pd) in cp_set_online()
693 static inline void cp_set_offline(struct osdp_pd *pd) in cp_set_offline()
709 static inline bool cp_sc_should_retry(struct osdp_pd *pd) in cp_sc_should_retry()
716 static int cp_phy_state_update(struct osdp_pd *pd) in cp_phy_state_update()
799 static int cp_cmd_dispatcher(struct osdp_pd *pd, int cmd) in cp_cmd_dispatcher()
824 static int state_update(struct osdp_pd *pd) in state_update()
999 struct osdp_pd *pd; in osdp_cp_send_command_keyset() local
1037 void cp_keyset_complete(struct osdp_pd *pd) in cp_keyset_complete()
1084 int osdp_cp_send_command(int pd, struct osdp_cmd *cmd) in osdp_cp_send_command()