Searched refs:eswifi_dev (Results 1 – 8 of 8) sorted by relevance
/Zephyr-Core-3.6.0/drivers/wifi/eswifi/ |
D | eswifi.h | 63 struct eswifi_dev { struct 83 int (*init)(struct eswifi_dev *eswifi); argument 84 int (*request)(struct eswifi_dev *eswifi, char *cmd, size_t clen, 88 static inline int eswifi_request(struct eswifi_dev *eswifi, char *cmd, in eswifi_request() 94 static inline void eswifi_lock(struct eswifi_dev *eswifi) in eswifi_lock() 106 static inline void eswifi_unlock(struct eswifi_dev *eswifi) in eswifi_unlock() 114 int eswifi_at_cmd(struct eswifi_dev *eswifi, char *cmd); 115 static inline int __select_socket(struct eswifi_dev *eswifi, uint8_t idx) in __select_socket() 122 struct eswifi_dev *eswifi_socket_to_dev(struct eswifi_off_socket *socket) in eswifi_socket_to_dev() 124 return CONTAINER_OF(socket - socket->index, struct eswifi_dev, socket[0]); in eswifi_socket_to_dev() [all …]
|
D | eswifi_core.c | 48 static struct eswifi_dev eswifi0; /* static instance */ 50 static int eswifi_reset(struct eswifi_dev *eswifi, const struct eswifi_cfg *cfg) in eswifi_reset() 132 int eswifi_at_cmd_rsp(struct eswifi_dev *eswifi, char *cmd, char **rsp) in eswifi_at_cmd_rsp() 175 int eswifi_at_cmd(struct eswifi_dev *eswifi, char *cmd) in eswifi_at_cmd() 180 struct eswifi_dev *eswifi_by_iface_idx(uint8_t iface) in eswifi_by_iface_idx() 210 static void eswifi_scan(struct eswifi_dev *eswifi) in eswifi_scan() 248 static int eswifi_connect(struct eswifi_dev *eswifi) in eswifi_connect() 317 static int eswifi_disconnect(struct eswifi_dev *eswifi) in eswifi_disconnect() 342 struct eswifi_dev *eswifi; in eswifi_status_work() 348 eswifi = CONTAINER_OF(dwork, struct eswifi_dev, status_work); in eswifi_status_work() [all …]
|
D | eswifi_offload.c | 28 struct eswifi_dev *eswifi = eswifi_by_iface_idx(context->iface); in eswifi_off_bind() 42 struct eswifi_dev *eswifi = eswifi_by_iface_idx(context->iface); in eswifi_off_listen() 71 struct eswifi_dev *eswifi; in eswifi_off_connect_work() 107 struct eswifi_dev *eswifi = eswifi_by_iface_idx(context->iface); in eswifi_off_connect() 157 struct eswifi_dev *eswifi = eswifi_by_iface_idx(context->iface); in eswifi_off_accept() 181 static int __eswifi_off_send_pkt(struct eswifi_dev *eswifi, in __eswifi_off_send_pkt() 226 struct eswifi_dev *eswifi; in eswifi_off_send_work() 255 struct eswifi_dev *eswifi = eswifi_by_iface_idx(socket->context->iface); in eswifi_off_send() 304 struct eswifi_dev *eswifi = eswifi_by_iface_idx(socket->context->iface); in eswifi_off_sendto() 358 struct eswifi_dev *eswifi = eswifi_by_iface_idx(context->iface); in eswifi_off_recv() [all …]
|
D | eswifi_socket.c | 36 static int __stop_socket(struct eswifi_dev *eswifi, in __stop_socket() 51 static int __read_data(struct eswifi_dev *eswifi, size_t len, char **data) in __read_data() 77 int __eswifi_bind(struct eswifi_dev *eswifi, struct eswifi_off_socket *socket, in __eswifi_bind() 114 struct eswifi_dev *eswifi; in eswifi_off_read_work() 188 int __eswifi_off_start_client(struct eswifi_dev *eswifi, in __eswifi_off_start_client() 258 int __eswifi_listen(struct eswifi_dev *eswifi, struct eswifi_off_socket *socket, int backlog) in __eswifi_listen() 277 int __eswifi_accept(struct eswifi_dev *eswifi, struct eswifi_off_socket *socket) in __eswifi_accept() 300 int __eswifi_socket_free(struct eswifi_dev *eswifi, in __eswifi_socket_free() 312 int __eswifi_socket_new(struct eswifi_dev *eswifi, int family, int type, in __eswifi_socket_new()
|
D | eswifi_bus_spi.c | 61 static int eswifi_spi_write(struct eswifi_dev *eswifi, char *data, size_t dlen) in eswifi_spi_write() 83 static int eswifi_spi_read(struct eswifi_dev *eswifi, char *data, size_t dlen) in eswifi_spi_read() 105 static int eswifi_spi_request(struct eswifi_dev *eswifi, char *cmd, size_t clen, in eswifi_spi_request() 187 static void eswifi_spi_read_msg(struct eswifi_dev *eswifi) in eswifi_spi_read_msg() 227 struct eswifi_dev *eswifi = p1; in eswifi_spi_poll_thread() 235 int eswifi_spi_init(struct eswifi_dev *eswifi) in eswifi_spi_init()
|
D | eswifi_shell.c | 12 static struct eswifi_dev *eswifi; 14 void eswifi_shell_register(struct eswifi_dev *dev) in eswifi_shell_register()
|
D | eswifi_bus_uart.c | 190 static int eswifi_uart_request(struct eswifi_dev *eswifi, char *cmd, in eswifi_uart_request() 218 int eswifi_uart_init(struct eswifi_dev *eswifi) in eswifi_uart_init()
|
D | eswifi_socket_offload.c | 35 static struct eswifi_dev *eswifi; 754 int eswifi_socket_offload_init(struct eswifi_dev *leswifi) in eswifi_socket_offload_init()
|