Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 648) sorted by relevance

12345678910>>...26

/Zephyr-latest/subsys/net/l2/ppp/
Dlink.c19 static void lcp_up(struct ppp_context *ctx) in lcp_up()
32 static void do_network(struct ppp_context *ctx) in do_network()
70 static void do_auth(struct ppp_context *ctx) in do_auth()
97 void ppp_link_established(struct ppp_context *ctx, struct ppp_fsm *fsm) in ppp_link_established()
108 void ppp_link_authenticated(struct ppp_context *ctx) in ppp_link_authenticated()
115 void ppp_link_terminated(struct ppp_context *ctx) in ppp_link_terminated()
130 void ppp_link_down(struct ppp_context *ctx) in ppp_link_down()
143 void ppp_link_needed(struct ppp_context *ctx) in ppp_link_needed()
Dpap.c14 static enum net_verdict pap_handle(struct ppp_context *ctx, in pap_handle()
53 static void pap_lower_down(struct ppp_context *ctx) in pap_lower_down()
58 static void pap_lower_up(struct ppp_context *ctx) in pap_lower_up()
63 static void pap_open(struct ppp_context *ctx) in pap_open()
68 static void pap_close(struct ppp_context *ctx, const uint8_t *reason) in pap_close()
75 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in pap_up() local
92 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in pap_down() local
104 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in pap_finished() local
119 static void pap_init(struct ppp_context *ctx) in pap_init()
Dipcp.c21 static enum net_verdict ipcp_handle(struct ppp_context *ctx, in ipcp_handle()
33 static int ipcp_add_address(struct ppp_context *ctx, struct net_pkt *pkt, in ipcp_add_address()
40 static int ipcp_add_ip_address(struct ppp_context *ctx, struct net_pkt *pkt) in ipcp_add_ip_address()
45 static int ipcp_add_dns1(struct ppp_context *ctx, struct net_pkt *pkt) in ipcp_add_dns1()
50 static int ipcp_add_dns2(struct ppp_context *ctx, struct net_pkt *pkt) in ipcp_add_dns2()
77 static int ipcp_ack_ip_address(struct ppp_context *ctx, struct net_pkt *pkt, in ipcp_ack_ip_address()
84 static int ipcp_ack_dns1(struct ppp_context *ctx, struct net_pkt *pkt, in ipcp_ack_dns1()
91 static int ipcp_ack_dns2(struct ppp_context *ctx, struct net_pkt *pkt, in ipcp_ack_dns2()
108 static int ipcp_nak_ip_address(struct ppp_context *ctx, struct net_pkt *pkt, in ipcp_nak_ip_address()
115 static int ipcp_nak_dns1(struct ppp_context *ctx, struct net_pkt *pkt, in ipcp_nak_dns1()
[all …]
Dnetwork.c19 void ppp_network_up(struct ppp_context *ctx, int proto) in ppp_network_up()
31 void ppp_network_down(struct ppp_context *ctx, int proto) in ppp_network_down()
44 void ppp_network_done(struct ppp_context *ctx, int proto) in ppp_network_done()
56 void ppp_network_all_down(struct ppp_context *ctx) in ppp_network_all_down()
Dlcp.c53 static enum net_verdict lcp_handle(struct ppp_context *ctx, in lcp_handle()
116 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in lcp_config_info_req() local
143 static void lcp_lower_down(struct ppp_context *ctx) in lcp_lower_down()
148 static void lcp_lower_up(struct ppp_context *ctx) in lcp_lower_up()
158 static void lcp_open(struct ppp_context *ctx) in lcp_open()
163 static void lcp_close(struct ppp_context *ctx, const uint8_t *reason) in lcp_close()
174 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in lcp_down() local
189 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in lcp_up() local
199 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in lcp_starting() local
207 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in lcp_finished() local
[all …]
Dppp_l2.c74 struct ppp_context *ctx = net_if_l2_data(iface); in process_ppp_msg() local
169 struct ppp_context *ctx = net_if_l2_data(iface); in ppp_send() local
195 struct ppp_context *ctx = net_if_l2_data(iface); in ppp_flags() local
200 static void ppp_open_async(struct ppp_context *ctx) in ppp_open_async()
222 static int ppp_lcp_close(struct ppp_context *ctx) in ppp_lcp_close()
239 static void ppp_lcp_lower_down_async(struct ppp_context *ctx) in ppp_lcp_lower_down_async()
252 static int ppp_lcp_lower_down(struct ppp_context *ctx) in ppp_lcp_lower_down()
271 struct ppp_context *ctx = net_if_l2_data(iface); in ppp_down() local
295 struct ppp_context *ctx = net_if_l2_data(iface); in ppp_enable() local
319 static int get_ppp_context(int idx, struct ppp_context **ctx, in get_ppp_context()
[all …]
/Zephyr-latest/tests/modules/thrift/ThriftTest/src/
Dcontext.hpp21 struct ctx { struct
33 extern ctx context; argument
/Zephyr-latest/subsys/modbus/
Dmodbus_serial.c32 static void modbus_serial_tx_on(struct modbus_context *ctx) in modbus_serial_tx_on()
43 static void modbus_serial_tx_off(struct modbus_context *ctx) in modbus_serial_tx_off()
53 static void modbus_serial_rx_on(struct modbus_context *ctx) in modbus_serial_rx_on()
64 static void modbus_serial_rx_off(struct modbus_context *ctx) in modbus_serial_rx_off()
99 static int modbus_ascii_rx_adu(struct modbus_context *ctx) in modbus_ascii_rx_adu()
185 static void modbus_ascii_tx_adu(struct modbus_context *ctx) in modbus_ascii_tx_adu()
232 static int modbus_ascii_rx_adu(struct modbus_context *ctx) in modbus_ascii_rx_adu()
237 static void modbus_ascii_tx_adu(struct modbus_context *ctx) in modbus_ascii_tx_adu()
243 static int modbus_rtu_rx_adu(struct modbus_context *ctx) in modbus_rtu_rx_adu()
280 static void rtu_tx_adu(struct modbus_context *ctx) in rtu_tx_adu()
[all …]
Dmodbus_core.c70 struct modbus_context *ctx; in modbus_rx_handler() local
117 void modbus_tx_adu(struct modbus_context *ctx) in modbus_tx_adu()
138 int modbus_tx_wait_rx_adu(struct modbus_context *ctx) in modbus_tx_wait_rx_adu()
154 struct modbus_context *ctx; in modbus_get_context() local
171 int modbus_iface_get_by_ctx(const struct modbus_context *ctx) in modbus_iface_get_by_ctx()
195 struct modbus_context *ctx; in modbus_init_iface() local
216 static int modbus_user_fc_init(struct modbus_context *ctx, struct modbus_iface_param param) in modbus_user_fc_init()
226 struct modbus_context *ctx = NULL; in modbus_init_server() local
299 struct modbus_context *ctx = modbus_get_context(iface); in modbus_register_user_fc() local
321 struct modbus_context *ctx = NULL; in modbus_init_client() local
[all …]
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_rd_client/src/
Dmain.c201 struct lwm2m_ctx ctx; in ZTEST() local
227 struct lwm2m_ctx ctx; in ZTEST() local
250 struct lwm2m_ctx ctx; in ZTEST() local
273 struct lwm2m_ctx ctx; in ZTEST() local
292 struct lwm2m_ctx ctx; in ZTEST() local
318 struct lwm2m_ctx ctx; in ZTEST() local
340 struct lwm2m_ctx ctx; in ZTEST() local
363 struct lwm2m_ctx ctx; in ZTEST() local
387 struct lwm2m_ctx ctx; in ZTEST() local
417 struct lwm2m_ctx ctx; in ZTEST() local
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp_common.c155 static void lp_comm_tx(struct ll_conn *conn, struct proc_ctx *ctx) in lp_comm_tx()
246 static void lp_comm_ntf_feature_exchange(struct ll_conn *conn, struct proc_ctx *ctx, in lp_comm_ntf_feature_exchange()
262 static void lp_comm_ntf_version_ind(struct ll_conn *conn, struct proc_ctx *ctx, in lp_comm_ntf_version_ind()
276 static void lp_comm_ntf_length_change(struct ll_conn *conn, struct proc_ctx *ctx, in lp_comm_ntf_length_change()
291 static void lp_comm_ntf_cte_req(struct ll_conn *conn, struct proc_ctx *ctx, struct pdu_data *pdu) in lp_comm_ntf_cte_req()
312 static void lp_comm_ntf_cte_req_tx(struct ll_conn *conn, struct proc_ctx *ctx) in lp_comm_ntf_cte_req_tx()
319 static void lp_comm_complete_cte_req(struct ll_conn *conn, struct proc_ctx *ctx) in lp_comm_complete_cte_req()
375 static void lp_comm_ntf_sca(struct node_rx_pdu *ntf, struct proc_ctx *ctx, struct pdu_data *pdu) in lp_comm_ntf_sca()
385 static void lp_comm_ntf(struct ll_conn *conn, struct proc_ctx *ctx) in lp_comm_ntf()
441 static void lp_comm_terminate_invalid_pdu(struct ll_conn *conn, struct proc_ctx *ctx) in lp_comm_terminate_invalid_pdu()
[all …]
Dull_llcp_cc.c56 static void cc_ntf_established(struct ll_conn *conn, struct proc_ctx *ctx) in cc_ntf_established()
136 static void llcp_rp_cc_tx_rsp(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_rp_cc_tx_rsp()
193 static void llcp_rp_cc_tx_reject(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t opcode) in llcp_rp_cc_tx_reject()
213 static void rp_cc_ntf_create(struct ll_conn *conn, struct proc_ctx *ctx) in rp_cc_ntf_create()
233 static void rp_cc_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in rp_cc_complete()
240 static void rp_cc_send_cis_rsp(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_cc_send_cis_rsp()
254 static void rp_cc_send_reject_ind(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_cc_send_reject_ind()
289 static void rp_cc_state_idle(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_cc_state_idle()
302 static uint8_t rp_cc_check_phy(struct ll_conn *conn, struct proc_ctx *ctx, in rp_cc_check_phy()
324 static void rp_cc_state_wait_rx_cis_req(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_cc_state_wait_rx_cis_req()
[all …]
Dull_llcp_conn_upd.c165 static void cu_update_conn_parameters(struct ll_conn *conn, struct proc_ctx *ctx) in cu_update_conn_parameters()
177 static bool cu_check_conn_parameters(struct ll_conn *conn, struct proc_ctx *ctx) in cu_check_conn_parameters()
199 static bool cu_check_conn_ind_parameters(struct ll_conn *conn, struct proc_ctx *ctx) in cu_check_conn_ind_parameters()
215 static void cu_prepare_update_ind(struct ll_conn *conn, struct proc_ctx *ctx) in cu_prepare_update_ind()
248 static bool cu_should_notify_host(struct proc_ctx *ctx) in cu_should_notify_host()
254 static void cu_ntf(struct ll_conn *conn, struct proc_ctx *ctx) in cu_ntf()
291 static void lp_cu_tx(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t opcode) in lp_cu_tx()
344 static void lp_cu_complete(struct ll_conn *conn, struct proc_ctx *ctx) in lp_cu_complete()
357 static void lp_cu_ntf_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_cu_ntf_complete()
365 static void lp_cu_send_reject_ext_ind(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_cu_send_reject_ext_ind()
[all …]
Dull_llcp_chmu.c85 static void lp_chmu_tx(struct ll_conn *conn, struct proc_ctx *ctx) in lp_chmu_tx()
105 static void lp_chmu_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_chmu_complete()
112 static void lp_chmu_send_channel_map_update_ind(struct ll_conn *conn, struct proc_ctx *ctx, in lp_chmu_send_channel_map_update_ind()
129 static void lp_chmu_st_wait_tx_chan_map_ind(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_chmu_st_wait_tx_chan_map_ind()
142 static void lp_chmu_check_instant(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_chmu_check_instant()
153 static void lp_chmu_st_wait_instant(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_chmu_st_wait_instant()
166 static void lp_chmu_execute_fsm(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_chmu_execute_fsm()
186 void llcp_lp_chmu_rx(struct ll_conn *conn, struct proc_ctx *ctx, struct node_rx_pdu *rx) in llcp_lp_chmu_rx()
201 void llcp_lp_chmu_run(struct ll_conn *conn, struct proc_ctx *ctx, void *param) in llcp_lp_chmu_run()
206 bool llcp_lp_chmu_awaiting_instant(struct proc_ctx *ctx) in llcp_lp_chmu_awaiting_instant()
[all …]
Dull_llcp_past.c81 static uint8_t rp_check_phy(struct ll_conn *conn, struct proc_ctx *ctx, in rp_check_phy()
102 static void rp_past_complete(struct ll_conn *conn, struct proc_ctx *ctx) in rp_past_complete()
108 static void rp_past_st_idle(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in rp_past_st_idle()
125 struct proc_ctx *ctx; in rp_past_resolve_cb() local
163 static bool rp_past_addr_resolve(struct ll_conn *conn, struct proc_ctx *ctx) in rp_past_addr_resolve()
185 static void rp_past_st_wait_resolve_if(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_past_st_wait_resolve_if()
201 static void rp_past_st_wait_rx(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_past_st_wait_rx()
269 static void rp_past_st_wait_next_evt(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_past_st_wait_next_evt()
306 static void rp_past_execute_fsm(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_past_execute_fsm()
334 void llcp_rp_past_rx(struct ll_conn *conn, struct proc_ctx *ctx, struct node_rx_pdu *rx) in llcp_rp_past_rx()
[all …]
Dull_llcp_enc.c148 static void enc_setup_lll(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t role) in enc_setup_lll()
183 static struct node_tx *llcp_lp_enc_tx(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t opcode) in llcp_lp_enc_tx()
223 static void lp_enc_ntf(struct ll_conn *conn, struct proc_ctx *ctx) in lp_enc_ntf()
254 static void lp_enc_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_enc_complete()
261 static void lp_enc_store_m(struct ll_conn *conn, struct proc_ctx *ctx, struct pdu_data *pdu) in lp_enc_store_m()
272 static void lp_enc_send_enc_req(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_enc_send_enc_req()
292 static void lp_enc_send_pause_enc_req(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_enc_send_pause_enc_req()
305 static void lp_enc_send_pause_enc_rsp(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_enc_send_pause_enc_rsp()
325 static void lp_enc_send_start_enc_rsp(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_enc_send_start_enc_rsp()
346 static void lp_enc_st_wait_tx_enc_req(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_enc_st_wait_tx_enc_req()
[all …]
Dull_llcp_pdu.c87 void llcp_pdu_encode_unknown_rsp(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_pdu_encode_unknown_rsp()
96 void llcp_pdu_decode_unknown_rsp(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_pdu_decode_unknown_rsp()
101 void llcp_ntf_encode_unknown_rsp(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_ntf_encode_unknown_rsp()
224 void llcp_pdu_encode_min_used_chans_ind(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_pdu_encode_min_used_chans_ind()
249 void llcp_pdu_encode_terminate_ind(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_pdu_encode_terminate_ind()
260 void llcp_pdu_decode_terminate_ind(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_pdu_decode_terminate_ind()
324 static void encode_enc_req(struct proc_ctx *ctx, struct pdu_data *pdu) in encode_enc_req()
340 void llcp_pdu_encode_enc_req(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_pdu_encode_enc_req()
357 void llcp_ntf_encode_enc_req(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_ntf_encode_enc_req()
427 void llcp_pdu_decode_reject_ext_ind(struct proc_ctx *ctx, struct pdu_data *pdu) in llcp_pdu_decode_reject_ext_ind()
[all …]
Dull_llcp_phy.c145 static void pu_prep_update_ind(struct ll_conn *conn, struct proc_ctx *ctx) in pu_prep_update_ind()
201 static uint8_t pu_check_update_ind(struct ll_conn *conn, struct proc_ctx *ctx) in pu_check_update_ind()
230 static uint8_t pu_apply_phy_update(struct ll_conn *conn, struct proc_ctx *ctx) in pu_apply_phy_update()
285 static uint8_t pu_update_eff_times(struct ll_conn *conn, struct proc_ctx *ctx) in pu_update_eff_times()
321 static inline void pu_set_preferred_phys(struct ll_conn *conn, struct proc_ctx *ctx) in pu_set_preferred_phys()
334 static inline void pu_combine_phys(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t tx, in pu_combine_phys()
359 static void pu_prepare_instant(struct ll_conn *conn, struct proc_ctx *ctx) in pu_prepare_instant()
377 static void lp_pu_tx(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_pu_tx()
430 static void pu_ntf(struct ll_conn *conn, struct proc_ctx *ctx) in pu_ntf()
460 static void pu_dle_ntf(struct ll_conn *conn, struct proc_ctx *ctx) in pu_dle_ntf()
[all …]
Dull_llcp.c97 struct proc_ctx *ctx; in proc_ctx_acquire() local
109 void llcp_proc_ctx_release(struct proc_ctx *ctx) in llcp_proc_ctx_release()
135 static inline bool static_tx_buffer_available(struct ll_conn *conn, struct proc_ctx *ctx) in static_tx_buffer_available()
153 bool llcp_tx_alloc_peek(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_tx_alloc_peek()
183 void llcp_tx_alloc_unpeek(struct proc_ctx *ctx) in llcp_tx_alloc_unpeek()
196 struct node_tx *llcp_tx_alloc(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_tx_alloc()
220 bool llcp_tx_alloc_peek(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_tx_alloc_peek()
226 void llcp_tx_alloc_unpeek(struct proc_ctx *ctx) in llcp_tx_alloc_unpeek()
232 struct node_tx *llcp_tx_alloc(struct ll_conn *conn, struct proc_ctx *ctx) in llcp_tx_alloc()
298 void llcp_rx_node_retain(struct proc_ctx *ctx) in llcp_rx_node_retain()
[all …]
/Zephyr-latest/samples/subsys/usb/uac2_implicit_feedback/src/
Dfeedback_dummy.c17 void feedback_process(struct feedback_ctx *ctx) in feedback_process()
22 void feedback_reset_ctx(struct feedback_ctx *ctx) in feedback_reset_ctx()
27 void feedback_start(struct feedback_ctx *ctx, int i2s_blocks_queued) in feedback_start()
33 int feedback_samples_offset(struct feedback_ctx *ctx) in feedback_samples_offset()
/Zephyr-latest/drivers/modem/
Dmodem_receiver.c60 static int mdm_receiver_get(struct mdm_receiver_context *ctx) in mdm_receiver_get()
83 static void mdm_receiver_flush(struct mdm_receiver_context *ctx) in mdm_receiver_flush()
107 struct mdm_receiver_context *ctx; in mdm_receiver_isr() local
145 static void mdm_receiver_setup(struct mdm_receiver_context *ctx) in mdm_receiver_setup()
165 int mdm_receiver_recv(struct mdm_receiver_context *ctx, in mdm_receiver_recv()
181 int mdm_receiver_send(struct mdm_receiver_context *ctx, in mdm_receiver_send()
199 int mdm_receiver_sleep(struct mdm_receiver_context *ctx) in mdm_receiver_sleep()
208 int mdm_receiver_wake(struct mdm_receiver_context *ctx) in mdm_receiver_wake()
218 int mdm_receiver_register(struct mdm_receiver_context *ctx, in mdm_receiver_register()
/Zephyr-latest/samples/subsys/usb/uac2_explicit_feedback/src/
Dfeedback_dummy.c19 void feedback_process(struct feedback_ctx *ctx) in feedback_process()
24 void feedback_reset_ctx(struct feedback_ctx *ctx) in feedback_reset_ctx()
29 void feedback_start(struct feedback_ctx *ctx, int i2s_blocks_queued) in feedback_start()
35 uint32_t feedback_value(struct feedback_ctx *ctx) in feedback_value()
/Zephyr-latest/drivers/spi/
Dspi_context.h78 static inline bool spi_context_configured(struct spi_context *ctx, in spi_context_configured()
84 static inline bool spi_context_is_slave(struct spi_context *ctx) in spi_context_is_slave()
89 static inline void spi_context_lock(struct spi_context *ctx, in spi_context_lock()
111 static inline void spi_context_release(struct spi_context *ctx, int status) in spi_context_release()
135 static inline int spi_context_wait_for_completion(struct spi_context *ctx) in spi_context_wait_for_completion()
183 static inline void spi_context_complete(struct spi_context *ctx, in spi_context_complete()
215 static inline int spi_context_cs_configure_all(struct spi_context *ctx) in spi_context_cs_configure_all()
236 static inline void _spi_context_cs_control(struct spi_context *ctx, in _spi_context_cs_control()
255 static inline void spi_context_cs_control(struct spi_context *ctx, bool on) in spi_context_cs_control()
260 static inline void spi_context_unlock_unconditionally(struct spi_context *ctx) in spi_context_unlock_unconditionally()
[all …]
/Zephyr-latest/drivers/adc/
Dadc_context.h92 static inline void adc_context_init(struct adc_context *ctx) in adc_context_init()
101 static inline void adc_context_request_next_sampling(struct adc_context *ctx) in adc_context_request_next_sampling()
118 static inline void adc_context_enable_timer(struct adc_context *ctx) in adc_context_enable_timer()
123 static inline void adc_context_disable_timer(struct adc_context *ctx) in adc_context_disable_timer()
130 struct adc_context *ctx = in adc_context_on_timer_expired() local
137 static inline void adc_context_lock(struct adc_context *ctx, in adc_context_lock()
149 static inline void adc_context_release(struct adc_context *ctx, int status) in adc_context_release()
160 static inline void adc_context_unlock_unconditionally(struct adc_context *ctx) in adc_context_unlock_unconditionally()
167 static inline int adc_context_wait_for_completion(struct adc_context *ctx) in adc_context_wait_for_completion()
184 static inline void adc_context_complete(struct adc_context *ctx, int status) in adc_context_complete()
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/
Dfs_mgmt_hash_checksum_sha256.c104 static int hash_setup(psa_hash_operation_t *ctx) in hash_setup()
109 static int hash_update(psa_hash_operation_t *ctx, const uint8_t *input, size_t ilen) in hash_update()
113 static int hash_finish(psa_hash_operation_t *ctx, uint8_t *output) in hash_finish()
119 static void hash_teardown(psa_hash_operation_t *ctx) in hash_teardown()
126 static int hash_setup(mbedtls_sha256_context *ctx) in hash_setup()
131 static int hash_update(mbedtls_sha256_context *ctx, const uint8_t *input, size_t ilen) in hash_update()
135 static int hash_finish(mbedtls_sha256_context *ctx, uint8_t *output) in hash_finish()
139 static void hash_teardown(mbedtls_sha256_context *ctx) in hash_teardown()

12345678910>>...26