Home
last modified time | relevance | path

Searched refs:hc_shi (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_shi_ite.c185 struct ec_host_cmd_shi_ite_ctx *hc_shi = (struct ec_host_cmd_shi_ite_ctx *)backend->ctx; in shi_ite_backend_send() local
186 struct shi_it8xxx2_data *data = hc_shi->dev->data; in shi_ite_backend_send()
207 shi_ite_response_host_data(hc_shi->dev, data->out_msg, tx_size); in shi_ite_backend_send()
446 struct ec_host_cmd_shi_ite_ctx *hc_shi = (struct ec_host_cmd_shi_ite_ctx *)backend->ctx; in shi_ite_backend_init() local
449 hc_shi->dev = DEVICE_DT_INST_GET(0); in shi_ite_backend_init()
450 if (!device_is_ready(hc_shi->dev)) { in shi_ite_backend_init()
454 data = hc_shi->dev->data; in shi_ite_backend_init()
Dec_host_cmd_backend_shi_npcx.c964 struct ec_host_cmd_shi_npcx_ctx *hc_shi = (struct ec_host_cmd_shi_npcx_ctx *)backend->ctx; in shi_npcx_backend_init() local
967 hc_shi->dev = DEVICE_DT_INST_GET(0); in shi_npcx_backend_init()
968 if (!device_is_ready(hc_shi->dev)) { in shi_npcx_backend_init()
972 data = hc_shi->dev->data; in shi_npcx_backend_init()
986 struct ec_host_cmd_shi_npcx_ctx *hc_shi = (struct ec_host_cmd_shi_npcx_ctx *)backend->ctx; in shi_npcx_backend_send() local
987 struct shi_npcx_data *data = hc_shi->dev->data; in shi_npcx_backend_send()
1008 shi_npcx_write_first_pkg_outbuf(hc_shi->dev, data->sz_response); in shi_npcx_backend_send()
1013 struct shi_reg *const inst = HAL_INSTANCE(hc_shi->dev); in shi_npcx_backend_send()
1030 shi_npcx_reset_prepare(hc_shi->dev); in shi_npcx_backend_send()