Home
last modified time | relevance | path

Searched refs:osdp_cmd (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.7.0/include/zephyr/mgmt/
Dosdp.h254 struct osdp_cmd { struct
381 typedef int (*pd_command_callback_t)(void *arg, struct osdp_cmd *cmd);
444 int osdp_cp_send_command(int pd, struct osdp_cmd *cmd);
/Zephyr-Core-3.7.0/subsys/mgmt/osdp/src/
Dosdp_cp.c62 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()
[all …]
Dosdp_pd.c182 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()
262 struct osdp_cmd cmd; in pd_decode_command()
458 memcpy(pd->ephemeral_data, &cmd, sizeof(struct osdp_cmd)); in pd_decode_command()
577 struct osdp_cmd *cmd; in pd_build_reply()
711 cmd = (struct osdp_cmd *)pd->ephemeral_data; in pd_build_reply()
Dosdp_common.h349 struct osdp_cmd cmd;
/Zephyr-Core-3.7.0/samples/subsys/mgmt/osdp/peripheral_device/src/
Dmain.c24 int cmd_handler(void *unused, struct osdp_cmd *p) in cmd_handler()
/Zephyr-Core-3.7.0/samples/subsys/mgmt/osdp/control_panel/src/
Dmain.c72 struct osdp_cmd pulse_output = { in main()