Home
last modified time | relevance | path

Searched refs:eswifi_dev (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/drivers/wifi/eswifi/
Deswifi.h61 struct eswifi_dev { struct
81 int (*init)(struct eswifi_dev *eswifi); argument
82 int (*request)(struct eswifi_dev *eswifi, char *cmd, size_t clen,
86 static inline int eswifi_request(struct eswifi_dev *eswifi, char *cmd, in eswifi_request()
92 static inline void eswifi_lock(struct eswifi_dev *eswifi) in eswifi_lock()
104 static inline void eswifi_unlock(struct eswifi_dev *eswifi) in eswifi_unlock()
112 int eswifi_at_cmd(struct eswifi_dev *eswifi, char *cmd);
113 static inline int __select_socket(struct eswifi_dev *eswifi, uint8_t idx) in __select_socket()
120 struct eswifi_dev *eswifi_socket_to_dev(struct eswifi_off_socket *socket) in eswifi_socket_to_dev()
122 return CONTAINER_OF(socket - socket->index, struct eswifi_dev, socket[0]); in eswifi_socket_to_dev()
[all …]
Deswifi_core.c50 static struct eswifi_dev eswifi0; /* static instance */
52 static int eswifi_reset(struct eswifi_dev *eswifi, const struct eswifi_cfg *cfg) in eswifi_reset()
134 int eswifi_at_cmd_rsp(struct eswifi_dev *eswifi, char *cmd, char **rsp) in eswifi_at_cmd_rsp()
184 int eswifi_at_cmd(struct eswifi_dev *eswifi, char *cmd) in eswifi_at_cmd()
189 struct eswifi_dev *eswifi_by_iface_idx(uint8_t iface) in eswifi_by_iface_idx()
219 static void eswifi_scan(struct eswifi_dev *eswifi) in eswifi_scan()
257 static int eswifi_connect(struct eswifi_dev *eswifi) in eswifi_connect()
326 static int eswifi_disconnect(struct eswifi_dev *eswifi) in eswifi_disconnect()
351 struct eswifi_dev *eswifi; in eswifi_status_work()
357 eswifi = CONTAINER_OF(dwork, struct eswifi_dev, status_work); in eswifi_status_work()
[all …]
Deswifi_offload.c28 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 …]
Deswifi_socket.c36 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()
195 int __eswifi_off_start_client(struct eswifi_dev *eswifi, in __eswifi_off_start_client()
265 int __eswifi_listen(struct eswifi_dev *eswifi, struct eswifi_off_socket *socket, int backlog) in __eswifi_listen()
284 int __eswifi_accept(struct eswifi_dev *eswifi, struct eswifi_off_socket *socket) in __eswifi_accept()
307 int __eswifi_socket_free(struct eswifi_dev *eswifi, in __eswifi_socket_free()
319 int __eswifi_socket_new(struct eswifi_dev *eswifi, int family, int type, in __eswifi_socket_new()
Deswifi_bus_spi.c61 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()
Deswifi_shell.c12 static struct eswifi_dev *eswifi;
14 void eswifi_shell_register(struct eswifi_dev *dev) in eswifi_shell_register()
Deswifi_bus_uart.c190 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()
Deswifi_socket_offload.c35 static struct eswifi_dev *eswifi;
755 int eswifi_socket_offload_init(struct eswifi_dev *leswifi) in eswifi_socket_offload_init()