Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.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()
125 struct osdp_cmd *cmd = NULL; in cp_build_command()
176 cmd = (struct osdp_cmd *)pd->ephemeral_data; in cp_build_command()
185 cmd = (struct osdp_cmd *)pd->ephemeral_data; in cp_build_command()
206 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()
574 struct osdp_cmd *cmd; in pd_build_reply()
690 cmd = (struct osdp_cmd *)pd->ephemeral_data; in pd_build_reply()
Dosdp.c160 pd->cmd.slab_buf, sizeof(struct osdp_cmd), in osdp_build_ctx()
Dosdp_common.h349 struct osdp_cmd cmd;
/Zephyr-Core-3.5.0/include/zephyr/mgmt/
Dosdp.h191 struct osdp_cmd { struct
295 typedef int (*pd_command_callback_t)(void *arg, struct osdp_cmd *cmd);
348 int osdp_cp_send_command(int pd, struct osdp_cmd *cmd);
/Zephyr-Core-3.5.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.5.0/samples/subsys/mgmt/osdp/control_panel/src/
Dmain.c72 struct osdp_cmd pulse_output = { in main()