Home
last modified time | relevance | path

Searched refs:ec_host_cmd_backend (Results 1 – 10 of 10) sorted by relevance

/Zephyr-Core-3.7.0/include/zephyr/mgmt/ec_host_cmd/
Dbackend.h25 struct ec_host_cmd_backend { struct
90 typedef int (*ec_host_cmd_backend_api_init)(const struct ec_host_cmd_backend *backend,
104 typedef int (*ec_host_cmd_backend_api_send)(const struct ec_host_cmd_backend *backend);
121 struct ec_host_cmd_backend *ec_host_cmd_backend_get_espi(const struct device *dev);
128 struct ec_host_cmd_backend *ec_host_cmd_backend_get_shi_npcx(void);
135 struct ec_host_cmd_backend *ec_host_cmd_backend_get_shi_ite(void);
147 struct ec_host_cmd_backend *ec_host_cmd_backend_get_uart(const struct device *dev);
159 struct ec_host_cmd_backend *ec_host_cmd_backend_get_spi(struct gpio_dt_spec *cs);
Dec_host_cmd.h96 struct ec_host_cmd_backend *backend;
281 int ec_host_cmd_init(struct ec_host_cmd_backend *backend);
/Zephyr-Core-3.7.0/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_simulator.c25 struct ec_host_cmd_backend _name = { \
32 static int ec_host_cmd_sim_init(const struct ec_host_cmd_backend *backend, in ec_host_cmd_sim_init()
44 static int ec_host_cmd_sim_send(const struct ec_host_cmd_backend *backend) in ec_host_cmd_sim_send()
Dec_host_cmd_backend_espi.c47 struct ec_host_cmd_backend _name = { \
95 static int ec_host_cmd_espi_init(const struct ec_host_cmd_backend *backend, in ec_host_cmd_espi_init()
126 static int ec_host_cmd_espi_send(const struct ec_host_cmd_backend *backend) in ec_host_cmd_espi_send()
152 struct ec_host_cmd_backend *ec_host_cmd_backend_get_espi(const struct device *dev) in ec_host_cmd_backend_get_espi()
Dec_host_cmd_backend_uart.c98 static struct ec_host_cmd_backend _name = { \
233 static int ec_host_cmd_uart_init(const struct ec_host_cmd_backend *backend, in ec_host_cmd_uart_init()
270 static int ec_host_cmd_uart_send(const struct ec_host_cmd_backend *backend) in ec_host_cmd_uart_send()
308 struct ec_host_cmd_backend *ec_host_cmd_backend_get_uart(const struct device *dev) in ec_host_cmd_backend_get_uart()
Dec_host_cmd_backend_shi_ite.c100 struct ec_host_cmd_backend _name = { \
183 static int shi_ite_backend_send(const struct ec_host_cmd_backend *backend) in shi_ite_backend_send()
443 static int shi_ite_backend_init(const struct ec_host_cmd_backend *backend, in shi_ite_backend_init()
512 struct ec_host_cmd_backend *ec_host_cmd_backend_get_shi_ite(void) in ec_host_cmd_backend_get_shi_ite()
Dec_host_cmd_backend_spi_stm32.c223 struct ec_host_cmd_backend _name = { \
686 static int ec_host_cmd_spi_init(const struct ec_host_cmd_backend *backend, in ec_host_cmd_spi_init()
744 static int ec_host_cmd_spi_send(const struct ec_host_cmd_backend *backend) in ec_host_cmd_spi_send()
776 struct ec_host_cmd_backend *ec_host_cmd_backend_get_spi(struct gpio_dt_spec *cs) in ec_host_cmd_backend_get_spi()
789 const struct ec_host_cmd_backend *backend = (struct ec_host_cmd_backend *)dev->data; in ec_host_cmd_spi_stm32_pm_action()
Dec_host_cmd_backend_shi_npcx.c151 struct ec_host_cmd_backend _name = { \
961 static int shi_npcx_backend_init(const struct ec_host_cmd_backend *backend, in shi_npcx_backend_init()
984 static int shi_npcx_backend_send(const struct ec_host_cmd_backend *backend) in shi_npcx_backend_send()
1092 struct ec_host_cmd_backend *ec_host_cmd_backend_get_shi_npcx(void) in ec_host_cmd_backend_get_shi_npcx()
/Zephyr-Core-3.7.0/subsys/mgmt/ec_host_cmd/
Dec_host_cmd_handler.c187 static void send_status_response(const struct ec_host_cmd_backend *backend, in send_status_response()
462 int ec_host_cmd_init(struct ec_host_cmd_backend *backend) in ec_host_cmd_init()
/Zephyr-Core-3.7.0/tests/subsys/mgmt/ec_host_cmd/simulator/src/
Dmain.c15 static int host_send(const struct ec_host_cmd_backend *backend) in host_send()