Home
last modified time | relevance | path

Searched refs:hc (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/subsys/mgmt/ec_host_cmd/
Dec_host_cmd_handler.c290 struct ec_host_cmd *hc = &ec_host_cmd; in ec_host_cmd_set_user_cb() local
292 hc->user_cb = cb; in ec_host_cmd_set_user_cb()
293 hc->user_data = user_data; in ec_host_cmd_set_user_cb()
299 struct ec_host_cmd *hc = &ec_host_cmd; in ec_host_cmd_send_response() local
300 struct ec_host_cmd_tx_buf *tx = &hc->tx; in ec_host_cmd_send_response()
302 if (hc->state != EC_HOST_CMD_STATE_PROCESSING) { in ec_host_cmd_send_response()
306 hc->state = EC_HOST_CMD_STATE_SENDING; in ec_host_cmd_send_response()
310 (const struct ec_host_cmd_request_header *const)hc->rx_ctx.buf; in ec_host_cmd_send_response()
313 send_status_response(hc->backend, tx, status); in ec_host_cmd_send_response()
325 send_status_response(hc->backend, tx, status); in ec_host_cmd_send_response()
[all …]
/Zephyr-latest/tests/drivers/sensor/hc-sr04/boards/
Dnative_sim.overlay7 compatible = "hc-sr04";
/Zephyr-latest/tests/drivers/build_all/sensor/
Dgpio.dtsi22 compatible = "hc-sr04";
/Zephyr-latest/subsys/bluetooth/host/
Dhci_core.c241 struct bt_hci_handle_count *hc; in bt_send_one_host_num_completed_packets() local
248 sizeof(*cp) + sizeof(*hc)); in bt_send_one_host_num_completed_packets()
254 hc = net_buf_add(buf, sizeof(*hc)); in bt_send_one_host_num_completed_packets()
255 hc->handle = sys_cpu_to_le16(handle); in bt_send_one_host_num_completed_packets()
256 hc->count = sys_cpu_to_le16(1); in bt_send_one_host_num_completed_packets()
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c9123 struct bt_hci_handle_count *hc; local
9129 len = (sizeof(*ep) + (sizeof(*hc) * num_handles));
9134 hc = &ep->h[0];
9135 hc->handle = sys_cpu_to_le16(handle);
9136 hc->count = sys_cpu_to_le16(num);