Home
last modified time | relevance | path

Searched refs:cmd_id (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/subsys/mgmt/osdp/src/
Dosdp_cp.c141 switch (pd->cmd_id) { in cp_build_command()
146 buf[len++] = pd->cmd_id; in cp_build_command()
152 buf[len++] = pd->cmd_id; in cp_build_command()
158 buf[len++] = pd->cmd_id; in cp_build_command()
164 buf[len++] = pd->cmd_id; in cp_build_command()
170 buf[len++] = pd->cmd_id; in cp_build_command()
176 buf[len++] = pd->cmd_id; in cp_build_command()
183 buf[len++] = pd->cmd_id; in cp_build_command()
190 buf[len++] = pd->cmd_id; in cp_build_command()
198 buf[len++] = pd->cmd_id; in cp_build_command()
[all …]
Dosdp_phy.c115 LOG_ERR("packet_init: out of space! CMD: %02x", pd->cmd_id); in osdp_phy_packet_init()
140 id = pd->cmd_id; in osdp_phy_packet_init()
173 is_cp_mode(pd) ? pd->cmd_id : pd->reply_id); in osdp_phy_packet_finalize()
184 is_cp_mode(pd) ? pd->cmd_id : pd->reply_id); in osdp_phy_packet_finalize()
254 LOG_ERR("PKT_F: Out of buffer space! CMD(%02x)", pd->cmd_id); in osdp_phy_packet_finalize()
458 if (is_cp_mode(pd) && pd->cmd_id == CMD_KEYSET && in osdp_phy_decode_packet()
Dosdp_pd.c200 switch (pd->cmd_id) { in pd_cmd_cap_ok()
254 "Reply with NAK_CMD_UNKNOWN", pd->cmd_id); in pd_cmd_cap_ok()
266 pd->cmd_id = cmd.id = buf[pos++]; in pd_decode_command()
269 switch (pd->cmd_id) { in pd_decode_command()
538 LOG_ERR("Unknown CMD(%02x)", pd->cmd_id); in pd_decode_command()
546 pd->cmd_id, len, ret); in pd_decode_command()
552 if (pd->cmd_id != CMD_POLL) { in pd_decode_command()
553 LOG_DBG("CMD: %02x REPLY: %02x", pd->cmd_id, pd->reply_id); in pd_decode_command()
842 if (pd->cmd_id != CMD_POLL) { in pd_send_reply()
Dosdp_common.h469 int cmd_id; member
/Zephyr-latest/subsys/mgmt/ec_host_cmd/
Dec_host_cmd_handler.c143 int ec_host_cmd_add_suppressed(uint16_t cmd_id) in ec_host_cmd_add_suppressed() argument
149 suppressed_cmds[suppressed_cmds_number] = cmd_id; in ec_host_cmd_add_suppressed()
155 static bool ec_host_cmd_is_suppressed(uint16_t cmd_id) in ec_host_cmd_is_suppressed() argument
160 if (suppressed_cmds[i] == cmd_id) { in ec_host_cmd_is_suppressed()
312 LOG_INF("HC 0x%04x err %d", rx_header->cmd_id, status); in ec_host_cmd_send_response()
353 if (ec_host_cmd_is_suppressed(rx_header->cmd_id)) { in ec_host_cmd_log_request()
369 snprintf(dbg_raw, sizeof(dbg_raw), dbg_fmt, rx_header->cmd_id, in ec_host_cmd_log_request()
381 if (rx_header->cmd_id != prev_cmd) { in ec_host_cmd_log_request()
382 prev_cmd = rx_header->cmd_id; in ec_host_cmd_log_request()
383 LOG_INF("HC 0x%04x", rx_header->cmd_id); in ec_host_cmd_log_request()
[all …]
/Zephyr-latest/tests/subsys/mgmt/ec_host_cmd/simulator/src/
Dmain.c168 host_to_dut->header.cmd_id = EC_CMD_HELLO; in ZTEST()
189 host_to_dut->header.cmd_id = EC_CMD_HELLO; in ZTEST()
210 host_to_dut->header.cmd_id = EC_CMD_HELLO; in ZTEST()
224 host_to_dut->header.cmd_id = EC_CMD_HELLO; in ZTEST()
238 host_to_dut->header.cmd_id = EC_CMD_HELLO; in ZTEST()
252 host_to_dut->header.cmd_id = EC_CMD_HELLO; in ZTEST()
268 host_to_dut->header.cmd_id = EC_CMD_HELLO; in ZTEST()
296 host_to_dut->header.cmd_id = EC_CMD_HELLO; in ZTEST()
317 host_to_dut->header.cmd_id = EC_CMD_HELLO; in ZTEST()
338 host_to_dut->header.cmd_id = 1234; in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/debug/coredump_backends/src/
Dcoredump_backend_empty.c56 static int coredump_empty_backend_cmd(enum coredump_cmd_id cmd_id, in coredump_empty_backend_cmd() argument
61 switch (cmd_id) { in coredump_empty_backend_cmd()
/Zephyr-latest/subsys/debug/coredump/
Dcoredump_backend_intel_adsp_mem_window.c94 static int coredump_mem_window_backend_cmd(enum coredump_cmd_id cmd_id, in coredump_mem_window_backend_cmd() argument
99 switch (cmd_id) { in coredump_mem_window_backend_cmd()
Dcoredump_backend_logging.c102 static int coredump_logging_backend_cmd(enum coredump_cmd_id cmd_id, in coredump_logging_backend_cmd() argument
107 switch (cmd_id) { in coredump_logging_backend_cmd()
Dcoredump_core.c258 int coredump_cmd(enum coredump_cmd_id cmd_id, void *arg) in coredump_cmd() argument
265 ret = backend_api->cmd(cmd_id, arg); in coredump_cmd()
Dcoredump_backend_flash_partition.c585 static int coredump_flash_backend_cmd(enum coredump_cmd_id cmd_id, in coredump_flash_backend_cmd() argument
590 switch (cmd_id) { in coredump_flash_backend_cmd()
/Zephyr-latest/drivers/fpga/
Dfpga_altera_agilex_bridge.h63 #define MBOX_REQUEST_HEADER(cmd_id, cmd_mode, len) \ argument
64 ((cmd_id << MBOX_CMD_CODE_OFFSET) & (MBOX_CMD_ID_MASK)) | \
/Zephyr-latest/include/zephyr/debug/
Dcoredump.h230 typedef int (*coredump_backend_cmd_t)(enum coredump_cmd_id cmd_id,
256 int coredump_cmd(enum coredump_cmd_id cmd_id, void *arg);
/Zephyr-latest/include/zephyr/mgmt/ec_host_cmd/
Dec_host_cmd.h230 uint16_t cmd_id; member
388 int ec_host_cmd_add_suppressed(uint16_t cmd_id);
/Zephyr-latest/drivers/mipi_dsi/
Ddsi_renesas_ra.c64 mipi_dsi_cmd_id_t cmd_id; member
146 .cmd_id = msg->type, in mipi_dsi_renesas_ra_transfer()
/Zephyr-latest/tests/subsys/mgmt/ec_host_cmd/uart/src/
Dmain.c87 cmd->cmd_id = EC_CMD_HELLO; in prepare_hello_cmd()