Searched refs:hc (Results 1 – 5 of 5) sorted by relevance
290 struct ec_host_cmd *hc = &ec_host_cmd; in ec_host_cmd_set_user_cb() local292 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() local300 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 …]
7 compatible = "hc-sr04";
22 compatible = "hc-sr04";
241 struct bt_hci_handle_count *hc; in bt_send_one_host_num_completed_packets() local248 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()
9123 struct bt_hci_handle_count *hc; local9129 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);