Home
last modified time | relevance | path

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

/Zephyr-latest/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-latest/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()
153 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.c108 static struct ec_host_cmd_backend _name = { \
220 static int ec_host_cmd_uart_init(const struct ec_host_cmd_backend *backend, in ec_host_cmd_uart_init()
257 static int ec_host_cmd_uart_send(const struct ec_host_cmd_backend *backend) in ec_host_cmd_uart_send()
295 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.c141 struct ec_host_cmd_backend _name = { \
224 static int shi_ite_backend_send(const struct ec_host_cmd_backend *backend) in shi_ite_backend_send()
486 static int shi_ite_backend_init(const struct ec_host_cmd_backend *backend, in shi_ite_backend_init()
555 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.c230 struct ec_host_cmd_backend _name = { \
720 static int ec_host_cmd_spi_init(const struct ec_host_cmd_backend *backend, in ec_host_cmd_spi_init()
779 static int ec_host_cmd_spi_send(const struct ec_host_cmd_backend *backend) in ec_host_cmd_spi_send()
811 struct ec_host_cmd_backend *ec_host_cmd_backend_get_spi(struct gpio_dt_spec *cs) in ec_host_cmd_backend_get_spi()
823 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.c162 struct ec_host_cmd_backend _name = { \
1021 static int shi_npcx_backend_init(const struct ec_host_cmd_backend *backend, in shi_npcx_backend_init()
1044 static int shi_npcx_backend_send(const struct ec_host_cmd_backend *backend) in shi_npcx_backend_send()
1152 struct ec_host_cmd_backend *ec_host_cmd_backend_get_shi_npcx(void) in ec_host_cmd_backend_get_shi_npcx()
/Zephyr-latest/subsys/mgmt/ec_host_cmd/
Dec_host_cmd_handler.c194 static void send_status_response(const struct ec_host_cmd_backend *backend, in send_status_response()
469 int ec_host_cmd_init(struct ec_host_cmd_backend *backend) in ec_host_cmd_init()
/Zephyr-latest/tests/subsys/mgmt/ec_host_cmd/simulator/src/
Dmain.c15 static int host_send(const struct ec_host_cmd_backend *backend) in host_send()