Lines Matching refs:osdp_cmd
62 static struct osdp_cmd *cp_cmd_alloc(struct osdp_pd *pd) in cp_cmd_alloc()
64 struct osdp_cmd *cmd = NULL; 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()
92 *cmd = CONTAINER_OF(node, struct osdp_cmd, node); in cp_cmd_dequeue()
128 struct osdp_cmd *cmd = NULL; in cp_build_command()
197 cmd = (struct osdp_cmd *)pd->ephemeral_data; in cp_build_command()
208 cmd = (struct osdp_cmd *)pd->ephemeral_data; in cp_build_command()
231 cmd = (struct osdp_cmd *)pd->ephemeral_data; in cp_build_command()
240 cmd = (struct osdp_cmd *)pd->ephemeral_data; in cp_build_command()
258 cmd = (struct osdp_cmd *)pd->ephemeral_data; in cp_build_command()
275 cmd = (struct osdp_cmd *)pd->ephemeral_data; in cp_build_command()
673 struct osdp_cmd *cmd; in cp_flush_command_queue()
720 struct osdp_cmd *cmd = NULL; in cp_phy_state_update()
739 memcpy(pd->ephemeral_data, cmd, sizeof(struct osdp_cmd)); in cp_phy_state_update()
801 struct osdp_cmd *c; in cp_cmd_dispatcher()
998 struct osdp_cmd *cmd[OSDP_PD_MAX] = { 0 }; in osdp_cp_send_command_keyset()
1039 struct osdp_cmd *c = (struct osdp_cmd *)pd->ephemeral_data; in cp_keyset_complete()
1084 int osdp_cp_send_command(int pd, struct osdp_cmd *cmd) in osdp_cp_send_command()
1087 struct osdp_cmd *p; in osdp_cp_send_command()
1128 memcpy(p, cmd, sizeof(struct osdp_cmd)); in osdp_cp_send_command()