Home
last modified time | relevance | path

Searched refs:cpd (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.4.0/subsys/mgmt/mcumgr/transport/src/
Dsmp_bt.c167 struct conn_param_data *cpd = conn_param_data_get(conn); in smp_notify_finished() local
169 if (cpd != NULL) { in smp_notify_finished()
170 k_sem_give(&cpd->smp_notify_sem); in smp_notify_finished()
178 struct conn_param_data *cpd = conn_param_data_get(conn); in conn_param_set() local
180 if (cpd != NULL) { in conn_param_set()
184 (void)k_work_reschedule(&cpd->ework, K_MSEC(RETRY_TIME)); in conn_param_set()
186 (void)k_work_cancel_delayable(&cpd->ework); in conn_param_set()
194 struct conn_param_data *cpd = CONTAINER_OF(work, struct conn_param_data, dwork); in conn_param_on_pref_restore() local
196 if (cpd != NULL) { in conn_param_on_pref_restore()
197 conn_param_set(cpd->conn, CONN_PARAM_PREF); in conn_param_on_pref_restore()
[all …]
/Zephyr-Core-3.4.0/scripts/west_commands/tests/
Dtest_canopen_program.py45 def test_canopen_program_create(cpd, test_case, runner_config): argument
67 mock = cpd.return_value
79 cpd.assert_called_once()
81 assert cpd.call_args == call(node_id=node_id,
89 assert cpd.call_args == call(node_id=node_id,