Home
last modified time | relevance | path

Searched defs:context (Results 1 – 25 of 181) sorted by relevance

12345678

/Zephyr-latest/drivers/i2c/
Di2c_bitbang.c42 int i2c_bitbang_configure(struct i2c_bitbang *context, uint32_t dev_config) in i2c_bitbang_configure()
68 int i2c_bitbang_get_config(struct i2c_bitbang *context, uint32_t *config) in i2c_bitbang_get_config()
79 static void i2c_set_scl(struct i2c_bitbang *context, int state) in i2c_set_scl()
84 static void i2c_set_sda(struct i2c_bitbang *context, int state) in i2c_set_sda()
89 static int i2c_get_sda(struct i2c_bitbang *context) in i2c_get_sda()
103 static void i2c_start(struct i2c_bitbang *context) in i2c_start()
122 static void i2c_repeated_start(struct i2c_bitbang *context) in i2c_repeated_start()
132 static void i2c_stop(struct i2c_bitbang *context) in i2c_stop()
145 static void i2c_write_bit(struct i2c_bitbang *context, int bit) in i2c_write_bit()
155 static bool i2c_read_bit(struct i2c_bitbang *context) in i2c_read_bit()
[all …]
Di2c_sedi.c37 struct i2c_sedi_context *const context = dev->data; in i2c_sedi_api_configure() local
68 struct i2c_sedi_context *context = dev->data; in i2c_sedi_api_full_io() local
127 struct i2c_sedi_context *const context = dev->data; in i2c_sedi_suspend_device() local
145 struct i2c_sedi_context *const context = dev->data; in i2c_sedi_resume_device_from_suspend() local
181 struct i2c_sedi_context *const context = dev->data; in i2c_sedi_init() local
202 struct i2c_sedi_context *const context = dev->data; in i2c_sedi_isr() local
Di2c_gpio.c84 struct i2c_gpio_context *context = dev->data; in i2c_gpio_configure() local
98 struct i2c_gpio_context *context = dev->data; in i2c_gpio_get_config() local
116 struct i2c_gpio_context *context = dev->data; in i2c_gpio_transfer() local
131 struct i2c_gpio_context *context = dev->data; in i2c_gpio_recover_bus() local
155 struct i2c_gpio_context *context = dev->data; in i2c_gpio_init() local
Di2c_sbcon.c88 struct i2c_sbcon_context *context = dev->data; in i2c_sbcon_configure() local
95 struct i2c_sbcon_context *context = dev->data; in i2c_sbcon_get_config() local
103 struct i2c_sbcon_context *context = dev->data; in i2c_sbcon_transfer() local
111 struct i2c_sbcon_context *context = dev->data; in i2c_sbcon_recover_bus() local
128 struct i2c_sbcon_context *context = dev->data; in i2c_sbcon_init() local
/Zephyr-latest/subsys/net/l2/openthread/
Dopenthread_utils.c29 static bool is_mesh_local(struct openthread_context *context, in is_mesh_local()
38 int pkt_list_add(struct openthread_context *context, struct net_pkt *pkt) in pkt_list_add()
61 void pkt_list_remove_first(struct openthread_context *context) in pkt_list_remove_first()
77 struct net_pkt *pkt_list_peek(struct openthread_context *context) in pkt_list_peek()
87 void pkt_list_remove_last(struct openthread_context *context) in pkt_list_remove_last()
103 void add_ipv6_addr_to_zephyr(struct openthread_context *context) in add_ipv6_addr_to_zephyr()
164 void add_ipv6_addr_to_ot(struct openthread_context *context, in add_ipv6_addr_to_ot()
228 void add_ipv6_maddr_to_ot(struct openthread_context *context, in add_ipv6_maddr_to_ot()
247 void add_ipv6_maddr_to_zephyr(struct openthread_context *context) in add_ipv6_maddr_to_zephyr()
285 void rm_ipv6_addr_from_zephyr(struct openthread_context *context) in rm_ipv6_addr_from_zephyr()
[all …]
Dopenthread_utils.h36 static inline int pkt_list_is_full(struct openthread_context *context) in pkt_list_is_full()
/Zephyr-latest/subsys/net/ip/
Dnet_context.c88 bool net_context_is_reuseaddr_set(struct net_context *context) in net_context_is_reuseaddr_set()
97 bool net_context_is_reuseport_set(struct net_context *context) in net_context_is_reuseport_set()
106 bool net_context_is_v6only_set(struct net_context *context) in net_context_is_v6only_set()
121 bool net_context_is_recv_pktinfo_set(struct net_context *context) in net_context_is_recv_pktinfo_set()
132 bool net_context_is_timestamping_set(struct net_context *context) in net_context_is_timestamping_set()
144 static inline bool is_in_tcp_listen_state(struct net_context *context) in is_in_tcp_listen_state()
158 static inline bool is_in_tcp_time_wait_state(struct net_context *context) in is_in_tcp_time_wait_state()
175 static int check_used_port(struct net_context *context, in check_used_port()
354 static uint16_t find_available_port(struct net_context *context, in find_available_port()
419 uint16_t proto, struct net_context **context) in net_context_check()
[all …]
Dtcp_internal.h105 static inline int net_tcp_get(struct net_context *context) in net_tcp_get()
137 static inline int net_tcp_connect(struct net_context *context, in net_tcp_connect()
167 static inline int net_tcp_listen(struct net_context *context) in net_tcp_listen()
188 static inline int net_tcp_accept(struct net_context *context, in net_tcp_accept()
212 static inline int net_tcp_send_data(struct net_context *context, in net_tcp_send_data()
237 static inline int net_tcp_recv(struct net_context *context, in net_tcp_recv()
303 static inline int net_tcp_queue(struct net_context *context, const void *data, in net_tcp_queue()
328 static inline int net_tcp_update_recv_wnd(struct net_context *context, in net_tcp_update_recv_wnd()
351 static inline int net_tcp_put(struct net_context *context) in net_tcp_put()
379 static inline int net_tcp_set_option(struct net_context *context, in net_tcp_set_option()
[all …]
/Zephyr-latest/include/zephyr/net/
Dnet_context.h436 static inline bool net_context_is_used(struct net_context *context) in net_context_is_used()
450 static inline bool net_context_is_bound_to_iface(struct net_context *context) in net_context_is_bound_to_iface()
464 static inline bool net_context_is_accepting(struct net_context *context) in net_context_is_accepting()
477 static inline void net_context_set_accepting(struct net_context *context, in net_context_set_accepting()
496 static inline bool net_context_is_closing(struct net_context *context) in net_context_is_closing()
509 static inline void net_context_set_closing(struct net_context *context, in net_context_set_closing()
538 enum net_context_state net_context_get_state(struct net_context *context) in net_context_get_state()
555 static inline void net_context_set_state(struct net_context *context, in net_context_set_state()
575 static inline sa_family_t net_context_get_family(struct net_context *context) in net_context_get_family()
591 static inline void net_context_set_family(struct net_context *context, in net_context_set_family()
[all …]
Dnet_offload.h148 struct net_context **context) in net_offload_get()
171 struct net_context *context, in net_offload_bind()
195 struct net_context *context, in net_offload_listen()
235 struct net_context *context, in net_offload_connect()
280 struct net_context *context, in net_offload_accept()
417 struct net_context *context, in net_offload_recv()
446 struct net_context *context) in net_offload_put()
/Zephyr-latest/drivers/gpio/
Dgpio_mmio32.c36 struct gpio_mmio32_context *context = dev->data; in gpio_mmio32_config() local
68 struct gpio_mmio32_context *context = dev->data; in gpio_mmio32_port_get_raw() local
80 struct gpio_mmio32_context *context = dev->data; in gpio_mmio32_port_set_masked_raw() local
99 struct gpio_mmio32_context *context = dev->data; in gpio_mmio32_port_set_bits_raw() local
117 struct gpio_mmio32_context *context = dev->data; in gpio_mmio32_port_clear_bits_raw() local
135 struct gpio_mmio32_context *context = dev->data; in gpio_mmio32_port_toggle_bits() local
161 struct gpio_mmio32_context *context = dev->data; in gpio_mmio32_init() local
Dgpio_dw.c174 struct gpio_dw_runtime *context = port->data; in gpio_dw_pin_interrupt_configure() local
238 struct gpio_dw_runtime *context = port->data; in dw_pin_config() local
306 struct gpio_dw_runtime *context = port->data; in gpio_dw_port_get_raw() local
319 struct gpio_dw_runtime *context = port->data; in gpio_dw_port_set_masked_raw() local
334 struct gpio_dw_runtime *context = port->data; in gpio_dw_port_set_bits_raw() local
350 struct gpio_dw_runtime *context = port->data; in gpio_dw_port_clear_bits_raw() local
365 struct gpio_dw_runtime *context = port->data; in gpio_dw_port_toggle_bits() local
382 struct gpio_dw_runtime *context = port->data; in gpio_dw_manage_callback() local
390 struct gpio_dw_runtime *context = port->data; in gpio_dw_isr() local
415 struct gpio_dw_runtime *context = port->data; in gpio_dw_initialize() local
/Zephyr-latest/drivers/interrupt_controller/
Dintc_cavs.c29 struct cavs_registers *get_base_address(struct cavs_ictl_runtime *context) in get_base_address()
56 struct cavs_ictl_runtime *context = port->data; in cavs_ictl_isr() local
69 struct cavs_ictl_runtime *context = dev->data; in cavs_ictl_irq_enable() local
79 struct cavs_ictl_runtime *context = dev->data; in cavs_ictl_irq_disable() local
88 struct cavs_ictl_runtime *context = dev->data; in cavs_ictl_irq_get_state() local
102 struct cavs_ictl_runtime *context = dev->data; in cavs_ictl_irq_get_line_state() local
/Zephyr-latest/drivers/ethernet/nxp_enet/
Deth_mcux.c340 static void eth_mcux_phy_enter_reset(struct eth_context *context) in eth_mcux_phy_enter_reset()
355 static void eth_mcux_phy_start(struct eth_context *context) in eth_mcux_phy_start()
401 void eth_mcux_phy_stop(struct eth_context *context) in eth_mcux_phy_stop()
433 static void eth_mcux_phy_event(struct eth_context *context) in eth_mcux_phy_event()
602 struct eth_context *context = in eth_mcux_phy_work() local
611 struct eth_context *context = in eth_mcux_delayed_phy_work() local
617 static void eth_mcux_phy_setup(struct eth_context *context) in eth_mcux_phy_setup()
672 struct eth_context *context = dev->data; in eth_tx() local
727 static int eth_rx(struct eth_context *context) in eth_rx()
839 static inline void ts_register_tx_event(struct eth_context *context, in ts_register_tx_event()
[all …]
/Zephyr-latest/drivers/sensor/bosch/bmi323/
Dbmi323_spi.c11 static int bosch_bmi323_spi_read_words(const void *context, uint8_t offset, uint16_t *words, in bosch_bmi323_spi_read_words()
46 static int bosch_bmi323_spi_write_words(const void *context, uint8_t offset, uint16_t *words, in bosch_bmi323_spi_write_words()
72 static int bosch_bmi323_spi_init(const void *context) in bosch_bmi323_spi_init()
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_offload.c23 static int eswifi_off_bind(struct net_context *context, in eswifi_off_bind()
39 static int eswifi_off_listen(struct net_context *context, int backlog) in eswifi_off_listen()
70 struct net_context *context; in eswifi_off_connect_work() local
99 static int eswifi_off_connect(struct net_context *context, in eswifi_off_connect()
152 static int eswifi_off_accept(struct net_context *context, in eswifi_off_accept()
225 struct net_context *context; in eswifi_off_send_work() local
352 static int eswifi_off_recv(struct net_context *context, in eswifi_off_recv()
384 static int eswifi_off_put(struct net_context *context) in eswifi_off_put()
410 struct net_context **context) in eswifi_off_get()
/Zephyr-latest/tests/subsys/logging/log_backend_init/src/
Dmain.c43 struct backend_context *context = (struct backend_context *)backend->cb->ctx; in backend_process() local
66 struct backend_context *context = (struct backend_context *)ctx; in expire_cb() local
73 struct backend_context *context = (struct backend_context *)backend->cb->ctx; in backend_init() local
82 struct backend_context *context = (struct backend_context *)backend->cb->ctx; in backend_is_ready() local
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dblob_cli.rst60 Group address
77 Transfer timeout
/Zephyr-latest/subsys/net/l2/ethernet/dsa/
Ddsa.c147 struct dsa_context *context; in dsa_tx() local
209 struct dsa_context *context = dev->data; in dsa_switch_read() local
219 struct dsa_context *context = dev->data; in dsa_switch_write() local
244 struct dsa_context *context = dev->data; in dsa_switch_set_mac_table_entry() local
266 struct dsa_context *context = dev->data; in dsa_switch_get_mac_table_entry() local
/Zephyr-latest/drivers/wifi/esp_at/
Desp_offload.c23 static int esp_listen(struct net_context *context, int backlog) in esp_listen()
149 static int esp_bind(struct net_context *context, const struct sockaddr *addr, in esp_bind()
179 static int esp_connect(struct net_context *context, in esp_connect()
223 static int esp_accept(struct net_context *context, in esp_accept()
365 struct net_context *context = sock->context; in esp_socket_send_one_pkt() local
422 struct net_context *context; in esp_sendto() local
653 static int esp_recv(struct net_context *context, in esp_recv()
696 static int esp_put(struct net_context *context) in esp_put()
734 struct net_context **context) in esp_get()
/Zephyr-latest/samples/net/sockets/socketpair/src/
Dmain.c22 struct context { struct
23 int spair[2];
24 pthread_t thread;
25 const char *name;
/Zephyr-latest/drivers/ethernet/
Deth_enc424j600.c223 struct enc424j600_runtime *context = in enc424j600_gpio_callback() local
310 struct enc424j600_runtime *context = dev->data; in enc424j600_tx() local
349 struct enc424j600_runtime *context = dev->data; in enc424j600_rx() local
450 struct enc424j600_runtime *context = p1; in enc424j600_rx_thread() local
510 struct enc424j600_runtime *context = dev->data; in enc424j600_get_config() local
596 struct enc424j600_runtime *context = dev->data; in enc424j600_iface_init() local
610 struct enc424j600_runtime *context = dev->data; in enc424j600_start_device() local
640 struct enc424j600_runtime *context = dev->data; in enc424j600_stop_device() local
691 struct enc424j600_runtime *context = dev->data; in enc424j600_init() local
Deth_litex_liteeth.c59 struct eth_litex_dev_data *context = dev->data; in eth_initialize() local
78 struct eth_litex_dev_data *context = dev->data; in eth_tx() local
117 struct eth_litex_dev_data *context = port->data; in eth_rx() local
186 struct eth_litex_dev_data *context = dev->data; in eth_set_config() local
235 struct eth_litex_dev_data *context = dev->data; in phy_link_state_changed() local
250 struct eth_litex_dev_data *context = port->data; in eth_iface_init() local
/Zephyr-latest/kernel/
Ddevice.c150 void *context) in device_visitor()
168 void *context) in device_required_foreach()
178 void *context) in device_supported_foreach()
/Zephyr-latest/samples/subsys/sensing/simple/src/
Dmain.c16 void *context) in acc_data_event_callback()
31 void *context) in hinge_angle_data_event_callback()

12345678