Searched refs:ec_host_cmd_backend (Results 1 – 10 of 10) sorted by relevance
25 struct ec_host_cmd_backend { struct90 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);
96 struct ec_host_cmd_backend *backend;281 int ec_host_cmd_init(struct ec_host_cmd_backend *backend);
25 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()
47 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()
98 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()
100 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()
223 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()
151 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()
187 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()
15 static int host_send(const struct ec_host_cmd_backend *backend) in host_send()